Namespaces | Functions | Variables
modbus_server.py File Reference

Go to the source code of this file.

Namespaces

namespace  modbus_server

Functions

def modbus_server.callback
 Example 3 Listen for the writeable modbus registers in any node.

Variables

tuple modbus_server.msg = HoldingRegister()
tuple modbus_server.msg2 = HoldingRegister()
tuple modbus_server.mws = ModbusWrapperServer(port)
int modbus_server.port = 1234
tuple modbus_server.pub = rospy.Publisher("modbus_server/write_to_registers",HoldingRegister,queue_size=500)
 Example 4 Publisher to write first 20 modbus registers from any node.
tuple modbus_server.result = mws.waitForCoilOutput(0,5)
 Example 1 write to the Discrete Input.
tuple modbus_server.sub = rospy.Subscriber("modbus_server/read_from_registers",HoldingRegister,callback,queue_size=500)


modbus
Author(s): Sven Bock
autogenerated on Thu Jun 6 2019 17:39:35