Yesterday, 08:46
(This post was last modified: Yesterday, 08:50 by EjvindHald.)
I think I need to be more precise. I have a device (air condition) where the power is physically set to on or off depending on usage. This goes hand in hand with enable and disabled modbus RTU.
The script for enable or disable RTU is working fine in LM. It does exactly the same as if you had done the operation using the UI in Logic Machine.
However, if a defined RTU appears disabled in modbus UI, it should not be polled anymore. In the last firmware, the polling continues also in disabled mode and this generates constant entries in my modbus log, because the device is turned off.
I do not need do to RTU scan, but the behavior of this functionality is no longer providing an error message when all is disabled. That is the only reason why I referred to it.
I have attached screenshots as you requested when I turn it on and later turn it off. The checkmark in the modbus UI is correctly set on and off via this operation. Physical polling is the problem.
Steps to reproduce:
Connect a physical RTU modbus device to LM
Define the modbus in LM
Verify the polling is working.
Disable the RTU in the LM modbus UI.
Turn off power or remove external RTU modbus device.
Now you will see in the modbus log that polling continues and is failing.
The script for enable or disable RTU is working fine in LM. It does exactly the same as if you had done the operation using the UI in Logic Machine.
However, if a defined RTU appears disabled in modbus UI, it should not be polled anymore. In the last firmware, the polling continues also in disabled mode and this generates constant entries in my modbus log, because the device is turned off.
I do not need do to RTU scan, but the behavior of this functionality is no longer providing an error message when all is disabled. That is the only reason why I referred to it.
I have attached screenshots as you requested when I turn it on and later turn it off. The checkmark in the modbus UI is correctly set on and off via this operation. Physical polling is the problem.
Steps to reproduce:
Connect a physical RTU modbus device to LM
Define the modbus in LM
Verify the polling is working.
Disable the RTU in the LM modbus UI.
Turn off power or remove external RTU modbus device.
Now you will see in the modbus log that polling continues and is failing.