VA Motion Controller Programming Manual
167
Choose to output integer
3
or
5
When the contact C300 is ON when this
instruction is executed,
When G is . 1 when the output address
V533 in value; when G is 0 when the output
address V532 the value:
Execution result: output is 5
10.1.37 SHL (left shift instruction )
LD, FBD programming language
Function: The SHL instruction is used to shift the input value to the left, the left end of the
data is shifted out, and the right end is filled with 0 .
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
Data type processed by SHL instruction
Number of digits shifted to the left