Remora - ethernet NVEM / EC300 / EC500 cnc board
11 Aug 2022 12:54 #249510
by eng
Replied by eng on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
For me who live in Brazil, unfortunately the purchase of a Nvem does not pay and for this reason I will make my own board because it will be much cheaper, I am also with the project using esp32 to make it even cheaper to manufacture.
Please Log in or Create an account to join the conversation.
- Aanvragen0903
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
11 Aug 2022 12:54 #249511
by Aanvragen0903
Replied by Aanvragen0903 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
For 2 weeks
The following user(s) said Thank You: Murphy
Please Log in or Create an account to join the conversation.
11 Aug 2022 22:19 #249560
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
My work on DMA step generation may have come to a brick wall. Using DMA to do the port manipulation is working great, generating a step buffer using DDS works, BUT not fast enough to be able to do it in a single servo thread . Having to do 6000 DDS calculations in a servo period may not be achievable with my current approach.
So, I've pushed my WIP to the DMAstepgen branch for people to see. Any thoughts on how we can generate the required step buffers within a servo period are greatly appreciated. Removing all of the step timing options will reduce the execution time but if it's enough I'm not sure....
So, I've pushed my WIP to the DMAstepgen branch for people to see. Any thoughts on how we can generate the required step buffers within a servo period are greatly appreciated. Removing all of the step timing options will reduce the execution time but if it's enough I'm not sure....
The following user(s) said Thank You: tommylight, tuzki
Please Log in or Create an account to join the conversation.
12 Aug 2022 23:58 #249626
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I was nearly ready to throw away the idea of using DMA and a step pattern buffer, but after thinking on the problem I might try one more approach.
The LinuxCNC step generator which Remora is based on basically checks to see if a step should be generated at each base thread execution. I was stepping through each element of the step buffer and did this check.
If we turn this around and say, at which positions in the buffer should we step at? This is far less calculations, especially at low step frequencies.
This would reduce the number of max iterations down to 3000 (500 for each of the 6 axes) and only when all are commanded at 500 khz. And the calculation is a more simple addition and division. Simulating this in Excel shows a similar output as the DDS approach, with maybe a little more jitter at high step rates. Nothing to concerning.
I won't be able to get to coding this for a week or so, but fingers crossed we can get this within a servo period, worst case would be to find the highest step frequency that can be achieved.
The LinuxCNC step generator which Remora is based on basically checks to see if a step should be generated at each base thread execution. I was stepping through each element of the step buffer and did this check.
If we turn this around and say, at which positions in the buffer should we step at? This is far less calculations, especially at low step frequencies.
This would reduce the number of max iterations down to 3000 (500 for each of the 6 axes) and only when all are commanded at 500 khz. And the calculation is a more simple addition and division. Simulating this in Excel shows a similar output as the DDS approach, with maybe a little more jitter at high step rates. Nothing to concerning.
I won't be able to get to coding this for a week or so, but fingers crossed we can get this within a servo period, worst case would be to find the highest step frequency that can be achieved.
Please Log in or Create an account to join the conversation.
- Aanvragen0903
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
18 Aug 2022 09:50 #250006
by Aanvragen0903
Replied by Aanvragen0903 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Today, 18 august, i received the controller. Looks realy good
Please Log in or Create an account to join the conversation.
18 Aug 2022 10:10 #250008
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
You got in quick enough, mine is still on order. They pulled everything to re manufacturer. I'll post the pics when I get mine. To see what they changed .
Please Log in or Create an account to join the conversation.
18 Aug 2022 11:03 #250010
by CBollweg
Replied by CBollweg on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I received my EC500 and NVMPG yesterday. Firmware uploaded and running so far apparently. However, when the handwheel is connected, Linuxcnc goes into estop and I get the following error. The EC500 must then be switched off and restarted, since Linuxcnc no longer comes out of the estop. does anyone have an idea or is remora not ready yet?
Please Log in or Create an account to join the conversation.
- Aanvragen0903
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
19 Aug 2022 01:09 - 19 Aug 2022 14:12 #250048
by Aanvragen0903
Replied by Aanvragen0903 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Do you have the switch on the ec500 on std or nv?
Iff posible also try with a std mpg.
Iff posible also try with a std mpg.
Last edit: 19 Aug 2022 14:12 by Aanvragen0903.
Please Log in or Create an account to join the conversation.
19 Aug 2022 05:09 #250053
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi, I've not got the NVMPG running with my EC500 as the serial communication on my board does not seem to work correctly at high speed. Can you share a picture of your board? If it's similar to the NVEM then we will be close to getting it working. When you say LinuxCNC goes into estop, when does this occur? When you try to jog?I received my EC500 and NVMPG yesterday. Firmware uploaded and running so far apparently. However, when the handwheel is connected, Linuxcnc goes into estop and I get the following error. The EC500 must then be switched off and restarted, since Linuxcnc no longer comes out of the estop. does anyone have an idea or is remora not ready yet?
Please Log in or Create an account to join the conversation.
19 Aug 2022 05:59 #250058
by CBollweg
Replied by CBollweg on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
on nv
Please Log in or Create an account to join the conversation.
Time to create page: 0.245 seconds