14.25 SREP (Replacement of a String)
■
Ladder diagram
■
List of operands
Operand Description
S Starting device address of the source string
D Starting device address of the destination string
p Replacement start position of the destination string (available data range: 0 to 4095)
n Number of characters to be replaced (available data range: 1 to 4096)
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S ● ● ● ● ● ● ● ●
D ● ● ● ● ● ● ● ●
p ● ● ● ● ● ● ● ● ● ● ● ● ● ●
n ● ● ● ● ● ● ● ● ● ● ● ● ● ●
■
Outline of operation
● This instruction replaces the string specified by [S] with the characters specified by [n] from
the position [p] in the string specified by [D].
14.25 SREP (Replacement of a String)
WUME-FP7CPUPGR-12 14-101