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

More
01 Sep 2026 11:22 #349172 by Oxbown
Thanks @meister , now works! 
Two more things:
-1: would be grateful if we could make a preconfig for that kind of board.

-2: In case of host disconnection...Can I force a value?. For example, if some of the signals are high, if I close the Linuxcnc, I want to force all signals low.

 Thank you.

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

More
01 Sep 2026 11:59 #349174 by meister
cool :)

1: you mean a mbus_device template ? yes i will check it

2: Do you mean the Modbus outputs? Yes, there is something there, but I’ll need to check it again as I’ve rewritten the Modbus plugins. (Error values)
Basically, it’s just the Modbus message but without the address and without the CSUM.
This is then sent when the FPGA detects an error (disconnect / timeout).

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

More
03 Sep 2026 11:12 #349277 by Oxbown
@meister I tested your last dev commit, and the N4D3E16 template only works with the outputs; the inputs don't work.
Thank you so much for your work!

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

More
03 Sep 2026 11:40 #349279 by meister
ok, i have order one, than i can fix and test it the right way :)
maybe next monday

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

More
03 Sep 2026 12:11 #349281 by meister
try again, found a bug

and now you can try to set the Error_Values to
6 0 112 0 0

this should switch all outputs to off on connection errors (PC<->FPGA)

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

Time to create page: 0.120 seconds
Powered by Kunena Forum