High−level Instructions
3 − 625
Outline These instructions retrieve a specified number of characters from the
right side of the character string.
With the FP0R/FPΣ/FP−X, the differential execution type instruction P261 (PRIGHT)
cannot be specified.
Program example
Boolean
Ladder Diagram
Address Instruction
10
F261 RIGHT, DT0,K5,DT20
S1
Trigger
R10
S2
D
10
11
ST R 10
F261 (RIGHT)
DT 0
K5
DT 20
S1 Character string
S2 Area in which the character string is stored, or constant data
D Area in which the results of the search are stored
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
S1 A A A A A A A A A A N/A N/A N/A N/A A
S2 A A A A A A A A A A A A N/A N/A A
D N/A A A A A A A A A A N/A N/A N/A N/A A
(*1) Cannot be specified with FP0R, FPΣ and FP−X.
(*2) I0 to ID
F261
P261
(PRIGHT)
(RIGHT)
Retrieving data from character strings (right side)
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com