How to prevent the torch from moving up?

More
16 May 2023 21:13 #271470 by Bl484
Hi
I use QtplasmaC cutting configuration in Linuxcnc. How can I prevent the torch of the plasma machine from moving up, when I change material during the cutting process in Linuxcnc software?

When I use the following code which recommended by Linuxcnc, the torch goes up. but I don't want it.F#<_hal[plasmac.cut-feed-rate]>
M3 $0 S1
.
.
M5 $0

Could you please help me how to solve my problem?

Thanks

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

More
16 May 2023 22:24 #271479 by tommylight
Not sure what you want???
Moving torch up is basic plasma stuff, so i do not get it why would you want it down during changing material?
To break it easier? :)

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

More
16 May 2023 22:58 #271487 by Bl484
Thank you for your quick response.

You are right! When you use a plasma cutting machine, the torch should move up for every material change.
But, I want to use this configuration of Linuxcnc to run another machine which I designed for a special project.
All the features of the PlasmaC configuration are along with my purpose except moving up the torch!

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

More
17 May 2023 00:01 #271490 by phillc54
The torch height is controlled using external offsets:
linuxcnc.org/docs/devel/html/motion/external-offsets.html

It is not a material change that causes the torch to rise, it is part of a sequence of events stated by a spindle stop (M5 $0) or an error/abort during a cut.

You could possibly prevent it with a bit of hal work on the axis.z.eoffset-enable pin. You would need to be very careful is this would cause repercussions later if the Z axis is not where it is expected to be.
The following user(s) said Thank You: Bl484

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

More
17 May 2023 22:52 #271573 by Bl484
Thanks,
You got my point.
So, is it possible to remap the M05 to prevent rising the torch?

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

More
17 May 2023 23:35 #271581 by Bl484
Another question:
The safety height parameter controls the amount of rising of the torch.
But I cannot set this parameter to zero!
If I could have set it to zero, my problem would have been solved.
Do you have any suggestions?

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

More
18 May 2023 08:13 #271596 by phillc54

Another question:
The safety height parameter controls the amount of rising of the torch.
But I cannot set this parameter to zero!
If I could have set it to zero, my problem would have been solved.
Do you have any suggestions?

It that will work for you then I will have a look tomorrow. 

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

More
19 May 2023 06:05 - 19 May 2023 06:12 #271651 by phillc54
A quick an dirty method to test whether this may work for you is to change the value via HAL while QtPlasmaC is loaded.
unlinkp plasmac.safe-height 
setp plasmac.safe-height 0.000001
You cannot use zero as there is an inbuilt fallback which sets it to maximum Z height if zero is detected.
I am assuming a very low value will be good enough to test with.
Last edit: 19 May 2023 06:12 by phillc54. Reason: setp, not set
The following user(s) said Thank You: Bl484

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

More
22 May 2023 23:43 #271981 by Bl484
Thanks a lot. It works.
 When I used your recommended HAL command, It worked. But I cannot use them in HAL files (and *.pref file)!
When I set the safe height parameter to a non-integer number, the software does not accept it, and this parameter will change to 100!
It means I should adjust it every time in the setting panel and use the HAL command.
Do you have any suggestions?
 

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

More
23 May 2023 00:15 #271985 by phillc54
Can you try the commands in a postgui Hal file.

If it is worthwhile I could change the code so that you could set it to zero from the parameters.
 
The following user(s) said Thank You: Bl484

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

Moderators: snowgoer540
Time to create page: 0.279 seconds
Powered by Kunena Forum