Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 6 months ago #268253 by zmrdko
Actually JMC integrated servos dont have any feedback so its basically open loop mode just like stepper motor. My bad. I did not described this. So, there is no feedback back to EC500

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

More
3 years 6 months ago #268469 by scotta
The Remora firmware for the RT1052 NVEM / EC300 / EC500 is still only running a base thread frequency of 40kHz. So you will need to work within the current limitation until this is increased, which you could try by compiling your own version and changing the PRU_BASEFREQ in configuration.h. The RT1052 running at +500Mhz should easily do a faster thread, I just have not got around to testing.

I'll also be revisiting the DMA step generation once I've got a few other things completed.

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

More
3 years 6 months ago #268478 by scotta
An Easter gift for EC500 users. I have just pushed a dedicated firmware for the EC500 to the main branch.

github.com/scottalford75/Remora-RT1052/b...t1052-EC500-beta.bin

All of the IO except for the MPG is now available. Inputs are numbered sequentially matching the headers. ie FHA = remora.input.0 through to IN16 = remora.input.19

Similarly the outputs are remora.output.0 to 15

The MPG inputs are a bit of a mystery still as I have not been successful in scanning the IO ports for these. For most people the 16 inputs and outputs should be more than enough.

Happy Easter!
The following user(s) said Thank You: tommylight, zmrdko

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

More
3 years 6 months ago - 3 years 6 months ago #268504 by zmrdko
Thanks!!
I have flashed new firmware already. Unfortunately I'm still at early stage with linuxcnc.
The current problem is that I'm struggling with unexpected latency delays:

I'm running LinuxCNC 2.8.4 Debian 10 Buster PREEMPT-RT ISO.
I have EC500 with RT1052 and PC is HP Prodesk 400 G4 with i5 6500 4c/4t and isolcpus=2,3, 16GB Ram and integrated graphics.
I am getting latency under 80k with dozen of glxgears and 4k video in background.

But I think there are some spikes in servo thread, when I toggle machine power (F2) ON in linuxcnc.


What am I doing wrong, or am I missing something?

 
Last edit: 3 years 6 months ago by zmrdko.

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

More
3 years 6 months ago #268506 by tommylight
Those are terribly bad numbers! :(
In BIOS, disable hyperthreading, speed step, turbo, virtualisation, C states, everything with power saving, PCI-E aggressive something or another??, etc.
Might also be due to thermal throttling of the processor, or failing hard drive or memory, based on those numbers.

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

More
3 years 6 months ago #268510 by meister
Hi,
first, thanks for remora :)

Question: how can i invert one dir pin ?
i'm using the ec300 v5

"Board": "NVEM",
"Modules":[
{
"Thread": "Base",
"Type": "Stepgen",
"Comment": "X - Joint 0 step generator",
"Joint Number": 0,
"Step Pin": "PE_15",
"Direction Pin": "PE_14"
},

Thanks,
Olli

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

Time to create page: 0.655 seconds
Powered by Kunena Forum