- Posts: 19306
- Thank you received: 0
Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
rodw wrote: I'm not a fan of ever using for() loop in an interrupt service routine (which is what the servo-thread is).
There is no problem running a loop that can only ever execute 10 times. like this one.
The problem is any loop that can potentially wait an unknown and long time.
Please Log in to join the conversation.
Hakan wrote: The gear you need is an "int pin". It must be possible to get the int from that pin into the glade view. "Must" as in "I guess".
HAL_label looks like it could display the required gear:
linuxcnc.org/docs/2.7/html/gui/gladevcp.html#gladevcp:hal-label
But a telltale LED on the high / low and ABCDE levers when a gear change is needed would be cooler.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
andypugh wrote:
Hakan wrote: The gear you need is an "int pin". It must be possible to get the int from that pin into the glade view. "Must" as in "I guess".
HAL_label looks like it could display the required gear:
linuxcnc.org/docs/2.7/html/gui/gladevcp.html#gladevcp:hal-label
But a telltale LED on the high / low and ABCDE levers when a gear change is needed would be cooler.
Yes I agree that this would be very cool to have.
Please Log in to join the conversation.
tecno wrote: No
OK, well, you need to "setp" all the speed limit and ratio pins before it will work properly
Please Log in to join the conversation.
# gearbox input signals
# gearbox Hi/Lo
net gearblocker.0.high-gear <= hm2_7i76e.0.7i76.0.0.input-15
# gearbox A - B - C - D - E
net gearblocker.0.gear-A <= hm2_7i76e.0.7i76.0.0.input-10
net gearblocker.0.gear-B <= hm2_7i76e.0.7i76.0.0.input-11
net gearblocker.0.gear-C <= hm2_7i76e.0.7i76.0.0.input-12
net gearblocker.0.gear-D <= hm2_7i76e.0.7i76.0.0.input-13
net gearblocker.0.gear-E <= hm2_7i76e.0.7i76.0.0.input-14
Any example to kick me on the right track
Will be on and off next few days as hunting season started today here.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
