Omron SYSMAC C200H-ASC02 Operation Manual page 38

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

BASIC Language
LOAD Command
MON Command
MSET Command
28
LIST 200-
List everything from line 200 on
Purpose:
To load a program from the EPROM into memory
Format:
LOAD
Remarks:
The contents of the program area specified with the MSET Command are
loaded from the EEPROM.
Purpose:
To load a program sent from an RS-232C device to the current
program area
Format:
LOAD #<port>,"COMU:[<spec>,<vsl>]
<port> is either port 1 or port 2.
<spec>: see OPEN statement tables.
<vsl>: valid signal line--refer to the OPEN statement tables.
Example:
LOAD #1,"COMU:(43)
Remarks:
When this command is executed, the BASIC indicator LED will begin blinking
rapidly. Make sure the RS-232C device is connected at this time.
During execution of the LOAD command, the START/STOP switch and key
input from port 1 will not be acknowledged.
The program area currently used is cleared immediately after the LOAD com-
mand is executed.
For details on communication parameters, valid signal lines, and COMU, re-
fer to the OPEN instruction.
Purpose:
To change to monitor mode
Format:
MON
Remarks:
This Command passes control from BASIC mode to monitor mode (refer to
Section 5 for details on monitor mode).
To return to BASIC mode, enter CTRL+B.
Purpose:
To reserve memory space for an assembly program
Format:
MSET [<address>]
<address> is a hexadecimal number between &H200 and
&H7FFF.
Example:
MSET &H5000
Remarks:
When an assembly program is to be used in conjunction with a BASIC pro-
gram, special memory space must be reserved for the assembly program.
The MSET command sets the lowest possible address that a BASIC program
can occupy. The assembly program is then stored "below" the BASIC pro-
gram in memory. It is necessary to reserve enough space for the assembly
program to "fit".
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents