(Note 1) For IPv6, a hexadecimal number is stored in each area of the storage.
Example) When the master unit IP address is fe80::1234:5678:1234:5678, the IP address is stored as
follows:
[D]=HFE80, [D+1]=H0, [D+2]=H0, [D+3]=H0, [D+4]=H1234, [D+5]=H5678, [D+6]=H1234, [D
+7]=H5678
(Note 2) The value that is set by the FP7 CPU unit is stored in the area for the master unit IPv6 address (link
local).
(Note 3) The master unit IPv6 address (router) is stored when automatic acquisition from the router is selected.
The master unit IPv6 address (DHCP) is stored when automatic acquisition from the DHCP server is
selected. If there is no response, "0" is stored.
(Note 4) The destination varies depending on the setting of the communication method (TCP/UDP) as shown in
the following table.
Communication
method
Setting of [S2]
CONNECT, CONNECT1 CONNECT2
TCP client
Partner unit (server) that is set as the
destination
- Partner unit (server) to which
the connection is established
- No connection is established: 0
TCP server (specific
partner unit)
Partner unit (client) that is allowed to be
connected
- Partner unit (client) whose
connection is established
- No connection is established: 0
TCP server (any
partner unit)
Partner unit (client) that is connected
most recently
A partner unit (client) has never been
connected: 0
UDP Partner unit that is set as the destination (for master communication)
■
Execution example
Example 1) When specifying IPv4 address and MAC address
The results are stored in the 15-word area that starts with [D].
[S1]... "IPv4" [S2]... "MAC" [D]...DT0
Value Description
DT0 H00C0 (U192)
The master unit IPv4 address is stored.
Example) 192.168.5.30
DT1 H00A8 (U168)
DT2 H0005 (U5)
DT3 H001E (U30)
DT4 H00FF (U255)
The subnet mask is stored.
Example) 255.255.255.0
DT5 H00FF (U255)
DT6 H00FF (U255)
DT7 H0000 (U0)
DT8 H00C0 (U192)
Default gateway
Example) 192.168.5.1
DT9 H00A8 (U168)
DT10 H0005 (U5)
DT11 H0001 (U1)
DT12 HAABB
The MAC address of the master unit is stored.
17.2 ETSTAT (Acquiring Ethernet Unit Information: IP/MAC/Destination)
WUME-FP7CPUPGR-12 17-9