Hello Guest it is April 18, 2024, 08:00:15 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

481
Use a 4 axis Fanuc one.

482
Mach4 General Discussion / Re: Mach4 in factory automation
« on: October 24, 2020, 09:48:14 PM »
There are many way to do this, if you only want to run one program for ever in a loop it can be loaded from the screen load code and executed or you can have a modbus call to load and execute a program of a button on screen to load and run a file, I would email mach4 support and they will probably have this type of thing ready to use.


483
Mach4 General Discussion / Re: This function is unlicensed?!
« on: October 24, 2020, 09:39:57 PM »
Mach4 is calling a Renishaw Macro (G65 P9832 Probe on), full Fanuc B macro is not standard on Hobby versions but you may be able to pay for the option, contact sales for details.

484
Is the computer and machine grounded together, you may have ground loop issues if not.

Just run a ground cable to the computer chassis and the control box and the machine to stop this.

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

486
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......


487
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.

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

489
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.

490
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.