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 #231 background imageLoading...
Page #231 background image
VA Motion Controller Programming Manual
226
10.4.9 MIN_STRING (take a smaller string)
IL
programming language
LD, FBD
programming language
Function: The MIN_STRING instruction is used to determine the smaller of the two
characters.
LD IN1
MIN _ STRING IN2
ST OUT
ST programming language
OUT:=MIN_ 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
MIN_STRING
data processing instruction type
Input
and output
type of
data
description
IN1
STRING
The first input character or string
IN2
STRING
The second input character or string
OUT
STRING
Output, the smaller of two characters or a string
;
the size of
the character is calculateDAccording to its
ASCII
code
;
when the
string is input, only the first character participates in the
comparison, that is, if the first character of a string is smaller , then
all the output of this string
Funtion and Action examples
Compare the smallest string
description
When the contact is
O N
when the instruction
is executed, the address comparator
V 406
string
address
V 407
length of the string, there is a
minimum string output
V 408
of
Execution results:
V ECTOR
-
VECTOR
Output :
V ECTOR

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