Graco 332564B Paint Sprayer User Manual


 
Operation Using
a Programmable Logic Controller (PLC)
Read Event Info
The Read Event Info command allows remote access to any of the last 200 events logged by the ProMix
PD2K. The argument is the
chronological index
of the events log, where 0 is the most recent event and
199 is the 200
th
most recent.
Thedateisret
urned as a four-byte packet with each byte holding a two-digit value for (from MSB to LSB) year,
month, day, a
nd day of the week (Monday = 01).
The time is returned as a three-byte packet with each byte holding a two-digit value. Starting from the MSB,
the first byte can be ignored, then hour, minute, and second.
The event code is a four-character little endian ASCII string.
The example
decoding algorithm provided above for the Alarm Code may be used for Events equivalently.
Example: Read back the fifth most recent event, which was a Setup Value(s) Changed (EC00) recorded
on Tuesday June 3, 2014 at 8:11 AM.
DCS Register
Parameter Description Data
Type
Units Value Range
DCS
Command
Read Even
tInfo
uint32
NONE
16 0 - 16
Argument 0 Event Number uint32
NONE
40-199
Acknowl
edge
Command
Acknowledged
uint32
NONE 2 = ACK
0-4
Return 0 Event Date uint32 [YY:MM:DD-
:DW]
0x0E060302 =
[14:06:03:02]
N/A
Retur
n1
Event
Time
uint3
2
[xx:HH:MM:SS]
0x080
B0B =
[08:1
1:11]
N/A
Return 2
Event Code Char[3:0]
uint32
NONE 0x30304345 = [‘0’,
’0’, ’C’, ’E’]
N/A
56 332564B