Hello Guest it is April 16, 2024, 03:29:22 PM

Author Topic: G28 conflict  (Read 3236 times)

0 Members and 1 Guest are viewing this topic.

G28 conflict
« on: February 06, 2017, 11:17:51 AM »
I'm running Mach3 to run a router. When I home the machine all axes move to the zero position with z at the top. When a program encounters a g28 g91 z0 (any time it needs a tool change for example) the z rises up to the limit switch but triggers an e stop rather than a limit and the program must be reset. Any guidance on settings? Thanks
Re: G28 conflict
« Reply #1 on: February 12, 2017, 11:37:11 AM »
Tripping the limit switch is an e-stop condition.
If you are using the limit switch as a home switch as well it could be problematic but I am not sure.
Try G28 Z0. You can also look at the config, homin/limits and verify that the G28 positions are set to Zero. If it still goes up and hits the switch and estops, you could always try setting the G28 position for the Z axis as -.5 to see if that helps.

FYI G28 is different in Mach4 vs Mach3. Mach 4 is more Fanuc in nature IIRC.



Mike
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: G28 conflict
« Reply #2 on: February 12, 2017, 05:26:05 PM »
I can't say for the mill but G28 / Mach3 can behave in way that's not what you are expecting for the lathe depending on
current configuration / modes. Still not done testing ..........
Read the description of the command in the manual very carefully.

FWIW,
RICH

 

Offline reuelt

*
  •  520 520
    • View Profile
Re: G28 conflict
« Reply #3 on: July 02, 2017, 06:30:58 AM »
I'm running Mach3 to run a router. When I home the machine all axes move to the zero position with z at the top. When a program encounters a g28 g91 z0 (any time it needs a tool change for example) the z rises up to the limit switch but triggers an e stop rather than a limit and the program must be reset. Any guidance on settings? Thanks
You must also set up soft limits even though you have physical limit switches.
For home position, soft limits and limit switches are set identical - all set to zero.
For the other end of the x and y axis make the soft limits 1 mm before hitting  the limit switches. I have remove the bottom limit switch for z and use only soft limit because z is always zeroed using the probe to the material surface and soft-limit can be easily changed to avoid cutting the table or even too deeply on the spoil board. It also helps if the auto Z probe fail.
I found that the presence of soft limits help avoid "e-stop" conditions. The limit switches if really triggered must "e-stop" to avoid physical damage to the machine.
« Last Edit: July 02, 2017, 06:37:52 AM by reuelt »
"the gift of God is eternal life through Jesus Christ our Lord"

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G28 conflict
« Reply #4 on: July 02, 2017, 08:00:40 AM »
Get rid of the G28 G91 Z0 line.
Are you using Fusion 360? I see this question asked a lot from Fusion 360 users.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html