Operation Using a Programmable Logic Controller (PLC)
Network
Network
Network Communication
Communication
Communication --- Dynamic
Dynamic
Dynamic Command
Command
Command Structure
Structure
Structure (DCS)
(DCS)
(DCS)
Dynamic
Dynamic
Dynamic Command
Command
Command Description
Description
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 39
and
Network Output Data Map (Read Only), page 31
.
Use the following sequence for the DCS.
1.
Write the appropriate command arguments to INPUT REGISTERS 20 – 28. 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 29.
3.
The ProMix PD2K will respond to a valid command by writing a 2 (Acknowledge) to OUTPUT REGISTER 61.
4.
The ProMix PD2K will write appropriate return values to OUTPUT REGISTERS 52 – 60.
INPUT REGISTER 20
ProMix PD2K Inputs
(PLC Outputs)
ProMix PD2K Outputs
(PLC Inputs)
[arg_0]
INPUT REGISTER 20+ n
[arg_ n]
INPUT REGISTER 29
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000
OUTPUT REGISTER 61
OUTPUT REGISTER 52
OUTPUT REGISTER 52+ n
[id]
ACK = 2
[rtn_0]
[rtn_n]
Can be written together
or sequentially .
Figure 14 Dynamic Command Structure Timing
50
3A4486D