Appendix C - Communications Gateway Module (CGM) Connection Details

CGM Command Interface

NOTE: The CGM command interface is only available for fluid plates with 16 or 256 styles.

The CGM command interface utilizes bits in the CGM I/O Data Map, page 125, to support many additional functions that are not available in the other CGM I/O bits.

NOTE: When changes are made over the command interface, the ADM screen may not update immediately. it may be necessary to navigate away from the screen then back to it.

The CGM command interface uses automation output bits 256 to 327. These bits can be used to request the value of a current system setting (read) or change a sys- tem setting (write).

Output bits 256-267 are used to identify the individ- ual command. Each bit will have a single binary value to create the hex code listed in the commands table.

Output bits 268-275 are used to identify the individ- ual Fluid Plate or Swirl dispenser to which the com- mands will apply.

Output bits 288-319 are used to identify the value of the command specified by bits 256-267 and 268-275.

Output bit 321 identifies the command as a write command.

Output bit 320 identifies the command as a read command.

The CGM command interface uses automation input bits 128-159 to read the current system values. It also uses input bits 160-163 to identify the status of com- mands:

Examples

NOTE: See the timing diagram and tables starting on page 132 for detailed descriptions of the input and out- put bits.

Example 1: if output bits 256-275 are 0xB0203, output bits 288-319 are 0x0004, and output bit 321 is high, this means:

The command relates to the purge period in minutes (0x__203)

The command relates to fluid plate 1 (0xB0___)

The command is a write command (bit 321 high)

The value of the command is 4 (0x0004)

Combine these individual pieces to understand the com- mand as a whole: Change the purge period setting on fluid plate 1 to 4 minutes.

Example 2: if output bits 256-275 are 0xB3212, input bits 288-319 are 0x0000, and output bit 320 is high, this means:

The command relates to whether valve 1 is enabled (0x__212)

The command relates to fluid plate 4 (0xB3___)

The command is a read command (bit 320 high)

The value of the command is 0 (0x0000)

Combined, this means: Valve 1 on fluid plate 4 is dis- abled.

Bit 160: Command Active

Bit 161: Command Success

Bit 162: Command Failure

Bit 163: Value Coerced

NOTE: If both output bits 320 (read) and 321 (write) are high during a command the result will be a command failure identified by input bit 162 (command failure) going high.

3A2098H

131

Page 131
Image 131
Graco 3A2098H important safety instructions CGM Command Interface, Examples