Program design and application tips – Rockwell Automation MMCL Using the Mining, Mineral, and Cement Library (MMCL) in RSLogix 5000 Appli User Manual
Page 14

Publication RA-UM002B-EN-P - November 2010
14 Developing an RSLogix 5000 Application
Program Design and Application Tips
• User Programs can be called by the Continuous or Period Tasks. When
Periodic Tasks are used, certain rules have to be followed because the
MMCL Add-On Instruction Standard Functions are originally designed
for Continuous Tasks.
• Setup the I/O module, or device parameters, immediately after a new
module is installed.
• The System Group Module, SysGrp_AOI, must be called only once in
the application. Its input, ApplyPar, signals all analog modules to read
changed parameters on-line.
• The User Program, ap_Network, is an example that shows how to get
the Network Status from an I/O Module and make it visible to the
HMI.
• The main program, MainRoutine, contains some System Rungs. These
rungs may be extended and/or adapted as required.
• Analyze the desired functions before programming. Outline the Control
and Machine Groups. Specify the calling order and start and stop
sequences of Modules within a Group.