EasyManuals Logo

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 #235 background imageLoading...
Page #235 background image
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

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