P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 268 of 909
Aj(arg)
Arm Index Falling Edge
APPLICATION:
I/O control
DESCRIPTION:
Arms the index register for capturing the falling edge of the
encoder
EXECUTION:
Immediate
CONDITIONAL TO:
N/A
LIMITATIONS:
N/A
READ/REPORT:
N/A
WRITE:
N/A
LANGUAGE ACCESS:
N/A
UNITS:
N/A
RANGE OF VALUES:
Input: 0 or 1
TYPICAL VALUES:
Input: 0 or 1
DEFAULT VALUE:
N/A
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
Aj(0):3
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The Aj(arg) command arms the index register for capturing the falling edge of the encoder. To
capture the falling edge, see Ai(arg) on page 264.
NOTE:
The rising and falling edges are stored to different index registers.
The argument specifies the encoder to be captured, it does not specify the source of the index
signal.
l
Aj(0) specifies internal encoder
l
Aj(1) specifies external encoder
Part 2: Commands: Aj(arg)