Hello Guest it is March 28, 2024, 07:07:08 AM

Author Topic: Disable/enable THC300  (Read 4232 times)

0 Members and 1 Guest are viewing this topic.

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Disable/enable THC300
« on: June 01, 2009, 04:37:31 AM »
Hi,
I'm cutting holes about  2" diameter using arc lead-in and -out. Every time at the end of cut, it seems to me torch touches material. Anti dive is ON.
I think I can avoid this when I disable THC300 when I cut holes. I reference the torch before every cut, so I don't need THC function when I cut holes.
How to do this? And also enable again THC for other cuts.
mrpeja

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Disable/enable THC300
« Reply #1 on: June 03, 2009, 05:46:09 AM »
Not sure if there is a button to turn THC on and off but if there is then you could write a macro to press the button and then call that macro from your code.
Hood

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: Disable/enable THC300
« Reply #2 on: June 03, 2009, 09:26:36 AM »
Hi Hood,
Yes, there is a button on the screen to turn THC on and off in Mach3.
The problem is I don't know how to write a macro. I only know OEM codes for this button and associated led.
Can you help me writting the macro?
mrpeja

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Disable/enable THC300
« Reply #3 on: June 03, 2009, 09:58:19 AM »
The macros would be simple, I have just looked and I think the buttons referred to are OEM 222 for OFF and 223 for On.
 So all you would need is

DoOemButton(222) 'Switch THC AnitDive Off

and the other macro would be

DoOemButton(223) 'Switch THC AnitDive On

You would then call these macros m***.m1s and place them in the macro folder of your plasma profile . The *** would be the number you wish to call them, user macros are from 100 up so  m101.m1s and m102.m1s would probably be a good choice. Each time you call m101 from your code or MDI line the THC antidive would switch off and m102 it would switch on.

Hood

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: Disable/enable THC300
« Reply #4 on: June 03, 2009, 12:07:39 PM »
Hood,
I think I misunderstand something.
I mentioned anti dive is for inhibiting torch to dives, when is enabled. (but now it don't works well to me).
What I get if I switch it off?
I want to freeze complete THC function, so torch height will be the same all the time it cuts circle.
mrpeja

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Disable/enable THC300
« Reply #5 on: June 03, 2009, 01:30:35 PM »
Afraid I am not understanding, I thought in your first post you were wanting it off for circles and on for the rest of the cuts, is that not what you want?
 If you are asking what the anti dive does then afraid I dont know as I have never used a plasma.
Hood