Adding 3rd MPG to 7i84

More
22 Jul 2022 16:41 #248052 by tightmopedman9
Is there any 'elegant' solution to adding more than two MPG inputs to a 7i84? 

I'm already using the two built in encoder/MPG inputs, but would like to interface one more 5v MPG. The only solution I've come up with so far is a wcomp for the MPG outputs, and tying these outputs to encoder.N.phase-A/B. 

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

More
22 Jul 2022 17:14 #248054 by PCW
Replied by PCW on topic Adding 3rd MPG to 7i84
I think the limit is the sserial packet size but I guess a variant could be made that drops
some data (or uses the new expanded sserialb)

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

More
22 Jul 2022 20:53 #248071 by tightmopedman9
Are you saying that it is possible to add additional encoders to the 7i84 by modifying the firmware? I assumed that the encoder limit was hardware based, not software.

I am only using 4 outputs, so I could lose some outputs, if that meant I could pick up an additional encoder.

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

More
29 Jul 2022 11:55 #248613 by andypugh
Replied by andypugh on topic Adding 3rd MPG to 7i84
What is the 7i84 plugged in to? Does that have a spare smart-serial port for a 7i73 (for example)

Also, don't discount the possibility of using GPIO pins and the software encoder counter. It _will_ miss counts if you wind at faster than 1000 c/s but that is 600 rpm for a 100-count MPG. At that speed of hand-twiddling I doubt that you would notice...

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

More
31 Jul 2022 20:13 - 31 Jul 2022 20:13 #248750 by tightmopedman9
The encoder is for a 20ppr MPG knob for spindle speed override.

The 7i84 is connected to a 7i77, which does have a spare encoder input. I could use that input, but the knob is already wired to the 7i84 and I don't want to add additional wires from the control cabinet to the main enclosure.

I have 24v for the 7i84's field power supply, but the MPG is 5v. The only solution I've come up with is connecting the MPG to an analog input on the 7i84, and then in HAL passing the signal to a WCOMP and then to the software encoder. I was just wondering if there was a more elegant solution.
Last edit: 31 Jul 2022 20:13 by tightmopedman9.

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

More
31 Jul 2022 21:19 #248756 by PCW
Replied by PCW on topic Adding 3rd MPG to 7i84
There is 7I84 firmware (7I84ET.BIN) that allows you to set the external thresholds
of the A and B inputs from LinuxCNC, that might simplify the software encoder a bit
The following user(s) said Thank You: tommylight

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

More
31 Jul 2022 21:30 #248758 by tommylight
Replied by tommylight on topic Adding 3rd MPG to 7i84

There is 7I84 firmware (7I84ET.BIN) that allows you to set the external thresholds
of the A and B inputs from LinuxCNC, that might simplify the software encoder a bit

Nice to know, i have 2 of 7i84 still waiting for some love ... or time. :)
Thank you.

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

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