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 #227 background imageLoading...
Page #227 background image
VA Motion Controller Programming Manual
222
When the contact
C 192
is
O N
, the
execution of the instruction;
address
V 389
string, replace
address
V 390
string, where
P
is the number
of strings is replaced by the first few
Start being replaced,
L
is the number of
characters to be replaced.
Execution result:
PLC-----VECTOR
10.4.5 LEN ( string length )
IL programming
language
LD, FBD programming language
Function:
LEN
determines the length of a string.
LD IN
LEN
ST OUT
ST
programming
language
OUT:=LEN
(
IN
)
Note : IL, ST language programming needs to insert variables IN and OUT or use constants in
the current POU variable worksheet
数据 Data type processed by LEN instruction
Input and
output
type of
data
description
IN
STRING
Input string
OUT
INT
Output, the length of one character is 1
Funtion and Action examples
Determine the length of a string
description
When the contact
C 193
is
O N
when the
instruction is executed
,
the address
V 394
length of
the string is displayeDAs an integer, there is an
address
V 395
in
Execution result:
V ECTOR-------6

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