![background image](http://html1.mh-extra.com/html/omron/c500-asc04/c500-asc04_operation-manual_743033042.webp)
31
This diagram illustrates the PC memory map before and after the MSET com-
mand is executed.
ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
Under normal conditions
&H0000
&H0020
&H2000
&H8000
&HFFFF
I/O Area
System area
Basic text area
System stack area
Character String area
System area
(Standard 1K byte)
&H0000
&H0020
&H2000
&H8000
&HFFFF
When MSET is executed
I/O Area
System area
Assembly language
program area
Basic text area
System stack area
System area
Character String area
(Standard 1K byte)
&H5000
NEW Command
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 command is
executed.
PGEN Command
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.)
PINF Command
Purpose:
To display memory area information
Format:
PINF [<arg>]
<arg> is either an integer of value 1, 2, or 3 or the character
string “ALL”. ALL is entered without quotes.
Examples: PINF 1
PINF ALL
Remarks:
This Command displays the amount of program area currently being used and
the program names that have been assigned by the PNAME command. Specify
1, 2, or 3 as <arg> for a specific program area.
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 ...