beautypg.com

Rockwell Automation IASIMP Computer Numerical Control (CNC) Machining Accelerator Toolkit Quick Start User Manual

Page 244

background image

244

Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012

Appendix B

Logic Module Customization

The application and device modules interact with the state machine via their R02_Monitor and R03_Control
routines.

For example, the device modules accept commands and react accordingly. Therefore, changes to the state
machine can impact the individual application and device modules. Refer to

Appendix A

for more information

on the state machine and how it interacts with the application and device modules.

The core for the state machine is built around the
UDT_MachCtrl data type.

The UDT_MachCtrl data type consists of three
sub data-types that directly impact the state
machine:

Mode = UDT_MachMode

Command = UDT_MachCmd

State = UDT_MachState