Modbus driver

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
EESF_VER
Posts: 2
Joined: Wed Jan 08, 2020 11:02 am

Modbus driver

Post by EESF_VER »

Hello,

We have configured a modbus driver to communicate with a PLC. In each address the option 'Old/New Camparison' has been checked.

We have subscribed to some points with a dpConnect to generate an XML file. We noticed that the dpConnect was called on the change of timestamp of the variable while the value of the information did not change.

Do you know how the timestamp could have changed without changing the value?

Thanks in advance.

gschijndel
Posts: 373
Joined: Tue Jan 15, 2019 3:12 pm

Re: Modbus driver

Post by gschijndel »

The address option 'Old/New Comparison' only has an effect on the values written by the driver. Besides the value it also looks at the statusbits for example the invalid bit is written without a value change.

So reasons why the timestamp changes without a value change are: the same value can be written by another manager or the statusbit/userbits have changed.

You can can include the '_value_changed' and/or '_manager' in your dpConnect to determine which callbacks are relevant. With the config entry 'ignoreManager' it is possible to ignore all value changes from a specific manager.

Post Reply
2 posts • Page 1 of 1