Attempts to run multiple instances of the PLC simulator returns the following error.
The reason the error is returned is due to the default TCP/IP port 502 for the simulator to have been already used. To resolve the issue,
a different TCP/IP port must be used for any additional instance of the PLC simulator.
The following steps can be used to run multiple instances of the PLC Simulator.
- Click on Start\Windows System.
- Select 'Command Prompt.
Change the path to the folder that the PLC simulator is installed. In this example, I have copied the PLC simulator folder to my root C: drive.
Type in the following command for each instance of the simulator.
sim /IP(Ipaddress) /Port(TCP/IP port number)
i.e., C:\PLC_Simulator>sim /IP127.0.0.1 /PORT503
- Start the the Control Expert applications
- Connect to each simulator using the IP address and port number for the applicable instance of the simulator.
i.e., 127.0.0.1:503