Add the Nidec Copal SH-70x0 series of rotary coded switches.
https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf This is failing KLC: Checking symbol 'SW_Coded_SH-7010': Violating EC01 - Extra checking General pin number checking pin: C number C is not valid, should contain at least 1 number However, the datasheet does not give any other pin numbering scheme.
This commit is contained in:
parent
c31389e6ad
commit
0bda29bbe2
|
@ -5,6 +5,42 @@ D Rotary switch, 4-bit encoding
|
|||
K rotary hex
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_Coded_SH-7010
|
||||
D Rotary switch, 4-bit encoding, 10 positions, Real code
|
||||
K rotary bcd Real
|
||||
F https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_Coded_SH-7030
|
||||
D Rotary switch, 4-bit encoding, 10 positions, Complementary code
|
||||
K rotary bcd Complementary
|
||||
F https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_Coded_SH-7040
|
||||
D Rotary switch, 4-bit encoding, 10 positions, Gray code
|
||||
K rotary bcd Gray
|
||||
F https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_Coded_SH-7050
|
||||
D Rotary switch, 4-bit encoding, 16 positions, Real code
|
||||
K rotary hex Real
|
||||
F https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_Coded_SH-7070
|
||||
D Rotary switch, 4-bit encoding, 16 positions, Complementary code
|
||||
K rotary hex Complementary
|
||||
F https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_Coded_SH-7080
|
||||
D Rotary switch, 4-bit encoding, 16 positions, Gray code
|
||||
K rotary hex Gray
|
||||
F https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SW_DIP_x01
|
||||
D 1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol
|
||||
K dip switch
|
||||
|
|
|
@ -20,6 +20,148 @@ X D3 5 500 -200 200 L 50 50 1 1 P
|
|||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_Coded_SH-7010
|
||||
#
|
||||
DEF SW_Coded_SH-7010 SW 0 20 Y N 1 F N
|
||||
F0 "SW" -300 350 50 H V L CNN
|
||||
F1 "SW_Coded_SH-7010" -300 -350 50 H V L CNN
|
||||
F2 "" -300 -450 50 H I L CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
ALIAS SW_Coded_SH-7030
|
||||
$FPLIST
|
||||
Nidec*Copal*SH*7010*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
T 2700 225 0 50 0 0 0 0 Normal 0 C C
|
||||
T 2340 182 -132 50 0 0 0 1 Normal 0 C C
|
||||
T 1980 70 -214 50 0 0 0 2 Normal 0 C C
|
||||
T 1620 -70 -214 50 0 0 0 3 Normal 0 C C
|
||||
T 1260 -182 -132 50 0 0 0 4 Normal 0 C C
|
||||
T 900 -225 0 50 0 0 0 5 Normal 0 C C
|
||||
T 540 -182 132 50 0 0 0 6 Normal 0 C C
|
||||
T 180 -70 214 50 0 0 0 7 Normal 0 C C
|
||||
T 3420 70 214 50 0 0 0 8 Normal 0 C C
|
||||
T 3060 182 132 50 0 0 0 9 Normal 0 C C
|
||||
C 0 0 150 0 1 0 N
|
||||
S 300 300 -300 -300 0 1 10 f
|
||||
P 11 0 1 0 -10 -100 -10 80 -30 60 -50 60 0 110 50 60 30 60 10 80 10 -100 -10 -100 -10 -100 N
|
||||
X 1 1 500 100 200 L 50 50 1 1 P
|
||||
X 2 2 500 0 200 L 50 50 1 1 P
|
||||
X 4 4 500 -100 200 L 50 50 1 1 P
|
||||
X 8 8 500 -200 200 L 50 50 1 1 P
|
||||
X C C 500 200 200 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_Coded_SH-7040
|
||||
#
|
||||
DEF SW_Coded_SH-7040 SW 0 20 Y N 1 F N
|
||||
F0 "SW" -300 350 50 H V L CNN
|
||||
F1 "SW_Coded_SH-7040" -300 -350 50 H V L CNN
|
||||
F2 "Buttons_Switches_SMD:Nidec_Copal_SH-7040B" -300 -450 50 H I L CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Nidec*Copal*SH*7040*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
T 2700 225 0 50 0 0 0 0 Normal 0 C C
|
||||
T 2340 182 -132 50 0 0 0 1 Normal 0 C C
|
||||
T 1980 70 -214 50 0 0 0 2 Normal 0 C C
|
||||
T 1620 -70 -214 50 0 0 0 3 Normal 0 C C
|
||||
T 1260 -182 -132 50 0 0 0 4 Normal 0 C C
|
||||
T 900 -225 0 50 0 0 0 5 Normal 0 C C
|
||||
T 540 -182 132 50 0 0 0 6 Normal 0 C C
|
||||
T 180 -70 214 50 0 0 0 7 Normal 0 C C
|
||||
T 3420 70 214 50 0 0 0 8 Normal 0 C C
|
||||
T 3060 182 132 50 0 0 0 9 Normal 0 C C
|
||||
C 0 0 150 0 1 0 N
|
||||
S 300 300 -300 -300 0 1 10 f
|
||||
P 11 0 1 0 -10 -100 -10 80 -30 60 -50 60 0 110 50 60 30 60 10 80 10 -100 -10 -100 -10 -100 N
|
||||
X 1 1 500 100 200 L 50 50 1 1 P
|
||||
X 2 2 500 0 200 L 50 50 1 1 P
|
||||
X 4 4 500 -100 200 L 50 50 1 1 P
|
||||
X 8 8 500 -200 200 L 50 50 1 1 P
|
||||
X C C 500 200 200 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_Coded_SH-7050
|
||||
#
|
||||
DEF SW_Coded_SH-7050 SW 0 20 Y N 1 F N
|
||||
F0 "SW" -300 350 50 H V L CNN
|
||||
F1 "SW_Coded_SH-7050" -300 -350 50 H V L CNN
|
||||
F2 "" -300 -450 50 H I L CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
ALIAS SW_Coded_SH-7070
|
||||
$FPLIST
|
||||
Nidec*Copal*SH*7010*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
T 2700 225 0 50 0 0 0 0 Normal 0 C C
|
||||
T 2475 208 -86 50 0 0 0 1 Normal 0 C C
|
||||
T 2250 159 -159 50 0 0 0 2 Normal 0 C C
|
||||
T 2025 86 -208 50 0 0 0 3 Normal 0 C C
|
||||
T 1800 0 -225 50 0 0 0 4 Normal 0 C C
|
||||
T 1575 -86 -208 50 0 0 0 5 Normal 0 C C
|
||||
T 1350 -159 -159 50 0 0 0 6 Normal 0 C C
|
||||
T 1125 -208 -86 50 0 0 0 7 Normal 0 C C
|
||||
T 900 -225 0 50 0 0 0 8 Normal 0 C C
|
||||
T 675 -208 86 50 0 0 0 9 Normal 0 C C
|
||||
T 450 -159 159 50 0 0 0 A Normal 0 C C
|
||||
T 225 -86 208 50 0 0 0 B Normal 0 C C
|
||||
T 0 0 225 50 0 0 0 C Normal 0 C C
|
||||
T 3375 86 208 50 0 0 0 D Normal 0 C C
|
||||
T 3150 159 159 50 0 0 0 E Normal 0 C C
|
||||
T 2925 208 86 50 0 0 0 F Normal 0 C C
|
||||
C 0 0 150 0 1 0 N
|
||||
S 300 300 -300 -300 0 1 10 f
|
||||
P 11 0 1 0 -10 -100 -10 80 -30 60 -50 60 0 110 50 60 30 60 10 80 10 -100 -10 -100 -10 -100 N
|
||||
X 1 1 500 100 200 L 50 50 1 1 P
|
||||
X 2 2 500 0 200 L 50 50 1 1 P
|
||||
X 4 4 500 -100 200 L 50 50 1 1 P
|
||||
X 8 8 500 -200 200 L 50 50 1 1 P
|
||||
X C C 500 200 200 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_Coded_SH-7080
|
||||
#
|
||||
DEF SW_Coded_SH-7080 SW 0 20 Y N 1 F N
|
||||
F0 "SW" -300 350 50 H V L CNN
|
||||
F1 "SW_Coded_SH-7080" -300 -350 50 H V L CNN
|
||||
F2 "Buttons_Switches_SMD:Nidec_Copal_SH-7040B" -300 -450 50 H I L CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Nidec*Copal*SH*7040*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
T 2700 225 0 50 0 0 0 0 Normal 0 C C
|
||||
T 2475 208 -86 50 0 0 0 1 Normal 0 C C
|
||||
T 2250 159 -159 50 0 0 0 2 Normal 0 C C
|
||||
T 2025 86 -208 50 0 0 0 3 Normal 0 C C
|
||||
T 1800 0 -225 50 0 0 0 4 Normal 0 C C
|
||||
T 1575 -86 -208 50 0 0 0 5 Normal 0 C C
|
||||
T 1350 -159 -159 50 0 0 0 6 Normal 0 C C
|
||||
T 1125 -208 -86 50 0 0 0 7 Normal 0 C C
|
||||
T 900 -225 0 50 0 0 0 8 Normal 0 C C
|
||||
T 675 -208 86 50 0 0 0 9 Normal 0 C C
|
||||
T 450 -159 159 50 0 0 0 A Normal 0 C C
|
||||
T 225 -86 208 50 0 0 0 B Normal 0 C C
|
||||
T 0 0 225 50 0 0 0 C Normal 0 C C
|
||||
T 3375 86 208 50 0 0 0 D Normal 0 C C
|
||||
T 3150 159 159 50 0 0 0 E Normal 0 C C
|
||||
T 2925 208 86 50 0 0 0 F Normal 0 C C
|
||||
C 0 0 150 0 1 0 N
|
||||
S 300 300 -300 -300 0 1 10 f
|
||||
P 11 0 1 0 -10 -100 -10 80 -30 60 -50 60 0 110 50 60 30 60 10 80 10 -100 -10 -100 -10 -100 N
|
||||
X 1 1 500 100 200 L 50 50 1 1 P
|
||||
X 2 2 500 0 200 L 50 50 1 1 P
|
||||
X 4 4 500 -100 200 L 50 50 1 1 P
|
||||
X 8 8 500 -200 200 L 50 50 1 1 P
|
||||
X C C 500 200 200 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_DIP_x01
|
||||
#
|
||||
DEF SW_DIP_x01 SW 0 0 Y N 1 F N
|
||||
|
|
Loading…
Reference in a new issue