Files
mxsc/script/local.py
2016-07-25 11:52:25 +02:00

17 lines
585 B
Python

###################################################################################################
# Deployment specific global definitions - executed after startup.py
###################################################################################################
from ch.psi.pshell.serial import TcpDevice
from ch.psi.pshell.modbus import ModbusTCP
class RobotTCP(TcpDevice):
def __init__(self, name, server):
TcpDevice.__init__(self, name, server)
def run(self):
print "Done"
#add_device(RobotTCP("robot_tcp", "127.0.0.1:3333"), force = True)