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
#7
I want when the event is executed and an x value to send a true. I can do it with 1 bit objects but I need 07.2 Bytes .  what else do i need to get the value?

Code:
Scanner_Rele = event.getvalue()
Scanner_Value = grp.getvalue('50/0/0')
User01 = '50/1/1'
User02 = '50/1/2'



if Scanner_Rele == true and Scanner_Value == 26 then
  grp.write (User01, true)
   end

if Scanner_Rele == true and Scanner_Value == 36 then
  grp.write (User02, true)
   end
Reply


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

Forum Jump: