beautypg.com

Plc-5 programming examples – Rockwell Automation 2706 DL20 SERIES G USER MANUAL User Manual

Page 161

background image

Appendix G
Application Notes

G–9

The PLC-5 processor configuration used for both examples is listed below.
This configuration may vary for different applications.

1. An Allen-Bradley 1784-T45 Industrial Computer is used.

2. The Data Monitor command is used to configure the sequencer table.

3. Two output modules in Rack 0, module group 0 (O:000).

4. The DL20 is defined as follows:

high true logic

binary message/variable data

time driven

DC inputs

scan = 4, debounce = 1

Figure G.3 illustrates how individual inputs can trigger unique corresponding
messages. If two or more inputs are true at the same time, the rung closest to
the end of the ladder diagram has priority and only that message is triggered
during this program scan.

Figure G.3
Triggering Messages Using Individual Inputs (PLC-5)

CPT

CPT

CPT

COMPUTE
Dest:

0:001

12298

Expression
N7:2

COMPUTE
Dest

0:001

12298

Expression
N7:1

COMPUTE
Dest

O:001

1298

Expression
N7:0

Rung 1

Rung 2

Rung 3

Rung 4

CPT

COMPUTE
Dest:

0:001

12298

Expression
N7:3

B3

1

B3

2

3

B3

PLC-5 Programming
Examples