Socket Messaging with Robot Studio?
Is it possible to use the TCP/IP Socket communication (SocketSend, SocketRecieve, etc.) commands to test my RAPID code using RobotStudio? I would like to simulate my program and use the Ethernet port on my laptop computer to actually test the Ethernet communications (before we get the real robot controllers in).
Thanks,
Toby
Comments
-
Hi Toby,it is possible to communicate with the Virtual Controller using socket messages.There is no special support in RobotStudio to send the commands, so you have to use a separate client to send the commands to the VC, or write an Add-In that uses the .NET socket classes.I have used the program "Connecting Sockets" to send socket commands to a VC on one PC, from another PC.1
-
<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for the quick response. I just downloaded the Connecting Sockets program, I also have a LabView application I wrote a while back to transmit socket messages to/from a real robot.
How do I setup/change the IP address of the Virtual Controller? (I think that is my problem). In the system info of the Virtual FlexPendant the IP settings for the LAN are all blank.
Thanks0 -
The VC has IP 127.0.0.1 as it is running on your local PC.
Try specifying that IP from the Socket program.0 -
Ok, that makes sense. It's working now. Thank you!0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings