14.21 RIGHT (Takeout of the Right Side of a String)
14.21 RIGHT (Takeout of the Right Side of a String)
■
Ladder diagram
■
List of operands
Operand
Description
S1
Starting device address of the source data
S2
Number of characters to be taken out (available data range: 1 to 4096)
D
Starting device address to store the result that is taken out
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
D
●
●
■
Outline of operation
● This instruction takes out the characters for the number of characters specified by [S2] from
the right side (end of the character data) of the character string specified by [S1], and stores
it in the device address specified by [D].
14-92
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
●
●
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
●
●
●
●
●
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
U
F
●
●
WUME-FP7CPUPGR-12
Index
modifie
r
●
●
●