How to link inputs ,outputs for Mesa 5i25 7i76

More
15 Jun 2016 09:39 #76048 by finemeca
Hello,

I continue my tests with the mesa and 5i25 7i76 cards.

In the doc :

www.linuxcnc.org/docs/html/drivers/hostmot2.htm

I do the command:

dmesg > hm2.txt

Warning: Spoiler!



If I understand is the inputs and outputs of the 5i25

In the manual 7i76, page 8, I list Field input / output connectors and TB5 TB6

Example :

TB6 CONNECTOR PINOUT
TB6 PIN I/O

1 INPUT16

An example with pncconfig:

# --- COOLANT-MIST ---
setp hm2_5i25.0.gpio.017.is_output true
net coolant-mist hm2_5i25.0.gpio.017.out
Installation du driver


My question is how to link an input or output TB5-TB6 ???



Thank you in advance.

Pierre

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 11:56 - 15 Jun 2016 11:58 #76060 by Todd Zuercher
I think the pin name for the IO on a 7i76 should look something like this
hm2_5i25.0.7i77.0.0.input-03 (for an input )
or
hm2_5i25.0.7i77.0.0.output-01 (for an output)

But you can easily check the pin names from Hal Show.

In Pnconf the io pins are not listed under GPIO, they are dedicated inputs and outputs under smart serial (I think).

PS: You have to have the field power connected to the 7i76 board for the field io to show up.
Last edit: 15 Jun 2016 11:58 by Todd Zuercher.

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 12:28 - 15 Jun 2016 12:29 #76064 by finemeca
Hello Todd,

Thank you for your help.

In Pnconf the io pins are not listed under GPIO, they are dedicated inputs and outputs under smart serial (I think).

This is what I do not understand!

PS: You have to have the field power connected to the 7i76 board for the field io to show up.

W1est left and I use the 24v on TB1 to pin 1 and 8
Last edit: 15 Jun 2016 12:29 by finemeca.

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 13:36 #76072 by Todd Zuercher
So are you ok now, or do you still not understand?

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 13:45 - 15 Jun 2016 13:46 #76074 by finemeca
Not included ....

on 7i76 or is this output:

hm2_5i25.0.gpio.017

Where is the gpio 017 ?????

With a multimeter on TB5 and TB6 I only 0V to terminals ???

Or with :
halcmd: setp hm2_5i25.0.7i76.0.0.output-07 true

24v --> output7 Tb6
Last edit: 15 Jun 2016 13:46 by finemeca.

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 15:27 #76093 by Todd Zuercher
hm2_5i25.0.gpio.0xx refers to a pin if unused for anything else on the 5i25. The pin hm2_5i25.0.gpio.017 would be the first pin on the 2nd port (the header pins on the top of the card) of the 5i25 card.

hm2_5i25.0.7i76.0.0.output-07 would be pin #24 on TB6. Test it by probing from it to the ground (pin8 TB1) of the field IO with your multi meter.

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 15:28 #76095 by andypugh

hm2_5i25.0.gpio.017


That is a specific pin on the DB25 connector of the 5i25. You won't be using that.

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 15:53 #76101 by finemeca
Why ???

hm2_5i25.0.gpio.0xx refers to a pin if unused for anything else on the 5i25. The pin hm2_5i25.0.gpio.017 would be the first pin on the 2nd port (the header pins on the top of the card) of the 5i25 card.

That is a specific pin on the DB25 connector of the 5i25. You won't be using that.


A bad choice in pncconf?
I make you some screenshots
Attachments:

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 15:58 - 15 Jun 2016 15:59 #76102 by andypugh
Why do you have 7i84 and not 7i76?

Perhaps you need to press the "Accepter..." button to get the 7i76 to show up. (or, possibly, there is a bug in Pnnconf in French)
Last edit: 15 Jun 2016 15:59 by andypugh.

Please Log in or Create an account to join the conversation.

More
15 Jun 2016 16:17 #76103 by finemeca
Ah!

Not at the moment is only the 5i25 and 7i76

This is the choice that is in the connector tab 3
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.104 seconds
Powered by Kunena Forum