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.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 341 IRC5
- 69 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 840 RAPID Programming
- 19 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings