
B–61863E–1/06
13. NC COMMAND PROGRAM
(PMC-NB/NB2/15i–A)
PMC LIBRARY
353
3) When NCR is set to 1 and ISP and EIA are set to 0
Returned data (hexadecimal) A5 0A DF B1 30 30 0A DF B2 30 30 28
Corresponding ASCII code % LF 0 1 0 0 LF 0 2 0 0 (
D4 C5 0A A5
T E LF %
4) When EIA is set to 1
Returned data (hexadecimal) 0B 80 46 01 20 20 80 46 02 20 20 1A
Corresponding ASCII code % LF 0 1 0 0 LF 0 2 0 0 (
23 75 80 0B
T E LF %
b) If the list of program numbers does not contain valid data, %;%
is returned.
1) When ISP, NCR, and EIA are all set to 0
Returned data (hexadecimal) A5 0A 0D 0D A5
Corresponding ASCII code % LF CR CR %
NOTE
A comment can be read when the program-48-character
function is provided.
P2 Actual number of input characters in the list of program
numbers
[Returns]
ret Complete code : –11, –10, –4, –1 or 0
–11: The NC has not terminated or executed the processing to start
inputting the list of the NC program numbers.
–10: A function is being processed. Call the function repeatedly
until a value other than –10 is returned.
–4: The reading of the list of program numbers terminated
normally or abnormally. Call the pl_nc_pdirend function
described below.
–1: The request to read the list of program numbers has been
rejected. This completion code is returned when the command
is issued while the NC is in the background edit mode,
download mode, or alarm state.
0: The NC has normally terminated reading of the program
management data.
[Remarks]
______