Welcome, Guest. Please login or register.
Did you miss your activation email?
October 22, 2014, 02:58:31 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  G-Code, CAD, and CAM
| |-+  G-Code, CAD, and CAM discussions
| | |-+  Runn Error Line 2
Pages: 1   Go Down
Print
Author Topic: Runn Error Line 2  (Read 505 times)
0 Members and 1 Guest are viewing this topic.
TT350
Active Member

Offline Offline

Posts: 113


View Profile
« on: February 29, 2012, 12:59:59 PM »

Hi guys I'm getting a Run Error Line 2 unspecified failure.
It is stopping on the line for spindle start.

I can hit any key on the key board and it will start the program but the spindle
dose not start.

When the program starts  running a VB scipt editor box appears,
The word DoSpinCW()

I have been generating code with the same cam software for about 5 years
and this is just started happening.

Here is a piece of the code

Thanks for any help

N1 G00 G43 G40.1 G17 G80 G50 G90
N2 G20
N3 (Deep Drill )
N4 M6 T1
N5 G43 H1
N6  M03 S1500
M8
N7 G00 Z0.50000
N8 X-0.30000 Y6.85000
N9 G83 X-0.30000 Y6.85000 Z-0.52197 R0.1 Q0.1 F5.0
N10G80
N11 G00 Z0.50000
N12 G83 X-1.90036 Y7.45000 Z-0.52197 R0.1 Q0.1 F5.0
N13G80
N14 G00 Z0.50000
N15 G83 X-4.10000 Y6.85000 Z-0.52197 R0.1 Q0.1 F5.0
N16G80
N17 G00 Z0.50000
N18 G83 X-6.30000 Y7.45000 Z-0.52197 R0.1 Q0.1 F5.0
N19G80
N20 G00 Z0.50000
N21 G83 X-9.00030 Y6.67013 Z-0.52197 R0.1 Q0.1 F5.0
N22G80
N23 G00 Z0.50000
N24 G83 X-10.69964 Y7.45000 Z-0.52197 R0.1 Q0.1 F5.0
N25G80
N26 G00 Z0.50000
N27 G83 X-12.90000 Y6.85000 Z-0.52197 R0.1 Q0.1 F5.0
N28G80
N29 G00 Z0.50000
N30 G83 X-15.09928 Y7.45000 Z-0.52197 R0.1 Q0.1 F5.0
M9
N31G80
N32 G00 Z5.0
Logged
BR549
Mach4 Alpha

Offline Offline

Posts: 5,120


View Profile
« Reply #1 on: February 29, 2012, 01:37:56 PM »

The specifid error Line 2 is actually the N1 line in your Gcode program. Check the manual for the use of G40.1 (;-)

Just a thought, (;-) TP
Logged
TT350
Active Member

Offline Offline

Posts: 113


View Profile
« Reply #2 on: February 29, 2012, 01:45:02 PM »

What is G40.1?

Should I remove it?
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!