On Wed, 2010-03-03 at 07:27 -0500, Jim wrote:
Peter Clifton wrote:
This is the only part of the file (board.pcb) that mentions the
footprint and/or the pins.
Element(0x0 "Wiz812mj.fp" "U102" "unknown" 10 10 3 100 0x0)
(
Pin(310 -450 60 28 "J1-1" 0x101)
Pin(310 350 60 28 "J2-1" 0x101)
Pin(310 -350 60 28 "J1-2" 0x01)
Pin(310 450 60 28 "J2-2" 0x01)
Pin(210 -450 60 28 "J1-3" 0x01)
Pin(210 350 60 28 "J2-3" 0x01)
Pin(210 -350 60 28 "J1-4" 0x01)
Pin(210 450 60 28 "J2-4" 0x01)
Pin(110 -450 60 28 "J1-5" 0x01)
Pin(110 350 60 28 "J2-5" 0x01)
Pin(110 -350 60 28 "J1-6" 0x01)
Pin(110 450 60 28 "J2-6" 0x01)
Pin(10 -450 60 28 "J1-7" 0x01)
Pin(10 350 60 28 "J2-7" 0x01)
That looks wrong - and is in some ancient syntax too.. it might have
come directly from the footprint, but I'd have expected PCB to save in
the newer format when such changes were made.
An example from one of my designs, which has pin labels and pin names
different:
Element["" "DIP14" "U38" "74HCT14" 840000 520000 -8000 -5000 3 100 ""]
(
Pin[0 0 6000 2002 6600 3000 "A" "1" "square"]
Pin[0 10000 6000 2002 6600 3000 "Y" "2" ""]
Pin[0 20000 6000 2002 6600 3000 "A" "3" ""]
Pin[0 30000 6000 2002 6600 3000 "Y" "4" ""]
Pin[0 40000 6000 2002 6600 3000 "A" "5" ""]
Pin[0 50000 6000 2002 6600 3000 "Y" "6" ""]
Pin[0 60000 6000 2002 6600 3000 "GND" "7" "thermal(0t,1X)"]
Pin[30000 60000 6000 2002 6600 3000 "Y" "8" ""]
Pin[30000 50000 6000 2002 6600 3000 "A" "9" ""]
Pin[30000 40000 6000 2002 6600 3000 "Y" "10" ""]
Pin[30000 30000 6000 2002 6600 3000 "A" "11" ""]
Pin[30000 20000 6000 2002 6600 3000 "Y" "12" ""]
Pin[30000 10000 6000 2002 6600 3000 "A" "13" ""]
Pin[30000 0 6000 2002 6600 3000 "Vcc" "14" ""]
[SNIP]
)
Does anyone know the history of this?
One might rationally assume the action "ChangePinName" does indeed
change the pin name, not its label. (Yet "n" on an object changes the
label).