EDA365电子工程师网

标题: Allegro在生成Drill发生出错(an error extracting the drilling data),求指导 [打印本页]

作者: xbin    时间: 2014-9-2 11:08
标题: Allegro在生成Drill发生出错(an error extracting the drilling data),求指导
在NC->NC DRILL里面生成发生错误
- g4 Z# f, B! j" o  b) o6 n" L
0 Q- o5 b; S4 C; w(---------------------------------------------------------------------)! m5 p/ G+ _1 J
(                                                                     )- k; Z' K! m. m0 ^2 g" j" s2 n+ A# k
(    NC DRILL Log                                                     )
1 a/ x6 c2 J* c+ d! q/ s(                                                                     )' Z3 f& [2 I+ d4 D' q& t) _
(    Drawing          : #Taaaaac03712.tmp                             ); i2 r2 N& k, X0 Z1 W  d9 U5 J: e
(    Software Version : 16.6S013                                      )
+ ]2 x9 U% p/ `' f+ v! K7 F; M(    Date/Time        : Tue Sep 02 11:03:26 2014                      )
/ m- {: u% ~3 Y, ^$ i5 r8 ^(                                                                     )
4 L1 w6 v5 `$ S  f3 ]1 B(---------------------------------------------------------------------)
8 m3 O  J2 a. W) Y) n5 ]0 D1 W" o4 I0 h$ v% Q; ?
0 U" ?8 X; E- V  r( A% w  b8 p
ERROR(SPMHMF-335): There was an error extracting the drilling data. [help]
5 r' |. r, n6 E. _2 u6 ] ERROR(SPMHMF-336): Program terminated.& e# B- y- F3 p' d, ]  N  T

作者: bluemare    时间: 2014-9-2 11:08
删除该tmp文件,重新出图
作者: xbin    时间: 2014-9-2 11:15
注:Database check 无错误。
作者: zuoyy    时间: 2014-9-2 11:18
看找一下看下是什么错误才能对症解决~
作者: xbin    时间: 2014-9-2 11:28
zuoyy 发表于 2014-9-2 11:18) t  X# H3 j) P
看找一下看下是什么错误才能对症解决~

6 A( V/ d& v0 C+ ]就是没找到,在论坛也搜到相同的问题,不过都没解决。
作者: zuoyy    时间: 2014-9-2 12:43
呃……那个后面的help可以点开么?我没遇到过这种情况,所以也不知道你出的是什么错误,那个提示只是说停止工作,没有任何有用的信息……
作者: xbin    时间: 2014-9-2 12:58
本帖最后由 xbin 于 2014-9-2 12:59 编辑
( y6 [( t9 ?( j* w0 l6 _
zuoyy 发表于 2014-9-2 12:43  B- l  s! x: z2 N/ _) d
呃……那个后面的help可以点开么?我没遇到过这种情况,所以也不知道你出的是什么错误,那个提示只是说停止 ...
. k  g( q" }+ ~4 w3 b' c

; L+ ?# H* c! |7 _( P不能点击打开,但是按F1打开。其实也就是在线帮助。内容如下:
" O5 n/ [. m5 _$ `! M  `nctape_full
4 P/ j; h# G" ]! w) F( Q
% b7 {" C* ]+ |Dialog Box   |   Procedures
$ \) i2 e, M# |" `) i
) M' y! X  w8 A0 [Generates customized NC drill output files that reflect the parameters you set in the NC Parameters Dialog Box using the ncdrill param command.
. @2 r  P2 D# m* L9 V. o9 d4 L" p% T1 I/ i( W2 _7 m7 S' M* K1 A' A
If you choose Enhanced Excellon format on the NC Parameters dialog box, NC Drill generates a header in its output file that more fully uses the Excellon commands. The header starts with M48 and ends with % and lists tool specifications, the appropriate INCH/METRIC command appears, and LZ/TZ as required for padding the leading or trailing zeros in the data section. The Tnn tool-diameter specification codes expand to a TnnC.xxx format to specify the required router bit size.
' K/ ~/ f  \+ J4 A  i' u5 D# k; O1 h' j' ]# D5 u& q$ ]4 D( [' d1 ~3 B
In output files generated for same-size holes with identical plating but different tolerances, a different tool code is used.
, D6 P; J- W2 K3 N2 e# t4 ?  I( i# a, d  q$ n! D
NC Drill output only applies to (circular) drill holes; use the ncroute command for slot holes. You can also run this command in batch mode using the nctape command.
6 I0 Z5 j' C" h" r* w7 Y" d- I' F6 o& N# r
For additional information, see the Preparing Manufacturing Data user guide in your documentation set.# a4 z. @+ g3 h+ q/ h
% E0 M# f; `0 x; b' I2 f/ O0 E
Menu Path" g# e  i# n# r* n' Q* F

/ l; [% S6 n. Y; G5 [4 W4 M+ O7 ~Manufacture - NC - NC Drill  L( e  E9 U/ }1 T+ m

5 {! m. n- Z% _. W( V- v7 K+ G% M1 fNC Drill Dialog Box( U+ D- o: ~: [+ n
. t- X. I1 t( X. s
Root File Name
7 X: A( K" n" L6 [' rEnter a base filename for output text files before any appended extension. If you do not specify a filename extension, .drl is the default, which you can change by setting the ext_drill environment variable in the User Preferences Editor, available by choosing Setup - User Preferences (enved command).The filename defaults to <design name>-<l1>-<l2>.drl, where <l1> and <l2> are the two drilled layers.! H( l3 `9 d' c
When you choose to generate separate files for plated and non-plated holes, non-plated filenames are <design name>-np-<l1>-<l2>.drl.% m  P6 D9 b* O9 C  L- M$ l, R2 T5 `
Holes defined on the Padstack Designer with Non-standard Drill types of Laser, Plasma, Punch, and Other output to separate files named <design name>-laser, <design name>-plasma, <design name>-punch, <design name>-other. For example, for non-plated holes that use non-standard drilling, the filename is <design name>-laser-np-1-2.drl.. D+ }: [) f4 u( ?4 D9 t
The naming conventions for backdrill files are drill-bd-top-<l2>.drl and drill-bd-bottom-<l2>.drl; for By Layer files, drill-bl-<l1>-<l2>.1 U" j9 Z9 t7 |4 H) X; m
Scale Factor
% D  [/ [% H  `; y5 i/ K( dIndicates the value by which all drill locations in the output drill files are multiplied, to scale the X and Y drill locations., m7 F+ P8 ~. ^
Tool Sequence
% U6 ~$ G1 u, ]$ |( ~; |5 V& USpecifies whether the tool sequence starts with the smallest drill size and increases, or with the largest drill size and decreases. The default is Increasing.3 e0 g/ b! o2 _
Auto Tool Select
6 P- c0 v) F, {+ p0 A- ~Inserts Tnn tool-select codes into the data portion of the Excellon-format output file, instead of M00 stop codes for manual tool changing. Tnn codes automatically generate in sequence (for example, T01, T02, … Tnn).
- b! Z/ {1 i( R9 y0 }' }Tnn tool-diameter specification codes only append to the tool-select code in the header portion of the Excellon-format output file, expanding to a TnnC.xxx format to specify the required router bit size, if you enabled Enhanced Excellon Format in the NC Parameters dialog box. For example, T01C.045 specifies that Tool 1 has a 45-mil diameter.4 \- t) P, |: ~0 p
You can also opt to associate specific tool sizes with specific Tnn tool codes in an nc_tools.txt file, which is used if it exists; otherwise, NC Drill automatically determines the appropriate tools the design needs and assigns tool codes to them.& K- O8 Q7 Z/ ]: W' ^! s( G. N! Z
An nc_tools_auto.txt file is created for reference. A warning message appears when an nc_tools.txt file is not found.  f# f+ O5 ^( Y$ q" ]
Separate Files for Plated/Non-plated holes
5 w0 b2 R9 U' ]6 A3 @( X + k3 G8 P! ^0 X8 ^2 B- @- \
Choose to generate separate files for plated and non-plated holes.
9 @. H9 P7 h1 i" `Repeat Codes. K0 B' Q+ `" [
Specifies whether your drill supports repeat codes. Enabled by default.% w9 a/ Y# I9 F" t$ L, W
Optimize Drill Head Travel
4 L* S" _5 Z  R" P6 R% j 3 u: ]5 x) q3 x$ p: O8 ~
Choose to optimize drill travel on the NC Drill output files.3 h. G' T) Q0 g  R
Drilling- Q& k0 Q. A1 n" J0 d& B" C
Each execution of this command generates one of the following drill output files, depending on which you have chosen. Layer Pair and By Layer drill-output files are mutually exclusive. Generating one type removes the other if it exists in the design.% v5 E; {% r+ M! r( e
Layer Pair& }- A, U3 [5 ?" v- V9 N3 t7 V# d4 G' S, R
Choose to generate drill output files that represent the holes to drill according to combinations of layer pairs.
# z/ q+ F6 U3 t1 q# CFor example, for a four-layer board using thru via technology, this option represents the via that spans layers one through four as existing on the layer pair "1-4."
7 G$ q) y! l6 k1 b  n/ T" L& XBy Layer
4 H. o7 G0 }4 a# h9 O# eChoose to generate multiple drill output files that represent each hole to drill for each via as existing between one entry layer and one exit layer, typically used to meet microvia technology requirements.1 t" J/ o) s- C2 j( s" v$ m9 q
For example, for a four-layer board, this option represents the via that spans layers one through four as existing on layer "1-2," layer "2-3," and layer "3-4" and displays it in three different drill output files. Note that no output appears for layer "1-4." An <n> layer board therefore always has one fewer drill output files than the total number of layers, or <n-1>, because a hole starting on one layer has to at least appear on the next layer as well, and a hole never appears on only one layer.
3 E% {+ w6 \5 G& w8 |Drill/ V+ l' j8 ^& t( u
Click to generate output files.5 i- L  b) h) z: A! q  }+ k
NC Parameters
) @" |# ?( L; HClick to access the NC Parameters Dialog Box dialog box.  J! A' r: M9 W$ f( |
Close" v8 b8 r3 R# [
Click to save changes and exit the dialog box.
8 w6 m3 A- N9 D6 SCancel* F& o, g1 ^) H; n) `
Click to close the dialog box without generating an output file.% G- [( N3 a1 M5 ^0 a
View Log/ `# @/ i& h1 }* s7 Z
Click to view details concerning the nctape.log file, including tool number information.
3 I1 M8 ]- n2 N0 m( s4 QProcedures' D0 u: n* a3 k5 y8 t! p$ G
2 T" d0 C2 D3 f* N3 m8 Y) B
Preparing to Create Drill File Output  C1 B9 K9 M; H1 h3 a& y' D

! Z2 h# k/ j' G+ \2 }$ P7 i, z1.
- s6 r1 ?: \6 P0 \, {Run the ncdrill param command.
) H# E/ d1 W' n6 J% F0 D; i! S  w7 v6 Q. B2.$ p! F! i9 L5 S; x
Complete the NC Parameters Dialog Box.8 g* f# R: x6 D6 I% D( u- {
3.* M; \1 _3 w5 I1 N/ i
Click Close.
- m$ v2 l0 R; o9 \6 g4.
; ?5 |( O/ }. v6 i2 }( m% s; {If necessary, create nc_tools.txt and nc_exclude.txt files.$ o# b3 C% n. C4 R1 q
For additional information, see the Preparing Manufacturing Data user guide in your documentation set.
$ u: i: D+ r$ \% i6 s) M5.6 l4 j8 b1 q1 t9 C  ?
Continue with the appropriate instructions, starting with step 2:
2 v1 b/ [# |9 x# H 5 d/ Q4 N8 l* S# |" t/ |% M
Generating Drill File Output with the User Interface below
9 l1 u1 w$ b& ]" i# Y: H/ Z0 x3 r$ x) L
$ G0 t' Y6 P- Q' _9 N4 G* O3 N* T- E1 QGenerating Drill File Output in Batch Mode
  \  X$ x, H3 @! W0 Y1 R( q. OGenerating Drill File Output with the User Interface
. t5 X3 g" W' W4 T
- {1 H2 `6 d+ |6 y& O1." d6 G/ P( U: e+ t) t$ ]* @. r3 r
Follow the instructions in Preparing to Create Drill File Output above.
4 d" S. l6 H5 P! U. `3 T2.6 A! v9 j, [' a& R0 a# V
Run the nctape_full command.. F8 y' r4 z0 }4 P- G- p
3.
: ^0 o+ k% b' }  ^% }4 }, W& xIn the NC Drill dialog box, enter the Scale Factor.
6 `# l( |& B4 c* b  {3 v4.
2 a$ o2 s" y: Q$ ?4 j  X) g+ xClick Drill. The tool creates the output files using the name you specified in the Parameter File field of the NC Parameters Dialog Box.
/ t& ?4 d, l* t( |! u( MThe following message appears in the console window prompt:
. ?* `: N: s. L" v: Y' y) N1 u( gnctape completed successfully - use Viewlog to review the log file.
2 F) Z6 q8 G- J5.
* F: i2 B, @; _0 o/ S. r, BClick Close.- F" f* ^: Z8 w! v" R
6.2 a1 `, K- R9 d6 ]  \7 t; ]
Verify the results with the explot command.1 _! |& O3 z  V. |8 @
Using an output file from the nctape command (the .drl extension is optional), explot generates two files, outputfile.plt and outputfile.ctl. You can use the outputfile.plt file to drive a penplotter.& H2 ^6 }7 a% i- }$ E
( X) i6 x1 V" Y& @
Generating an NCdrill file in Enhanced Excellon format
" `% ?! T; H  R1 O" |; P
7 u) H. D4 P8 q" L# {( J1.; G5 {+ _8 o' O+ g2 C9 t
Choose Manufacture - NC - NC Drill.
6 w/ S- v$ g! ~: c" C; V5 D8 N+ [2.
' s% l: w  b' \* ?Click NC Parameters. The NC Parameters dialog box appears.
) Y" Y9 k9 V# E9 l! X7 l5 X$ [3.+ r/ I% P6 `- M5 H; S, q, A
Enable Enhanced Excellon format to generate a header in the NC Drill and NC Route output files that uses Excellon commands to a greater extent. The header starts with M48, lists the appropriate units (INCH or METRIC), and the Tnn tool-diameter specification codes expand to TnnC.xxx format to specify the required router bit size and end with %.
2 y- g7 v3 l& o" c4.
1 [. p; p0 G8 q; d/ U+ U' x! QClick Close to save the settings.
; A# q2 K( F% ^7 G* \3 j' m8 l3 J5.
5 o/ e& |1 ]0 D  _Enable Auto Tool Select in the NC Drill dialog box to insert Tnn tool-select codes into the data portion of the Excellon-format output file, instead of M00 stop codes for manual tool changing. Tnn codes automatically generate in sequence (for example, T01, T02, ... Tnn).8 w" A1 I( ?4 ^) V1 k3 ^: v
6.$ E9 g0 l! v6 i0 A! C0 E0 a! @7 h
Click Drill./ n' T2 T$ D2 w7 ]# m
You can also associate specific tool sizes with specific Tnn tool codes in an nc_tools.txt file, which is used if it exists; otherwise, NC Drill automatically determines the appropriate tools the design needs and assigns tool codes to them. An nc_tools_auto.txt file is created for reference. A warning message appears when an nc_tools.txt file is not found in the ncdrill.log.
作者: xbin    时间: 2014-9-2 13:01
bluemare 发表于 2014-9-2 12:58, E3 u9 v/ l( H, R# B
删除该tmp文件,重新出图

; N' {5 G8 B2 P- mtmp文件是什么?
作者: bluemare    时间: 2014-9-2 13:04
自己找
作者: xbin    时间: 2014-9-2 13:32
bluemare 发表于 2014-9-2 13:04- @3 m6 M5 K4 r% U& x
自己找

. D3 U; p5 v% l3 r. C9 W# d- R" ~大神 我搜索整个计算机都没找到。。。
作者: xbin    时间: 2014-9-2 13:50
zuoyy 发表于 2014-9-2 12:43
) w/ ?4 M6 Z; s% E8 a  L呃……那个后面的help可以点开么?我没遇到过这种情况,所以也不知道你出的是什么错误,那个提示只是说停止 ...

1 b/ L1 ]; |7 w* v& n( E( e谢谢。。。
作者: kinglangji    时间: 2014-9-2 13:54
把brd换个文件夹,然后drill试试..
& z& D& Y, N/ f7 p- F" \不行就排除法,先把过孔删掉试试,不行再删直插pin,知道行了,就知道是哪有问题了.........
作者: kinglangji    时间: 2014-9-2 13:57
解决了?
作者: xbin    时间: 2014-9-2 16:14
kinglangji 发表于 2014-9-2 13:57
; {+ o4 u' a0 A6 g+ o6 C, ?解决了?

; u- R- p, C+ U, T7 |是呀,具体原因不明,不过复制出.brd重新生成却不会~
作者: kinglangji    时间: 2014-9-2 16:18
xbin 发表于 2014-9-2 16:14
" e/ S& g) D4 v8 ?& g" e是呀,具体原因不明,不过复制出.brd重新生成却不会~

" q/ b8 i+ i9 e复制到新文件夹呗?
作者: xbin    时间: 2014-9-3 11:42
kinglangji 发表于 2014-9-2 16:18. {5 O% t/ r( t( \. Z
复制到新文件夹呗?

! R, J; v( Q& H3 k嗯。。。就把.brd单独复制。。
作者: gl2050    时间: 2014-10-10 10:22
xbin 发表于 2014-9-3 11:421 v3 `0 p' }. x2 R! v' V* T
嗯。。。就把.brd单独复制。。

' p/ l$ n8 u9 {3 |4 r/ O! ?0 b复制文件到新的文件夹??? 为什么我复制还是出不了?找出问题原因没?求解
作者: xbin    时间: 2014-10-10 13:33
gl2050 发表于 2014-10-10 10:22
8 r- K" |0 J# z5 w复制文件到新的文件夹??? 为什么我复制还是出不了?找出问题原因没?求解

. V  R" s4 W5 G+ o9 c. z1 T我也不知道。反正就是复制出来就不会了 现在也没发生那种情况。. U7 r& P* W. d7 [

作者: gl2050    时间: 2014-10-10 15:06
xbin 发表于 2014-10-10 13:33% s! q8 y3 Y) |
我也不知道。反正就是复制出来就不会了 现在也没发生那种情况。

# b3 S1 y6 G( ZENV的问题
" v* O; x1 X* N
作者: xbin    时间: 2014-10-10 15:09
gl2050 发表于 2014-10-10 15:062 ~/ \! P9 T( {& U
ENV的问题

0 w( }6 h4 P$ Y' N8 M这么说你搞定了?
6 b, _9 y* I% w1 k. L- S5 g# J  U
作者: gl2050    时间: 2014-10-10 15:25
xbin 发表于 2014-10-10 15:09
' ^3 o+ G) h' [9 m& x这么说你搞定了?

8 K( {, E! W4 l( Q2 k是滴& ?' |7 p' @6 H: P

作者: owencai    时间: 2014-10-10 16:37
gl2050 发表于 2014-10-10 15:25) [/ j( e) H% l
是滴
4 o7 Z: G; T8 k% w8 r1 ?
高手啊,分享下经验呗!4 @; L  H; J" q% C4 f

作者: hidy    时间: 2017-6-26 10:04
这问题怎么解决??: l: k5 E1 ~- x8 s5 e4 S% I' c

作者: xbin    时间: 2017-6-26 11:33
hidy 发表于 2017-6-26 10:04
4 ^" W; P; K! N, q1 k这问题怎么解决??

* V5 G5 R8 J# a4 ], `年代有点久了 现在没遇见过了;你试试楼上说的。9 Q9 G; ^$ t$ z" R





欢迎光临 EDA365电子工程师网 (https://bbs.elecnest.cn/) Powered by Discuz! X3.2