- Posts: 17524
- Thank you received: 0
Mesa 7i96 and LinuxCNC 2.8 PnCConf
Please Log in to join the conversation.
- snugglylovemuffin
- Offline
- Elite Member
-
- Posts: 209
- Thank you received: 0
Just to confirm, my x-min-home is "hm2_7i96.0.gpio.000.in"
Please Log in to join the conversation.
If not, you likely have a wiring error
(is input common connected to your power supply common?)
Please Log in to join the conversation.
- snugglylovemuffin
- Offline
- Elite Member
-
- Posts: 209
- Thank you received: 0
Please Log in to join the conversation.
- snugglylovemuffin
- Offline
- Elite Member
-
- Posts: 209
- Thank you received: 0
PCW wrote: The 7I96 isolated inputs have a single common pin.
If you have 5V signaling and your switch common is connected to +5V you should connect the 7I96 input common pin to ground, then when a switch is closed (and 5V applied to the input pin)
the corresponding GPIO bit should read high
If you have 5V signaling and your switch common is ground, you should connect the 7I96's input common to +5V
then when a switch is closed (and the 7I96 input pin grounded) the corresponding GPIO bit should read high
You can use the "watch" command in axis to look at the GPIO pins in real time
(is input common connected to your power supply common?)
Please Log in to join the conversation.
ISOLATED I/O
The 7I96 has 11 isolated inputs and 6 isolated outputs. All 11 Isolated inputs have
a common pin. This common pin must be connected to ground for active high inputs and
connected to the I/O power for active low inputs. The 6 isolated outputs are completely
floating switches so can be used for pull-up/pull-down and mixed voltage switching.
ISOLATED INPUT CHARACTERISTICS
The isolated inputs use opto-isolators with a 4.7K input series resistance. This
results in an approximate current draw of 5 mA at 24V. The inputs will operate with +-3V
to +-36V signals relative to input common. Isolated inputs are relatively slow and not suited
for signals faster than about 5 KHz. For sinking type inputs, the input common pin is
grounded and a +3 to +36V signal is applied to the input pins to activate the input. For
sourcing type inputs, the input common is connected to +5 to +36V and the input pins are
grounded to activate an input.
I will add the default GPIO mapping of the inputs to the manual
Please Log in to join the conversation.
- snugglylovemuffin
- Offline
- Elite Member
-
- Posts: 209
- Thank you received: 0
I grounded off the common pin(11) to my PSU ground, with +24v into the limit switches. I've attached a picture of the pin LEDs, the bright ones are to my relay, the rest are faint (some unlit are to my THC) and one is not lit up at all. Weird. I'm going to see if I can remedy this with wiring.
HOWEVER, I pulled up halshow and halscope and I was not able to actuate any of my limit switches... I'm completely at a loss as to why that is. I'm currently swapping from 10 to linux because my network card doesn't like linux. I'll grab my newest HAL/INI and post them here for you to check out.
Please Log in to join the conversation.
This means you are just looking at AC noise.
Perhaps you don't really have the 24V common connected to the 7I96 input common, (pin 12) just frame ground or something similar.
If you have a voltmeter you should be able to read 24V from the 7I96 input to the input common pin, (when your limit switches are on) if not, there's still a wiring error.
Please Log in to join the conversation.
- snugglylovemuffin
- Offline
- Elite Member
-
- Posts: 209
- Thank you received: 0
Edit: I didn't ground my power supply directly to my PSU
Please Log in to join the conversation.
- snugglylovemuffin
- Offline
- Elite Member
-
- Posts: 209
- Thank you received: 0
Please Log in to join the conversation.
