Rockwell Automation 2098 CompactLogix Indexing Motion Accelerator Toolkit Quick Start User Manual

Page 97

Advertising
background image

Publication IASIMP-QS011B-EN-P — January 2009

97

CompactLogix Base Program Overview

Appendix A

Overall Program Flow

The automatic cycle and the manual cycle are controlled by a state sequencer. The sequencer has
an index register (for example, AutoCycle.StepIndex) that can only be at one value at a time, so
the states of the machine are unique. The sequencer changes states based on the commands and
conditions of the machine.

In the P00_Control rung example below, if the conditions (not manual, auto cycle idle state, and
user start request) are met, a machine start command is initiated.

Start Command Rung

There is logic in the main machine control P00_Control program for the automatic cycle as well
as manual machine control.

Advertising
This manual is related to the following products: