Mesa 7i96s connected but inputs not working

More
2 years 3 months ago #305478 by manfrel
Hello
I recently bought the Mesa 7i96s to upgrade my cnc machine.
I switched the jumper to change the ip address, powered it and connected it to my pc. I can ping it, and read the hostmot2 configuration with mesaflash, so far so good.
But then I realised that the end switches don't work. So I monitored the input pins under Hal configuration (LinuxCNC, axis 2.9.3) and then connected 5V from the board's power supply to the inputs, and no pin showed a response.
Is it me or the board that is at fault?

Please Log in to join the conversation.

More
2 years 3 months ago #305481 by rodw
There are a lot of things you can get wrong.
My video covers most of the bases for a mesa card

Please Log in to join the conversation.

More
2 years 3 months ago #305485 by tommylight
Did you also connect the input common?

Please Log in to join the conversation.

More
2 years 3 months ago #305491 by PCW
As tommylight suggested, you must connect the 7I96/7I96S input common (TB3 pin 12)
for the inputs to work. The inputs are fully isolated and have no connection to the
rest of the 7I96S. If you want +5V to activate the inputs, you must connect the input
common pin to 5V GND.

Please Log in to join the conversation.

More
2 years 3 months ago #305535 by manfrel
Thank you all very much for your help. Input common wasn't connected, now it's working.

Please Log in to join the conversation.

More
1 year 11 months ago #314276 by JackRay
hello ,
your video explains very well the basic connections and it's very welcome because at the beginning it's not easy to understand everything. I've just bought a 7i96s to replace my SV2 card (parallel port) mainly to add position feedback for my axes (encoders). The middle and end of travel connections for my 5 axes are operational and work very well with a Raspberry pi4. Where I'm having a lot of trouble is with the connections and signals from my encoder.
I want to connect the position feedback of my B axis to the only encoder port on the board.
My encoder is type A+,B+,0V,5Vdc . But I don't understand the documentation for the Mesa 7i96s board with TX/RX 422/485 ... I have no signal feedback in the halmeter.

Could you please guide me to the right connections and signals for my configuration? If attached the configuration of my B axis in my . Hal

---closedloop stepper signals---

net b-pos-cmd <= joint.3.motor-pos-cmd
net b-vel-cmd <= joint.3.vel-cmd
net b-output => [HMOT](CARD0).stepgen.03.velocity-cmd
#net b-pos-fb <= [HMOT](CARD0).stepgen.03.position-fb
net b-pos-fb => joint.3.motor-pos-fb
net b-enable <= joint.3.amp-enable-out
net b-enable => [HMOT](CARD0).stepgen.03.enable

# ---Encoder feedback signals/setup---

setp [HMOT](CARD0).encoder.00.counter-mode 0
setp [HMOT](CARD0).encoder.00.filter 1
setp [HMOT](CARD0).encoder.00.index-invert 0
setp [HMOT](CARD0).encoder.00.index-mask 0
setp [HMOT](CARD0).encoder.00.index-mask-invert 0
setp [HMOT](CARD0).encoder.00.scale [JOINT_3]ENCODER_SCALE

net b-pos-fb <= [HMOT](CARD0).encoder.00.position
net b-vel-fb <= [HMOT](CARD0).encoder.00.velocity
net b-pos-fb => joint.3.motor-pos-fb
net b-index-enable joint.3.index-enable <=> [HMOT](CARD0).encoder.00.index-enable
net b-pos-rawcounts <= [HMOT](CARD0).encoder.00.rawcounts


# ---setup home / limit switch signals---


net b-home-sw => joint.3.home-sw-in
net b-neg-limit => joint.3.neg-lim-sw-in
net b-pos-limit => joint.3.pos-lim-sw-in

Thank you very much

Please Log in to join the conversation.

More
1 year 11 months ago #314278 by PCW
There is a RS-485 port on the 7I96S but its unrelated to the encoder input.

One thing necessary for the encoder input to work with your single ended encoder
is to jumper the 7I96S encoder input for TTL/Single ended signals. This means jumpers
W1,W2,W3 must all be in the left hand position.

Please Log in to join the conversation.

More
1 year 11 months ago #314337 by JackRay
thank you very much , I will go try that ASAP

Please Log in to join the conversation.

Time to create page: 0.682 seconds
Powered by Kunena Forum