THC300 float switch config

More
22 Apr 2013 21:33 - 22 Apr 2013 21:34 #33002 by mariusl
Hi all,
I am using the THC300 config provided in the examples. I use a component in place of the hardware. The component provides the up/down signals as well as the arc_ok signal.

I have a problem that the torch fires while the tip is still on the plate and in the process of pulling up to the cut height. At this time the float switch is still closed as well.
Any suggestions please?

Regards
Marius


www.bluearccnc.com

Last edit: 22 Apr 2013 21:34 by mariusl.

Please Log in or Create an account to join the conversation.

More
22 Apr 2013 22:20 #33006 by BigJohnT
Replied by BigJohnT on topic THC300 float switch config
My suggestion would be to use a normal config and the thcud component . The THC300 example is way too complicated IMHO.

John

Please Log in or Create an account to join the conversation.

More
23 Apr 2013 00:25 #33012 by mariusl
Replied by mariusl on topic THC300 float switch config
Good suggestion John. I will build it into my first design. I am on number three already.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 18:06 #33377 by mariusl
Replied by mariusl on topic THC300 float switch config
John,
I am using your thcud component. I changed what I had to in order for thc to work. One question please. In the touchoff.ngc I set a G92.1 ond then Z50. As my Z max limit is set at 5mm, I get an error that the move will exceed the max limit. In actual fact the torch is 200mm away from the limit. Is there a way to overcome this situation?

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 18:51 #33380 by BigJohnT
Replied by BigJohnT on topic THC300 float switch config
That would be the expected behavior when you reset the G92 offset.

linuxcnc.org/docs/html/gcode/gcode.html#sec:G92_1-G92_2

John

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 19:51 #33386 by mariusl
Replied by mariusl on topic THC300 float switch config
I understand what G92.1 does. I am asking if you have any suggestions to overcome that in my setup. The Z has a home switch right at the top of the travel and the job is as far as 200mm down from there.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 20:00 #33389 by BigJohnT
Replied by BigJohnT on topic THC300 float switch config
Can you supply more information, I don't understand what your trying to do...

John

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 20:24 #33392 by mariusl
Replied by mariusl on topic THC300 float switch config
Ok - here goes.
The gantry of the plasma is about 200mm high (from the job). It has a limit/home switch at the top where the zero sits after the homing cycle. I have floating head with a limit switch that has travel between open and close so I have to do a G38.2 to probe downwards and then a G38.4 to get the switch to open again. Now with the z max limit set at 5mm away from the home switch, you can see that the G38.4 will have a problem to move to 50mm. Axis will not allow it.

This is the touchoff code.
o<touchoff> sub
(#1 pierce height, #2 pierce delay, #3 cut height, #4 switch offset)
F500
G38.2 Z-200 (Probe to find the surface)
G38.4 Z50 (Probe to find the switch open)
G91
G1 Z#4 (Raise up to Offset of switch)
G90
G92 Z0 (Set Z0)
G1 Z#1
M3 S1
M66 P0 L3 Q5 (Wait for Arc OK from Torch)
G4 P#2 (Pause for pierce delay)
F500
Z#3 (goto cut height)
o<touchoff> endsub
M2

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 20:59 #33394 by BigJohnT
Replied by BigJohnT on topic THC300 float switch config
That's why I just do a relative move to move after the G38.2 move to raise the torch the material Z0 then set my G92 offset for Z.

To do it your way you would have to set the G92 offset before the G38.4 move then set G92 after or be in G91 relative mode before the G38.4 move.

John

Please Log in or Create an account to join the conversation.

More
29 Apr 2013 21:09 #33395 by mariusl
Replied by mariusl on topic THC300 float switch config
Thanks John, I will try that. I am probably getting confused between the absolute and incremental states.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.161 seconds
Powered by Kunena Forum