Graco 332564B important safety instructions Read Job Info, Yymmdd

Page 54

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 200th 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: 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 Screen, page 64, 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 Register

Parameter Description

Data Type

Units

Value

Range

 

 

 

 

 

 

 

DCS

Read Job Info

uint32

NONE

14

0

- 16

Command

 

 

 

 

 

 

Argument 0

Job Index

uint32

NONE

0

0

– 199

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Acknowledge

Command

uint32

NONE

2 = ACK

0

- 4

 

Acknowledged

 

 

 

 

 

Return 0

Job Date

uint32

[YY:MM:DD-

0x0E051D04 =

N/A

 

 

 

:DW]

[14:05:29:04]

 

 

Return 1

Job Time

uint32

[xx:HH:MM-

0x0B160E =

N/A

 

 

 

:SS]

[11:22:14]

 

 

Return 2

Job Number

uint32

NONE

25

0

- 9999

 

 

 

 

 

 

 

Return 3

Recipe #

uint32

NONE

2

0

- 60

Return 4

A+B Volume

uint32

cc

1234

N/A

 

 

 

 

 

 

Return 5

User ID [3:0] (ASCII)

uint32

NONE

0x6E686F4A = [‘n’,

N/A

 

 

 

 

’h’, ’o’, ’J’]

 

 

Return 6

User ID [7:4] (ASCII)

uint32

NONE

0x656F4420 = [‘e’,

N/A

 

 

 

 

’o’, ’D’ ‘ ’]

 

 

Return 7

User ID [9:8] (ASCII)

uint32

NONE

0

N/A

54

332564B

Image 54 Contents
Important Safety Instructions ProMix PD2K Proportioner for Automatic Spray ApplicationsContents Related Manuals Manual No DescriptionManual No Models ECB Labels0359 Model AC2000 High Pressure Identification Label Fire and Explosion Hazard Intrinsic Safety Personal Protective Equipment Keep Components a and B Separate Important Isocyanate ISO InformationIsocyanate Conditions Moisture Sensitivity of IsocyanatesGeneral Information USB Download Procedure Advanced Display Module ADMADM Display USB Upload Procedure ADM Keys and Indicators ADM Keys and Indicators FunctionSoft Key Icons Soft Key FunctionsKey Function Key Function Navigating the Screens Screen IconsPre-operation Checklist Power OnPre-Operation Tasks Initial System Setup Flush Before Using EquipmentValve Settings Without Color Change With Color ChangeOperation Using Automatic Display Module ADM Prime and Fill the SystemSpraying Purging Flush Mixed MaterialSingle Color System ShutdownFlush the System Color Change SystemDiscrete I/O Operation Using a Programmable Logic Controller PLCNetwork Communications and Discrete I/O PD2K Discrete I/O ConnectionsDigital Inputs Analog InputsDiscrete I/O Connections on Efcm KEYCommunication Gateway Module CGM Details CGM OverviewCGM Kits Network Communication I/O Data Map Output Register 00 Current System ModeNumber Operation Mode Description ProMix PD2K Network OutputsOutput Register 05 Actual Mix Flow Output Registers 01, 02, 03, and 04 Pump StatusPump States for Output Registers Description Ber Output Register 06 Actual Mix RatioOutput Registers 28 36 DCS Command Structure Output Register 14 Active Recipe Potlife Timeout Set PointOutput Register 27 Safety Interlock Input Status Output Register 12 Active Recipe Material B Flush SequenceOutput Register 37 Time Output Register 38 40 Software VersionOperation Using a Programmable Logic Controller PLC Network Output Data Map Read Only NonePSI = NAK = Busy= ACK = ERRInput Register 00 System Mode Command ProMix PD2K Network InputsInput Register 02 Flush/Prime Pump Command Input Register 03 Mix Pump 1 Control Set PointInput Register 07 Go to Recipe Number Input Register 09 Job Complete Input Register 08 Clear Active AlarmInput Registers 14 21 DCS Command Structure Input Register 10 Gun 1 TriggerOperation Using a Programmable Logic Controller PLC Network Input Data Map Write/Read 40180 Gun 3 Trigger Uint32 Operation Flow Charts Purge Mode SequenceFlush Pump Command Inactive Pump Flush and Prime SequencesColor Change Sequence ChangeMixing Sequence Standby Mix Ready? noAlarm Clearing Sequence Clear Active AlarmNetwork Communication Dynamic Command Structure DCS Dynamic Command DescriptionWrite User ID List of DCS CommandsDynamic Commands with Command ID DCSWrite Recipe Write Flush Sequence Write Fluid Control Mode Read User IDRead Recipe Read Flush SequenceRead Fluid Control Mode Read Job Info YymmddRead Alarm Info YymmdddwExample Ascii Character String Decode Algorithm Read Event Info Flow Control System Run Mode Screens Opening ScreenHome Screen Home Screen Key Description Details See Advanced Screen 1, page 82, to setKey Description Key Description Spray Screen, in Standby Mode Spray ScreenFill Screen Fill Screen, Color a SelectedUsage Screen Usage ScreenErrors Screen Jobs ScreenEvents Screen Setup Mode Screens Password ScreenSystem Screen Low Flow Timeout Mix Idle TimeoutMix No Flow Timeout Mix Pressure ToleranceMix At Wall Gun Hose LengthGun Hose Diameter Hose Length and DiameterEnable Gateway IDFluid Control Gun Trigger SignalFlow Control Setpoint Signal Manual OverrideRecipe Screen Flush Screen Pump Screen Default Settings Selected Default Settings Not SelectedPressure Alarm and Deviation Limits Pump Screen 3, Pressure Monitoring DisabledCalibration Screens Calibrate ScreenVolume Check Screen Enter Measured Volume of Solvent Maintenance Screens Maintenance ScreenMaintenance Screen 4, Color Valve Resets Advanced Screen Display Units Enable USB Downloads/UploadsLog 90% Full Advisory Enabled Download DepthCalibration Checks Pump Pressure CheckPerform the pressure check Pump Volume Check Solvent Meter Calibration Scroll to Calibrate Screen 3,Color Change Single Color SystemsMultiple Color Systems System Errors To Clear Error and RestartGun Trigger Input Function Error Codes Purge Errors Code Type Description Problem Cause SolutionMix Errors Code Type Description Problem Cause Solution Pumping Errors Code Type Description Problem Cause Solution Code Type Description Problem Cause Solution EBH#SAD1 Pressure Errors Code Type Description Problem Cause Solution Qadx QbdxCA0X System Errors Code Type Description Problem Cause SolutionEmix CAC#Cagx CDC#Cddx USB Errors Code Type Description Problem Cause Solution Wxud USBWxuu B9AX B9BXB9SX ENS0 Calibration Errors Code Type Name DescriptionEND# ENT#Maintenance Errors Code Type Name DescriptionCleaning the ADM MaintenancePreventive Maintenance Schedule FlushingTechnical Data Positive Displacement Metric ProportionerGraco Standard Warranty Graco InformationFor Graco Canada Customers