Application and Installation Guide EMCP 4 SCADA Data Links
©2013 Caterpillar
All rights reserved. Page 53
Byte Data (hex) Data (dec) Scaling Formula / Calculation Scaled Data (time/date units)
5 16 22 1985+22 Year 2007
4 3E 62 int((62+3)/4) = int(65/4) Day 16
3 01 1 1 = Jan, …, 12 = Dec January
2 09 9 24-hou
-based (23 = 11p.m.). 9a.m.
1 10 16 1 = :01, etc. :16 minutes
0 B0 176 int(176/4) :44 seconds
The last timestamp translates to January 16, 2007 09:16:44
Register Offset 5:3
= First Timestamp: 00 00 00 00 00 00
Byte Data (hex) Data (dec) Scaling Formula / Calculation Scaled Data (time/date units)
5 00 0 1985+0 Year 1985
4 00 0 int((0+3)/4) = int(3/4) Day 0
3 00 0 1 = Jan, …, 12 = Dec ****
2 00 0 24-hou
-based (23 = 11p.m.). ****
1 00 0 1 = :01, etc. ****
0 00 0 int(176/4) ****
The first timestamp translates to an invalid date/time. (Note: This will not normally occur; this
procedure was created using a test module with some invalid data.)
Register Offset 7:6
= Last Hourmeter: 00 00 00 00
0.05 h/bit x 0 = 0.0 hours.
Register Offset 9:8
= First Hourmeter: 00 00 00 00
0.05 h/bit x 0 = 0.0 hours.
Register 10
= Flags/Count: F5 09
Since this register is defined bitwise, we first convert the hex value to binary.
$F5 09 = 1111 0101
0000 1001
2
The last bit is defined as bit 0.
Bits 11:8 Event Status = 0101