Functions | |
def | showUpdatedRegisters |
Example 2 Create a listener that show us a message if anything on the readable modbus registers change. | |
Variables | |
string | host = "192.168.0.198" |
tuple | modclient = S7ModbusClient(host,port) |
tuple | output = HoldingRegister() |
tuple | output2 = HoldingRegister() |
tuple | outputs = xrange(8,14) |
Example 1 Set single registers using the python interface - yeah knight rider is coming! | |
tuple | outputs2 = range(13,7,-1) |
int | port = 502 |
tuple | pub = rospy.Publisher("modbus_wrapper/output",HoldingRegister,queue_size=500) |
Example 3 writing to modbus registers using a standard ros publisher. | |
tuple | sub = rospy.Subscriber("modbus_wrapper/input",HoldingRegister,showUpdatedRegisters,queue_size=500) |
def modbus_client_s7_1200.showUpdatedRegisters | ( | msg | ) |
Example 2 Create a listener that show us a message if anything on the readable modbus registers change.
Definition at line 86 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::host = "192.168.0.198" |
Definition at line 51 of file modbus_client_s7_1200.py.
Definition at line 62 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::output = HoldingRegister() |
Definition at line 97 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::output2 = HoldingRegister() |
Definition at line 99 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::outputs = xrange(8,14) |
Example 1 Set single registers using the python interface - yeah knight rider is coming!
Definition at line 68 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::outputs2 = range(13,7,-1) |
Definition at line 69 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::port = 502 |
Definition at line 52 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::pub = rospy.Publisher("modbus_wrapper/output",HoldingRegister,queue_size=500) |
Example 3 writing to modbus registers using a standard ros publisher.
Definition at line 96 of file modbus_client_s7_1200.py.
tuple modbus_client_s7_1200::sub = rospy.Subscriber("modbus_wrapper/input",HoldingRegister,showUpdatedRegisters,queue_size=500) |
Definition at line 88 of file modbus_client_s7_1200.py.