Graco ProMix PD2K Operation page 57

Dual fluid panel, electric proportioner for automatic spray applications
Hide thumbs Also See for ProMix PD2K:
Table of Contents

Advertisement

Read Alarm
Alarm Info
Info
Read
Read
Alarm
Info
The Read Alarm Info command allows remote access to any of the last 200 alarms logged by the ProMix PD2K. The
chronological index
argument is the
The date is returned as a four-byte packet with each byte holding a two-digit value for (from MSB to LSB) year, month,
day, and 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 alarm code is a four-character little endian ASCII string
See
System Errors, page
An example decoding algorithm is provided below.
Example: Read back the second most recent alarm, which was a Position Pump 1 (DK01) recorded on Tuesday
June 3, 2014 at 8:11 AM.
DCS
DCS
DCS Register
Register
Register
Parameter
Parameter Description
Parameter
DCS
Read Alarm Info
Command
Argument 0
Alarm Index
Acknowledge
Command Acknowledged
Return 0
Alarm Date
Return 1
Alarm Time
Return 2
Alarm Code Char[3:0]
Example
Example ASCII
Example
ASCII Character
ASCII
Character String
Character
character_str[0] = Return_2 & 0xFF;
character_str[1] = (Return_2 >> 8) & 0xFF;
character_str[2] = (Return_2 >> 16) & 0xFF;
character_str[3] = (Return_2 >> 24) & 0xFF;
character_str[4] = '\0';
3A4486D
of the alarm log, where 0 is the most recent alarm and 199 is the 200
99, for more details on these Event Types.
Description
Description
Data
Data
Data
Type
Type
Type
uint32
uint32
uint32
uint32
uint32
uint32
String Decode
String
Decode
Decode Algorithm:
Algorithm:
Algorithm:
Operation Using a Programmable Logic Controller (PLC)
Units
Units
Units
NONE
NONE
NONE
[YY:MM:DD:DW]
[xx:HH:MM:SS]
NONE
Value
Value
Value
15
1
2 = ACK
0x0E060302 =
[14:06:03:02]
0x080B0B =
[08:11:11]
0x31304B44 = ['1',
'0', 'K', 'D']
th
most recent.
Range
Range
Range
0 - 16
0 - 199
0 - 4
N/A
N/A
N/A
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Promix pdPromix pd1kAc1002Ac3002Ac2002Ac4002

Table of Contents