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
59
Message Router Request/Response Formats
• Message Router Request Format:
• Message Router Response Format:
Table 16:
Message
Router Request
Parameter
Data type
Description
Service
USINT
Service code of the request.
Request Path
Size
USINT
Number of 16 bit words in the "Request Path".
Request Path
Padded
EPATH
Array of bytes containing the information for the path of
request (class ID, Instance ID, etc.) for this transaction.
Request Data
Array of octed Additional service specific data to be delivered in the Explicit
Messaging Request.
Table 17:
Message
Router Request
Parameter
Data type
Description
Reply Service
SINT
Reply service code.
General Status USINT
General Status code according to CIP specification.
See Table 18: General status codes according to CIP spec.,
Page 59
Size of
Additional
Status
USINT
Number of 16 bit words in Additional status.
Additional
Status
Array of
USINT
Additional status.
Response
Data
Array of octet
Response data from request or additional error data if an
error was indicated in "General Status".
Table 18:
General status
codes according
to CIP spec.
Status
code
(hex)
Status name
Description
00
Success
Service successfully performed by the object specified.
01
Connection failure
A connection related service failed along the connection
path.
02
Resource unavailable Resources needed for the object to perform the requested
service were unavailable.
03
Invalid
parameter value
See Status code 0x20, which is the preferred value to use
for this condition.
04
Path segment error
The path segment identifier or the segment syntax was not
understood by the processing node. Path processing shall
stop when a path segment error is encountered.