- Posts: 68
- Thank you received: 3
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
- bladekel
- Offline
- Senior Member
-
Less
More
7 months 1 week ago #344673
by bladekel
Replied by bladekel on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I tried it as you said but nothing changed.
Again receving "USRMOT: ERROR: command timeout" errors and couldnt control the LEDs.
Again receving "USRMOT: ERROR: command timeout" errors and couldnt control the LEDs.
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 806
- Thank you received: 502
7 months 1 week ago #344674
by meister
"rpi5": "true",
->
"rpi5": true,
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I tried it as you said but nothing changed.
Again receving "USRMOT: ERROR: command timeout" errors and couldnt control the LEDs.
"rpi5": "true",
->
"rpi5": true,
The following user(s) said Thank You: bladekel
Please Log in or Create an account to join the conversation.
- bladekel
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 3
7 months 1 week ago #344698
by bladekel
Its working now...
Replied by bladekel on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Thats the trick, thank you.
I tried it as you said but nothing changed.
Again receving "USRMOT: ERROR: command timeout" errors and couldnt control the LEDs.
"rpi5": "true",
->
"rpi5": true,
Its working now...
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 806
- Thank you received: 502
6 months 3 weeks ago #345255
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
soooooo, dev is merged to main, no way back 
there are some big changes:
### Warning
* breaking changes, please open your config in rio-flow to fix/convert some stuff
### Gui
* new graphical config-gui: rio-flow
* removing old rio-setup
### Genaral
* move all stuff into plugins (boards/modules/breakouts)
* replacing modbus -> mbus/mbus_device/mbus_hy
* replacing i2cbus -> i2c/i2c_device
* better simulation
* test-tool is now based on the hal-component c-code
there are some big changes:
### Warning
* breaking changes, please open your config in rio-flow to fix/convert some stuff
### Gui
* new graphical config-gui: rio-flow
* removing old rio-setup
### Genaral
* move all stuff into plugins (boards/modules/breakouts)
* replacing modbus -> mbus/mbus_device/mbus_hy
* replacing i2cbus -> i2c/i2c_device
* better simulation
* test-tool is now based on the hal-component c-code
The following user(s) said Thank You: Dave3891
Please Log in or Create an account to join the conversation.
- bladekel
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 3
6 months 2 weeks ago #345586
by bladekel
Replied by bladekel on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I am using a Raspberry Pi 5 with the LinuxCNC Debian Bookworm image.
I have configured the system to communicate over SPI.
I can move all axes, but when I run a G-code file, I experience a drift in all axes.
To troubleshoot the issue, I wrote a simple G-code program that only moves the X-axis: it moves 10 cm in the positive direction and then 10 cm in the negative direction.
I set this program to run continuously in a loop. In every cycle, a small shift occurs in the positive direction.
After 20 repetitions, I observed that this drift reached approximately 5 mm.
The start and end points of the program shift slightly in the positive direction with each iteration.
I have also tested it at very low speeds, but the result remains the same.
I am certain there is no mechanical backlash or electrical interference/noise.
I am attaching my configuration files. What do you think could be causing this?
I have configured the system to communicate over SPI.
I can move all axes, but when I run a G-code file, I experience a drift in all axes.
To troubleshoot the issue, I wrote a simple G-code program that only moves the X-axis: it moves 10 cm in the positive direction and then 10 cm in the negative direction.
I set this program to run continuously in a loop. In every cycle, a small shift occurs in the positive direction.
After 20 repetitions, I observed that this drift reached approximately 5 mm.
The start and end points of the program shift slightly in the positive direction with each iteration.
I have also tested it at very low speeds, but the result remains the same.
I am certain there is no mechanical backlash or electrical interference/noise.
I am attaching my configuration files. What do you think could be causing this?
Please Log in or Create an account to join the conversation.
- bladekel
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 3
6 months 2 weeks ago #345590
by bladekel
This problem is caused by the dir_delay.
Solved by increasing the dir_delay value.
Replied by bladekel on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
For those who might encounter this problem, just like me;I am using a Raspberry Pi 5 with the LinuxCNC Debian Bookworm image.
I have configured the system to communicate over SPI.
I can move all axes, but when I run a G-code file, I experience a drift in all axes.
To troubleshoot the issue, I wrote a simple G-code program that only moves the X-axis: it moves 10 cm in the positive direction and then 10 cm in the negative direction.
I set this program to run continuously in a loop. In every cycle, a small shift occurs in the positive direction.
After 20 repetitions, I observed that this drift reached approximately 5 mm.
The start and end points of the program shift slightly in the positive direction with each iteration.
I have also tested it at very low speeds, but the result remains the same.
I am certain there is no mechanical backlash or electrical interference/noise.
I am attaching my configuration files. What do you think could be causing this?
This problem is caused by the dir_delay.
Solved by increasing the dir_delay value.
Please Log in or Create an account to join the conversation.
Time to create page: 0.168 seconds