expliot.plugins.modbus

Support for interacting with Modbus over TCP.

Submodules

Attributes

MODBUS_REFERENCE

MODBUS_PORT

DEFAULT_ADDR

DEFAULT_UNITID

DEFAULT_COUNT

COIL

DINPUT

HREG

IREG

READ_ITEMS

REG

WRITE_ITEMS

Package Contents

expliot.plugins.modbus.MODBUS_REFERENCE = ['https://en.wikipedia.org/wiki/Modbus', 'http://www.modbus.org/specs.php']
expliot.plugins.modbus.MODBUS_PORT = 502
expliot.plugins.modbus.DEFAULT_ADDR = 0
expliot.plugins.modbus.DEFAULT_UNITID = 1
expliot.plugins.modbus.DEFAULT_COUNT = 1
expliot.plugins.modbus.COIL = 0
expliot.plugins.modbus.DINPUT = 1
expliot.plugins.modbus.HREG = 2
expliot.plugins.modbus.IREG = 3
expliot.plugins.modbus.READ_ITEMS = ['coil', 'discrete_input', 'holding_register', 'input_register']
expliot.plugins.modbus.REG = 1
expliot.plugins.modbus.WRITE_ITEMS = ['coil', 'register']