Operation Using
a Programmable Logic Controller (PLC)
Read Job 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 ret
urnedasfour-bytepacketwitheachbyteholdingatwo-digitvaluefor(from MSB to LSB) year,
month, day, an
d 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: 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 Usage S
creen, page 64, for more details on Job Log)
Example: Read back the most recent job log, job 25, which ran recipe 2 for a totalof1234cc’sofmaterial
under User ID “John Doe”. The job was logged on Thursday May 29, 2014 at 11:22:14 AM.
DCS Register
Parameter Description Data Type Units Value Range
DCS
Command
Read Job Info
uint32
NONE
14 0 - 16
Argument 0 Job Index uint32
NONE
00–199
Acknowledge
Command
Acknowledged
uint32
NONE 2 = ACK
0-4
Return
0
Job Dat
e
uint32 [YY:MM
:DD-
:DW]
0x0E05
1D04 =
[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
20-60
Retu
rn 4
A+B V
olume
uint
32
cc
1234 N/A
Return 5
User ID [3:0] (ASCII)
uint32
NONE 0x6E686F4A = [‘n’,
’h’, ’o’, ’J’]
N/A
Re
turn 6
User ID [7:4] (ASCII)
ui
nt32
NONE 0x656F4420 = [‘e’,
’o’, ’D’ ‘ ’]
N/
A
Return 7
Us
er ID [9:8] (ASCII)
uint32
NO
NE
0N/A
54 332564B