High−level Instructions
3 − 633
Outline These instructions replace a specified number of characters in a
character string with the same number of different characters, starting
from a specified position.
With the FP0R/FPΣ/FP−X, the differential execution type instruction P265 (PSREP)
cannot be specified.
Program example
Boolean
Ladder Diagram
Address Instruction
10
F265 SREP, DT0,DT20,K1,K3
S
Trigger
R10
D
np
10
11
ST R 10
F265 (SREP)
DT 0
DT 20
K1
K3
S Replacement character string
D Starting address of the area in which the character string is stored
p Area storing the head byte position of the character to be replaced, or constant
data
n Area storing the number of characters to be replaced from the source data, or
constant data
Operands
Relay Timer/Counter Register
Index
register
Constant
Inde
Operand
WX WY WR WL SV EV DT LD
FL
(*1)
I
(*2)
K H f M
modifier
S A A A A A A A A A A N/A N/A N/A A A
D N/A A A A A A A A A A N/A N/A N/A N/A A
P A A A A A A A A A A A A N/A N/A A
n A A A A A A A A A A A A N/A N/A A
(*1) Cannot be specified with FP0R, FPΣ and FP−X.
(*2) I0 to ID
F265
P265
(PSREP)
(SREP)
Replacing character strings
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com