7i96s: additional I/O's

More
11 Jan 2023 10:30 #261549 by CADdy
Hi all,
I am still quite new with the handling of Mesa cards and have a question to the 7i96s:

Is it possible to use the Expansion Connector P1 (with appropriate circuitry, for example optocouplers, driver stages, BOB) as an additional I/O interface on the Mesa 7i96s? The available 11 inputs and 6 outputs are too few for me. Would the bitfile of the 7i96s have to be changed?

Best wishes
Peter
 

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

More
11 Jan 2023 13:44 #261562 by JT
Replied by JT on topic 7i96s: additional I/O's
The easy way to get more I/O is with a smart serial card like the 7i84 which has 32 inputs and 16 outputs.
mesaus.com/product/7i84/

JT
The following user(s) said Thank You: tommylight, CADdy

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

More
11 Jan 2023 13:54 #261565 by tommylight
Replied by tommylight on topic 7i96s: additional I/O's
JT's advice is by far the easiest and most elegant.
You can also use a BOB with a ready made IDC26 to DB25 cable.
The following user(s) said Thank You: CADdy

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

More
11 Jan 2023 14:38 #261576 by PCW
Replied by PCW on topic 7i96s: additional I/O's
Yes, as tommylight says, standard parallel port BOBs can be used on P1
No firmware changes are needed unless you need additional step/Dir/PWM/encoders
etc on the added I/O.
The following user(s) said Thank You: tommylight, CADdy

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

More
11 Jan 2023 22:13 #261636 by CADdy
Replied by CADdy on topic 7i96s: additional I/O's
Gentlemen, thank you for your answers.

The problem is the availability of the 7i84. Here in Germany, it is almost impossible to get.

The alternative with the parallel port BOB sounds very good. I will try that.
I only need additional I/O no step/dir etc.. So I just need to specify which ports should be inputs or outputs (matching the BOB)? Right?

Best Regards
Peter

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

More
11 Jan 2023 22:22 #261637 by tommylight
Replied by tommylight on topic 7i96s: additional I/O's

I only need additional I/O no step/dir etc.. So I just need to specify which ports should be inputs or outputs (matching the BOB)? Right?

Yes.
The following user(s) said Thank You: CADdy

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

More
12 Jan 2023 21:55 #261743 by CADdy
Replied by CADdy on topic 7i96s: additional I/O's
I have defined two inputs and two outputs for the P1 Expansion Connector of the 7i96s in the hal-file. Would this work?

Before I do a "hot" test, I wanted to check back. These are the entries:
# --- DIN-00 ---
net din-00     <=  [HMOT](CARD0).gpio.034.in

# --- DIN-01 ---
net din-01     <=  [HMOT](CARD0).gpio.035.in

# --- DOUT-00 ---
setp [HMOT](CARD0).gpio.036.is_output true
net dout-00  =>     [HMOT](CARD0).gpio.036.out

# --- DOUT-01 ---
setp [HMOT](CARD0).gpio.037.is_output true
net dout-01  =>     [HMOT](CARD0).gpio.037.out

#  ---Digital input/output signals---

net dout-00     <=  motion.digital-out-00
net dout-01     <=  motion.digital-out-01
net din-00     =>  motion.digital-in-00
net din-01     =>  motion.digital-in-01

Peter
 

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

More
12 Jan 2023 22:02 #261744 by PCW
Replied by PCW on topic 7i96s: additional I/O's
Yes, that should work.

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

More
12 Jan 2023 22:18 #261748 by CADdy
Replied by CADdy on topic 7i96s: additional I/O's
Thank you very much for your answer. i will try it out like this.

Peter

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

More
31 Jan 2023 13:18 #263353 by HalaszAttila
Hello,

I use 7i96S card for the first time. PC is on Debian 10 with LinuxCNC 2.8.4 latest stable version.
In halshow i found hm2_7i96s.0.inm.00.input-00-slow pin. What is this pin? Maybe debounced input? If i connect signal on input, this not changes (xxxx.00.input-00 works OK).
Somewhere you tells in forum, 2.9 version supports all 7i96s features. In current project i need just 3 stepgens, and all I/O-s in HAL. Can I use reliably with 2.8.4?
Attila.

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

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