beautypg.com

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

Page 164

background image

Appendix G
Application Notes

G–12

Table G.B
PLC-5 Sequencer Outputs

PLC 5

Data Table

Address

Binary Radix

N7 Integer File

MSB 15 0 LSB

SQO

Step#

Bit 9

DL20

MS1

Bit 8

DL20

MS0

DL20 Data Lines

D7 ..... D0

Decoded

Data

Comments

N7:0

0000 0000 0000 0000

0

0

0

0000 0000

0

Initial output step for
SQO.

N7:1

0000 0011 0000 1010

1

1

1

0000 1010

10

Special Msg #10
clears DL20 queue.

N7:2

0000 0010 0000 0001

2

1

0

0000 0001

1

High Byte for variable
data = 256.

N7:3

0000 0001 0001 1111

3

0

1

0001 1111

31

Low Byte for variable
data = 31.

N7:4

0000 0011 0001 0001

4

1

1

17

Triggers message
#17.

N7:9

0000 0000 0001 1111

T4:1.ACC = 287

N7:10

0000 0000 0000 0001

D8 and D9 are not used in this example.

The steps of the sequencer can be viewed on your PLC-5 programming
software using the Data Monitor Command to view file #N7:0 file array.

The resulting message would be displayed:

TIMER T4:1 = 287

The variable 287 on the above display is the accumulated value for T4:1, free
running timer.

PLC-5 Programming
Examples