mesa 5i20 + 7i44 +7i73

More
19 Apr 2013 00:20 - 19 Apr 2013 01:24 #32881 by jtc
mesa 5i20 + 7i44 +7i73 was created by jtc
Hi.

I'm currently working on this panel.









The goal is use a mesa 7i73 to control the panel. My question is how can I have access to the mesa 7i73 pins, and how can I address/configure it. I tried use pncconf wizard but has no option to use this daughter board.

at this moment my firs objective is try to enable one output, like turning on a led.

tanks,

João
Attachments:
Last edit: 19 Apr 2013 01:24 by jtc.
The following user(s) said Thank You: usman

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

More
19 Apr 2013 00:58 #32883 by PCW
Replied by PCW on topic mesa 5i20 + 5i44 +7i73
If you start linuxCNC with the 7I73 connected, you can run:

halcmd show pin | grep 7i73

To give you a list of available HAL pins in the current 7I73 mode
The following user(s) said Thank You: jtc

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

More
19 Apr 2013 01:25 #32884 by jtc
Replied by jtc on topic mesa 5i20 + 5i44 +7i73
tanks, I hope can try it tomorrow.

João

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

More
19 Apr 2013 01:41 #32885 by andypugh
Replied by andypugh on topic mesa 5i20 + 5i44 +7i73
What sort of switches are the two on the right top of the panel?

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

More
19 Apr 2013 03:24 #32886 by jtc
Replied by jtc on topic mesa 5i20 + 7i44 +7i73
they are position switches from the old machine. I already reverse engineered one (truth table).

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

More
19 Apr 2013 04:37 #32888 by andypugh
Replied by andypugh on topic mesa 5i20 + 7i44 +7i73

they are position switches from the old machine. I already reverse engineered one (truth table).


You can probably use "weighted_sum" to decode them:
www.linuxcnc.org/docs/html/man/man9/weighted_sum.9.html

The 7i73 is a complicated little beast, depending on the jumper positions and the selected software mode it can operate in 18 different modes.
I think you want software mode 0, though.
You have a lot of switches there, you might not have enough individual input pins on the 7i73 to have one-pin-per switch. That might mean that it makes sense to wire the switches in a matrix. Don't wire any non-momentary switches that way, though, as matrix wiring only supports 2 buttons being "on" at a time. If you do wire that way, you will need:
www.linuxcnc.org/docs/devel/html/man/man9/matrix_kb.9.html
Which only exists in the development version. (But can, I think, be added to an installed system)
I think what I am saying is, count your switches carefully.

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

More
19 Apr 2013 04:40 #32889 by emcPT
Replied by emcPT on topic mesa 5i20 + 5i44 +7i73

If you start linuxCNC with the 7I73 connected, you can run:

halcmd show pin | grep 7i73

To give you a list of available HAL pins in the current 7I73 mode


The 7i73 is after the 5i44. There is the need to use any additional driver, or the hardware will be automatically found?
Thank you

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

More
19 Apr 2013 04:50 #32890 by emcPT
Replied by emcPT on topic mesa 5i20 + 7i44 +7i73

they are position switches from the old machine. I already reverse engineered one (truth table).

I think what I am saying is, count your switches carefully.


We have 27 inputs on that panel + encoder. I think that we can use at most 24 inputs on the 7i73, but as we also have a 7i37 we will manage it.

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

More
19 Apr 2013 05:22 #32891 by andypugh
Replied by andypugh on topic mesa 5i20 + 7i44 +7i73

We have 27 inputs on that panel + encoder. I think that we can use at most 24 inputs on the 7i73, but as we also have a 7i37 we will manage it.


I think it might make sense to set up the 7i73 in 4x4 matrix mode for the momentary buttons. That gives you 16 buttons on 4 input pins (and uses 4 output pins too, but you probably have enough of those)

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

More
19 Apr 2013 09:56 #32897 by PCW
Replied by PCW on topic mesa 5i20 + 7i44 +7i73
Note that even though there are 24 inputs available on the 7I73,
inputs 0 through 7 have no pullups or pulldowns so these
would be need to be added if inputs 0 through 7 are used
with switch inputs.

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

Moderators: PCWjmelson
Time to create page: 0.137 seconds
Powered by Kunena Forum