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
67
5.2.6
Port Object (0×F4)
The following description of the Port Object is taken from the CIP specification, Vol. 1, Rev.
2.1 by ODVA & ControlNet International Ltd. and adapted to XI/ON.
Class attributes
Instance attributes
Common services
Table 24:
Class attributes
Attr.
no.
Attribute name
G
et/
S
et
Type
Value
1 (0×01) REVISION
G
UINT
1
2 (0×02) MAX OBJECT
INSTANCE
G
UINT
1
3 (0×03) NUMBER OF
INSTANCES
G
UINT
1
8 (0×08) ENTRY PORT
G
UINT
1
9 (0×09) ALL PORTS
G
ARRAY
of
STRUCT
UINT
UINT
0.0 for class
4.2 for TCP_IP_PORT
Table 25:
Instance attri-
butes
Attr.
no.
Attribute name
G
et/
S
et
Type
Description
1 (0×01) ATTRIBUTE PORT
TYPE
G
UINT
4 for TCP_IP_PORT
2 (0×02) ATTRIBUTE PORT
NUMBER
G
UINT
2
3 (0×03) ATTRIBUTE PORT
OBJECT
G
UINT
EPATH
Logical
path
2
0x12, 0x02
0x00, 0x00
Table 26:
Common
services
Service
code
Class
Instance
Service name
01 (0x01)
yes
yes
Get_Attribute_All
14 (0x0E)
yes
yes
Get_Attribute_Single