
CIP Addressing Examples
Chapter 3
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
69
The values for BOOL 0 and 1 returned by the controller are 0x00 and 0xFF
respectively.
Message Request Field
Bytes (in hex)
Description - Symbolic Segment Addressing
Request Service
4C
Read Tag Service (Request)
Request Path Size
0A
Request Path is 10 words (20 bytes) long
Request Path
91 07 73 74 72 75 63 74 32 00
91 08 70 69 6C 6F 74 5F 6F 6E
Symbolic Segment for
struct2
Symbolic Segment for
pilot_on
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
Extended Status Size
00
No extended status
Reply Data
C1 00
BOOL Tag Type Value
FF
BOOL value for
1
See also
Atomic Members of Predefined Data Types
This topic shows examples of accessing simple structures to help illustrate
the message formats needed. The examples all use the Symbolic Segment
Addressing method. The four structure examples are defined and various
members of the structures are accessed in the examples that follow.
Structure Name: STRUCT_A
Structure Name: STRUCT_B
Member
Data Type
Member
Data Type
limit4
BOOL
pilot_on
BOOL
limit7
BOOL
hourlyCount
INT [12]
travel
DINT
rate
REAL
errors
SINT
wear
REAL
Structure Name: STRUCT_C
Structure Name: STRUCT_D
Member
Data Type
Member
Data Type
hours_full
BOOL
myint
INT
today
STRUCT_B
myfloat
REAL
sampleTime
DINT
myarray
STRUCT_C[8]
shipped
DINT
mypid
REAL
Access User-Defined
Structures