
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
63
Chapter 3
CIP Addressing Examples
The examples in this chapter show:
•
Request Path strings for various data accesses using native CIP service
requests and addressing.
•
Only a portion of a message frame for requests and responses.
•
How various references to atomic data types, arrays, and portions of
arrays are constructed.
http://www.rockwellautomation.com/enabled/guides.html
•
The traffic capture files that contain these services.
•
The controller project file used as the target in these examples.
See also
Atomic Members of Predefined Data Types
Accessing User-Defined Structures
The examples access tags that return atomic data types.
Read a single integer tag named
parts
. The tag has a data type of INT and a
value of 42.
Message Request Field
Bytes (in hex)
Description - Symbolic Segment Addressing
Request Service
4C
Read Tag Service (Request)
Request Path Size
04
Request Path is 4 words (8 bytes) long
Request Path
91 05 70 61 72 74 73 00
ANSI Ext. Symbolic Segment for
parts
Request Data
01 00
Number of elements to read (1)
Message Reply Field
Bytes (in hex)
Description - Symbolic Segment Addressing
Reply Service
CC
Read Tag Service (Reply)
Reserved
00
General Status
00
Success
Atomic Members of
Predefined Data Types
Example 1 (Symbolic Segment
Addressing Method)