2010-10-16 05:58:57 +03:00
|
|
|
#GEN
|
|
|
|
|
|
|
|
# http://www.seielect.com/Catalog/SEI-RMC.pdf
|
|
|
|
|
|
|
|
RMCF* -> T=R {
|
2010-10-17 23:35:23 +03:00
|
|
|
RMCF(????)(?)(?)([0-9R][0-9RKM][0-9RKM][0-9RKM]) ->
|
2010-10-16 13:48:18 +03:00
|
|
|
FP=$REF:1 _TOL=$REF:2 _R=$REF:4
|
2010-10-16 05:58:57 +03:00
|
|
|
|
2010-10-18 00:22:16 +03:00
|
|
|
include ../../lib/rtol.inc
|
2010-10-16 05:58:57 +03:00
|
|
|
|
2010-10-17 23:03:13 +03:00
|
|
|
# all TC are worst case
|
|
|
|
FP=0201 -> P=1/20W V=25V TC=600ppm/K
|
|
|
|
FP=0402 -> P=1/16W V=50V TC=500ppm/K
|
|
|
|
FP=0603 -> P=1/10W V=50V TC=600ppm/K
|
|
|
|
FP=0805 -> P=1/8W V=150V TC=500ppm/K
|
|
|
|
FP=1206 -> P=1/4W V=200V TC=500ppm/K
|
|
|
|
FP=1210 -> P=1/3W V=200V TC=400ppm/K
|
|
|
|
FP=2010 -> P=3/4W V=200V TC=500ppm/K
|
|
|
|
FP=2512 -> P=1W V=200V TC=500ppm/K
|
2010-10-16 05:58:57 +03:00
|
|
|
}
|
|
|
|
|
2010-10-17 23:35:23 +03:00
|
|
|
# http://www.seielect.com/catalog/SEI-RNCP.pdf
|
|
|
|
#
|
|
|
|
# Updated to new numbers with a bit of guesswork.
|
|
|
|
#
|
|
|
|
|
|
|
|
RNCP* -> T=R {
|
|
|
|
RNCP(????)(?)(??)([0-9R][0-9RKM][0-9RKM][0-9RKM]) ->
|
|
|
|
FP=$REF:1 _TOL=$REF:2 _R=$REF:4
|
|
|
|
|
2010-10-18 00:22:16 +03:00
|
|
|
include ../../lib/rtol.inc
|
2010-10-17 23:35:23 +03:00
|
|
|
|
|
|
|
FP=0402 -> P=1/10W V=50V TC=100ppm/K
|
|
|
|
FP=0603 -> P=1/8W V=150V TC=100ppm/K
|
|
|
|
FP=0805 -> P=1/4W V=200V TC=100ppm/K
|
|
|
|
FP=1206 -> P=1/2W V=200V TC=100ppm/K
|
|
|
|
}
|
|
|
|
|
2010-10-16 05:58:57 +03:00
|
|
|
|
|
|
|
# Adjust multipliers
|
|
|
|
|
2010-10-18 23:23:19 +03:00
|
|
|
_R=R(???) -> _R=${_R:1}m
|
2010-10-16 05:58:57 +03:00
|
|
|
_R=(*)R(*) -> _R=0$_R:1.$_R:2
|
|
|
|
_R=(*)K(*) -> _R=$_R:1.${_R:2}k
|
|
|
|
_R=(*)M(*) -> _R=$_R:1.${_R:2}M
|
|
|
|
|
|
|
|
# Remove leading and trailing zeroes
|
|
|
|
|
|
|
|
_R=0([0-9]*) -> _R=$_R:1
|
|
|
|
_R=(*.[0-9]*)0([kM]) -> _R=$_R:1$_R:2
|
|
|
|
_R=(*).0([kM]) -> _R=$_R:1$_R:2
|
|
|
|
_R=(*.[0-9]*)0 -> _R=$_R:1
|
|
|
|
_R=(*).0 -> _R=$_R:1
|
2010-10-16 13:48:18 +03:00
|
|
|
_R=(*).([kM]|) -> _R=$_R:1$_R:2
|
2010-10-16 05:58:57 +03:00
|
|
|
|
|
|
|
T=R -> R=${_R}R !
|