Mesa 7i96s connected but inputs not working
17 Jul 2024 12:18 - 21 Jul 2024 09:43 #305478
by manfrel
Mesa 7i96s connected but inputs not working was created 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?
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?
Last edit: 21 Jul 2024 09:43 by manfrel.
Please Log in or Create an account to join the conversation.
17 Jul 2024 12:24 #305481
by rodw
Replied by rodw on topic Mesa 7i96s connected but not working
There are a lot of things you can get wrong.
My video covers most of the bases for a mesa card
My video covers most of the bases for a mesa card
The following user(s) said Thank You: JackRay
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
17 Jul 2024 13:09 #305485
by tommylight
Replied by tommylight on topic Mesa 7i96s connected but not working
Did you also connect the input common?
Please Log in or Create an account to join the conversation.
17 Jul 2024 14:23 #305491
by PCW
Replied by PCW on topic Mesa 7i96s connected but not working
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.
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.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
17 Jul 2024 19:53 #305535
by manfrel
Replied by manfrel on topic Mesa 7i96s connected but not working
Thank you all very much for your help. Input common wasn't connected, now it's working.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
11 Nov 2024 19:17 #314276
by JackRay
Replied by JackRay on topic Mesa 7i96s connected but not working
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
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 or Create an account to join the conversation.
11 Nov 2024 19:31 - 11 Nov 2024 19:32 #314278
by PCW
Replied by PCW on topic Mesa 7i96s connected but not working
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.
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.
Last edit: 11 Nov 2024 19:32 by PCW.
Please Log in or Create an account to join the conversation.
12 Nov 2024 18:07 #314337
by JackRay
Replied by JackRay on topic Mesa 7i96s connected but not working
thank you very much , I will go try that ASAP
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds