Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 760 of 909
UPLOAD
Upload Standard User Program
APPLICATION: Program access
DESCRIPTION: Upload user EEPROM through serial communications
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS:
N/A
READ/REPORT: N/A
WRITE: N/A
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
DEFAULT VALUE: N/A
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
The UPLOAD command uploads only the text portion of the SmartMotor’s™ program as it is
shown in the original source file. The program is uploaded to the serial port where it was
requested. All comments and blank spaces are removed. In contrast, the UP command
uploads the text along with all of the binary information created by the compiler. For details,
see UP on page 758.
CAUTION: The UPLOADcommand is not permitted within a user program.
Unexpected behavior may result.
Procedure for using this command:
1. Issue the UPLOAD command.
2. IF ECHO is enabled, UPLOAD and a hex 20 will be returned.
3. 8 bytes of program data will be returned.
4. issue the hex 06 character to request more data.
5. The hex 06 character will be ECHOed if ECHO is enabled.
6. 8 bytes of program data will be returned.
7. Repeat step 5. If less than 8 bytes (including 0 bytes) of program data is remaining,
then the end of program was found. The program is ended with a hex character FF. If
this character is seen, no further program data will follow.
The UPor UPLOADcommand does not terminate the current motion mode or trajectory,
change motion parameters such as EL, ADT, VT or KP, or alter the current value of the user
variables.
Part 2: Commands: UPLOAD