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 #229 background imageLoading...
Page #229 background image
VA Motion Controller Programming Manual
224
10.4.7 FIND (FinDA character that appears in a string)
IL
programming language
LD, FBD
programming language
Function: The FIND instruction is used to determine the position of the second
string ( whichever is the first character ) that appears in the first string .
LD IN1
FIND IN2
ST OUT
ST programming language
OUT:=FIND ( 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 FIND
data processing instruction type
Input and
output
type of data
description
IN1
STRING
The first input character or string, the position of the first
character from the left in the string is 1
IN2
STRING
The second input character or string, the position of the
first character from the left in the string is
1
OUT
STRING
The output of the second string of the first character string
appears in the first position, if the character is not included in
the first string, output
O
.
Funtion and Action examples
Find the same string
description
When the contact is
ON
, the instruction
is executed. When the character string in
the address
V 400
is equal to the character
string of the address
4 01A
, the
address
V 402
outputs
1
;
The result of the execution:
V ECTOR =
VECTOR
output
1
;

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