EDH0162En1040 – 06/99 3.182
MM4005 XX — Erase program
Usage IMM PGM MIP
Syntax xxXX
Parameters
Description xx
[int] — Program number.
Range xx — 0 to 127.
Units xx
— None.
Defaults xx Missing: 0.
Out of range: Error F.
Floating point: Error A.
Description This command erases one or all motion programs loaded in the controller’s
RAM. It does not erase programs stored in the non-volatile memory. If xx is
missing or set to 0, all programs in RAM will be erased.
NOTE
On power up, the controller automatically loads all programs stored in
non-volatile memory into RAM. If a program is erased using the XX com-
mand, to run the same program number, a new one must be created or
the old one downloaded from non-volatile memory using the MP com-
mand
Returns
None.
Errors A — Unknown message code.
F — Program number incorrect.
I — Unauthorized command in programming mode.
Rel. Commands LP — List program.
MP — Download EEPROM to RAM.
Example 3XX | Clear program #3 from memory.
3EP | Activate program mode and enter following commands as program #3.
… |
… |
… |
3QP | End entering program #3 and quit programming mode.
3CP | Compile program #3.
3CP@
| Controller confirms compilation of program #3 without any errors.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com