Send commands to VC from a pc on the local network running linux?
Options
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.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 733 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings