Best HAL function 2 contol bits for S32 in, 1 of 4 out?

More
07 Jul 2025 20:21 #331485 by slowpoke
I have two rotary switches, each switch has 2 outputs driving inputs on a MESA card as 00,01,10,11

Switch #1 is used to select MPG increment 0, 0.0001", 0.001", 0.01"  I'm using a MUX4 to control that. No problem with this.

Switch#2 is for selection of where the MPG ticks   ( net encoder-counts  <= hm2_7i96s.0.inm.00.enc1-count ),gets routed, so to either:
X, Z, C (Compound), or N(None), so....
axis.x.jog-counts
axis.z.jog-counts
anglejog.counts-in
or to nowhere when position N is selected






 

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

More
07 Jul 2025 20:42 #331489 by PCW
Typically this is done by by connecting the MPG count to all axis
and selectively enabling jogging on the desired axis
The following user(s) said Thank You: slowpoke

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

Time to create page: 0.095 seconds
Powered by Kunena Forum