[PCB_FORUM] Re: multiple part error (ptf)

Hello Shirley.

 

In fact, you are right, both entries are similar before the = sign.

But I told that for CPPR, adding a (~CPPR_100NF_630V_5%_xxxx) before the
= sign make them different (as long xxxx are different). It works.

 

My second comment is that, this works for this CPPR case, but if I apply
the same tips for 3.3-ohm resistor, it fails.

In fact, it fails with two different files or two times PART=RSMD1206 in
the same file, but works with both lines on the same PART of the same
PTF file....

(I was expecting that the MERGE_PTF feature works for these 3 cases but
no)

 

However, as it works (to have it on different file) for capacitors, I
guess that the PACK_TYPE of resistors is the source of the problem.

(Capacitors have no PACK_TYPE property (defined by primitives in
chips.prt file), and it works...

 

            William.

 

 

________________________________

From: icu-pcb-forum-bounce@xxxxxxxxxxxxx
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Bolman, Shirley
H
Sent: 22 April, 2008 9:15 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: multiple part error (ptf)

 

William

Your basic problem is that both entries are exactly alike to the LEFT of
the = sign.

If you change the CPPR in the second entry to CPPR1 or some such, your
problem will go away.


Shirley 
It is a PRIVILEGE to be born free. 
    It is a RIGHT to live free. 
        It is a DUTY to die free. 

________________________________

From: icu-pcb-forum-bounce@xxxxxxxxxxxxx
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of William
Billereau
Sent: Tuesday, April 22, 2008 1:31 AM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] multiple part error (ptf)

 

Hello All.

I have 2 capacitors to add in part_table.

Both have same values but the size:

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  =
'CAPR1500-700X1800X1250' |  'CPPR_100NF_630V_5%_1500-700X1800X1250'  |
'GENERIC'  |  'Metallized Polypropylene Film Capacitor (MKP)'  |
'Preferred'  |  ''  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  =
'CAPR2250-600X2650X1500'  |  'CPPR_100NF_630V_5%_2250-600X2650X1500'  |
'GENERIC'  |  'Metallized Polypropylene Film Capacitor (MKP)'  |
'Preferred'  |  ''  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  

This causes conflicts:

PPT part name 'CTHD-CPPR,100NF,5%,630VDC/250VAC,' for PPT 'CTHD' is not
unique in the part_table view.

To avoid to add a size attribute in the schematic (even not displayed) I
do this

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  |  ''
(~CPPR_100NF_630V_5%_1500-700X1800X1250)  =  'CAPR1500-700X1800X1250'  |
'CPPR_100NF_630V_5%_1500-700X1800X1250'  |  'GENERIC'  |  'Metallized
Polypropylene Film Capacitor (MKP)'  |  'Preferred'  |  ''  |  '100nF'
|  '5%'  |  '630VDC/250VAC'  

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  |  ''
(~CPPR_100NF_630V_5%_2250-600X2650X1500)  =  'CAPR2250-600X2650X1500'  |
'CPPR_100NF_630V_5%_2250-600X2650X1500'  |  'GENERIC'  |  'Metallized
Polypropylene Film Capacitor (MKP)'  |  'Preferred'  |  ''  |  '100nF'
|  '5%'  |  '630VDC/250VAC'  

Then, by adding the PART_NUMBER in (~), both are different and it works.

Both part are in the same file.

Then I see both of them in Concept

I have to add a resistor with special PART_NUMBER but the same values as
another already present, in another ptf file.

I use the same tip:

New ptf:

{===============================================================}

:VALUE | TOL | PACK_TYPE   = VALUE    | JEDEC_TYPE   | PART_NUMBER    ;

{===============================================================}

 '3.3'     | '1%'     | '250MW' (~ERJ8RQF3R3V)   = '3.3'    | 'C1206'
| 'ERJ8RQF3R3V' : MANUFACTURER='PANASONIC', DESCRIPTION='SMD Resistor'

Old ptf:

{===============================================================}

:VALUE | TOL | PACK_TYPE   = VALUE    | JEDEC_TYPE   | PART_NUMBER    ;

{===============================================================}

'3.3'    | '1%'     | '250MW'(!)   = '3.3'    | 'S32X16'       |
'11.24.05.3R3'

But I still have the error:

Errors while reading PTF file(s):

Multiple PPT part 'RSMD1206_250MW-3.3,1%' found when merging PPT
'RSMD1206'.  If multiple rows exist by the same name, multiple values of
a key property must match and multiple values of an injected property
must match.

Check injected property values for 'JEDEC_TYPE'.

Check injected property values for 'PART_NUMBER'.

Could not merge PPT parts for PPT 'RSMD1206'.

PPT 'RSMD1206' was loaded from the following files:

        ptf/BTD_ptf.ptf

        ptf/rsmd1206.ptf

'RSMD1206_250MW-3.3,1% comes from rsmd1206.ptf (the old one)

But in the other ptf, the part should be ERJ8RQF3R3V

Why does it work in a case and not in the other?

Thanks.

Other related posts: