CIP Services and User-created Tags
60 Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
• The General Status 0x05 (Path Not Known) is returned, which
indicates that a project download is in progress.
Important:
Do not use the Multi Service Packet service to group the attribute check with the Tag Write service, as this would allow data to
be written before determining whether the tag information needs to be re-read.
When writing to tags, prepare the tags to be written and then check the
attributes. If no change is indicated and the General Status of the request is
Success, proceed with writing the tag data. If a change is indicated, refresh
the tag and template information as described. The tag write is followed by
the attribute reads to confirm that the tag did not change before the write. If
the attribute check fails, check the tag to confirm it did not change.
The client application should refresh this information after re-establishing the
CIP network connection with the Logix 5000 controller, or if a General
Status of 0x05 occurs when reading these attributes.
The service request and reply are shown as:
Message Request Field Bytes (in hex) Description
Request Service 03 Get_Attribute_List Service (Request)
Request Path Size 03 Request Path is 3 words (6 bytes) long
Request Path 20 AC 25 00 01 00 Logical Segments: Class 0xAC, Instance 0x0001
Request Data 05 00 Number of attribute IDs that follow(5)
01 00
02 00
03 00
04 00
0A 00
Attribute list:
Attribute 1
Attribute 2
Attribute 3
Attribute 4
Attribute 10
Message Reply Field Bytes (in hex) Description
Reply Service 83 Get_Attributes_List Service (Reply)
Reserved 00 Reserved
General Status 00 Success
Extended Status Size 00 No extended status
Reply Data 02 00 Number of attribute responses that follow
01 00 Attribute number (attribute 1)
00 00 Success
05 00 Attribute value (INT)
02 00 Attribute number (attribute 2)
00 00 Success
01 00 Attribute value (INT)
03 00 Attribute Number (Attribute 3)