EasyManua.ls Logo

Vector VEC-VA Series - EQ_STRING (String Equals)

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
232
Funtion and Action examples
Comparison
V42 . 6
and
V427
two
character strings
description
When the contact C 203 is O N time , the
instruction execution, when the address of V42 .
6 is a string length greater than equal to the
address V42 . 7 of string length when; address V42 .
8 outputs 1 ; No's output 0
Execution of results ; V42 . 6 > = V42 .
6 Output 1
10.4.16 EQ_STRING (string equals)
IL
programming language
LD, FBD
programming language
Function: The
EQ_STRING
instruction is used to determine if the first string is equal to the
second string.
LD IN1
EO_STRING IN2
ST OUT
ST programming language
OUT:=EQ_STRING
(
IN1
,
IN2
)
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
EQ_STRING
instruction processing data types
Input and output
type of data
description
IN1
STRING
First input
IN2
STRING
Second input
OUT
BOOL
Output, if the first input string is exactly the same as the
second input string, then
IN1=IN2, OUT=1;
otherwise
OUT=0
Funtion and Action examples
Comparison V42 . 9 and V430 two character
strings
description

Table of Contents

Related product manuals