
12. NC COMMAND PROGRAM (PMC-SC)
B–61863E–1/06
PMC LIBRARY
302
(b) Reading program numbers, comments, and the size of used
memory
’O’
’1’
’1’
’(’
’P’
’R’
’O’
’G’
’1’
’)’
’2’
’5’
’6’
’O’
’1’
’2’
’3’
’4’
’(’
’)’
’1’
’1’
’2’
’%’
1) ’0’ to the left of the most significant digits in a program
number or used memory area are suppressed.
2) The data in parentheses immediately after the program
number is set as the comment statement. When other address
data or EOB is stored immediately after a program number,
only the parentheses are set. The maximum number of
characters allowed for a comment statement is 48 including
parentheses. When the length of a comment statement is
larger than 48, the part beyond this range is ignored.
3) When values other than zero are specified as the first and last
program numbers in the function for starting input of the list
of program numbers, all program numbers within the
specified range are set in the program number list. When
zeros are specified as the first and last program numbers, the
numbers of all registered programs are set in the program
number list in ascending order.
4) When no programs are found in the specified range of
program numbers, only ’%’ (25H) is set in the program
number list.
P2 Actual number of input characters in the list of program
numbers
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
N–1
N
P1
Program number O0011
Comment statement (PROG1)
Used memory are=256 characters
Program number O1234
No comment statements
Used memory area=112 characters