- Posts: 7
- Thank you received: 5
Remora - ethernet NVEM / EC300 / EC500 cnc board
- spdbmp927
- Offline
- New Member
-
Scott, Thanks for sharing that i was wondering id it was just mine. I am getting following error also. I have recorded what appear to be jumps in position FB from the NVEM that are consistently ~420, or ~60 counts. I have seen only these two values, in both directions, on all 3 axes. I decoded some packets to see what I could see and got some cool graphs like this:scotta post=241746 userid=24854Roy, FYI I'm still looking at the following errors. Something really strange going on somewhere as the errors are consistently the same magnitude. I could test by increasing the max following error so that the program would keep running. The same magnitude following error spike on different joints. Makes me think it's something to do with DDS accumulator over flow that Rafal observed in the other thread. Anyway, Thanks for your help and patience.
Very weird. I modified my Remora-eth.c so that it does not update the accumulator on large sudden jumps. Instead I have it modeling feedback for the cycles in question to try and minimize position loss. Im going to test it out later today, but maybe it can help alleviate position errors until we can find the problem.
If there is anything I can do to help track this down let me know.
Please Log in or Create an account to join the conversation.
- fupeama
- Offline
- Senior Member
-
- Posts: 66
- Thank you received: 14
Thanks scotta,Hi,
You will know if you have a connection to the board when LinuxCNC will come out of E-Stop. This is the check for a connection. What is your output when you run ifconfig?
i had no connect stop to 12V, now it is ok.
after estop and machine on rs232 say
## Entering RUNNING state
and now I am able to change output pins .
Martin
Please Log in or Create an account to join the conversation.
- Domi
- Offline
- Senior Member
-
- Posts: 64
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
- Posts: 959
- Thank you received: 489
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
- Posts: 383
- Thank you received: 135
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
- Posts: 959
- Thank you received: 489
I've got a version running which is updating the stepgen feedback in the servo thread, not every base thread execution. This allows for some debugging without crashing the MCU. There is something (rollover?) causing a large difference between two accumulator reads. I thought that moving to a 64 bit accumulator would solve this, but maybe my implementation is not correct. Still looking..
The spike could be filtered out, but this is a cheat. I'd rather understand the underlying cause and fix it.
Please Log in or Create an account to join the conversation.