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 #225 background imageLoading...
Page #225 background image
VA Motion Controller Programming Manual
220
DELETE L, P
ST OUT
ST programming language
OUT:=DELETE
(
IN, L, P
)
Note : IL, ST language programming needs to insert variables IN, L, P and OUT or use
constants in the variable worksheet of the current POU
数据 Data type processed by DELETE instruction
Input and output
type of data
description
IN
STRING
Enter a string or use a constant string
L
ANY_INT
The number of characters to be deleted, L can be 0, 1, 2...
P
ANY_INT
In the input string, the position of the first character to be
deleted,
P
must be an integer greater than
0 ;
the first
character position in the string is
1
, and the following
characters are
2, 3...
OUT
STRING
The output input string is not affected by the deletion. In fact,
this instructioNSelects several strings in the input string to
form a new string. The output does not allow the same name
as the input.
Funtion and Action examples
Delete the third character "C" in the
string "PLC"
description
When the contact
C 191
contact is
O N
, the
execution of the instruction; delete
address
V 385
string in the third character, in an
amount of
. 1
a; where
L
is the number of
characters to be deleted,
P
is the first to be
deleted Several characters
Execution result:
P LC----PL

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