Ohmic Probe + Material Height Feature Request

More
1 year 6 months ago #326077 by EW_CNC
I would like to suggest a feature to fine tune ohmic probing.
Problem: When I set the probe height to an optimal setting for a thin steel setting, it will be too low for thicker steel, and set for thick steel it has excess travel.
My solution would be to add the material thickness to the plasmac.probe-start-height.
Keep the probe height setting function the same, but add a new setting into each material entry for material thickness.
To try to see if it would work, I used the puddle jump delay setting and used the sum2 function to add that number to the probe height. It seemed to work as expected.
With material thickness added the probe height should be more consistent with the top of the material.

This is the code I added to the custom_postgui.hal file.
Code:
unlinkp plasmac.probe-start-height unlinkp qtplasmac.probe_start_height-f unlinkp qtplasmac.puddle_jump_delay-f net material-thick          sum2.0.in0 <= qtplasmac.puddle_jump_delay-f net probe-start-height      sum2.0.in1 <= qtplasmac.probe_start_height-f net probe-material-height   sum2.0.out => plasmac.probe-start-height

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

More
1 year 6 months ago #326136 by snowgoer540
I’ve had a similar thought in the past, with regard to speeding things up.  I was thinking of automatically compensating the probe height based on material thickness, as you said, added to the material fields.

I like the idea, and since someone has officially asked for it, I’ll start looking into making it happen.

Give me some time, I’ll let you know when it’s ready for you to try out.  It will be added to 2.10 by the way.  
The following user(s) said Thank You: EW_CNC

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

More
1 year 6 months ago #326138 by EW_CNC
I just updated my plasma to 2.10 so that will be fine.
Take your time, so far I'm liking the improvements you contributed to QtPlasmaC. It's been awhile since I had last updated, so now I'm trying to catch up!
The following user(s) said Thank You: snowgoer540

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

More
11 months 1 week ago #339181 by EW_CNC
I have added the Material Thickness parameter option for Ohmic Probe with Material Height.

The updated files are in the attached qtvcp folder. It needs to be placed into your working machine config directory.
Also the attached custom_postgui.hal must also be in your machine config folder.

The qtplasmac-imperial_material.cfg file has the material thickness added, it has the settings for a Hypertherm Powermax 85.

Snowgoer, I'm not sure if the custom_postgui file is the proper place to do the hal pin linking. If you have time to review the changes and add it to the source code, I would appreciate it. Otherwise I can try to figure out git and do a pull request.



File Attachment:

File Name: qtvcp.tar.gz
File Size:780.3 KB

File Attachment:

File Name: custom_postgui.hal
File Size:428 B

File Attachment:

File Name: qtplasmac-...rial.txt
File Size:24 KB
The following user(s) said Thank You: tommylight

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

More
11 months 1 week ago #339206 by snowgoer540
In fairness, you did say "take your time" :-).  I honestly didn't realize it has been since April that we talked about this.

I have a ~75% diff created.  I will try to make time to see this to completion in the coming days.  I'll take a look at what you've provided and no doubt merge it with what I've got and it'll be a nice little collaboration. 

Thank you for providing what you did, I will let you know when I've committed everything!
The following user(s) said Thank You: tommylight, EW_CNC

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

More
10 months 1 week ago #340408 by snowgoer540
I finally got this to the finish line.  Thank you for what you provided, but from a qtplasmac standpoint all development on 2.9 has ceased.  I have pushed this update, and book ended it with some bug fixes, but to the master branch only (2.10).

github.com/LinuxCNC/linuxcnc/commit/4e26...712bc80a993377610a37

Your way seems like it would work though. 

All that said, I would encourage you to move to 2.10 and test these features if your production risks allow it.  There have been a fairy amount of bug fixes/feature updates since 2.9.
The following user(s) said Thank You: EW_CNC, NWE

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

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