Python ModbusClient – Methods

Class:  ModbusClient Constructor def __init__(self, *params) Constructor for Modbus RTU (serial line): modbusClient = ModbusClient.ModbusClient(‘COM1’) First Parameter is the serial Port Constructor for Modbus TCP: modbusClient = ModbusClient.ModbusClient(‘’, 502) First Parameter ist the IP-Address of the Server to connect to Second Parameter is the Port the Server listens to def Connect(self) Connects to a Modbus-TCP[…]