communicate with mitsubishi PLC
Gary
✭
hi all
i want to use socket communication function to connect IRC5(2nd generation) and mitsubishi PLC
this is simple code as below
but program will stop at socketaccept ...............
did this mean plc not connect to robot?
is there any one try this function and successful?
thanks alot
i want to use socket communication function to connect IRC5(2nd generation) and mitsubishi PLC
this is simple code as below
but program will stop at socketaccept ...............
did this mean plc not connect to robot?
is there any one try this function and successful?
thanks alot
PROC server_recover()
!well 1105
sstate:=SocketGetStatus(server_socket);
TPWrite("connecting");
SocketClose client_socket;
SocketClose server_socket;
SocketCreate server_socket;
SocketBind server_socket,"192.168.1.100",5010;
SocketListen server_socket;
SocketAccept server_socket,client_socket\ClientAddress:=client_ip\Time:=6000;===> program will stop at here
TPWrite("connect");
ENDPROC
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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings