- Posts: 80
- Thank you received: 0
7i96s: additional I/O's
3 years 9 months ago #261549
by CADdy
7i96s: additional I/O's was created 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
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 to join the conversation.
3 years 9 months ago #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
mesaus.com/product/7i84/
JT
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 3
3 years 9 months ago #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.
You can also use a BOB with a ready made IDC26 to DB25 cable.
Please Log in to join the conversation.
3 years 9 months ago #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.
No firmware changes are needed unless you need additional step/Dir/PWM/encoders
etc on the added I/O.
Please Log in to join the conversation.
3 years 9 months ago #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
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 to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 3
3 years 9 months ago #261637
by tommylight
Replied by tommylight on topic 7i96s: additional I/O's
Yes.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?
Please Log in to join the conversation.
3 years 9 months ago #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:
Peter
Before I do a "hot" test, I wanted to check back. These are the entries:
Code:
# --- 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 to join the conversation.
3 years 9 months ago #261744
by PCW
Replied by PCW on topic 7i96s: additional I/O's
Yes, that should work.
Please Log in to join the conversation.
3 years 9 months ago #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
Peter
Please Log in to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 0
3 years 9 months ago #263353
by HalaszAttila
Replied by HalaszAttila on topic 7i96s: additional I/O's
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.
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 to join the conversation.
Time to create page: 0.058 seconds
