K ksclans Solid State Member Messages 20 Jul 1, 2009 #1 When something like INPUT = false that mean there no input or input is turn off... if TRUE then it on... what about INPUT = -1 what that mean>? thx
When something like INPUT = false that mean there no input or input is turn off... if TRUE then it on... what about INPUT = -1 what that mean>? thx
sniperviper21 Golden Master Messages 5,460 Location USA Jul 1, 2009 #2 what are u talkin about? like a PLC, Ladder Logic, PLC logic, AND's and OR's or what?
Celegorm Site Team Staff member Messages 11,741 Location USA Jul 1, 2009 #4 Typically, that is used to represent false or off. 0 is more common for that, but -1 is used when 0 is a possible input value.
Typically, that is used to represent false or off. 0 is more common for that, but -1 is used when 0 is a possible input value.
OP OP K ksclans Solid State Member Messages 20 Jul 1, 2009 #5 ook thx, so to turn On or True it need to be 1 .. ok
D dmarciano Baseband Member Messages 36 Jul 1, 2009 #6 I'm not really familiar with JS, but sometimes -1 means NULL or undefined...which is different than off/false.
I'm not really familiar with JS, but sometimes -1 means NULL or undefined...which is different than off/false.