Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
29 Aug 2017 12:55 #98143 by tecno

I _think_ that DEFAULT_LINEAR_VELOCITY is what you get with an unshifted arrow and the jog-speed slider at 100%
(And, yes, I think that shifted-arrow will use the 85mm/sec.)

It should be a fairly easy test to check it against the DRO numbers.


Only adjusting numbers in DISPLAY makes a difference, but I can not wrap my head around the numbers.

If I set MAX_LINEAR_VELOCITY to 15 I get 900mm in GUI as max, so what is it that makes this so odd?

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

More
29 Aug 2017 12:57 #98145 by andypugh
15 mm/sec = 900 mm/min

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

More
29 Aug 2017 13:01 #98146 by tecno

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

More
29 Aug 2017 13:03 #98147 by Todd Zuercher
Do you want one button to toggle the coolant on/off, or one button for on and another for off?
The two button solution is simple and you just connect the button input pins to the appropriate Halui pins.
The single button approach requires some hal logic.
forum.linuxcnc.org/forum/47-hal-examples...lood-with-one-button

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

More
29 Aug 2017 13:16 #98148 by tecno
Coolant
1 on/off switch on frontpanel to switch on coolant manually if need be to clean work piece but still use M8 as usual.

Oiler
1 push button to start oiler manually on frontpanel by holding button down = input on 7i73 to go to output on 7i76e but I
also want to have M7 to work temporarily until proper M code is in place for the oiler.

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

More
29 Aug 2017 14:17 #98150 by Todd Zuercher
Why not just set it up as you want it from the start? Personal I'd prefer a more fully automatic arrangement for the machine lube system, and in Linuxcnc it isn't much more complex and requires no more hardware. (less in fact because you won't need the button.)

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

More
29 Aug 2017 14:23 #98151 by tecno
I buy that as regards the oiler but prefer to have manual Coolant switch for cleanup jobs and not having to fiddle with the tackball to activate coolant pump.

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

More
29 Aug 2017 15:18 #98152 by andypugh
I put in three-position switches on my Lathe. Off-Auto-On. "Auto" means "G-code control"
The HAL logic is probably a mux_generic, but I might have used a LUT5.

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

More
29 Aug 2017 15:38 #98153 by tecno
Is this valid and functional?

loadrt xor2 count=1

addf xor2 servo-thread

net cool1 xor2.0.in0 <= iocontrol.0.coolant-flood
net cool2 xor2.0.in1 <= hm2_7i76e.0.7i73.0.1.input-19
net both-on hm2_7i76e.0.7i76.0.0.output-04 <= xor2.0.out

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

More
29 Aug 2017 16:11 - 29 Aug 2017 16:13 #98154 by Todd Zuercher
Valid? Probably. Functional? Not likely.

If your button is a toggle on button (one press turns on, another press turns off) it will turn the flood on and off, but it will reverse the function of M8/M9, when it is turned on.
If the button is an ordinary momentary switch, then it will only do anything while you hold it.

The link I posted to before has every thing you need to set up single button override control of flood (mist would be simular).
loadrt toggle2nist count=1
loadrt toggle count=1
loadrt and2.0 count=1

addf toggle2nist.0 servo-thread
addf toggle.0 servo-thread
addf and2 servo-thread

net coolant-flood <= iocontrol.0.coolant-flood => hm2_7i76e.0.7i76.0.0.output-04

# Flood Coolant Toggle
net coolant-btn <= hm2_7i76e.0.7i73.0.1.input-19 => and2.0.in0
net coolant-ok <= halui.machine.is-on => and2.0.in1 
net coolant-request <= and2.0.out => toggle.0.in 
net coolant-toggle <= toggle.0.out => toggle2nist.0.in
net coolant-is-on <= halui.flood.is-on => toggle2nist.0.is-on
net coolant-on <= toggle2nist.0.on => halui.flood.on 
net coolant-off <= toggle2nist.0.off  => halui.flood.off

Pressing the button when the coolant is off will turn it on, pressing it when it is on will turn it off, and the M8/M9 will still function as normal.
Last edit: 29 Aug 2017 16:13 by Todd Zuercher.

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

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