communicate with mitsubishi PLC
Options
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.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings