Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 815 of 909
Zr
Reset Right Limit Flag, Historical
APPLICATION: Reset
DESCRIPTION: Resets the historical right-limit latch (Br)
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: RBr
WRITE: N/A
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
RESET VALUE: 0
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
Zr resets the historical right-limit flag, Br, to zero. If you use Br to detect the activation of the
right limit, be sure to reset it with Zr before rescanning for the bit.
EXAMPLE:
IF Br 'Test flag
PRINT("Right Limit Latched")
Zr 'Reset flag
ENDIF
RELATED COMMANDS:
R
Br Bit, Right Hardware Limit, Historical (see page 324)
Z Total CPU Reset (see page 806)
Z(word,bit) Reset Specified Status Bit (see page 808)
ZS Global Reset System State Flag (see page 818)
Part 2: Commands: Zr