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

More
1 year 2 months ago #333670 by mBender
I am successful and fully transition from my old Parallel Port PC to an I7 Laptop with Riocore! Finally I am able to browse something without waiting forever :D Thanks Olli! This is great stuff.

I have my
- whb04b-06 Hand wheel operating
- Classic Ladder with RS 485 Modbus working (over an dedicated RS485 USB Dongle)
- Auto squaring Y Axis
- Touch plate/Probe input

It was not terrible, but I feel like I have modified a lot of ini and hal files which were created automatically to make this work. Is there a way that you could add a checkbox or so to ricocore gui to not overwrite the existing config files?

I don't know what the best workflow would be. I think if I want to add another function to the FPGA i I will just do it in a separate folder and flash the FPGA, then add the changed manually to my machine folder ?!?
The following user(s) said Thank You: meister

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

More
1 year 2 months ago #333716 by meister
@mBender

You can simply copy the directory and use it, then enter the updates. It's the same as a ‘do not overwrite’ switch.

If you send me your configuration and your edited files, I can see if there is a way to integrate this into the json-configuration.

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

More
1 year 1 month ago #334293 by mBender
I am chasing a weird issue. I reduced the microsteps on my machine from 16 to 2. That changed the scale from 540 to 80 on x and y and 800 to 100 on z.

Now my machine is not homing anymore. I get this error: home switch inactive before backoff.

Here is what I have done so far. 
1. Changed the Microsteps from 16 to 2. And just changed the rio.ini file. 
2. Machine started homing in the right speed settings, but threw the above error.
3. I changed back to 16 microsteps and the machine is homing fine. Changed back to 2 microsteps. 
4. I tried to reducde the home search velocity, but no change. 
5. I increased the home search speed and the machine is not showing an error, but is not homing. It does it homing cycle, but then continued to go in slow speed. I believe towards home, but not sure.  

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

More
1 year 1 month ago #334295 by mBender
I tried to reduce the mircsteps from 16 to 4 and played around with speeds for homeing. I am able to home. This is now discovering the real issue.

When I manually move an axis of the machine sometime it stops. And sometimes it continues to move slowly. For example in X I see in the display that X is 0.00000 and jumps around to 0.006252 or so. I believe this has happened already and has something to do with the F error or F min or so.

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

More
1 year 1 month ago #334297 by mBender
Well, it's all working again. I increased the deadband from 0.001 to 0.01. Now it's also working on the old speed settings and with 2 microsteps.

Seems like there is still one question remaining:

What would be the ideal set up for a stepper motor with 5mm pitch ball screw and 1.8deg/step paird with a DM332T which can't go below 2 microsteps. Is there a setting which is ideal for this set up where linuxcnc positioned the machine on exactly a step/microstep?

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

More
1 year 1 month ago #334669 by mBender
I need some help here again. I am having a weird issue with my machine. I first thought it has nothing to do with Riocore, but now I am not so sure anymore.

Posted here: forum.linuxcnc.org/12-milling/57122-mach...-programm-repeatable

Oliver or someone with experience, could you explain a bit more what the settings in the Stepper dialog under Step mean?

The Step signal for my machine is inverted. I tried to remove the inversion from the step signal, but than the Stepper don´t move at all. Does that make sense??

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

Time to create page: 0.102 seconds
Powered by Kunena Forum