EasyManuals Logo

Moog SmartMotor User Manual

Moog SmartMotor
909 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #617 background imageLoading...
Page #617 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 617 of 909
PAUSE
Pause Program Execution
APPLICATION: Program execution and flow control
DESCRIPTION: Pause program execution; used for interrupts
EXECUTION: Immediate
CONDITIONAL TO: User program running
LIMITATIONS: N/A
READ/REPORT: N/A
WRITE: Write only
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
DEFAULT VALUE: N/A
FIRMWARE VERSION: 5.x and later
COMBITRONIC: PAUSE:3
where ":3" is the motor address use the actual address or a
variable
DETAILED DESCRIPTION:
When executed, the PAUSE command suspends program execution until the RESUME
command is received. It will not affect the current state of the Interrupt Handler (i.e., if the
Interrupt Handler is enabled, it will still be enabled after a PAUSE), and its execution has no
effect on the interrupt/subroutine stack.
PAUSE is primarily used to put the main part of a program to sleep when a program is 100%
driven by interrupt events. Additionally, PAUSE is very useful for debugging. For instance, you
may wish to pause a program at key locations when trying to isolate a problem:
PRINT("Debug pause, type RESUME",#13)
PAUSE
PRINT("Resumed",#13)
There is a separate stack for PAUSE, which will restore the state of PAUSE (that existed
before a GOSUB from a terminal or an interrupt) after a RETURN or RETURNI. Any RESUME
that occurred during the time the GOSUB or interrupt routine was executing will not impact
the PAUSE in the previous context.
Part 2: Commands: PAUSE

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moog SmartMotor and is the answer not in the manual?

Moog SmartMotor Specifications

General IconGeneral
BrandMoog
ModelSmartMotor
CategoryServo Drives
LanguageEnglish

Related product manuals