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.

Time control of company personnel
#15
(01.04.2020, 08:20)admin Wrote: The problem is that 50/0/0 arrives after 50/0/4 when your script is already executing.
Attach your script to 50/0/0 and modify it like this:
Code:
Scanner_Value = event.getvalue() --07.2bytes, user id
Scanner_Rele = grp.getvalue('50/0/4') --01.1bit, only send true


Hello Admin, I already did that test. I also have the same problem, the value of 1 bit is always true. Therefore, the condition will also be fulfilled.

Is it possible not to run the script until the two values are updated? That one value depends on the other to be executed.
Reply


Messages In This Thread
RE: Time control of company personnel - by davidchispas - 01.04.2020, 10:19

Forum Jump: