Rockwell Automation 193 Drives and Motion Accelerator Toolkit Quick Start User Manual
Page 206

206
Rockwell Automation Publication IASIMP-QS019E-EN-P - August 2013
Appendix A
Logic Program Overview
Module Routine Overview
Logic Module Type
Routine
Function
Machine
R00_Main
Dispatch routine, calls all of the other routines in the program.
R01_PowerUp
Initializes parameters following power up or controller first scan.
R02_Monitor
• Summarizes the status from all of the dependent modules (for example, application and device
modules).
• Detects Abort and/or Stop conditions.
• Provides machine status information to HMI terminal.
R03_Control
• Provides main interface with HMI terminal requests (for example, Start/Stop/Clear Faults
pushbuttons).
• Contains the state machine logic.
Application
R00_Main
Dispatch routine, calls all of the other routines in the program.
R01_PowerUp
Initializes parameters following power up or controller first scan.
R02_Monitor
• Summarizes the status for the application module (for example, OK, Ready, Running, Stopped).
• Detects module faults (for example, Failed to RESET, Failed to RUN).
R03_Control
Receives machine commands and initiates the corresponding sequences (for example, RESET, RUN and
STOP sequences).
R04_Reset
Contains the RESET sequence logic, used to prepare the application to run.
R10_ApplicationCode
• Typical location for the application specific logic.
• Contains the RUN and STOP sequences.
PowerFlex
SMC-50
E3 Plus
R00_Main
Dispatch routine, calls all of the other routines in the program.
R01_PowerUP
Initializes parameters following power up or controller first scan.
R02_Monitor
• Summarizes the status for the device module (for example, OK, Ready, Reset).
• Detects module faults (for example, Failed to RESET, Failed to CLEAR, Module Not Ready).
• Contains the faceplate add-on instruction (AOI) for the HMI terminal faceplate.
R03_Control
Receives machine commands and initiates the corresponding sequences (for example, RESET and ABORT
sequences)
R04_Reset_Abort
• Contains place holder for application specific reset logic if required.
• Contains the ABORT sequence which makes sure that the drives contained within the module are
stopped and disabled. The ABORT sequence also makes sure that other devices are placed into a
desired state.
R05_Energy
(applies only if the device module
with energy monitoring is used)
• Gets the energy data from the device using explicit messaging.
• Monitors the communication status and sets alarm and status bits related to energy.
R07_Drive_Interface
(applies to PowerFlex 525 drives only)
• Contains the drive status, command, and communication logic for PowerFlex 525 drives.
• Contains place holder for drive specific datalink logic if required.
R11_OperatorMode
(applies to PowerFlex 525 drives only)
Contains the Operator or Manual mode logic for the PowerFlex 525 drives. This logic is initiated via
requests made from drive faceplate located on the HMI terminal.
- 150 Drives and Motion Accelerator Toolkit Quick Start 21G Drives and Motion Accelerator Toolkit Quick Start 20G Drives and Motion Accelerator Toolkit Quick Start 20F Drives and Motion Accelerator Toolkit Quick Start 2097 Drives and Motion Accelerator Toolkit Quick Start 2094 Drives and Motion Accelerator Toolkit Quick Start