The VPL environment contains a number of binary operation functions:
•shr32/16/8
Bitwise right-shift of a value.
•shl32/16/8
Bitwise left-shift of a value.
•bcd_to_sint/int/dint
Converts BCD digits to a SINT, INT, or DINT.
•sint_to_bcd/int/dint
Converts a SINT, INT, or DINT to BCD digits.