Can I use 7i96s with LCNC 2.8

More
11 Jul 2022 19:25 - 11 Jul 2022 19:32 #247100 by PCW
Replied by PCW on topic Can I use 7i96s with LCNC 2.8
That is correct, the firmware hostmot name field is only 4 char but is unused
by LinuxCNC.

The actual name used in LinuxCNC is the Ethernet card name which is 7I96S.

The spindle interface uses "local" pins that are not currently listed by Mesaflash.

Local pins differ from normal pins in that they do not have a GPIO function,
and are only used locally on boards (not on expansion I/O connectors)
 
Last edit: 11 Jul 2022 19:32 by PCW.
The following user(s) said Thank You: zz912

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

More
11 Jul 2022 19:30 - 11 Jul 2022 19:31 #247101 by zz912
Replied by zz912 on topic Can I use 7i96s with LCNC 2.8
SSR is Solid State Relay

I would like ask you:
- what InM mean?
- what OutM mean?
Last edit: 11 Jul 2022 19:31 by zz912.

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

More
11 Jul 2022 19:36 #247102 by PCW
Replied by PCW on topic Can I use 7i96s with LCNC 2.8
Input Module, Output Module

These are described in the (2.9) hostmot2 manual page
The following user(s) said Thank You: zz912

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

More
11 Jul 2022 19:55 - 11 Jul 2022 20:11 #247104 by zz912
Replied by zz912 on topic Can I use 7i96s with LCNC 2.8
InM
linuxcnc.org/docs/devel/html/man/man9/ho...ml#inm%20and%20inmux
WOW it looks good

OutM
linuxcnc.org/docs/devel/html/man/man9/ho...le%20output%20module
what NNTH mean?
Google found only en.wikipedia.org/wiki/Number_needed_to_harm
What is different between "GPIO output", SSR and OutM?

InM and OutM probably won't be friends with hostmot2 (2.8)? What about PWM and hostmot2 (2.8)?
Last edit: 11 Jul 2022 20:11 by zz912.

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

More
11 Jul 2022 21:03 #247107 by PCW
Replied by PCW on topic Can I use 7i96s with LCNC 2.8
OutM is the only module _not_ supported by 2,8,
but you could work around this by using GPIO

OutM is basically just for convenience:

1. Unlike GPIO, it needs no setup to use as output
2. Allows renumbering (so 7I96S outputs 4 and 5 are OutM 04 and 05
not some random GPIO number)

SSR is for AC (transformer) coupled SSR circuits

NNth is like Nth but for 2 digit N's
The following user(s) said Thank You: zz912

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

More
12 Jul 2022 08:43 #247126 by zz912
Replied by zz912 on topic Can I use 7i96s with LCNC 2.8
I am studying how adding cards to pncconf works. I decided to decode the 7i96 card.

File /home/zdenek/linuxcnc/linuxcnc-2.8/src/emc/usr_intf/pncconf/private_data.py:
 
I don't know where the data comes from to verify if it will be the same for the 7i96s.
max GPIO
low frequency rate
hi frequency rate

I couldn't decode the number behind the pin name in the list of component. I only found it called "logical number"

If InM and OutM can be controlled as GPIOs, I can't find a reason why 7i96s can't be added to pncconf 2.8 . The only thing that won't work are the InM improvements over the GPIO. Which would be acceptable to me.
 
Attachments:

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

More
12 Jul 2022 20:18 #247179 by COFHAL
Replied by COFHAL on topic Error at flash 7i96s
When trying to flash the 7i96s I get the following error mesaflash --device 7i96s --addr 10.10.10.10 --write 7i96s_5abobd.bin
Checking file... Invalid bitfile header!
I have mesaflash version 3.4.0 and I understand that version 3.4.2 should be used but I don't know how to obtain it.

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

More
12 Jul 2022 20:27 #247180 by zz912
Replied by zz912 on topic Error at flash 7i96s

When trying to flash the 7i96s I get the following error mesaflash --device 7i96s --addr 10.10.10.10 --write 7i96s_5abobd.bin
Checking file... Invalid bitfile header!
I have mesaflash version 3.4.0 and I understand that version 3.4.2 should be used but I don't know how to obtain it.

github.com/LinuxCNC/mesaflash

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

More
12 Jul 2022 20:27 #247181 by PCW
Replied by PCW on topic Error at flash 7i96s
The 7I96S needs mesaflash 3.4.3

The latest mesaflash is here:

github.com/LinuxCNC/mesaflash

(scroll down for build instructions)

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

More
12 Jul 2022 20:42 #247183 by PCW
Replied by PCW on topic Can I use 7i96s with LCNC 2.8
The GPIO (SB 51) and clocklow (SB 100) data are not correct for the 7I96
(so are probably not terribly important)
The following user(s) said Thank You: zz912

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

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