
B-66284EN/01 3.FP FUNCTIONS
- 321 -
[Description]
Deletes all CNC programs registered in CNC.
When the specified program is a be in operation, it cannot be
deleted.
[Example]
progdel[20_99_0]
The CNC instruction data of program number 20 is deleted,
and this processing result is not notified.
[Value of processing result written in specified PMC area]
0 Successful.
5 There is no specified program.
7 Tape memory of CNC is protected, or the target program is
protected.
-1 Specified program deletion command has been rejected.
This code is returned under one of following conditions.
• CNC is executing other requested command
(downloading, comparing, uploading or reading
program directory).
• Any automatic operation is being executed.
(Automatic operating signal “OP”<F000#7> is “ON”.)
• P/S 000, P/S 101 or any BP/S alarm is set.
1.48 Search specified program
16
i 18i 21i PMi-D PMi-H 30i 31i 32i
Support CNC
○ ○ ○ ○ ○ ○ ○ ○
○:available
-:unavailable
[Function name]
progsrch
[Data type]
4: 4 bytes (signed)
[Format/with arguments]
progsrch[number_pmc_address]
[Arguments]
number Program number (0 is specified at the ten keys input.)
pmc Kind of PMC address for processing result notification
5 : R
9 : D
12 : E (PMC-SB7, PMC for Series 30i)
99 : Processing result is not notified
address PMC address where processing result is written (The
area in two bytes is used from the specified address)
Please specify 0 when you specify 99 for a kind of the
PMC address.
[Description]
Searches the CNC program already registered in CNC.
This function is used to select one CNC program before memory
operation is executed in CNC.
[Example]
progsrch[100_9_200_2]
The program of program number 100 is searched, and this
processing result is written in D200.