Spindle Inhibit while Probing.....

More
2 years 3 months ago #305809 by cmorley
Since versa probe is part of the screen you must connect pins in a _postgui_ HAL file.
Did you do that?

Since you are using the optional spindle-raise-on-pause, (which uses spindle.0.inhibit) you must add an OR component so either 'spindle pause' or 'probe installed' will inhibit the spindle.
The following user(s) said Thank You: Roguish

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

More
2 years 3 months ago - 2 years 3 months ago #305810 by Roguish
wow, thanks for the quick reply.
I don't even know what the spindle-raise-on-pause is.... or where it is.
I am using the supplied sim.qtdragon.qtdragon_inch.ini      see the attached .ini file.
I do not see the raise thing anywhere. not in the .ini or in the .pref
Where does 'spindle pause' come from?
I see in the SETTINGS panel, there is a SPINDLE RAISE. it's set to 0. when the heck does it take effect?
I know how to use hal. Been doing it for a long time. and I definitely RTFM.   I do realize documentation is not much fun, but it's needed........and so is updating it.

ok, checking the current docs.  found 'Auto Raise Z Axis on Spindle Pause'
it says there are buttons.  not so.....OK just found it.  not in setting like it ought to be.  it's on the start/stop/etc.... page.

 

File Attachment:

File Name: qtdragon_inch.ini
File Size:6.23 KB

 
Last edit: 2 years 3 months ago by Roguish.

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

More
2 years 3 months ago #305811 by cmorley
Show me a pic of your qtdragon screen.

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

More
2 years 3 months ago - 2 years 3 months ago #305812 by Roguish
once again.  thanks for the quick reply.
see attached image.

also I keep deleting this, but it keeps coming back..

[VERSA_PROBE OPTIONS]
ps_probe_tool = 99

*******
ok, did some more careful reading and hal coding.
added this to the postgui hal file

#####net spindle-pause     qtdragon.spindle-inhibit       =>   spindle.0.inhibit
##
## these are in simulated_home.hal
###loadrt or2 names=or2_0,or2_spin
###addf or2_0    servo-thread
###addf or2_spin servo-thread
net tmp1  qtdragon.spindle-inhibit    or2_spin.in0
net tmp2  qtversaprobe.probe-loaded   or2_spin.in1
net spin-off  or2_spin.out   spindle.0.inhibit





 
Last edit: 2 years 3 months ago by Roguish.

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

More
2 years 3 months ago #305818 by cmorley
You are using the development version of linuxcnc.
Documentation will never be perfect, It's lucky there are any updated documentation in the master version, mostly because it constantly changes and a lack of time.
Obviously we are not paid to do this work.

It is expected that you will try to figure things out yourself and then ask questions on what you can't.
Some people then write new documentation from the info they figured out and/or were told about and offer it to linuxcnc, so as to help out. This is very helpful.
It's in fact harder to write good docs when you already know how something is supposed to work as you don't think about other ways to operate the feature.

Ok which problem do you want to work on first?

You can see in the picture there is a button that says 'no lift' eg spindle lift is turned off.
You can see in the pic the setting 'spindle raise' is set to 0 inches eg no spindle raise amount.
If you set these to 'spindle raise' and 1 inch respectably, run a program and then pause the program, you should see the program pause and the spindle stop and the spindle raise 1 inch.
This absolutely works in the sim configs.

This new feature - inhibit spindle when probe is loaded- is new so the sim has not integrated it.

Both features require controlling the spindle.0.inhibit pin. you can't normally have two driver pins connected to an input. If you use an OR2/logic component (or classicladder/custom component) you can.
You would need to connect qtdragon.spindle-inhibit to one OR input and qtversaprobe.probe-loaded to the other OR input and connect the OR output to spindle.0.inhibit
Now either event will inhibit the spindle.

if you erase the preference file entries while linuxcnc is not running and don't run any version that still uses the old version of versaprobe,you won't see it again.


Chris
The following user(s) said Thank You: Roguish

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

More
2 years 3 months ago #305819 by Roguish
and again. thanks for the quick reply.
note my last edit in my last post.
I did add some hal commands, and I think it's working ok now.
 

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

Moderators: cmorley
Time to create page: 0.096 seconds
Powered by Kunena Forum