VA Motion Controller Programming Manual
164
Funtion and Action examples
Two addresses numerical
values or calculation
When the contact C300 is ON , the
instruction is executed, and the two addresses
are OReDAnd output to the address V524 .
Execution result: V522^V523=V524
10.1.34 ROL (loop left shift instruction )
LD, FBD programming language
Function: The ROL instruction is used to rotate the input value to the left by bit.
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
The ROL instruction processing data types
Number of bits shifted left
As a result, when the value of the pin IN or N changes, it is
shifted left. As follows : shift two digits to the left,