Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 310 of 909
Bk
Bit, Program EEPROM Data Status
APPLICATION: System
DESCRIPTION: Program EEPROM checksum failure state
EXECUTION: Historical, set on EEPROM data check (during startup and pro-
gram download)
CONDITIONAL TO: None
LIMITATIONS: None
READ/REPORT: RBk
RB(2,15)
WRITE: Read only
LANGUAGE ACCESS: Formulas and conditional testing
UNITS: Binary bit
RANGE OF VALUES: 0 or 1
TYPICAL VALUES: 0= valid EEPROM user program checksum
1= Invalid EEPROM user program checksum
DEFAULT VALUE: 0
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
Bk indicates whether a user-program checksum write error has been detected. If Bk is 1, the
user program and/or program header has been corrupted. You should not run the program in
the SmartMotor™. This can occur if communications was lost or corrupted during a download
of a program. Bk is reset to zero by a power reset or Z command, and a valid (pass)
checksum is detected through RCKS.
RCKS scans the entire program, including the header, and returns two 6-bit checksums
followed by a "P" (pass) or "F" (fail) at the end. If RCKS reports a failure, Bk is set to 1. RCKS
sends its value through the primary serial port.
EXAMPLE: (commands entered in terminal window followed by responses)
RCKS 000049 0025E0 P
RBk 0
RELATED COMMANDS:
R
B(word,bit) Status Byte (see page 291)
LOAD Download Compiled User Program to Motor (see page 518)
RCKS Report Checksum (see page 669)
R
W(word) Report Specified Status Word (see page 793)
Z Total CPU Reset (see page 806)
Part 2: Commands: Bk