
B–61863E–1/06
12. NC COMMAND PROGRAM (PMC-SC)PMC LIBRARY
323
(b) When program numbers, comments, and the number of used
memory areas are read
’O’
’1’
’1’
’(’
’P’
’R’
’O’
’G’
’1’
’)’
’2’
’5’
’6’
’O’
’1’
’2’
’3’
’4’
’(’
’)’
’1’
’1’
’2’
’%’
1) Leading 0 of the program number and used memory area data
is omitted.
2) The comment statement enclosed in parentheses ( )
immediately after the program number is set. If another
address data or EOB is stored immediately after the program
number, only parentheses ( ) are set.
Up to 48 characters including parentheses ( ) are used for a
comment statement. Comment statements exceeding this
maximum number are ignored.
3) If values other than 0 are specified for the start program
number and end program number by the program number list
data input start function, all program numbers in the specified
range are set. If 0 is specified for the start program number
and end program number, the program numbers of all
registered programs are set in ascending order.
4) ’%’ (25H) alone is set if there is no program in the range of
the specified program numbers.
P2 Number of input characters in the program number list data
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
P2
Program number O0011
Comment statement (PROG1)
Used memory are=256 (characters)
Program number O1234
No comment statements
Used memory area=112 (characters)