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

Models: 332564B

1 104
Download 104 pages 58.79 Kb
Page 47
Image 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

Page 47
Image 47
Graco 332564B Network Communication Dynamic Command Structure DCS, Dynamic Command Description