![background image](http://html1.mh-extra.com/html/omron/c500-asc04/c500-asc04_operation-manual_743033044.webp)
33
SAVE Command
Purpose:
To write the program area to the EEPROM
Format:
SAVE
Remarks:
The contents of the BASIC program area and the assembly language program
area reserved with the MSET command are written to the EEPROM.
If the START/STOP switch is pressed during execution of the SAVE command,
the process will be aborted.
Purpose:
To write a program in the current program area to a storage de-
vice connected to one of the ports.
Format:
SAVE #<port>,“COMU:[(<valid signal line>)]”
<port> is one of the two ports (1,2).
<valid signal line>: refer to the OPEN statement tables.
Example:
SAVE #1,“COMU:(43)”
Remarks:
When this command is executed, the BASIC LED indicator on the ASCII Unit will
blink rapidly warning the user to prepare the peripheral device for data transfer.
When the device is set, press the START/STOP switch.
During execution of this command the START/STOP switch and key input
through port 1 are inhibited.
For further details on COMU refer to the OPEN command.
TRON and TROFF Commands
Purpose:
To trace execution of a program
Format:
TRON
Remarks:
The TRON command is a debugging tool that enables the programmer to follow
the execution of a program line by line. Execution of the TRON command will
cause the line numbers of subsequent program statements to be displayed on
the screen as they are executed.
The trace can be canceled with the TROFF command, the NEW command, by
turning off the power or, with the RESET switch.
VERIFY Command
Purpose:
To verify the contents of the EEPROM by comparing them to the
contents of the program area
Format:
VERIFY
Remarks:
If the contents of the program area are identical to those of the EEPROM, the
message “READY” will be displayed; otherwise, the message “PROM ERROR”
is displayed.
4-2-3 General Statements
CLEAR Statement
Purpose:
To initialize numeric and character variables and set the size of
the character memory area
Example:
CLEAR [<size>]
<size> is the size of memory area used to process character
strings and is specified in byte units.
Commands, Statements, and Functions
Summary of Contents for C500-ASC04
Page 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Page 5: ...iv ...
Page 7: ...vi ...