EasyManua.ls Logo

Moog SmartMotor

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
Loading...
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 794 of 909
Status
Word
Purpose
0 Drive state and hardware limits
1 Index capture and software limits
2 Programs and communications
3 PID and motion
4 Timers
5 Interrupts
6 Commutation and bus
7 Trajectory details
8 Cam and interpolation user bits
9-11 Reserved
12 User-controlled bits, word 0
(also used when DMX is active)
13 User-controlled bits, word 1
14-15 Reserved
16 I/O state, word 0
17 I/O state, word 1 (D-style with AD1 option only)
EXAMPLE:
ab[10]=W(16) 'Read the status of on-board I/O via
'controller's status word.
EXAMPLE:
IF (W(0)& 49152)==49152 'Look at both limits, bits 14 & 15,
'with bit mask 49152 = 32768 + 16384.
GOSUB100 'Execute subroutine.
ENDIF
C100 'Subroutine code here.
RETURN
RELATED COMMANDS:
R
B(word,bit) Status Byte (see page 291)
Z Total CPU Reset (see page 806)
ZS Global Reset System State Flag (see page 818)
Part 2: Commands: W(word)

Table of Contents

Related product manuals