Operation Using a Programmable Logic Controller (PLC)
Read
Read
Read Job
Job
Job Info
Info
Info
The Read Job Info command is used to access data from any of the most recent 200 job logs. The argument is the
chronological index
of the job log, where 0 is the most recent job log and 199 is the 200
th
most recent.
The date is returned as 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.
NOTE:
NOTE:
NOTE: The argument is an index not a job number. The actual job number will, however, be one of the returned
parameters. These records will match what is reported on the Jobs screen of the ADM.
(See
, for more details on Job Log)
Example: Read back the most recent job log, job 25, which ran recipe 2 for a total of 1234 cc’s of material under User
ID “John Doe”. The job was logged on Thursday May 29, 2014 at 11:22:14 AM.
DCS
DCS
DCS Register
Register
Register
Parameter
Parameter
Parameter Description
Description
Description
Data
Data
Data Type
Type
Type
Units
Units
Units
Value
Value
Value
Range
Range
Range
DCS
Command
Read Job Info
uint32
NONE
13
0 - 19
Argument 0
Job Index
uint32
NONE
0
0 – 199
Acknowledge
Command
Acknowledged
uint32
NONE
2 = ACK
0 - 4
Return 0
Job Date
uint32
[YY:MM:DD-
:DW]
0x0E051D04 =
[14:05:29:04]
N/A
Return 1
Job Time
uint32
[xx:HH:MM-
:SS]
0x0B160E =
[11:22:14]
N/A
Return 2
Job Number
uint32
NONE
25
0 - 9999
Return 3
Recipe #
uint32
NONE
2
0 - 40, 61
Return 4
Total Sprayed Volume
uint32
cc
1234
N/A
Return 5
User ID [3:0] (ASCII)
uint32
NONE
0x6E686F4A = [‘n’,
’h’, ’o’, ’J’]
N/A
Return 6
User ID [7:4] (ASCII)
uint32
NONE
0x656F4420 = [‘e’,
’o’, ’D’ ‘ ’]
N/A
Return 7
User ID [9:8] (ASCII)
uint32
NONE
0
N/A
52
3A6287E