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

More
8 years 2 months ago #116138 by andypugh

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.

More
8 years 2 months ago #116140 by andypugh

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.

More
8 years 2 months ago #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 to join the conversation.

More
8 years 2 months ago #116142 by tecno

Please Log in to join the conversation.

More
8 years 2 months ago #116143 by tecno

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.

More
8 years 2 months ago #116148 by andypugh

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.

More
8 years 2 months ago #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 to join the conversation.

More
8 years 2 months ago #116152 by andypugh
No, those nets are correct, butt here are 30 other pins to set the values of.

Please Log in to join the conversation.

More
8 years 2 months ago #116153 by tecno

Please Log in to join the conversation.

More
8 years 2 months ago #116158 by andypugh
Yes. You have 10 gears and each has a max, min and gear ratio pin.

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum