Rockwell Automation Publication 2080-UM005E-EN-E - March 2018
75
Program Execution in Micro800
Chapter
6
Controller Load and
Performance
Considerations
Within one program scan cycle, the execution of the main steps (as indicated in
the Execution Rules diagram) could be interrupted by other controller activities
which have higher priority than the main steps. Such activities include,
1.
User Interrupt events, including STI, EII, and HSC interrupts (when
applicable);
2.
Communication data packet receiving and transmitting;
3.
PTO Motion engine periodical execution (if supported by the controller).
When one or several of these activities occupy a significant percentage of the
Micro800 controller execution time, the program scan cycle time will be
prolonged. The Watchdog timeout fault (0xD011) could be reported if the
impact of these activities is underestimated, and the Watchdog timeout is set
marginally. The Watchdog setting defaults to 2 s and generally never needs to be
changed.
Periodic Execution of Programs
For applications where periodic execution of programs with precise timing is
required, such as for PID, it is recommended that STI (Selectable Timed
Interrupt) be used to execute the program. STI provides precise time intervals.
It is not recommended that the system variable __SYSVA_TCYCYCTIME be
used to periodically execute all programs as this also causes all communication to
execute at this rate.
ATTENTION:
If the optional module feature is enabled, use the
MODULE_INFO instruction to verify that the module is present because
the controller will not fault if the module is missing.
WARNING:
Communication timeouts may occur if programmed cycle
time is set too slow (for example, 200 ms) to maintain communications.
System Variable for Programmed Cycle Time
Variable
Type
Description
__SYSVA_TCYCYCTIME
TIME
Programmed cycle time.
Note
: Programmed cycle time only accepts values in
multiples of 10 ms. If the entered value is not a
multiple of 10, it will be rounded up to the next
multiple of 10.
Summary of Contents for 2080-LC20-20AWB
Page 6: ...vi Rockwell Automation Publication 2080 UM005E EN E March 2018 Preface Notes...
Page 10: ...x Rockwell Automation Publication 2080 UM005E EN E March 2018 Table of Contents Notes...
Page 173: ...Rockwell Automation Publication 2080 UM005E EN E March 2018 163 Quickstarts Appendix C...
Page 210: ...Rockwell Automation Publication 2080 UM005E EN E March 2018 200 Index Notes...
Page 211: ...Rockwell Automation Publication 2080 UM005E EN E March 2018 201...