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.

Status delay Modbus.
#5
(06.12.2022, 07:42)admin Wrote: It won't be much faster at higher bitrate. Modbus is not meant for fast communication due to polling.
As a work-around you can map an event script to the control object to update the status immediately.
Thanks admin!
I can write it directly in 6.1.2 as the on/off control address for state updates:
if event.getvalue()
  then
grp.write('6/1/1', true) --Status on/off
  else
grp.write('6/1/1', false) --Status on/off
end
Admin have any better ideas?
Reply


Messages In This Thread
Status delay Modbus. - by Long - 05.12.2022, 07:16
RE: Status delay Modbus. - by admin - 05.12.2022, 07:30
RE: Status delay Modbus. - by Long - 06.12.2022, 03:58
RE: Status delay Modbus. - by admin - 06.12.2022, 07:42
RE: Status delay Modbus. - by Long - 06.12.2022, 10:45
RE: Status delay Modbus. - by admin - 06.12.2022, 10:47
RE: Status delay Modbus. - by Long - 06.12.2022, 10:51

Forum Jump: