Omron SYSMAC C200H-ASC02 Operation Manual page 40

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

Advertisement

BASIC Language
PNAME Command
RENUM Command
RUN Command
30
<arg> is either an integer of value 1, 2, or 3 or the character
string "ALL". ALL is entered without quotation marks.
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.
If <arg> is not specified, information on the area currently being used is dis-
played.
If ALL is specified, information on all three program areas will be displayed.
Purpose:
To assign a name to a program stored in the area specified with
the PGEN command or to cancel a previously assigned program
name
Format:
PNAME <string>
<string> is the chosen name (enclosed in quotes) for the pro-
gram or the null string, " ".
Examples: PNAME "PROG1"
PNAME " "
Remarks:
The chosen name must be eight characters or less.
Program areas assigned a name with the PNAME command are protected
from execution of the LOAD and NEW commands which erase program area
contents. It is necessary to erase all assigned program names with the
PNAME " " command before execution of the LOAD or NEW commands.
Purpose:
To renumber program lines
Format:
RENUM [<new number>] [,[<old number>][,<inc>]]
<new number> is the first line number to be used in the new se-
quence. The default is 10.
<old number> is the line in the current program where the re-
numbering is to begin. The default is the first line of the program.
<inc> is the increment to be used in the new sequence. The de-
fault is 10.
Examples: RENUM 200
RENUM 500, 200, 10
Remarks:
RENUM will also change all line number references following GOTO, GO-
SUB, THEN, ELSE, ON ... GOTO, ON ... GOSUB, RESTORE, RENAME,
and ERL statements to reflect the new line numbers.
Statement numbers greater than 63999 cannot be used.
Purpose:
To execute a program
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents