Example, Reference time stamp data read – Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual
Page 99

4–57
Using Unscheduled Messaging
Publication 1336 FORCE–5.18 ––March, 1999
If an error occurs in the PMW, a value of -29952 is returned in word
2 of the PMR response.
Example
In this example, a reference time stamp data read was requested
through the PMW. Word 2 of the PMW defines this request with a
decimal value of 2816 for the PLC command code. The PMR
response indicates a successful request with a returned value of 2816
in PMR word 2. Words 4 through 7 then return the clock data. The
clock data indicates a time stamp of February 1995, the fifth day of
the week (Thursday), and a date of 23 (17 in ASCII). The hour,
minutes, and seconds change according to the time.
1
0
N7:10
2
3
4
5
6
7
8
9
N7:10
PLC MSG
Write File
PLC MSG
Read File
Data Format
0
0
7681
3
0
2816
2816
3594
5893
1282
N7:90
0E\01 0E\0A 17\05 05\02
S\..01S
Hr\Min Date\Day Yr\Mth
ASCII Display Values
Reference Time Stamp Data
Read
(continued)