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
230
10.4.13 SEL_STRING (binary selection of strings)
IL
programming language
LD, FBD
programming language
Function: The SEL_STRING instruction is used to retrieve the last few consecutive characters
in the input string.
LD IN
SEL_STRING IN1
,
IN2
ST OUT
ST programming language
OUT:=SEL_STRING ( IN, IN1 , IN2 )
Note
: IL, ST
language programming need to insert variables
IN, IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
SEL_STRING
instruction processing data types
Input and
output
type of data
description
IN ( G )
BOOL
Select input
IN1
(
INO
)
STRING
First input
IN2
(
IN1
)
STRING
Second input
OUT
STRING
Output
If IN=0, OUT=IN1; if IN=1, OUT=IN2
Funtion and Action examples
String for selecting output by the value
of variable
V 419
description
When the contact
C 201
is
O N
time ,
the instruction execution, when the
address
V 419
is
0
when the output of the
address
V420
in a string; when the
address
V419
is
. 1
,
the output address
V421
in the string :

Table of Contents

Related product manuals