14.22 LEFT (Takeout of the Left 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
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
" "
S1 ● ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ● ● ● ● ● ● ● ●
D ● ● ● ● ● ● ● ●
■
Outline of operation
● This instruction takes out the characters for the number of characters specified by [S2] from
the left side (beginning of the character data) of the character string specified by [S1], and
stores it in the device address specified by [D].
14.22 LEFT (Takeout of the Left Side of a String)
14-94 WUME-FP7CPUPGR-12