Adding 3rd MPG to 7i84
- tightmopedman9
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 7
22 Jul 2022 16:41 #248052
by tightmopedman9
Adding 3rd MPG to 7i84 was created 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.
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
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)
some data (or uses the new expanded sserialb)
Please Log in or Create an account to join the conversation.
- tightmopedman9
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 7
22 Jul 2022 20:53 #248071
by tightmopedman9
Replied by tightmopedman9 on topic Adding 3rd MPG to 7i84
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.
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23320
- Thank you received: 4946
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...
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.
- tightmopedman9
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 7
31 Jul 2022 20:13 - 31 Jul 2022 20:13 #248750
by tightmopedman9
Replied by tightmopedman9 on topic Adding 3rd MPG to 7i84
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.
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18548
- Thank you received: 5095
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
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.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20200
- Thank you received: 6874
31 Jul 2022 21:30 #248758
by tommylight

Thank you.
Replied by tommylight on topic Adding 3rd MPG to 7i84
Nice to know, i have 2 of 7i84 still waiting for some love ... or time.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

Thank you.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.066 seconds