Omron SYSMAC C200H-ASC02 Operation Manual page 39

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

Advertisement

BASIC Language
(Standard 1K byte)
NEW Command
PGEN Command
PINF Command
If no MSET address is specified, the default MSET boundary address will be
set at &H2000. Do not specify an address higher than &H7FFF or the system
stack will be overwritten.
The address specified by this command is maintained even if system power
is turned OFF. To cancel the effect of this command, execute MSET &H2000.
This diagram illustrates the PC memory map before and after the MSET
command is executed.
Under normal conditions
&H0000
I/O Area
&H0020
System area
&H2000
Basic text area
System stack area
Character String area
&H8000
System area
&HFFFF
Purpose:
To delete the program currently in memory and clear all variables
Format:
NEW
Remarks:
New is used to clear memory before a new program is entered. New causes
all files and ports to be closed.
Programs named with the PNAME command cannot be erased. The name
must therefore be erased first by executing PNAME " " before the NEW com-
mand is executed.
Purpose:
To select one of three program areas for the current program
Format:
PGEN <num>
<num> is an integer of value 1, 2, or 3.
Remarks:
The occupied capacity of the selected program area will be displayed. (Refer
to the discussion of the PINF command.)
Purpose:
To display memory area information
Format:
PINF [<arg>]
When MSET is executed
&H0000
I/O Area
&H0020
System area
&H2000
Ç Ç Ç Ç Ç Ç Ç
Assembly language
Ç Ç Ç Ç Ç Ç Ç
program area
Ç Ç Ç Ç Ç Ç Ç
&H5000
Basic text area
(Standard 1K byte)
System stack area
Character String area
&H8000
System area
&HFFFF
Section 4-2
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents