Graco 332564B Network Communication Dynamic Command Structure DCS, Dynamic Command Description

Page 47

Operation Using a Programmable Logic Controller (PLC)

Network Communication - Dynamic Command Structure (DCS)

Dynamic Command Description

The Dynamic Command Structure (DCS) is used to 1) access data that requires some form of argument(s) or 2) consolidate data that requires multiple registers. The DCS uses a static set of network communication input and output registers (see Network Input Data Map (Write/Read), page 40 and Network Output Data Map (Read Only), page 33.

Use the following sequence for the DCS.

1.Write the appropriate command arguments to INPUT REGISTERS 14 – 20. These commands may be written sequentially or sent all at once.

2.Once all arguments have been passed, write the command ID to INPUT REGISTER 21.

3.The ProMix PD2K will respond to a valid command by writing a 2 (Acknowledge) to OUTPUT REGISTER 28.

4.The ProMix PD2K will write appropriate return values to OUTPUT REGISTERS 29 – 36.

ProMix PD2K Inputs (PLC Outputs)

INPUT REGISTER 14

INPUT REGISTER 14+n

INPUT REGISTER 21

ProMix PD2K Outputs (PLC Inputs)

[arg_0]

Can be written together

or sequentially.

[arg_n]

[id]

OUTPUT REGISTER 28

OUTPUT REGISTER 29

OUTPUT REGISTER 29+n

13 Dynamic Command Structure Timing

ACK = 2

[rtn_0]

[rtn_n]

Figure

332564B

47

Image 47
Contents ProMix PD2K Proportioner for Automatic Spray Applications Important Safety InstructionsContents Manual No Related ManualsManual No Description 0359 ModelsECB Labels Model AC2000 High Pressure Identification Label Fire and Explosion Hazard Intrinsic Safety Personal Protective Equipment Moisture Sensitivity of Isocyanates Important Isocyanate ISO InformationIsocyanate Conditions Keep Components a and B SeparateGeneral Information ADM Display USB Download ProcedureAdvanced Display Module ADM USB Upload Procedure ADM Keys and Indicators Function ADM Keys and IndicatorsKey Function Soft Key IconsSoft Key Functions Key Function Screen Icons Navigating the ScreensPre-Operation Tasks Pre-operation ChecklistPower On Valve Settings Initial System SetupFlush Before Using Equipment With Color Change Without Color ChangePrime and Fill the System Operation Using Automatic Display Module ADMSpraying Flush Mixed Material PurgingColor Change System ShutdownFlush the System Single Color SystemPD2K Discrete I/O Connections Operation Using a Programmable Logic Controller PLCNetwork Communications and Discrete I/O Discrete I/OAnalog Inputs Digital InputsKEY Discrete I/O Connections on EfcmCGM Kits Communication Gateway Module CGM DetailsCGM Overview ProMix PD2K Network Outputs Output Register 00 Current System ModeNumber Operation Mode Description Network Communication I/O Data MapOutput Register 06 Actual Mix Ratio Output Registers 01, 02, 03, and 04 Pump StatusPump States for Output Registers Description Ber Output Register 05 Actual Mix FlowOutput Register 12 Active Recipe Material B Flush Sequence Output Register 14 Active Recipe Potlife Timeout Set PointOutput Register 27 Safety Interlock Input Status Output Registers 28 36 DCS Command StructureOutput Register 38 40 Software Version Output Register 37 TimeOperation Using a Programmable Logic Controller PLC None Network Output Data Map Read OnlyPSI = ERR = Busy= ACK = NAKProMix PD2K Network Inputs Input Register 00 System Mode CommandInput Register 07 Go to Recipe Number Input Register 02 Flush/Prime Pump CommandInput Register 03 Mix Pump 1 Control Set Point Input Register 10 Gun 1 Trigger Input Register 08 Clear Active AlarmInput Registers 14 21 DCS Command Structure Input Register 09 Job CompleteOperation Using a Programmable Logic Controller PLC Network Input Data Map Write/Read 40180 Gun 3 Trigger Uint32 Purge Mode Sequence Operation Flow ChartsInactive Pump Flush and Prime Sequences Flush Pump CommandChange Color Change SequenceStandby Mix Ready? no Mixing SequenceClear Active Alarm Alarm Clearing SequenceDynamic Command Description Network Communication Dynamic Command Structure DCSDCS List of DCS CommandsDynamic Commands with Command ID Write User IDWrite Recipe Write Flush Sequence Read User ID Write Fluid Control ModeRead Flush Sequence Read RecipeRead Fluid Control Mode Yymmdd Read Job InfoExample Ascii Character String Decode Algorithm Read Alarm InfoYymmdddw Read Event Info Flow Control System Home Screen Run Mode ScreensOpening Screen See Advanced Screen 1, page 82, to set Home Screen Key Description DetailsKey Description Key Description Spray Screen Spray Screen, in Standby ModeFill Screen, Color a Selected Fill ScreenUsage Screen Usage ScreenEvents Screen Errors ScreenJobs Screen Password Screen Setup Mode ScreensSystem Screen Mix Pressure Tolerance Mix Idle TimeoutMix No Flow Timeout Low Flow TimeoutHose Length and Diameter Gun Hose LengthGun Hose Diameter Mix At WallGateway ID EnableManual Override Gun Trigger SignalFlow Control Setpoint Signal Fluid ControlRecipe Screen Flush Screen Pump Screen Default Settings Not Selected Default Settings SelectedPump Screen 3, Pressure Monitoring Disabled Pressure Alarm and Deviation LimitsCalibrate Screen Calibration ScreensVolume Check Screen Enter Measured Volume of Solvent Maintenance Screen Maintenance ScreensMaintenance Screen 4, Color Valve Resets Advanced Screen Download Depth Enable USB Downloads/UploadsLog 90% Full Advisory Enabled Display UnitsPerform the pressure check Calibration ChecksPump Pressure Check Pump Volume Check Scroll to Calibrate Screen 3, Solvent Meter CalibrationMultiple 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 EBH# Code Type Description Problem Cause SolutionSAD1 Pressure Errors Code Type Description Problem Cause Solution Qbdx QadxCAC# System Errors Code Type Description Problem Cause SolutionEmix CA0XCddx CagxCDC# USB Errors Code Type Description Problem Cause Solution Wxuu WxudUSB B9SX B9AXB9BX ENT# Calibration Errors Code Type Name DescriptionEND# ENS0Code Type Name Description Maintenance ErrorsFlushing MaintenancePreventive Maintenance Schedule Cleaning the ADMPositive Displacement Metric Proportioner Technical DataFor Graco Canada Customers Graco Standard WarrantyGraco Information