BS1 Button command
I am using a BS1 that is monitoring multiple inputs for closures. Is it necessary for each button command to have it's own bytevariable?
· Symbol·btn1 = b0
· Symbol btn2 = b1
· BUTTON 0,0,255,0,btn1,1, gosomewhere
· BUTTON 1,0,255,0,btn2,1, gosomewhereelse
or can the button command for all buttons·use the same workarea?
· Symbol·btn = b0
· BUTTON 0,0,255,0,btn,1, gosomewhere
· BUTTON 1,0,255,0,btn,1, gosomewhereelse
The BS1 button command requires that the pin be defined 0-7, no variables are allowed.
Thank you,
· Symbol·btn1 = b0
· Symbol btn2 = b1
· BUTTON 0,0,255,0,btn1,1, gosomewhere
· BUTTON 1,0,255,0,btn2,1, gosomewhereelse
or can the button command for all buttons·use the same workarea?
· Symbol·btn = b0
· BUTTON 0,0,255,0,btn,1, gosomewhere
· BUTTON 1,0,255,0,btn,1, gosomewhereelse
The BS1 button command requires that the pin be defined 0-7, no variables are allowed.
Thank you,
Comments