Chapter 3 Creating and Editing Screens BITNOT (Set Specific Bit to be Inversed. ON to OFF, OFF to ON) Equation BITNOT Var1 Explanation This command sets the specific Bit to be inversed. ON to OFF, OFF to ON Remark Var1 can be the controller address or internal memory (BIT). Example Set the 5th Bit within the internal memory $0 to be inversed. If $0 = 1111111111111111, after the operation, $0 = 1111111111101111 GETB (Get Bit value) Equation Var1 = GETB Var2 Explanation This command gets Var2 Bit value and store in Var1 Remark Var1 and Var2 can be the controller address or internal memory (BIT).
Example Get the 5th Bit value within the internal memory $0 and store it to the 5th Bit value within the internal memory $1. If $0 = 1111111111111111 and $1 = 0000000000000000, after the operation, $1 = 0000000000010000. Revision May, 2010 3-353