Replace - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

8.14.6

REPLACE

FB/FC
The REPLACE instruction replaces the specified-length string starting from the
FC
specified position with another string.
Parameters
Parameter
Meaning
name
In1
Original string
In2
Insert string
Number of
L
characters
Replacement start
P
position
Out
Replacement result Output
Bit string
In1
In2
L
P
Out
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Explanation
REPLA CE
EN
ENO
In1
Ou t
In2
L
P
Input/
Description
Output
Input
Original string
Input
String to insert
Number of
Input
characters to delete
Replacement start
Input
position
Replacement result
Integer
Chapter 8 Logic Instructions
DVP15MC11T
Valid range
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the input parameter is
connected to.
0~ maximum number of characters
1~ maximum number of characters
Depends on the data type of the
variable that the output parameter is
connected to.
Real
Time, date
number
Applicable
model
8_
8-197

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents