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

More
16 Aug 2018 13:07 #116138 by andypugh

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 or Create an account to join the conversation.

More
16 Aug 2018 13:11 #116140 by andypugh

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 or Create an account to join the conversation.

More
16 Aug 2018 13:12 #116141 by andypugh
Did you figure out that you need to "setp" all the speed limits and gear ratios to the correct values in the HAL file?

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

More
16 Aug 2018 13:13 #116142 by tecno

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

More
16 Aug 2018 13:15 #116143 by tecno

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 or Create an account to join the conversation.

More
16 Aug 2018 13:27 #116148 by andypugh

No


OK, well, you need to "setp" all the speed limit and ratio pins before it will work properly :-)

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

More
16 Aug 2018 13:57 #116151 by tecno
So it is following net signals that need to be setp ?

# 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 or Create an account to join the conversation.

More
16 Aug 2018 13:59 #116152 by andypugh
No, those nets are correct, butt here are 30 other pins to set the values of.

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

More
16 Aug 2018 14:02 #116153 by tecno

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

More
16 Aug 2018 14:13 #116158 by andypugh
Yes. You have 10 gears and each has a max, min and gear ratio pin.

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

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