
CIP Services and User-created Tags
Chapter 2
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
53
Error Code (Hex)
Extended Error (Hex)
Description of Error
0x04
0x0000
A syntax error was detected decoding the Request Path.
0x05
0x0000
Request Path destination unknown: probably instance number is not present.
0x06
N/A
Insufficient Packet Space: Not enough room in the response buffer for all the data.
0x0A
N/A
Attribute list error, generally attribute not supported. The status of the unsupported attribute is
0x14.
0x1C
N/A
Attribute List Shortage: The list of attribute numbers was too few for the number of attributes
parameter.
0x26
N/A
The Request Path Size received was shorter than expected.
See also
CIP Services and User-created Tags
Step 3: Determining the structure makeup for a specific structure
With the information returned in the previous example, the client application
now has all the information necessary to use the Template Read service to
retrieve the template member information.
•
Attribute 4 (Template Object Definitions Size) will be used to calculate
how much data to read when using the Template Read service (0x4C)
to get the template definition structure from the Template instance. The
service data includes the starting byte offset (initially = 0) and the
number of bytes to read.
The number of bytes to read is calculated as:
(Template Object Definition Size * 4) – 23.
Use the entire size calculated here in the request, regardless of how big
it is.
•
The service handler in the Logix 5000 controller will only return as
much data as will fit in the message frame, and uses the General Status
= 06 to indicate more to read. The client can adjust the starting offset
(that is, new starting offset = bytes re1) and reissue this
request, repeating the process until General Status = 0 is returned,
indicating that all data has been read. For smaller structures, these extra
steps may not be required, as all the data will fit in a single reply.
•
The structure data returned by the Template Read service has the
format shown in Structure data format.
See also
Analysis