P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 307 of 909
Bj(enc)
Bit, Index Capture, Falling
APPLICATION:
System
DESCRIPTION:
Falling edge capture on encoder:
Bj(0) specifies the internal encoder (channel 0)
Bj(1) specifies the external encoder (channel 1)
EXECUTION:
Historical, latched by PID sample
CONDITIONAL TO:
Index capture, arming index: Aj(enc), Aij(enc), Aji(enc), EIRI,
EIRE
LIMITATIONS:
None
READ/REPORT:
RBj(enc)
RBj(0), RB(1,3)
RBj(1), RB(1,7)
WRITE:
Read only
LANGUAGE ACCESS:
Formulas and conditional testing
UNITS:
Binary bit
RANGE OF VALUES:
0 or 1
TYPICAL VALUES:
0
DEFAULT VALUE:
0
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
The Bj(enc) flag is set to 1 when the associated encoder Z pulse (index mark) is detected. The
value of the associated encoder capture is valid and can be read using the J(enc) command.
Before a capture can occur, arming is required using the Aj(enc), Aij(enc) or Aji(enc)
command. After a capture has occurred, the value stored in J(enc) will remain the same until
another arming command is issued and another index is detected. Reading the captured value
does not change the capture state or captured value.
The command RJ(enc) reports the captured index reading.
The Bj(0) bit is reset by any of the following:
l
Power reset
l
Z command (total reset of software)
l
Z(1,3) command
l
ZS command
Part 2: Commands: Bj(enc)
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...