Hello Guest it is March 28, 2024, 05:20:54 AM

Author Topic: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA  (Read 35828 times)

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #170 on: February 28, 2018, 12:02:02 PM »
Really interesting, on my second pierce, when it goes to probe it changed my cutting speed From 130 ipm  to 30 ipm.?

ok my fault will give you new code soon
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #171 on: February 28, 2018, 12:07:00 PM »
Thanks for all the help, I really appreciate it.
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #172 on: February 28, 2018, 12:24:42 PM »
I removed  the f30 line out and it fixed it. Now I just need to figure out why the THC is diving on 2nd pierce.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #173 on: February 28, 2018, 12:44:02 PM »
Really interesting, on my second pierce, when it goes to probe it changed my cutting speed From 130 ipm  to 30 ipm.?

I have never seen this, as far as i know, the only things that can change the speed are :- Code, Feed Override, MDI

If yours is changing outside these commands then you have a problem I think.
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #174 on: February 28, 2018, 12:54:54 PM »
It was the code, I got it fixed it’s good now. The problem I’m running into now is with my THC. The code will run great through the first pierce, but when it picks itself up to go to pierce #2, it only raises up “x” instead of raising up 1”. This throws the Z axis location off in MACH and then drives into material on next cut.
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #175 on: February 28, 2018, 12:58:18 PM »
Could it be because I’m using a PP that is designed to run without a THC?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #176 on: February 28, 2018, 01:36:26 PM »
Could it be because I’m using a PP that is designed to run without a THC?

Doubtful, the port won't know a plasma cutter form a mill - its just a port.

After the cut, there should be an M05 which turns the torch off, then a G00 Znn where nn is your clearance height.

The clearance height is relative to the height by your probing routine, if the probing works, then the torch tip should return to clearance height after every cut.

Any chance you can show some code?
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #177 on: February 28, 2018, 01:48:41 PM »
everything seems ffine to me,..,
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #178 on: February 28, 2018, 01:54:01 PM »
When I run my code without the THC inputs active and with just probing, it (probing) works flawlessly. It’s when I activate my THC inputs in Mach then turn my THC on in the plasma sceeenset.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: MACH3PLASMA LIMIT SWITCHES FOR G540/PROMA
« Reply #179 on: February 28, 2018, 02:01:54 PM »
ok this code should work, and restore original feedrate

pierceHeight = 0.5 'enter here a value for wanted pierceheiht

   orgspeed=GetDro(18)    
   code "F30"
   code "G31 Z-1"
   While Ismoving()
   Wend

   code "G00 Z" & GetVar(2002) 'go back to the  probepoint
   While Ismoving()
   Wend

   code "G91 Z" & pierceHeight
   While Ismoving()
   Wend

   code "G92 Z0"
   While Ismoving()
   Wend

   Code "G90"
   Code "F" & orgspeed
   
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.