EasyManua.ls Logo

Vector VEC-VA Series

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
Loading...
VA Motion Controller Programming Manual
166
The value before the right movement
Funtion and Action examples
The value 16 # 01 ( BYTE )
rightward shift three
description
When the contact
C300
is
ON
when this
instruction is executed,
The address
V528
all the bits to the
right
3
bits:
Execution results:
1 6#01
Move
3
bits to
the right to save to
V530
:
10.1.36 SEL (Selection Command )
IL
programming language
LD, FBD
programming language
Function: The
SEL
instruction is used to select different input values based on two states
of a Boolean quantity.
LD IN
SEL IN1 , IN2
ST OUT
ST programming
language
OUT:=SEL ( IN, IN1 , IN2 )
Note : IL, ST language programming needs to insert variables IN, IN1, IN2 and OUT or use
constants in the current POU variable worksheet
Data type processed by
SEL
instruction
Input and
output
type of data
description
IN ( G )
BOOL
Select input
IN1 ( INO )
ANY
First input
IN2
(
IN1
)
ANY
Second input
OUT
ANY
Result :
If IN=0, OUT=IN1;
If IN=1, OUT=IN2;
Funtion and Action examples

Table of Contents

Related product manuals