13.11 GETSTNO (Acquiring Starting Word Number of Specified Slot)
■
Ladder diagram
■
List of operands
Operand Description
S Specify the starting address of the device that stores the slot number or a constant.
D Specify the starting address of a readout destination device.
■
Devices that can be specified (indicated by ●)
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 reads the starting word number of the slot specified by [S] and sets it in [D].
■
Precautions for programming
● An operation error occurs when a slot number without unit registration is specified when an
I/O map has been registered.
● An operation error occurs when the number of a slot in which no unit is installed is specified
when no I/O map has been registered.
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in case of out-of-range values in indirect access (index modification).
To be set when an out-of-range value is specified for [S] (slot number).
To be set when a slot number (S) without unit registration is specified when an I/O map has been
registered.
To be set when a slot number (S) without an installed unit is specified when no I/O map has been
registered.
13.11 GETSTNO (Acquiring Starting Word Number of Specified Slot)
13-18 WUME-FP7CPUPGR-12