Go to the source code of this file.
Namespaces | |
namespace | modbus_client_s7_1200 |
Functions | |
def | modbus_client_s7_1200.showUpdatedRegisters |
Example 2 Create a listener that show us a message if anything on the readable modbus registers change. | |
Variables | |
string | modbus_client_s7_1200.host = "192.168.0.198" |
tuple | modbus_client_s7_1200.modclient = S7ModbusClient(host,port) |
tuple | modbus_client_s7_1200.output = HoldingRegister() |
tuple | modbus_client_s7_1200.output2 = HoldingRegister() |
tuple | modbus_client_s7_1200.outputs = xrange(8,14) |
Example 1 Set single registers using the python interface - yeah knight rider is coming! | |
tuple | modbus_client_s7_1200.outputs2 = range(13,7,-1) |
int | modbus_client_s7_1200.port = 502 |
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. | |
tuple | modbus_client_s7_1200.sub = rospy.Subscriber("modbus_wrapper/input",HoldingRegister,showUpdatedRegisters,queue_size=500) |