Installation guide
Programming Commands 73
>> Bitwise Operator
ACTION: Returns the bitwise shift right of the argument.
PROGRAM SYNTAX: result= expression >> expression1
REMARK: expression is shifted right by the value in expression1 and the resulting
value is returned.
A 24 bit binary shift right is performed on the argument. 0’s are shifted
in starting at the MSB bit.
EXAMPLES: X=10
X=X>>1
0000 0000 0000 0000 0000 1010 (10)
0000 0000 0000 0000 0000 0101 (result= 5)
returns a 5 to X.
<< Bitwise Operator
ACTION: Returns the bitwise shift left of the argument.
PROGRAM SYNTAX: result= expression << expression1
REMARK: expression is shifted left by the value in expression1 and the resulting
value is returned.
A 24 bit binary shift left is performed on the argument. 0’s are shifted in
starting at the LSB bit.
EXAMPLES: X=10
X=X<<1
0000 0000 0000 0000 0000 1010 (10)
0000 0000 0000 0000 0001 0100 (result= 20)
returns a 20 to X.
ABS Mathematics Function
ACTION: Returns the absolute value of an expression.
PROGRAM SYNTAX: ABS(expression) - used in an expression
REMARK: The absolute value is the unsigned magnitude of the expression.
EXAMPLES: X = -57.5
A=ABS(X) ‘ returns a 57.5 to A










