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 #757 background imageLoading...
Page #757 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 757 of 909
User bits allow the programmer to keep track of events or status within an application
program. Their functions are defined by the application program in the SmartMotor. User bits
are individually addressed starting at 0 (zero based). Likewise, the user-bit words are
addressed starting at 0 (zero based).
A powerful feature of user bits is their ability to be addressed over networks such as
Combitronic or CANopen. This allows a hosting application to run an interrupt routine in the
SmartMotor.
User bits can also be addressed as words, with or without a mask, to define the affected bits.
For more details, see User Status Bits on page 213.
EXAMPLE:
UO(0)=a&b 'Sets user bit to 1 if the bit-wise operation
'result is odd, else sets it to 0.
UO(W,1,7)=a 'Sets user bits 16, 17 and 18 to the value of
'the lower three bits in a.
RELATED COMMANDS:
R
B(word,bit) Status Byte (see page 291)
ITR(Int#,StatusWord,Bit#,BitState,Label#) Interrupt Setup (see page 486)
UR(...) User Bits, Reset (see page 762)
US(...) User Bits, Set (see page 764)
R
W(word) Report Specified Status Word (see page 793)
Part 2: Commands: UO(...)=formula

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