This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus RTU Serial Enabled/Disabled by Script
#13
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.

Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
RE: Modbus RTU Serial Enabled/Disabled by Script - by EjvindHald - Yesterday, 08:46

Forum Jump: