LinuxCNC Features - a kind of NGCGUI

More
13 years 3 months ago #37321 by Nick
Replied by Nick on topic LinuxCNC Features - a kind of NGCGUI
You've added: #<l> = [-#<l>]
to
Code:
O<probe-if-01> IF [#<latch> LT 0] (latch backwards material) (print ["%s - %s"%/i,/ for i in [38.2,38.3,38.4,38.5]]) (Flip probe func ['38.2 - 38.4', '38.3 - 38.5', '38.4 - 38.2', '38.5 - 38.3']) #<probe_func> = [[#<probe_func>*10-380] MOD 4 / 10 + 38.2] #<l> = [-#<l>] G#<probe_func> F#<latch_feed> X[#5*#<l>] Y[#6*#<l>] Z[#7*#<l>] O<probe-if-01> ENDIF
Why?
Lets take probing to Z-10 and latch = -1
Then we will have
l = -1/10
and G#<probe_func> F#<latch_feed> Z[-10 * [-1/10 ]]
I.e. probe to Z1 that is seems to be fine

But if we add #<l> = [-#<l>]
we will probe on the same direction again...

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

More
13 years 2 months ago #37423 by pacoblasco
Replied by pacoblasco on topic LinuxCNC Features - a kind of NGCGUI
Think on it.
When you are detectecting by approaching to the material, there are three moves:
- 1. Goto marterial
- 2. Go back (l = -l)
- 1. Goto material slower

When you are using the other aproaching (detecting by separating from the material):
- 1. Goto matertial
- 2. Go back slower until no contact (l must be l=-l)

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

More
13 years 2 months ago - 13 years 2 months ago #37425 by Nick
Replied by Nick on topic LinuxCNC Features - a kind of NGCGUI

When you are using the other aproaching (detecting by separating from the material):
- 1. Goto matertial
- 2. Go back slower until no contact (l must be l=-l)


Yep, but latch is already less than zerro:
IF [#<latch> LT 0]
So to latch backwards we need to probe in the direction that will point to (first probing vector)*latch, where latch is less than 0.
Last edit: 13 years 2 months ago by Nick.

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

More
13 years 2 months ago #37440 by EmcRules
Replied by EmcRules on topic LinuxCNC Features - a kind of NGCGUI
Nick,

I've Installed features on 2.5.3 and am testing it now. Looks really good!!! The only difference was that i had to move my features.ui file to the same directory as my linuxcnc.ini file. Is there a drawing feature for milling or is that only for lathe work? It would be nice to have the drawing feature for milling.

Great work!!!

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

More
13 years 2 months ago #37441 by Nick
Replied by Nick on topic LinuxCNC Features - a kind of NGCGUI
You can try to add it into milling catalog.... but as of now I'm not sure that it will work together with multipass mill....

As of now we have to figure out what to develop next or which features should be modified...

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

More
13 years 2 months ago #37442 by EmcRules
Replied by EmcRules on topic LinuxCNC Features - a kind of NGCGUI
Yeah I hear you. Looking at the source code I can try to play with what i'm thinking. Additions don't seem to be too bad.

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

Time to create page: 7.476 seconds
Powered by Kunena Forum