EasyManuals Logo
Home>Vector>Controller>VEC-VA Series

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 #228 background imageLoading...
Page #228 background image
VA Motion Controller Programming Manual
223
10.4.6 LIMIT_STRING (set string limit)
IL
programming language
LD, FBD
programming language
Function: The LIMIT_STRING instruction is used to limit the range of characters or strings
entered by the upper and lower limits.
LD IN1
LIMIT_ STRING IN, IN2
ST OUT
ST programming language
OUT:=LIMIT_ STRING ( IN1 , IN, IN2 )
Note
: IL, ST
language programming needs to insert variables
IN1, IN, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
LIMIT_STRING
instruction processing data types
Input and
output
type of
data
description
IN1 ( MN )
STRING
Lower limit of characters
IN
STRING
Enter a character or string
IN2
(
MX
)
STRING
Upper limit of characters
OUT
STRING
Output, the upper and lower limits of the input value will
be equal to the upper and lower limits respectively ; the size of
the characters will be judgeDAccording to the size of
the ASCII code value ; when the string is input, only the first
character participates in the comparison, that is, if When a
character is in the upper and lower limits, the string is all
output, otherwise only the upper or lower limit is output.
Funtion and Action examples
Qualified string output
description
When the
contact
C 194
is
O N
, executing
the instruction, when the
address
V 397
string length in the
address
V 396
,
V 398
is between
the output itself, whether those
output upper and lower limits.
Execution
result:
shenzhen-shen

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