- Posts: 76
- Thank you received: 27
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
1 year 10 months ago #317763
by epineh
Replied by epineh on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Very cool, will check that out.
For now I have a very weird issue, I'm not convinced its a riocore issue and not a general linuxcnc issue but here we go..
I cannot set G54 offsets, I've included a screenshot of the problem, as you can see the cutter is within the machine soft limits, and there are values in the G54 in the DRO but the toolpath preview is outside the machine limits. I've copied all machine specific parameters from the MESA config it was running previously, machine homes, enables etc and it is all working as it should. No matter what I do the toolpath remains outside of the bounding box.
Its like the machine is in absolute mode and ignoring the G54, so the origin of the gcode is at machine home and G54 has no effect.
I ran the default Sim (mm) config shipped with the live install and the issue doesn't happen, the toolpath jumps to the relative position to the cutter as normal.
Only thing I've done after the GUI riocore configuration is to add a linuxcnc.var file to the Output/TangNano9K/LinuxCNC folder as it wasn't generated. I copied one from the Sim folder after it generated one.
Other than that its a clean install that I ran docker on to program the FPGA and run Linuxcnc.
For now I have a very weird issue, I'm not convinced its a riocore issue and not a general linuxcnc issue but here we go..
I cannot set G54 offsets, I've included a screenshot of the problem, as you can see the cutter is within the machine soft limits, and there are values in the G54 in the DRO but the toolpath preview is outside the machine limits. I've copied all machine specific parameters from the MESA config it was running previously, machine homes, enables etc and it is all working as it should. No matter what I do the toolpath remains outside of the bounding box.
Its like the machine is in absolute mode and ignoring the G54, so the origin of the gcode is at machine home and G54 has no effect.
I ran the default Sim (mm) config shipped with the live install and the issue doesn't happen, the toolpath jumps to the relative position to the cutter as normal.
Only thing I've done after the GUI riocore configuration is to add a linuxcnc.var file to the Output/TangNano9K/LinuxCNC folder as it wasn't generated. I copied one from the Sim folder after it generated one.
Other than that its a clean install that I ran docker on to program the FPGA and run Linuxcnc.
Please Log in or Create an account to join the conversation.
1 year 10 months ago - 1 year 10 months ago #317802
by kzali
Replied by kzali on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
"many thanks to 'Schoch' , for the quadencoder(z) fixes and the much better rps/rpm calculations.
and many thanks to all other people that helps here, in github and in the discord chat."
Is the discord chat related to RIO? and if so what is the link to the channel?
Thanks
and many thanks to all other people that helps here, in github and in the discord chat."
Is the discord chat related to RIO? and if so what is the link to the channel?
Thanks
Last edit: 1 year 10 months ago by kzali.
Please Log in or Create an account to join the conversation.
1 year 10 months ago #317863
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
the normal linuxcnc channel
discord.com/channels/970073318357078036/970073318810075149
discord.com/channels/970073318357078036/970073318810075149
Please Log in or Create an account to join the conversation.
1 year 10 months ago #317866
by epineh
Replied by epineh on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
OK so to answer my own previous question basically I'm stupid, I hadn't set ownership to my user account, so Linuxcnc couldn't write to the var file, and most likely create it in the first place, which is why it was missing.
I had thought I'd done it but obviously I hadn't or maybe did a typo at the time. I followed the Docker install instructions as per the wiki instructions if anybody else is having the same issue.
Big thanks to Meister for creating this and thanks to everybody else supporting.
Russell.
I had thought I'd done it but obviously I hadn't or maybe did a typo at the time. I followed the Docker install instructions as per the wiki instructions if anybody else is having the same issue.
Big thanks to Meister for creating this and thanks to everybody else supporting.
Russell.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
1 year 9 months ago #319737
by kzali
Replied by kzali on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
This maybe a silly question bit is there a wiring diagram for the ribbon connector of the DB25's
Can't recommend this set-up enough. For those who aren't particularly interested in engineering hardware and want a Snap-On Ready Kit, it just won't get any better than that. That'll do 50meg, prolly capable of more. Oliver did it all for grab github.com/multigcs/rio-tangbob
Flash the bitstream over, plug-in a shielded 100mb cat6, and be done!!
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
- Offline
- Platinum Member
-
Less
More
- Posts: 1199
- Thank you received: 426
1 year 9 months ago #319745
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
It's a one to one connection. Pin 1 to Pin 1 etc. The wire with the red tracer is pin 1.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds