Panasonic FP7 Series Command Reference Manual page 897

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

Advertisement

17.2 ETSTAT (Acquiring Ethernet Unit Information: IP/MAC/Destination)
(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
TCP client
TCP server (specific
partner unit)
TCP server (any
partner unit)
UDP
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
DT0
H00C0 (U192)
DT1
H00A8 (U168)
DT2
H0005 (U5)
DT3
H001E (U30)
DT4
H00FF (U255)
DT5
H00FF (U255)
DT6
H00FF (U255)
DT7
H0000 (U0)
DT8
H00C0 (U192)
DT9
H00A8 (U168)
DT10
H0005 (U5)
DT11
H0001 (U1)
DT12
HAABB
WUME-FP7CPUPGR-12
Setting of [S2]
CONNECT, CONNECT1
Partner unit (server) that is set as the
destination
Partner unit (client) that is allowed to be
connected
Partner unit (client) that is connected
most recently
A partner unit (client) has never been
connected: 0
Partner unit that is set as the destination (for master communication)
Description
The master unit IPv4 address is stored.
Example) 192.168.5.30
The subnet mask is stored.
Example) 255.255.255.0
Default gateway
Example) 192.168.5.1
The MAC address of the master unit is stored.
CONNECT2
- Partner unit (server) to which
the connection is established
- No connection is established: 0
- Partner unit (client) whose
connection is established
- No connection is established: 0
17-9

Advertisement

Table of Contents
loading

Table of Contents