17.2 ETSTAT (Acquiring Ethernet Unit Information: IP/MAC/Destination)
17.2 ETSTAT (Acquiring Ethernet Unit Information: IP/MAC/Destination)
■
Ladder diagram
(Note 1)
The above figure shows the case that S1=U100 (built-in ET-LAN in the CPU unit) and S2=U1
(connection number 1) are specified by the UNITSEL instruction.
(Note 2)
By copying and pasting the following text in the instruction list box of FPWIN GR7, the operand part of
the above program can be input.
ETSTAT "IPv4" "CONNECT" DT0
■
List of operands
Operand
Description
Starting address of the device area that stores the string data that indicates a read type, or a
S1
character constant.
Starting address of the device area that stores the string data that indicates a target to be read, or a
S2
character constant.
D
Starting address of a readout destination device
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
D
●
●
■
Outline of operation
● This instruction reads the information of the Ethernet unit.
■
Processing
● The parameter information or status information specified by [S1] and [S2] is read and stored
in the area starting with [D].
● The number of words in the storage area varies according to the type of read data and the
target.
WUME-FP7CPUPGR-12
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
●
●
Index
modifie
r
17-5