Machine module, Machine states – Rockwell Automation IASIMP Computer Numerical Control (CNC) Machining Accelerator Toolkit Quick Start User Manual
Page 234
234
Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012
Appendix A
Logic Program Overview
Machine Module
The machine module contains the high level control for the entire machine. The machine module was built
around a simple state machine that you can customize to fit most applications. The machine module broadcasts
out commands and receives feedback information from each of the application and device modules. Based on the
feedback information, the machine will react accordingly.
In addition, the machine module provides a high level interface with the HMI, accepting commands like Start,
Stop, and Clear Faults. It provides status info to the HMI terminal like current state of the machine (for example,
RUNNING versus STOPPED).
Machine States
By default, the machine program module operates based on this overall state diagram.
Figure 34 - Machine State Diagram
The machine module uses the transitional states to move between permanent states. Typically, the machine only
remains on a transitional state for brief period of time. If the machine module detects an error during a
transitional state or if the application or device modules fail to transition within an allotted time (10 seconds by
default), the machine module issues an ABORT command. The fail safe transition timer makes sure the overall
machine does not become stuck in a transitional state. It also helps to provide diagnostic information to
determine which module is not transitioning properly.
RESETTING
IDLE
(enabled)
STARTING
START
RUNNING
STOPPING
STOP
STOPPED
(disabled)
CLEARING
ABORTED
ABORTING
RESET
Transitional State
Permanent State
Machine
Command
ABORT
CLEAR
The machine can go from any state in the shaded box to STOPPING.
The machine can go from any state
in the solid box to Aborting.