Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 810 of 909
Za
Reset Overcurrent Flag
APPLICATION: Reset
DESCRIPTION: Resets the overcurrent flag (Ba)
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: RBa
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:
Za resets the overcurrent error flag, Ba, to zero. If the current violation still exists, Ba will
again be set to 1.
If the Ba flag is repeatedly set, there may be a problem such as incorrect motor size.
Therefore, verify the correct motor has been selected for the current task. For details on
motor sizing, see the Moog Animatics Product Catalog.
EXAMPLE:
IF Ba 'Test flag
PRINT("OVER CURRENT")
Za 'Reset flag
ENDIF
WAIT=4000
IF Ba 'Retest flag
PRINT("OVER CURRENT STILLINEFFECT")
ENDIF
RELATED COMMANDS:
R
Ba Bit, Peak Overcurrent (see page 295)
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: Za