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 TCP Polling Delay
#8
You can use grp.find() to get updatetime field value of an object and compare it with current time (os.time()). For this to work correctly you need to have separate control/status objects. The write to Modbus script can also update status object right after writing.
Reply


Messages In This Thread
Modbus TCP Polling Delay - by manos@dynamitec - 08.09.2022, 10:23
RE: Modbus TCP Polling Delay - by Daniel - 08.09.2022, 10:40
RE: Modbus TCP Polling Delay - by admin - 08.09.2022, 11:28
RE: Modbus TCP Polling Delay - by admin - 08.09.2022, 11:49
RE: Modbus TCP Polling Delay - by admin - 12.09.2022, 12:08
RE: Modbus TCP Polling Delay - by admin - 14.09.2022, 06:54

Forum Jump: