Issues with simple input on 7i76eu
- BoMadsen
- Away
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
14 Dec 2025 06:49 #340084
by BoMadsen
Issues with simple input on 7i76eu was created by BoMadsen
Hi,
I am trying to convert my DMC2 Mini from the chinese Mach3 board it came with, to LinuxCNC via a Mesa 7i76eu. And I have most of it working by now
But I am having an issue with two simple inputs.
I have two probes, a hight pug and a xy probe, that basically just connects to GND when triggered. They are connected to the mesa with a 10kOhm pull up resistor. This is what I am seeing when I power the machine on:
- The input pin on the Mesa card reads 12v and the input is as expected high/true in hal show
- I then trigger the probe and the input pin now reads 0v, and the input is low/false in hal show
- After I "release" the probe the input pin returns to 12v, BUT the input remains low/false in hal show
Any ideas why the input in hal doesnt return to high when the pin reads 12v with a multimeter
Field power is 24v, and all voltage readings are done between field GND and the input pin.
Thanks in advance
I am trying to convert my DMC2 Mini from the chinese Mach3 board it came with, to LinuxCNC via a Mesa 7i76eu. And I have most of it working by now
I have two probes, a hight pug and a xy probe, that basically just connects to GND when triggered. They are connected to the mesa with a 10kOhm pull up resistor. This is what I am seeing when I power the machine on:
- The input pin on the Mesa card reads 12v and the input is as expected high/true in hal show
- I then trigger the probe and the input pin now reads 0v, and the input is low/false in hal show
- After I "release" the probe the input pin returns to 12v, BUT the input remains low/false in hal show
Any ideas why the input in hal doesnt return to high when the pin reads 12v with a multimeter
Field power is 24v, and all voltage readings are done between field GND and the input pin.
Thanks in advance
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11563
- Thank you received: 3882
14 Dec 2025 07:33 #340085
by rodw
Replied by rodw on topic Issues with simple input on 7i76eu
Wait until someone else confirms but I think your issue is that the Mach3 board senses on the negative side and the 7i76e senses on the positive side. In other words on the 7i76e, you need to switch the input to +24 volts not GND
Read page 24 of the Mesa manual.
Read page 24 of the Mesa manual.
Please Log in or Create an account to join the conversation.
- BoMadsen
- Away
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
14 Dec 2025 09:25 #340090
by BoMadsen
Replied by BoMadsen on topic Issues with simple input on 7i76eu
I am pretty sure that you are correct, at least in the part about the inputs being reversed between the two boards.
But it is my understanding that this is why the pull-up resistor is needed, so that the input at idle is 12v and then when activated goes to 0. So to get the correct logic in linuxcnc I use the xxx-not input signal.
But I don't understand why the hal state doesn't change after the first trigger, even though I can see the voltage change on the input pin.
But it is my understanding that this is why the pull-up resistor is needed, so that the input at idle is 12v and then when activated goes to 0. So to get the correct logic in linuxcnc I use the xxx-not input signal.
But I don't understand why the hal state doesn't change after the first trigger, even though I can see the voltage change on the input pin.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17480
- Thank you received: 5107
14 Dec 2025 15:49 - 14 Dec 2025 15:59 #340094
by PCW
Replied by PCW on topic Issues with simple input on 7i76eu
The 7I76EU inputs have a threshold of 60% of VFIELD when going positive and 40% of VFIELD when going negative.
This means with 24V VFIELD, a voltage below 9.6V is read as low and a voltage above 14.4V is read as high.
This is called hysteresis, and is deliberate behaviour for noise immunity. With a 10 K pullup you end up just in the middle
of this input threshold range, You need a stiffer pullup resistor (say 2.2K) so that you have a valid input to the 7I76EU.
This means with 24V VFIELD, a voltage below 9.6V is read as low and a voltage above 14.4V is read as high.
This is called hysteresis, and is deliberate behaviour for noise immunity. With a 10 K pullup you end up just in the middle
of this input threshold range, You need a stiffer pullup resistor (say 2.2K) so that you have a valid input to the 7I76EU.
Last edit: 14 Dec 2025 15:59 by PCW.
Please Log in or Create an account to join the conversation.
- BoMadsen
- Away
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
15 Dec 2025 10:04 #340117
by BoMadsen
Replied by BoMadsen on topic Issues with simple input on 7i76eu
Aahh shoot! I was hoping to avoid resoldering my DIY pullup resistor board. But thank you for the explanation.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.115 seconds