VA Motion Controller Programming Manual
219
Note
: IL, ST
language programming needs to insert variables
IN1, IN2, P
and
OUT
or use
constants in the current
POU
variable worksheet
数据 Data type processed by INSERT instruction
The first input string, when using a variable, the
variable must be set to a non-null initial value, or a string
constant
EleveNSecond input string to be inserted into the first
input, using the variable, variable amount of non-null initial
value must be set, the string constant may be used
At the insertion point in the first input, P must be an
integer greater than 0 ; the first character position in the
string is 1 and the following characters are 2, 3...,
The output second input is inserteDAfter the P character
of the first input, and the output is not allowed to have the
same name as the input.
Funtion and Action examples
The string " operation control " into the
"string" Win "System run " syllable
When the contact C190 is ON when this
instruction is executed, the address
of V381 in the insertioNString address V382 in
the first string after stored in V 384 In ,
P represents the insertion of a few strings after
Execution results: transportation + motion
control = motion control
10.4.3 DELETE ( copies except string)
LD, FBD
programming language
Function: The
DELETE
delete string instruction is used to delete several connected
characters determined in a string.