Rockwell Automation Publication 1756-PM020F-EN-P - January 2019 67
Write a preset value of 50 to the .PRE member of the counter ErrorLimit
(ErrorLimit.PRE).
Message Request Field Bytes (in hex) Description - Symbolic Segment Addressing
Request Service 4D Read Tag Service (Request)
Request Path Size 09 Request Path is 9 words (18 bytes) long
Request Path 91 0A 45 7272 6F 72 4C 69 60 69 74
91 03 50 52 45 00
ANSI Ext. Symbolic Segment for ErrorLimit
ANSI Ext. Symbolic Segment for PRE
Request Data C4 00
01 00
32 00 00 00
DINT Tag Type Value
Number of elements to write (1)
0x00000032 = 50 decimal
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
See also
Atomic Members of Predefined Data Types on page 63
Read the tag struct3.today.rate, which is a structure of type STRUCT_C,
using both the Symbol Instance and Symbolic Segment Addressing methods.
Message Request Field Bytes (in hex) Description- Symbol Instance and Symbolic Segment Addressing
Request Service 4C Read Tag Service (Request)
Request Path Size 0A Request Path is 9 words (18 bytes) long
Request Path 20 6B
25 00 D1 18
91 05 74 6F 64 61 79 00
91 04 72 61 74 65
Logical Segment for Symbol Class ID
Logical Segment for Instance ID for tag struct3
ANSI Ext. Symbolic Segment for member today
ANSI Ext. Symbolic Segment for member rate
Request Data 01 00 Number of elements to read (1)
Message Reply Field Bytes (in hex) Description - Symbol Instance and 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 CA 00 REAL Tag Type Service Parameter
00 00 80 41 16.0 decimal
Example 7 (Symbolic Segment
Addressing Method)
Example 8 (Both Addressing
Methods)