LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
19 Dec 2024 14:54 #316985 by meister
little warning !

the debouncer has been replaced in the dev branch,
if you are using it and have specified certain delay values, then check this for the next update.

now, the delay is in milliseconds, which makes the whole thing easier to configure.

the default is set to 2.5ms
The following user(s) said Thank You: tommylight, digiex_chris

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

More
19 Dec 2024 18:29 #316999 by meister

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

More
19 Dec 2024 18:53 #317001 by mBender

Only thing hire is missing one good in depth help file! :) 
Anyone can open a PR with updated documentation!
 

I stared to use the Github Wiki. If that's the way of moving forward with the documentation, I am happy to help. Here is a simple example. github.com/xsnoopy/riocore/wiki/BitIn

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

More
19 Dec 2024 19:31 #317006 by meister

Only thing hire is missing one good in depth help file! :) 
Anyone can open a PR with updated documentation!
 

I stared to use the Github Wiki. If that's the way of moving forward with the documentation, I am happy to help. Here is a simple example. github.com/xsnoopy/riocore/wiki/BitIn
 

the problem with your test page is that the plugin readme's are all generated from the source code,
so they are always up to date and the text is also visable in rio-setup.

A kind of tips&tricks page would be cool for a wiki or installation instructions, for example

If someone wants to describe the plugins better, you can do that in plugin.py, e.g. here:

github.com/multigcs/riocore/blob/dev/rio...ns/bitcopy/plugin.py

than you can update the readme.md with:
make readmes

 

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

More
20 Dec 2024 00:54 #317019 by mBender
Ah, ok. I guess the first thing for the wiki was identified. How to help with documentation. :)

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

More
20 Dec 2024 17:30 #317049 by meister
i will try to maintain a changelog in the future :)

github.com/multigcs/riocore/blob/dev/CHANGELOG.md
The following user(s) said Thank You: tommylight

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

More
21 Dec 2024 00:26 #317069 by epineh
Hi all, thanks for the help trying to solve my compile issues, in the end I used the docker method, definitely recommend this for people like myself, not too bright but can lift heavy things :)

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

More
22 Dec 2024 09:10 #317130 by epineh
So I've found something interesting, I have configured a machine, done bench testing, everything seems good.
Only issue is the estop, it seems to only trigger on the transition from input high to input low. My estop is wired how I would say is standard, normally closed contact, if the wire is cut then estop will trigger.  I also tried the reverse situation, so high input is estop condition, but it will allow me to start the machine in an estop condition, until I clear the estop then activate it again. I probably haven't explained this well but the machine shouldn't startup with a hardware estop active. Actually now I think about it setting up a hardware estop when I was using a MESA card disabled the software estop button and relied on hardware estop, only the software enable button worked. Has anyone else encountered this ?

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

More
22 Dec 2024 16:47 - 22 Dec 2024 18:20 #317146 by Zayoo
Create a bitout plugin, name it estop, add a pin number, and turn the onerror modifier on for that pin. This pin will control your additional safety relay, whose N.O. contact will be in series with the machine's safety line.
In rio.hal, add the following line:
setp rio.estop.bit TRUE
If everything is configured correctly, bord is energized and LinuxCNC started, relay should remain OFF until you unlatch estop.
The machine shuld only be able to turn on while LinuxCNC is running and communication between the board and LinuxCNC is functional.
Last edit: 22 Dec 2024 18:20 by Zayoo.
The following user(s) said Thank You: epineh

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

More
23 Dec 2024 13:42 #317195 by MichaSch96
Hello, I'm new to LinuxCNC and found your awsome project.
I'm retrofitting an old Deckel FP3 CNC which already has Haidenhain glass scales. Since their already there I wanted to use them of course. For drives I'm using EtherCAT ones, but the Sine/Cosine Encoder interfaces from Beckhoff are very expensive.
So I would like to interpolate the sine/cosine signals of the scales to incremental quad encoders with some custom electronics. I've seen, that there are plugins for quad encoders. Do you think it is possible to use your RealtimeIO core with the encoder plugins to get the values of the scales into LinuxCNC?
Do you see, that there's an issue with RealtimeIO and EtherCAT in parallel? (For EtherCAT I'll use the NIC of the PC chipset. For RIO I wanted to use the W5500 Ethernet module with an USB-Ethernet adapter to the PC.

Thanks for your support!

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

Time to create page: 0.249 seconds
Powered by Kunena Forum