Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 7 months ago #324225 by scotta
For the spindle 0-10v output there is a PWM to analogue chip on the board. Remora uses hardware PWM to drive that chip. The 0 - 100% SP determines the duty cycle for the PWM.

It would help to share your config files to see what influences the SP on the LinuxCNC side as there is no interactions between the Remora modules, stepgen and PWM, running on the EC500.

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

More
1 year 7 months ago - 1 year 7 months ago #324228 by Murphy
Thanks scotta , ini and hal attached.
I played around with the p i d settings today in the INI but it made no difference. Dip in voltage was still there. Also when I set the gain to 0.0025 which should be the correct value for 4000rpm. It doesn't scale right. I need to input 0.02 for it to work.
 
Last edit: 1 year 7 months ago by Murphy.

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

More
1 year 7 months ago #324258 by cakeslob
post your gcode file, i can test it out this week. I havent tested out CSS yet, and ive been trying to figure out how it works. because with threading it runs fine, but with CSS i think it is using the spindle speed-in pin.

If spindle0.speed-in has control on the rpm signal based on the feedback it receives, that would make more sense of your issue.
You removed the lowpass filter gain from the hal file. Im not sure what it defaults to. 0.001 was the gain that worked for me without jumping around, but it took longer to stabilize at speed
Code:
setp lowpass.spindle-encoder-velocity.gain 0.001

Monitor this pin on the halshow, spindle.0.speed-in when trying to css, and see what it looks like.

Your spindle PID in the ini file arent hooked up to anything, so they wont do anything.

RE: spindle gain, sorry about that murphy, I got confused between some configs and got some decimals mixed up. The correct way is 100/maxrpm.

Also when I set the gain to 0.0025 which should be the correct value for 4000rpm. It doesn't scale right. I need to input 0.02 for it to work.


if it works, whatever, but maybe look into it. with gain at .02 that would make 4000rpm 8volts.

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

More
1 year 7 months ago - 1 year 7 months ago #324273 by Murphy
Thanks cakeslob, i put back in the filter gain. when I monitor Spindle.0.speed-in, it also dips in speed. Even with the spindle off its still moving.
G-code G96  D1500 s200 M3 sets it 1500rpm suface speed 200. When you move X in and out the spindle should adjust.  

Last edit: 1 year 7 months ago by Murphy.

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

More
1 year 7 months ago #324291 by Daz
Hi  scotta , I am based in the UK, and I am considering buying a few EC300 boards, flashing them with your amazing firmware and putting them on eBay as a LinuxCNC compatible controller. I think this would ease the way for some people into the LinuxCNC world. Would you have anything against it, or do you know if it is against any license agreements? 

When I was looking for a LinuxCNC compatible controller, the only sensible option I found at the time was the Mesa boards, which are quite expensive and require shipment from the USA to the UK. Also, probably not everyone wants to play with flashing the boards.

Let me know what you think. Thanks!

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

More
1 year 7 months ago #324307 by scotta
Hi Daz, no issues from my side. I'd probably do the same if I had time.
The following user(s) said Thank You: Daz

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

Time to create page: 0.168 seconds
Powered by Kunena Forum