Graco 332564B important safety instructions Read Event Info

Page 56

Operation Using a Programmable Logic Controller (PLC)

Read Event Info

The Read Event Info command allows remote access to any of the last 200 events logged by the ProMix PD2K. The argument is the chronological index of the events log, where 0 is the most recent event and 199 is the 200th 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

Parameter Description

Data

Units

Value

Range

 

 

Type

 

 

 

 

 

 

 

 

 

 

 

DCS

Read Event Info

uint32

NONE

16

0

- 16

Command

 

 

 

 

 

 

Argument 0

Event Number

uint32

NONE

4

0

- 199

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Acknowledge

Command

uint32

NONE

2 = ACK

0

- 4

 

Acknowledged

 

 

 

 

 

Return 0

Event Date

uint32

[YY:MM:DD-

0x0E060302 =

N/A

 

 

 

:DW]

[14:06:03:02]

 

 

Return 1

Event Time

uint32

[xx:HH:MM:SS]

0x080B0B =

N/A

 

 

 

 

[08:11:11]

 

 

Return 2

Event Code Char[3:0]

uint32

NONE

0x30304345 = [‘0’,

N/A

 

 

 

 

’0’, ’C’, ’E’]

 

 

56

332564B

Image 56
Contents Important Safety Instructions ProMix PD2K Proportioner for Automatic Spray ApplicationsContents Manual No Related ManualsManual No Description 0359 ModelsECB Labels Model AC2000 High Pressure Identification Label Fire and Explosion Hazard Intrinsic Safety Personal Protective Equipment Important Isocyanate ISO Information Isocyanate ConditionsKeep Components a and B Separate Moisture Sensitivity of IsocyanatesGeneral Information ADM Display USB Download ProcedureAdvanced Display Module ADM USB Upload Procedure ADM Keys and Indicators ADM Keys and Indicators FunctionKey Function Soft Key IconsSoft Key Functions Key Function Navigating the Screens Screen IconsPre-Operation Tasks Pre-operation ChecklistPower On Valve Settings Initial System SetupFlush Before Using Equipment Without Color Change With Color ChangeOperation Using Automatic Display Module ADM Prime and Fill the SystemSpraying Purging Flush Mixed MaterialShutdown Flush the SystemSingle Color System Color Change SystemOperation Using a Programmable Logic Controller PLC Network Communications and Discrete I/ODiscrete I/O PD2K Discrete I/O ConnectionsDigital Inputs Analog InputsDiscrete I/O Connections on Efcm KEYCGM Kits Communication Gateway Module CGM DetailsCGM Overview Output Register 00 Current System Mode Number Operation Mode DescriptionNetwork Communication I/O Data Map ProMix PD2K Network OutputsOutput Registers 01, 02, 03, and 04 Pump Status Pump States for Output Registers Description BerOutput Register 05 Actual Mix Flow Output Register 06 Actual Mix RatioOutput Register 14 Active Recipe Potlife Timeout Set Point Output Register 27 Safety Interlock Input StatusOutput Registers 28 36 DCS Command Structure 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 = Busy = ACK= NAK = ERRInput Register 00 System Mode Command ProMix PD2K Network InputsInput Register 07 Go to Recipe Number Input Register 02 Flush/Prime Pump CommandInput Register 03 Mix Pump 1 Control Set Point Input Register 08 Clear Active Alarm Input Registers 14 21 DCS Command StructureInput Register 09 Job Complete 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 DescriptionList of DCS Commands Dynamic Commands with Command IDWrite User ID DCSWrite Recipe Write Flush Sequence Write Fluid Control Mode Read User IDRead Recipe Read Flush SequenceRead Fluid Control Mode Read Job Info YymmddExample Ascii Character String Decode Algorithm Read Alarm InfoYymmdddw Read Event Info Flow Control System Home Screen Run Mode ScreensOpening 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 ScreenEvents Screen Errors ScreenJobs Screen Setup Mode Screens Password ScreenSystem Screen Mix Idle Timeout Mix No Flow TimeoutLow Flow Timeout Mix Pressure ToleranceGun Hose Length Gun Hose DiameterMix At Wall Hose Length and DiameterEnable Gateway IDGun Trigger Signal Flow Control Setpoint SignalFluid Control 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 Enable USB Downloads/Uploads Log 90% Full Advisory EnabledDisplay Units Download DepthPerform the pressure check Calibration ChecksPump Pressure Check Pump Volume Check Solvent Meter Calibration Scroll to Calibrate Screen 3,Multiple Color Systems Color ChangeSingle Color Systems Gun Trigger Input Function System ErrorsTo Clear Error and Restart Mix Errors Code Type Description Problem Cause Solution Error CodesPurge 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 QbdxSystem Errors Code Type Description Problem Cause Solution EmixCA0X CAC#Cddx CagxCDC# USB Errors Code Type Description Problem Cause Solution Wxuu WxudUSB B9SX B9AXB9BX Calibration Errors Code Type Name Description END#ENS0 ENT#Maintenance Errors Code Type Name DescriptionMaintenance Preventive Maintenance ScheduleCleaning the ADM FlushingTechnical Data Positive Displacement Metric ProportionerFor Graco Canada Customers Graco Standard WarrantyGraco Information