Graco ProMix PD3K Plus Operation page 54

Proportioner for automatic spray applications
Table of Contents

Advertisement

Operation Using a Programmable Logic Controller (PLC)
Read Event
Event Info
Info
Read
Read
Event
Info
The Read Event Info command allows remote access to any of the last 200 events logged by the ProMix PD3K+.
chronological index
The argument is the
most recent.
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 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
Register
Parameter
Parameter Description
Parameter
DCS
DCS
Register
DCS
Read Event Info
Command
Argument 0
Event Number
Acknowledge
Command
Acknowledged
Return 0
Event Date
Return 1
Event Time
Return 2
Event Code Char[3:0]
Read Gun
Gun Potlife
Potlife Time
Time
Read
Read
Gun
Potlife
Time
The Read Gun Potlife Time command returns the remaining potlife time, in seconds, for a selected
gun if it is currently loaded and mixed. This command is particularly useful if Multiple Guns is enabled.
See
Appendix B: Multiple Guns, page 118
NOTE: This command will return 0xFFFFFFFF if there is no potlife time associated with the recipe or the timer has
NOTE:
NOTE:
not started.
Example: Read Gun 1 potlife time remaining that is currently "12 minutes" for Stage 1 and "15 minutes" for Stage 2.
DCS Register
Register
Parameter
Parameter Description
Parameter
DCS
DCS
Register
DCS
Read Gun Potlife Time
Command
Argument 0
Gun Number
Acknowledge
Command Acknowledged
Return 0
Gun Number
Return 1
Potlfe Time Remaining
Stage 1
Return 2
Potlfe Time Remaining
Stage 2
Return 3
Potlfe Time Remaining
Stage 3
54
of the events log, where 0 is the most recent event and 199 is the 200
Description
Description
Data
Data
Data
Type
Type
Type
uint32
uint32
uint32
uint32
uint32
uint32
.
Description
Description
Data
Data
Data
Type
Type
Type
uint32
uint32
uint32
uint32
uint32
uint32
uint32
Units
Units
Units
Value
Value
Value
15
NONE
NONE
4
NONE
2 = ACK
[YY:MM:DD-
0x0E060302 =
:DW]
[14:06:03:02]
0x080B0B =
[xx:HH:MM:SS]
[08:11:11]
NONE
0x30304345 = ['0',
'0', 'C', 'E']
Units
Units
Units
Value
Value
Value
NONE
16
NONE
1
NONE
2 = ACK
1
NONE
sec
720
sec
900
sec
0xFFFFFFFF
th
Range
Range
Range
0 - 19
0 - 199
0 - 4
N/A
N/A
N/A
Range
Range
Range
0 - 19
1 - 3
0 - 4
1 - 3
0 - 60000
0 - 60000
0 - 60000
3A6287E

Advertisement

Table of Contents
loading

Table of Contents