7i96 software encoder problem

More
09 Nov 2021 16:00 #225849 by ollied1981
Ah sorry I wasn't very clear there. I'd like to use P1 exclusively for the MPG. I've got the VFD connected to the SSR outputs for the enable and fwd, and will use the PWM on step/dir 4 for the PWM to the VFD.

Is it possible to use just one of the encoders on P1 in 7i96_1pwm_inmdp1.zip and use the rest of P1 for the other MPG switches? What would that encoder on P1 be called?

Thanks in advance,

Oliver

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

More
09 Nov 2021 18:28 #225862 by PCW
Replied by PCW on topic 7i96 software encoder problem
hm2_7i96.0.inm.00.enc0-count
hm2_7i96.0.inm.00.enc1-count
hm2_7i96.0.inm.00.enc2-count
hm2_7i96.0.inm.00.enc3-count

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

More
10 Nov 2021 13:10 #225980 by ollied1981
Hi Peter,
Thanks for that! Do the inm encoders start in A/B pairs at P1 pin 1 / IO34 onward?

If I set number of encoders to 2 will that correspond to the encoder on TB2 plus one inm encoder on P1?

Thanks in advance,

Oliver

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

More
10 Nov 2021 15:27 - 10 Nov 2021 15:29 #225991 by PCW
Replied by PCW on topic 7i96 software encoder problem
The inm encoders are always present
and they start at inm0 and continue to inm7
(Enc0 a,b, Enc1 a,b etc))
Last edit: 10 Nov 2021 15:29 by PCW.

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

More
10 Nov 2021 15:31 #225992 by ollied1981
Starting from IO34 of P1 on the 7i96 onwards?

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

More
10 Nov 2021 15:56 #225996 by PCW
Replied by PCW on topic 7i96 software encoder problem
Not sure off hand,

mesaflash --device 7i96 --addr 10.10.10.10 --readhmid

should show the particulars of that bit file

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

More
10 Nov 2021 16:05 #225999 by ollied1981
Will give it a go...thanks for your patience :)

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

More
15 Nov 2021 08:27 - 15 Nov 2021 14:34 #226555 by ollied1981
Hi Peter,
I got it working perfectly with the MPG pendant on P1. Thanks for your help!

Oliver
Last edit: 15 Nov 2021 14:34 by ollied1981.

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

Moderators: PCWjmelson
Time to create page: 0.133 seconds
Powered by Kunena Forum