EasyManuals Logo
Home>Vector>Controller>VEC-VA Series

Vector VEC-VA Series User Manual

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #169 background imageLoading...
Page #169 background image
VA Motion Controller Programming Manual
164
Funtion and Action examples
Two addresses numerical
values or calculation
description
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 )
IL programming
language
LD, FBD programming language
Function: The ROL instruction is used to rotate the input value to the left by bit.
LD IN1
ROL IN2
ST OUT
ST programming
language
OUT:=ROL
(
IN1
,
IN2
)
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
Input and
output
type of
data
description
IN1
ANY_BIT
Input
IN2
ANY_INT
Number of bits shifted left
OUT
ANY_BIT
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,
0
0
0
0
1
0
1
1
Value after moving
1
1
0
0
0
0
1
0
Value before moving

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vector VEC-VA Series and is the answer not in the manual?

Vector VEC-VA Series Specifications

General IconGeneral
BrandVector
ModelVEC-VA Series
CategoryController
LanguageEnglish

Related product manuals