Re: G28.1 problems THC300 setup Mach3

Posts redirected from the Yahoo mailing list
Erik

Re: G28.1 problems THC300 setup Mach3

Post by Erik »

As far as I know there is no way to transfer numbers from g-code to a
Mach DRO. If there is then a post could be written to do it.
Les
Hi Les,
Just reaching on this one...But,Could SheetCam be able to change
the .XML file for Mach3,Then for those DRO's or anything I guess, when
mach Mach3 is started up,having persistent DRO's checked those
settings will be there,and I think even if they are not checked the
UserDRO's will stay what you set them for,Just a thought,but I could
see problems with this,unless The user Selected Say A SheetCam.xml
file from the Mach3 Startup window and those current settings were in
that .XML file this way ,the last file processed through sheetcam was
the current settings in the SheetCam .XML file.

I wonder if Art could make the G28.1 Routine have a check box for
making the Z axis travel in the other direction,I see under Ports&Pins
there is a checkbox for No Initial Move,This way I could keep
softlimits on and all my problems would go away,I would like to have
SheetCam set the settings,as I have a possible customer wanting to use
the Hypertherm 260 which has automatic settings of the amps
pressure,gas and other feature.
Thanks Erik

Thanks Erik
LesNewell
Posts: 905
Joined: Sat May 13, 2006 2:34 pm

Re: G28.1 problems THC300 setup Mach3

Post by LesNewell »

Hi Erik,

Messing about with Mach's xml file is potentially dangerous. However,
thinking about it, you can set variables with G-code. You can also read
those variables from Mach macros. It would be possible to set a bunch of
variables then trigger a custom M-code macro to transfer those variables
to DROs or to use them directly. It would be messy but it would work.

Les

Erik wrote:
Hi Les,
Just reaching on this one...But,Could SheetCam be able to change
the .XML file for Mach3,Then for those DRO's or anything I guess, when
mach Mach3 is started up,having persistent DRO's checked those
settings will be there,and I think even if they are not checked the
UserDRO's will stay what you set them for,Just a thought,but I could
see problems with this,unless The user Selected Say A SheetCam.xml
file from the Mach3 Startup window and those current settings were in
that .XML file this way ,the last file processed through sheetcam was
the current settings in the SheetCam .XML file.

I wonder if Art could make the G28.1 Routine have a check box for
making the Z axis travel in the other direction,I see under Ports&Pins
there is a checkbox for No Initial Move,This way I could keep
softlimits on and all my problems would go away,I would like to have
SheetCam set the settings,as I have a possible customer wanting to use
the Hypertherm 260 which has automatic settings of the amps
pressure,gas and other feature.
Thanks Erik
caudlet
Posts: 94
Joined: Fri May 12, 2006 4:03 pm
Location: North Texas USA
Contact:

Re: G28.1 problems THC300 setup Mach3

Post by caudlet »

--- In sheetcam@yahoogroups.com, "pfauto" <pfauto@...> wrote:
Tom Wrote "
In over four years of plasma cutting on my table with no far limits I
have never banged the top of my Z. Since I have a 6 inch stroke and
all my cutting is done in the first 1" of travel, nothing in my code
ever lifts it more than 1" above the reference height on Z (top of
material)."

Do you have Softlimits turned on on your machine?
Nope
Does anyone else ever run your machine?
Yes. In fact most of the jobs are now run by a couple of part timers
If so how do they know where the physical limits of the machine are
if you don't use softlimits?

I take them by the hand and show them the top of the rails and say
"Don't raise the head that far or an alarm will go off and you will
receive a painful shock" Since the Z is a stepper and there are hard
stops all it really does is just stall.

Since Sheetcam knows where the table limits are it won't write code
that will go past the stops so the only way it could happen is if an
operator jogs it all the way.

If I am concerned about safety and far limits I hook up separate
limits and make them turn off the power to the motors. That in fact
is a single connection in any of the controllers we build.

"We advise operators to manually reference each axis individually at
machine startup. (using the REF buttons we put next to each DRO) If
they really want to ref Z it needs to be with a piece of material on
the grid"

I agree homing at start up is very important!

"Since the very first move in the code using the SheetCAM THC post is
to move to the first pierce point and establish the top of material I
never worry about where Z "thinks" it is as long as I can look at the
table and determine it's some distance above the table."

Using it the way I do ,I push the Default RefAllButton,and my Z
moves up away from the table Ref's itself and then on to the other
Axis left

RefAllButton is a no-no in plasma cutting. The button is removed
(just like the Go Home button) from our screens. The custom button
that does the referencing is my "RefXY" button. We even put that in
our Hand controller as a button for the THC. It does not move the Z
on a reference move. On my router (that has no Z home switch) I just
have it lift the head 1" THEN ref XY.
The M03 when used finds the top of the plate.


"Soft limits are nice but they only work if you have them enabled in
MACH....yet another setting the operator has to confirm. They can get
turned off easily and then you have no software protection."
That's why I want to use them on my machine!
So the operator can forget and crash the machine thinking they are
protected? hummmmm.....
"Putting all of the parameters in MACH3 for pierce delay, Pierce
height, Cut height, etc that are normally embedded in the g-code by
SheetCAM forces the operator to check more things before the cut and
have a higher technical understanding of what all those parameters
mean. Heck, I sometimes forget to readjust my cut current after
switching material and tips ! There are enough parameters to check to
get a good cut without having to put in new values in DRO's."

I agree this is not a good idea either,What would be nice,if some
how SheetCam could set up the correct DRO's when a file is loaded then
the user could make a adjustment if needed,as the tips wear out or
whatever chanded the cut Quality,Or is this what scale in the post
processor does under mach does it overide the settings by a percentage?

None of the parameters involved except possibly feedrate (which you
can override while cutting), and the tip volts on the THC (which also
can be adjusted on the fly) have a lot of effect on cut quality.
Definitely not the pierce height, delay or initial cut height. Those
numbers should not be "messed" with by an unskilled operator. By the
time a tip wears out enough to cause problems with cut quality, you
better replace it because shortly you will hear a "snark" sound and
the machine starts gouging a trench in the top of the metal with no
penetration. Then you have to stop the machine. Replace consummables,
possibly re-reference the XY and then crawl back through the G-code
and restart the cut (and turn off the THC in MACH so the tip won't
dive into the existing kerf!)

"As one of the primary support persons for the THC300 and MP1000-THC
units I will openly state that anyone that wants to use Erik's custom
macro needs to direct any support issues to him."

As I stated I din't want to send this to the group ,It was intended
for only Les to get it,I'm not here trying to promote anyone to use my
approach.

I know what would solve all these problems if Mach3 when using the
G28.1 ,there was Check Box ,under General Config,to set the G28.1
Probe direction,seems all my issues would go away ,There is a checkBox
for G28.1 No Intial Move,but I didn't find any reading meterial on it
in the manual or a good search on the forum I'm sure it is there
somewhere in the forum's burried in posts.
Hope I get this all fixed soon,I need to ship this machine,at least
now I have two ways they can choose to run the machine the way they want.
Thanks Erik
With all due respect the machine could have been shipped 2 weeks ago
if the time spent re-engineering a process that already works was
instead focused on building the machine and not writing a bunch of
custom macros and modifying the posts.


Most shops don't hire Rhodes Scholars to run a dirty smokey plasma
cutter. The more variables you hand them, the more they will try, and
the more often your phone will ring. So instead of changing a tip
when it starts to show signs of wear, they will try to get more time
from a worn tip and dink with adjustments. I have considered removing
the Feedrate override on some installs just to eliminate one more
variable (:-o
Tom Caudle
Http://www.CandCNC.com

Hardware for Home Shop CNC:
Low cost, powered/isolated, breakout card
AC and DC "Drive Saver" power controls
2nd Generation digital THC
Handheld Manual Pulse Generator (MPG)
Wolfes Metal Fab
Posts: 64
Joined: Wed Jan 14, 2009 6:08 am

Post by Wolfes Metal Fab »

Not to bring back an old dead thread, but i have been using g28.1 for z referencing for a long time and it has worked great. I understand both of your guys point of views, although, now i have a reason for maybe changing if possible and keeping the machine coordinates (z in particular) to an exact non changing location.

My machine has 3.5" - 4" of z travel above the table depending on the tip used and placement of the torch in the holder. I have added a rotary tube attachment to the table, and even though it is sunk into the table, 1/2 of the tube + approx 1.25" is above Flat sheet cut height. This means that to cut 5" tube, i would have .25" available z height above it. If i am cutting larger tube and the rapid is set too high, or Sheetcam puts in a clearance height above what is available for square tube, it will stall out and then provide inaccurate z position when it travels back down to reference or continue cutting.

Also i would like to add to the go home feature to have the z retract to as high as possible.

This would make the safe z much more useful also as it would be the uppermost extent of the travel in machine coordinates, period.

These reasons are why i am looking into how to reference my z to the cut surface without affecting my machine coordinates, so i can implement the soft limits and z go to home.

I am familiar with g28.1 as i have been using it a long time. Is the G31 something that i can use instead without complicating things terribly or loosing use of other valuable features. Also, would i be able to use the same switch circuit (multiple switches wired to 1 input) for the z referencing and the plate referencing (if G31) My Post Processor is already massively customized for both flat sheet and rotary cutting.

Just looking for a little input from others in the know with this.

Brian
Post Reply