CIP Services and User-created Tags
58 Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
• hourlyCount[11] = 0x0b
• rate = 1.0
See also
Example of reading an entire structure on page 58
The following is an example of reading an entire structure.
Message Request Field Bytes Description
Request Service 4C Read Tag Service (Request)
Request Path Size 08 Request Path is 8 words (16 bytes) long
Request Path 91 0E 4D 61 63 68 69 6E
65 53 75 6D 6D 61 72 79
ANSI Ext. Symbol Segment for Machine Summary
Request Data 01 00 Number of elements to read (1)
The data returned would be packed like this:
Message Reply Field Bytes Description
Reply Service CC Read Tag Service (Reply)
Reserved 00
General Status 00 Success
Extended Status Size 00 No Extended Status
Reply Data A0 02 CD 9E =Tag Type Service Parameter (The Structure Handle, Template Instance Attribute 1.
See Step 3.)
01 = host SINT (for BOOLs)
00 = Pad byte
00 = Pad byte
00 = Pad byte
00 00 = hourlyCount[0] (array of INT)
01 00 = hourlyCount[1]
02 00 = hourlyCount[2]
03 00 = hourlyCount[3]
04 00 = hourlyCount[4]
05 00 = hourlyCount[5]
06 00 = hourlyCount[6]
07 00 = hourlyCount[7]
08 00 = hourlyCount[8]
09 00 = hourlyCount[9]
0a 00 = hourlyCount[10]
0b 00 = hourlyCount[11]
00 00 80 3F = rate (REAL)
Example of reading an entire
structure