beautypg.com

Time driven sequencer application example, Reference – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 367

background image

Application Example Programs

E–17

| | 1/4 in. | |
| | increments | |
| | | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| |Source N7:20| |
| | 0| |
| |Dest N7:10| |
| | 0| |
| +––––––––––––––––––+ |

Rung 7:7
| |
|–––––––––––––––––––––––––––––––––––––+END+–––––––––––––––––––––––––––|
| |

Time Driven Sequencer Application Example

The following application example illustrates the use of the TON and SQO
instructions in a traffic signal at an intersection. The timing requirements are:

Red light – 30 seconds

Yellow light – 15 seconds

Green light – 60 seconds

The timer, when it reaches its preset, steps the sequencer that in turn controls which
traffic signal is illuminated. For a detailed explanation of:

XIC, XIO, and TON instructions, see chapter 6.

SQO and SQC instructions, see chapter 11.

Reference