
B-63783EN-1/01 14.PMC CONTROL FUNCTION
- 1489 -
2049 Correspondence between a workpiece number and a program number in an
external workpiece number search (PN)
[Input type] Parameter input
[Data type] Integer
[Valid data range] -1 - 999999
The meaning of the parameter varies depending on the value to be set as
follows:
(1) If bit 1 (EWN) of parameter No. 2007 is set to 0:
Let WN be the workpiece number specified by the workpiece number
search signal (WN1 to WN16).
1) If PN is 0 to 999999:
Program number = PN * 100 + WN
PN indicates the upper six digits of the program number.
2) If PN is a negative value or a value exceeding 999999:
The upper six digits of the program number are set to the
smallest number among existing programs.
For example, when the workpiece number is 21, a program with
the smallest number is searched for among existing programs
having program numbers such as O00000021, O00000121, and
O00000221. Therefore, the upper six digits of a program
number cannot be specified. When this method is used,
programs with program numbers of which lower two digits are
the same must not be registered in memory at the same time.
(2) This parameter is not used if bit 1 (EWN) of parameter No. 2007 is
set to 1. In this case, the program number is assumed to equal the
workpiece number.
Alarm and message
Number Message Contents
OT0126 SPECIFIED NUMBER NOT FOUND [External data I/O]
The No. specified for a program No. or sequence No.
search could not be found.
There was an I/O request issued for a pot No. or offset (tool
data), but either no tool numbers have been input since
power ON or there is no data for the entered tool No.
[External workpiece No. search]
The program corresponding to the specified workpiece No.
could not be found.
OT0130 SEARCH REQUEST NOT ACCEPTED No requests can be accepted for a program No. or a
sequence No. search as the system is not in the memory
mode or the reset state.