
Select the icon to the right of the field for the project setting to open the project setting screen as shown below and enter in your IP address, TCP for protocol, the port number for the socket # you are using and the PLCs name you wrote down earlier.ġ3. Set the connection type to TCP/IP (call)ġ2. To Download the application > select Connection > select communication & OS. Select apply when finished and select esc 4 times to go back to the PLCs normal screen.ġ0. To change it select the row to highlight it and scroll up or down.

Make sure the port number on the PLC matches the ones described for each socket number. Select Apply when finished and select Esc to go back one screen > Select Socket parameters > select the Socket 0 row for Socket to highlight it > scroll up or down until you get to the socket number you are using in your program. Select Esc 2 times to go back to the main menu > Select Ethernet > Select IP parameters and enter in the IP address, subnet mask and gateway of the parameters you are using in your program on Visilogic.ĩ. Select Version > select software and write down the PLC name to the controller currently stored on the PLC.Ĩ. The default password is 1111 and select the big return arrow button.ħ. Hold your finger anywhere on the screen for 10 seconds until you see an Info Mode screen appear. Power up the PLC if you haven't already done so. Set the client/server to Server(slave).Ħ. Connect a TCP/IP Socket Init FB to the Card Init to setup the socket number you will use, protocol is set to TCP, local port depends on the socket number, # 0 is 20000, # 1 is 20256, # 2 is 502, and # 3 is 20257.



Connection over Ethernet with TCP/IP(call) using Visilogic
