- Posts: 10
- Thank you received: 2
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
- Oxbown
- Offline
Less
More
2 months 1 hour ago #349172
by Oxbown
Replied by Oxbown on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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.
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.
- meister
- Offline
Less
More
- Posts: 806
- Thank you received: 502
2 months 30 minutes ago #349174
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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).
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.
- Oxbown
- Offline
Less
More
- Posts: 10
- Thank you received: 2
1 month 4 weeks ago #349277
by Oxbown
Replied by Oxbown on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
@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!
Thank you so much for your work!
Please Log in or Create an account to join the conversation.
- meister
- Offline
Less
More
- Posts: 806
- Thank you received: 502
1 month 4 weeks ago #349279
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
ok, i have order one, than i can fix and test it the right way 
maybe next monday
maybe next monday
Please Log in or Create an account to join the conversation.
- meister
- Offline
Less
More
- Posts: 806
- Thank you received: 502
1 month 4 weeks ago #349281
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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)
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.
- viewsat
- Offline
Less
More
- Posts: 33
- Thank you received: 10
1 month 6 days ago - 1 month 6 days ago #349887
by viewsat
Replied by viewsat on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Hello, does the N4D3E16 test work correctly? I'd also like to order one to try it out.
Last edit: 1 month 6 days ago by viewsat.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
Time to create page: 0.178 seconds