5 Implementation of EtherNet/IP
5.2 Classes and instances of the EtherNet/IP-gateway
XI/ON: XNE-GWBR-2ETH-IP
09/2011 MN05002007Z-EN
www.eaton.com
69
Instance attributes
Common services
Table 28:
Instance attri-
butes
Attr.
no.
Attribute name
G
et/
S
et
Type
Description
1 (0×01)
STATUS G
DWORD
Interface status (see page 70)
2 (0×02)
CONFIGURA-
TION CAPA-
BILITY
G
DWORD
Interface Capability Flag (see page 70)
3 (0×03)
CONFIGURA-
TION CONTROL
G/S
DWORD
Interface Control Flag (see page 70)
4 (0×04)
PHYSICAL LINK
OBJECT
G
STRUCT
Path size
UINT
Number of 16bit words: 0×02
Path
Padded
EPATH
0×20, 0×F6, 0×24, 0×01
5 (0×05)
INTERFACE
CONFIGURA-
TION
G
Structure
of:
TCP/IP Network Interface Configuration
(see page 70)
IP ADDRESS
G
UDINT
Current IP address
NETWORK
MASK
G
UDINT
Current network mask
GATEWAY
ADDRESS
G
UDINT
Current default gateway
NAME SERVER
G
UDINT
0 = no name server address configured
NAME SERVER 2
UDINT
0 = no secondary name server address
configured
5 (0×05)
DOMAIN NAME
G
UDINT
0 = no Domain Name configured
6 (0×06)
HOST NAME
G
STRING
0 = no Host Name configured
(see page 71)
Table 29:
Common
services
Service
code
Class
Instance
Service name
01 (0x01)
yes
yes
Get_Attribute_All
02 (0x02)
no no
Set_Attribute_All
14 (0x0E)
yes
yes
Get_Attribute_Single
16 (0×10)
no yes
Set_Attribute_Single