--- In mach1mach2cnc@..., "morgtod" <todmorg@h...> wrote:
--- In mach1mach2cnc@..., Art <fenerty@a...> wrote:
HI TorchHeads...
Hi-
I did not know there was a way to zero the thc after a cut! I
use
macros in place of the m03 m05's so I can inset a zero very easily
(
as long as you tell me how ). On a related subject, the plasma dxf
import it would be very nice if I could make it call my m40 instead
of the default m03 and m41 in place of m05. A header and footer
would also be sweet( I use a m42 for my header and m43 for the
footer ).
I have traced the THC code and as I don't use THC, I am a bit
confused as
to the flow. When are you turning it on and when is it turned off
in your
programs. I think I see the problem and its related to turning
off
the THC.
It must be turned off and zeroed after a cut when the torch is
turned off
with the M5. Should I have it do this automatically on M3 (turn
on
THC) and
on M5(turn off the THC)? This may solve the problem but I don't
want to
screw up your flow.
Can't find the 2nd problem with the G0 to G1 difference. ..yet
anyway.
Art
www.artofcnc.ca
Now BOTH of you have me confused. First to Todd: Why are you
turning the THC off and on during the moves? The THC only "listens"
to UP and DOWN commands when the torch output is active (M03) AND the
TORCH ON input is active (from arc good). Any other time and the
signals are ignored in MACH2. On a M05 the Z axis is supposed
to "true up" so that the DRO matches the absolute position of the
head. I turn my THC on when I load the first g-code and leave it on
until I shut down the program. In the even the torch runs off the
material then the fault circuit in the THC hardware shuts off UP and
DOWN signals to MACH2.
To Art: Please don't fix something that is not broken. I have cut
miles of steel in the last two months and the THC works just fine as
long as you run the code with a G00 like the sample I sent. The
G28.1 problem may be interconnected with the THC but if the logic
works as we originally designed it, M05 should true up the Z and zero
out the THC move register. While it would be nice to have the THC
hold (waiting for TORCH ON) to work under ALL conditions, changing
the logic in the M03 and M05 section could cause things to get out of
sync. Honestly, I don't run G28.1 in code since I only zero at the
beginning of a cut. I normally break my designs into 4 or 5 separate
g-code files that cut logical groups of vectors. I return to 0,0,1
at the end of each and can just load and go for the next cut or
decide to do a reference on X and Y or all three. Some of my designs
have hundreds of individual cuts and the added G28.1 for Z each time
would be a real waste of time.