Hello Guest it is March 29, 2024, 10:58:43 AM

Author Topic: G81 problems  (Read 8248 times)

0 Members and 1 Guest are viewing this topic.

G81 problems
« on: January 05, 2015, 02:35:00 AM »
hey guys I'm having a problem with a G Code 81.
 It's strange when I select NO DEVICE and run Mach3 with a small amount of code it will drill and run just fine.  But if I send it to the machine USB then it gets stuck in this up and down peck drilling tell I hit the stop button. I have been running thrtough this problem for a week now. Here is the code. It's 2 holes and 2 cut lines. It does not matter what program I use to make the gcode lazycam or cambam it has the same outcome. See video at bottom.
Any ideas?

N5 (File Name = Test123014 #10a on Sunday, January 04, 2015)
N10 (Default Mill Post)
N15  G91.1
N20 G0  Z1.0000
N25 M3
N30  X1.8917  Y1.3226
N35  Z0.1000
N40 G81  X1.8917  Y1.3226  Z0.0000  R1.0000  F60.00
N45 X12.2269
N50 G80
N55 G0
N60  X15.1293  Y0.0000
N65  Z0.1000
N70 G1  Z0.0000 
N75  X0.1742   
N80 G0  Z1.0000
N85  X15.1293  Y3.1072
N90  Z0.1000
N95 G1  Z0.0000 
N100  X0.0000  Y3.3105   
N105 G0  Z1.0000
N110 M5
N115 M30





https://www.youtube.com/watch?v=QQDxeHRWMYQ




Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G81 problems
« Reply #1 on: January 05, 2015, 06:26:00 PM »
SOunds like a problem with the controller DEVICE doing what it is suppose to do . What device are you using?

(;-) TP
Re: G81 problems
« Reply #2 on: January 05, 2015, 09:44:00 PM »
are you talking about the USB motion control board?
If so we have no idea as it's an import unit.
If I run with out a device in the motion control device the code works just fine and the program runs through with out any problems.
It's when I set the program to output to the USB control the G81 causes the endless loops.
It gets stuck on N40 G81  X1.8917  Y1.3226  Z0.0000  R1.0000  F60.00 line. And refuses to advance in the code.
If I run it as a G1 it works fine. It's only the G81 canned drill code that does this.
The USB board should not be the thing converting the code, should it?
If that's the problem I'll get a better one then what came with this thing. Other wise it's working out of the box just fine.
Thanks in adv.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G81 problems
« Reply #3 on: January 05, 2015, 10:15:15 PM »
It sounds like a problem in the USB controller not completing the G81 canned cycle. We know that the G81 works with a LPT version.

(;-) TP
Re: G81 problems
« Reply #4 on: January 06, 2015, 02:43:50 AM »
What controller do you recommend we buy and use?

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G81 problems
« Reply #5 on: January 06, 2015, 11:25:37 AM »
Smoothstepper ESS

(;-) TP

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: G81 problems
« Reply #6 on: January 06, 2015, 12:04:04 PM »
Just try this modified code, only change is the Z start point is above the G81 rapid point, I have seen this confuse controllers in the past

N5 (File Name = Test123014 #10a on Sunday, January 04, 2015)
N10 (Default Mill Post)
N15  G91.1
N20 G0  Z1.0000
N25 M3
N30  X1.8917  Y1.3226
N35  Z1.1000 (make this above R point in G81 line)
N40 G81  X1.8917  Y1.3226  Z0.0000  R1.0000  F60.00
N45 X12.2269
N50 G80
N55 G0
N60  X15.1293  Y0.0000
N65  Z0.1000
N70 G1  Z0.0000
N75  X0.1742   
N80 G0  Z1.0000
N85  X15.1293  Y3.1072
N90  Z0.1000
N95 G1  Z0.0000
N100  X0.0000  Y3.3105   
N105 G0  Z1.0000
N110 M5
N115 M30
Without engineers the world stops
Re: G81 problems
« Reply #7 on: January 06, 2015, 02:25:52 PM »
Thanks.
I gave it a try but it seems that the USB board is not up to the task from what I gather.

From what you guys are saying is that the command comes from Mach3 to the USB breakout board.
Then the USB board is what actually directs the motor control units to carry out the process.

I guess I will need to swap out the board to something better. Now BR549 suggested the Smoothstepper ESS.
Has anybody swapped this over to the China unit? If so, is there a thread with some good step by step info on it.
Below is the video of what it does with the modified Z1.1000 code.
I have also noticed there is a line jump when the code starts.
The changing of the code did not seem to work out. So I must be led down the path of the board swap.
The motor controls are a YOOCNC model YOC335. Will the Smoothstepper ESS work with these controllers?
 And for anybody that has this we were thinking it was a number 0 when in fact they turned out to be a letter O.

https://www.youtube.com/watch?v=7cLjqkz2du8&list=UU1yUgVGBJKdrfs3Bift3LEA

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G81 problems
« Reply #8 on: January 06, 2015, 06:47:57 PM »
I have seen somrthing similar to this before and it was a bug in the plugin for the DEVICE (software) Does it do the same thing with a G83 cycle or is it JUST the G81 call?  IF it is JUST the G81 call that causes the problem just don't use the G81 cycle (;-)

Ask the manf to correct the BUG in the plugin software.

Or just convert the machine to a ESS and be done with it. (;-)

Just a thought, (;-) TP

Re: G81 problems
« Reply #9 on: January 06, 2015, 08:21:03 PM »
It does it in any canned cycle. :(
So I'll be updating the board and making a thread on it. It's a combo USB board now. I called the guy from http://www.warp9td.com/
We talked at some length. He wants pictures of what I have so he can see what is reusable. Then I can go from there. Once we get the board we "should" be able to make it run the way we want.