Socket Messaging using Factory Network
Hello,
I want to use socket messaging to communicate between IRC5 and PLC. IRC5 has a PC interface option (616-1). I have successfully implemented socket messaging by directly connecting a LAN cable between service port and PLC ethernet port. I have also tried a direct connection between LAN2 and PLC ethernet port. These connections work well and I can send/receive messages. IRC5 acts as client and PLC acts as the server.
However, The PLC should also be connected to the factory network since it is performing other tasks over the public factory network. To overcome this problem, my network connections are as follows (see attached image). The factory network is fed into a switch which distributes the network to WAN port of the IRC5 and PLC. This makes sure that both PLC and robot are on the same factory network. I have also connected LAN2 to the switch.
When I try this network connection, I get socket error 41578 when the client (IRC5) tries to connect to server (PLC) socket
SocketConnect client_socket, "PLC IP Address", 1025;
See attached image for detailed error message. The event log doesn't give any further information.
Is it possible to use socket communication using factory network? Does it always have to originate from LAN1/LAN2 or service port?
Any help/suggestions on solving this will be appreciated!
I want to use socket messaging to communicate between IRC5 and PLC. IRC5 has a PC interface option (616-1). I have successfully implemented socket messaging by directly connecting a LAN cable between service port and PLC ethernet port. I have also tried a direct connection between LAN2 and PLC ethernet port. These connections work well and I can send/receive messages. IRC5 acts as client and PLC acts as the server.
However, The PLC should also be connected to the factory network since it is performing other tasks over the public factory network. To overcome this problem, my network connections are as follows (see attached image). The factory network is fed into a switch which distributes the network to WAN port of the IRC5 and PLC. This makes sure that both PLC and robot are on the same factory network. I have also connected LAN2 to the switch.
When I try this network connection, I get socket error 41578 when the client (IRC5) tries to connect to server (PLC) socket
SocketConnect client_socket, "PLC IP Address", 1025;
See attached image for detailed error message. The event log doesn't give any further information.
Is it possible to use socket communication using factory network? Does it always have to originate from LAN1/LAN2 or service port?
Any help/suggestions on solving this will be appreciated!
0
Comments
-
Looks like the WAN port wasn't correctly hooked up to the public network, Hence socket communication was failing. This is fixed now.0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings