l.lefebvre

Results 15 comments of l.lefebvre
trafficstars

It looks like you are trying to run pyModbusTCP on an unsupported version of Python. Python 3.5 reached end of life in 2020, pyModbusTCP is currently testing on Python 3.7...

This is now available in pyModbusTCP version 0.2.1. ```python from pyModbusTCP.client import ModbusClient mc = ModbusClient(host='myserver.example.com') dev_id_resp = mc.read_device_identification() print(f'vendor={dev_id_resp.vendor_name}') ``` more: https://pymodbustcp.readthedocs.io/en/latest/package/class_ModbusClient.html#pyModbusTCP.client.ModbusClient.read_device_identification

Hi, it's a bit difficult to advise you, as it largely depends on the behavior of the device to which you are connecting. I would say that since you are...

Hello, I may have misunderstood your request but the timestamp at the source is not managed by the Modbus protocol. At least, in the basic standard functions. However, you can...

Hi, You can achieve this by implementing a custom DataBank class, as shown in the provided example: https://github.com/sourceperl/pyModbusTCP/blob/47675dcb865c81fbfbcdea9eb75581a6f3c31b70/examples/server_change_log.py