Public Member Functions | |
def | __init__ |
Definition at line 40 of file s7_modbus_client.py.
def modbus_plc_siemens.s7_modbus_client.S7ModbusClient.__init__ | ( | self, | |
host, | |||
port = 502 , |
|||
rate = 50 , |
|||
reset_registers = True |
|||
) |
:param host: Contains the IP adress of the modbus server :type host: string :param rate: How often the registers on the modbusserver should be read per second :type rate: float :param reset_registers: Defines if the holding registers should be reset to 0 after they have been read. Only possible if they are writeable :type reset_registers: bool
Definition at line 41 of file s7_modbus_client.py.