Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 315 of 909
Bm
Bit, Left Hardware Limit, Real-Time
APPLICATION: System
DESCRIPTION: Left/negative hardware limit state
EXECUTION: Real time, sampled each PID update
CONDITIONAL TO: EIGN(3), OUT(3)=, EILN
LIMITATIONS: None
READ/REPORT: RBm
RB(0,15)
WRITE: Read only
LANGUAGE ACCESS: Formulas and conditional testing
UNITS: Binary bit
RANGE OF VALUES: 0 or 1
TYPICAL VALUES: 0 = Left/negative limit switch not active, or pin not assigned as
a limit switch
1 = Left/negative limit switch active
DEFAULT VALUE: 0
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
Bm indicates if the left/negative pin is currently active. When Bm is set to 1, the historical left
limit flag (Bl) is set to 1.
The left/negative software travel limit may be disabled by being assigned as a
general-purpose input using the EIGN(3) command or as an output using the OUT(3)=
command. To re-enable the left/negative hardware travel limit, issue the EILN command.
EXAMPLE:
IF Bm
PRINT("LEFT LIMIT PRESENTLY ACTIVE")
ELSEIF Bl
PRINT("LEFT LIMIT PREVIOUSLY CONTACTED")
ELSE
PRINT("LEFT LIMIT NEVER REACHED")
ENDIF
Part 2: Commands: Bm