The AE documentation has been updated with additional information about the
CP.PORTS option:
The ports assigned to the communication processes (CPs) are defined in the
CP.PORTS= parameter in the
[PORTS] section of the
Automation Engine INI file. It can be defined in different ways:
- as single ports separated by semicolons
[PORTS]
CP.PORTS=2217;2218;2219;2220
- as a port range
[PORTS]
CP.PORTS=2220-2237
- as a combination of single ports and a port range
[PORTS]
CP.PORTS=2217;2218;2219;2220-2237
Note: Agents use port numbers as keys.
As with the process numbers, the port numbers used by communication processes (CPs) must be unique in the entire system. Communication processes (CPs) connect to ports in the order of their declaration.
Newly added information:
- It is possible to specify specific port numbers, not just a contiguous range of port numbers.
- Port numbers are not reused, even on other nodes in the AE system.