Send commands to VC from a pc on the local network running linux?

mangekyo
✭
Using the code below on the same pc that is running robotstudio works. But how do I do it from a different pc? Is it possible at all?
import socket
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
host = '127.0.0.1'
port = 2222
msg = ''
client.connect((host,port))
print('Exit=Quit')
while(msg != 'exit'):
msg = input()
client.send(bytes(msg,'utf-8'))
client.close()
0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings