- Posts: 21
- Thank you received: 0
How to prevent the torch from moving up?
3 years 5 months ago #271470
by Bl484
How to prevent the torch from moving up? was created 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
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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
3 years 5 months ago #271479
by tommylight
Replied by tommylight on topic How to prevent the torch from moving up?
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?
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 to join the conversation.
3 years 5 months ago #271487
by Bl484
Replied by Bl484 on topic How to prevent the torch from moving up?
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!
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 to join the conversation.
3 years 5 months ago #271490
by phillc54
Replied by phillc54 on topic How to prevent the torch from moving up?
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.
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.
Please Log in to join the conversation.
3 years 5 months ago #271573
by Bl484
Replied by Bl484 on topic How to prevent the torch from moving up?
Thanks,
You got my point.
So, is it possible to remap the M05 to prevent rising the torch?
You got my point.
So, is it possible to remap the M05 to prevent rising the torch?
Please Log in to join the conversation.
3 years 5 months ago #271581
by Bl484
Replied by Bl484 on topic How to prevent the torch from moving up?
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?
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 to join the conversation.
3 years 5 months ago #271596
by phillc54
Replied by phillc54 on topic How to prevent the torch from moving up?
It that will work for you then I will have a look tomorrow.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 to join the conversation.
3 years 5 months ago #271651
by phillc54
Replied by phillc54 on topic How to prevent the torch from moving up?
A quick an dirty method to test whether this may work for you is to change the value via HAL while QtPlasmaC is loaded.
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.
Code:
unlinkp plasmac.safe-height
setp plasmac.safe-height 0.000001
I am assuming a very low value will be good enough to test with.
Please Log in to join the conversation.
3 years 5 months ago #271981
by Bl484
Replied by Bl484 on topic How to prevent the torch from moving up?
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?
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 to join the conversation.
3 years 5 months ago #271985
by phillc54
Replied by phillc54 on topic How to prevent the torch from moving up?
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.
If it is worthwhile I could change the code so that you could set it to zero from the parameters.
Please Log in to join the conversation.
Time to create page: 0.189 seconds
