Hello Guest it is May 04, 2024, 09:54:22 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Graham Waterworth

491
Mach4 Plugins / Re: Vista Pendant on Mach4
« on: October 23, 2020, 02:08:18 PM »

492
Okay, if you can write code then all you need to do is add a #var to your code.

# Numbers for the tool diameter offsets start at 13000 + the offset number so D2 offset would be #13002

Then you remove the G41/42's and you add something like this G01 Y[#13002] F1. or G01 Y-[#13002] F1. in your code.

Your code will look something like this :-

g0 g49 g40 g17 g80 g50 g90

g04 p2.
g53 g00 z0

M03
M08


G54 g00 g90 x0 y0.01 a0
z1.
g01 z-.25 f10.
y-[#13001] (offset Dia1)
a720. f2000.
x0y0
y[#13002] f10. (offset Dia2)
a0. f2000.
Etc......


493
A picture of the set up may be helpful,  its possible to do this a different way that avoids the G41/42 issues and still allows you to use tool offsets to widen the grooves.

494
His D3 moves are greater than the tool offset so it can move.

495
If you want to use G41/42 compensation you have to plan for it in the g-code, to use comp correctly you have to feed on to the cutter path with a line and a blending tangential arc where the total movement is greater than the amount in the tool diameter offset, you say you are adjusting the size by 0.020" and your move is only 0.016" see red highlight.  Also your code is cancelling the comp with the G40 and no lead out move so you can get gouging if the direction of travel changes.

You need to lookup how to do G41/G42 compensation, there are lots of examples on here.

G54 x0 y0.01 a0
z1.
g01 z-.25 f10.
G42 D2
y-.016 f10.
g90
g40
a720. f2000.
g90x0y0
G41 D2
y.016 f10.
g90
g40
a0. f2000.

496
Mach4 General Discussion / Re: complex probe moves not working
« on: October 21, 2020, 04:49:22 PM »
Has the UC400 driver/config got a 'safe probe move' option?  we have seen this option on some controllers and it stops some of the Z moves while the G31 is active.

I use a CS-Labs and had to use my own probing routines for this reason.


497
General Mach Discussion / Re: Mach 3 Programming Question
« on: October 21, 2020, 04:36:43 PM »
Has the second program got a M99 or M47 at the end?

498
OK, you need to make sure your lead in has enough travel to apply the offset or it will try to do it in the main move.

499
Mach4 General Discussion / Re: complex probe moves not working
« on: October 20, 2020, 08:33:15 PM »
What motion controller and probe are you using?

500
General Mach Discussion / Re: usb moyion controller
« on: October 20, 2020, 08:31:23 PM »
A picture of the card may help us help you.