Hello Guest it is July 19, 2019, 11:47:36 PM

Author Topic: Plasma Z floating head  (Read 26670 times)

0 Members and 1 Guest are viewing this topic.

Re: Plasma Z floating head
« Reply #20 on: May 10, 2018, 02:52:22 AM »
ya i do use and m3 to fire but im not too familiar with modifying a macro code......can you elaborate ?

Offline TPS

*
  •  1,359 1,359
    • View Profile
Re: Plasma Z floating head
« Reply #21 on: May 10, 2018, 02:59:20 AM »
as i have written in Reply#18

 am not familar with LUA coding of Mach4, so somebody else must
guide you, if you want to go this road.
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Plasma Z floating head
« Reply #22 on: May 10, 2018, 03:03:26 AM »
Hi,
sounds like we're starting to make some progress.

I've used Mach3 but never that G28.1 trick, really really kool. I've used G31 extensively in Mach3 and for the last 18 months in Mach4.
Look for:
Quote
Mill GCode Programming
in Mach4 Docs. Note there is NO G28.1 mentioned. I don't know whether that's an oversight or what.
What I have found that all the gcode jobs that I used to run in Mach3 all pretty much works in Mach4. When all said and done Mach of whatever
flavor is a Gcode interpreter....conforming Gcode should work in either. Its my experience that Mach4 conforming Gcode is somewhat stricter in
interpretation than Mach3 compliant Gcode, there are a lot of tricks and shortcuts we used in Mach3 which really aren't good practice and often wont work
in Mach4.

I do recommend the use of G31.nnnn, you can generate probe files and all sorts of things and all extremely accurately.

For a plasma table you really really REALLY NEED THC. THC is a realtime feature and is enacted by the controller. Vital Systems HiCon board is the only Mach4
board I know of which has implemented it at this time. Nice screen addition in the GUI to support it too. The HiCon is not cheap but it is good....suck it up!

You may be required to do a little Lua coding to tie it all together but probably only 20 lines or so. Knowing what those lines are and where to put them is another
matter but you will find help on the forum.

Craig
My wife left with my best friend...
     and I miss him!

Offline TPS

*
  •  1,359 1,359
    • View Profile
Re: Plasma Z floating head
« Reply #23 on: May 10, 2018, 03:07:19 AM »
but no matter witch road you are trying to go (G28/G31/M03),
your Hardware has to work first.

means Limit Switch has to be set as refZ or probe, and has to work.

if M3 script sould handle this, it also has to use one of this two methodes.

if you have for the example the G31 working, i think it should be no Problem to Setup
your sheetcam to generate the right code, it is only GCode, witch is not Mach3/Mach4
specific.
  
« Last Edit: May 10, 2018, 03:09:14 AM by TPS »
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Plasma Z floating head
« Reply #24 on: May 10, 2018, 03:16:52 AM »
Hi,
Thomas is right, you could have the post just issue a M3 and the M3 would contain touch off code. You don't have to have the post include all that code explicitly.

Anyway once you get your HiCon and realize what features and code they've built in you wont be worried about some fancy post....

Craig
My wife left with my best friend...
     and I miss him!
Re: Plasma Z floating head
« Reply #25 on: May 11, 2018, 02:46:54 PM »
thank you guys so much for all the info...im sure this wont be my last question

heres a link to my youtube channel just in case you guys wana check out my build.....any feedback or tips and pointers would be appreciated

https://www.youtube.com/user/gus3291/videos?view_as=subscriber
Re: Plasma Z floating head
« Reply #26 on: May 12, 2018, 12:43:00 AM »
Hello all I have Built a CNC plasma/router. The plasma is my first priority and I am pulling my hair out trying to get the touch off to work. I am cutting a few letters out that is encompassed by an oval to make a plaque.  The program starts out with a probe as it should. it raises up for pierce and delays, it cuts out the first letter. Then it raises the safe Z (.5") rapids to the next letter and probes. rather than zeroing again it raises up around an inch and then starts to cut the letter 1" above the steel. it shows that it is at cut height on the dro but it is not. The next letter it will stair step up even higher and each letter does the some until the z axis runs up to its limit. I have included the first part of the code below to let you see what fusion produced. each contour in the program has this same start to the profile. I am new to Mach so hopefully this is easy. Thanks in advance

  • Running mach3
    nvem ethernet controller.
    drawing and producing code in fusion 360
    I have modified one of the latest posts off of the Fusion forum For a G31 touch off

Code: [Select]
(Plaque)
N10 G20
N15 G90

(2D Profile2)
N20 M6 T1
N25 G54
N30 M9
N40 G0 X0.3374 Y1.0667
N50 G31 Z-100
N55 G92 Z 0.05 reseting axis
N60 G0 Z 0.2
N65 M3
N70 G4 P 2
N75 G0 Z 0.15
N80 G1 X0.3863 Y1.0771 F39.37
N85 G2 X0.387 Y1.0789 I0.0295 J-0.0096
N90 G1 X0.3889 Y1.0838
N95 Y1.0839




Re: Plasma Z floating head
« Reply #27 on: May 12, 2018, 09:03:36 PM »
Hi,
the code you have posted looks like it doesn't  quite cover the first letter....can you post more so that we can see how the code calls for the transition from one letter
to the next.

Craig
My wife left with my best friend...
     and I miss him!
Re: Plasma Z floating head
« Reply #28 on: May 18, 2018, 12:12:06 AM »
Thank you for the reply. The code is quite long but, here are a few letters. I took at some of the Mumbo Jumbo in the Midddle

Weldsmith

Code: [Select]
(Plaque)
N10 G20
N15 G90

(2D Profile2)
N20 M6 T1
N25 G54
N30 M9
N40 G0 X0.3374 Y1.0667
N50 G31 Z-100
N55 G92 Z 0
N60 G0 Z 0.1
N65 M3
N70 G4 P 1.5
N75 G0 Z 0.065
N80 G1 X0.3863 Y1.0771 F39.37
N85 G2 X0.387 Y1.0789 I0.0295 J-0.0096
N90 G1 X0.3889 Y1.0838
N1900 X0.3833 Y1.0676
N1905 Y1.0678
N1910 X0.3848 Y1.0724
N1915 Y1.0725
N1920 X0.3863 Y1.0771
N1925 X0.3529 Y1.1143
N1930 M5
N1935 G0 Z 0.5

(2D Profile3)
N1945 M6 T1
N1950 M9
N1960 G0 X0.8993 Y0.9748
N1970 G31 Z-100
N1975 G92 Z 0
N1980 G0 Z 0.1
N1985 M3
N1990 G4 P 1.5
N1995 G0 Z 0.065
N2000 G1 X0.9778 Y0.9904 F39.37
N2005 X1.0878 Y1.3138
N2010 X1.0105

N3570 X0.9721 Y0.9749
N3575 X0.974 Y0.9801
N3580 X0.9759 Y0.9854
N3585 X0.9778 Y0.9904
N3590 X0.925 Y1.0505
N3595 M5
N3600 G0 Z 0.5

(2D Profile4)
N3610 M6 T1
N3615 M9
N3625 G0 X1.3546 Y1.2446
N3635 G31 Z-100
N3640 G92 Z 0
N3645 G0 Z 0.1
N3650 M3
N3655 G4 P 1.5
N3660 G0 Z 0.065
N3665 G1 X1.3146 Y1.3138 F39.37
N3670 X1.2168
N3675 X1.19 Y1.2351
N3680 X1.231
N3685 G2 X1.2603 Y1.1941 I0. J-0.031
N3690 G1 X1.1317 Y0.816
N3695 X1.2081
N3700 X1.3435 Y1.2141
N3705 G2 X1.3729 Y1.2351 I0.0293 J-0.01
N3710 G1 X1.4357
N3715 X1.4625 Y1.3138
N3720 X1.3146
N3725 X1.2746 Y1.2446
N3730 M5
N3735 G0 Z 0.5

(2D Profile5)
N3745 M6 T1
N3750 M9
N3760 G0 X1.4445 Y1.0039
N3770 G31 Z-100
N3775 G92 Z 0
N3780 G0 Z 0.1
N3785 M3
N3790 G4 P 1.5
N3795 G0 Z 0.065
N3800 G1 X1.4745 Y0.9519 F39.37
N3805 X1.5461
N3810 X1.5653 Y1.0082
N3815 X1.4261
N3820 X1.407 Y0.9519
N3825 X1.4745
N3830 X1.5045 Y1.0039
N3835 M5
N3840 G0 Z 0.5

Re: Plasma Z floating head
« Reply #29 on: May 18, 2018, 12:28:50 AM »
Hi,
I would guess that its the M6 T1 and/or the M9 lines between letters.

Do you actually need a toolchange? I suspect not. May I suggest commenting out the M6 T1 lines,
or edit them out, even just the first few occurances, and see what happens.

Craig
My wife left with my best friend...
     and I miss him!