14.31 ELEN (Obtainment of String Length: With Storage Area Size)
■
Ladder diagram
■
List of operands
Operand Description
S Starting device address of the string (available range: 0 to 65534)
D Starting device address to store the string length
■
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 ● ● ● ● ● ● ● ● ●
■
Outline of operation
● This instruction stores the number of characters stored in the beginning of the character
string specified by [S] to the device address specified by [D].
● A NULL character is processed as one character.
■
Processing
Stores the number of characters in a character string that are stored after data register DT0.
[S]...DT0 [D]...DT100
14.31 ELEN (Obtainment of String Length: With Storage Area Size)
14-124 WUME-FP7CPUPGR-12