Len (Obtainment Of String Length) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.18 LEN (Obtainment of String Length)

Ladder diagram
List of operands
Operand
Description
S
Starting device address of the string
D
Starting device address to store the string length
Available devices (●: Available)
Operan
d
W
W
X
Y
S
D
Outline of operation
● This instruction sets the number of characters stored in the beginning of the character string
specified by [S] to the device address specified by [D].
Processing
Example) Set the number of characters of DT0 in DT100
DT0
8 (No. of characters)
DT1
DT2
DT3
DT4
DT5
Byte
Higher
address
Flag operations
Name
SR7
SR8
(ER)
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
R
L
S
D
T
"B"
"A"
"D"
"C"
"1"
"E"
"3"
"2"
Lower
bytes
bytes
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when the obtained number of characters exceeds 4096.
14.18 LEN (Obtainment of String Length)
32-Bit
device:
TS
TE
L
U
W
WI
C
C
D
M
O
S
E
DT100
Real
Integer
numbe
r
IX
K
H
SF
8
St
rin
g
Index
modifie
r
D
" "
F
14-85

Advertisement

Table of Contents
loading

Table of Contents