Remora - ethernet NVEM / EC300 / EC500 cnc board

More
03 Jan 2025 15:43 #317938 by MrDe

Okay. I'm officially lost. I can't get the stepper motors to work normally. Everything else works or would work with a few configuration changes if the movement was resolved. With the ec300-rt1052.txt configuration, the steppers have the grinding sound you can hear in the linked video.



BSOD, I've had a similar issue before, and in my case, it was caused by the wiring of the stepper drivers. I would suggest trying the following:
  1. Connect all the V+ pins of the stepper drivers to the Common pin of the EC500.
  2. Then, connect each signal (Step & Dir) from the EC500 to the negative pins of the drivers.
If your current setup is already configured like that, try reversing the connections, i.e., connect the V+ pins to the negative pin of the EC500, and the signal pins (Step & Dir) to the Common pin.

This adjustment worked for me in the past, so hopefully, it will resolve the issue for you. Let me know if this helps!
 
The following user(s) said Thank You: BSOD

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

More
03 Jan 2025 18:48 #317954 by BSOD

  1. Connect all the V+ pins of the stepper drivers to the Common pin of the EC500.
  2. Then, connect each signal (Step & Dir) from the EC500 to the negative pins of the drivers.

    If your current setup is already configured like that, try reversing the connections, i.e., connect the V+ pins to the negative pin of the EC500, and the signal pins (Step & Dir) to the Common pin.

    This adjustment worked for me in the past, so hopefully, it will resolve the issue for you. Let me know if this helps!

IT'S  A L I V E !!!
Thank you! I had everything at least triple checked. I've never would have thought to reverse polarity on the signals. Actually, common sense tells me to watch polarity very carefully, to contain the magic smoke where it belongs.

 

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

More
03 Jan 2025 20:08 #317957 by zelo
MrDe I don't have NVEM V5 but i guess this config here is for it: github.com/scottalford75/Remora-RT1052-c...xCNC/nvem-rt1052.txt
Just make sure you have RT1052 version.

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

More
03 Jan 2025 21:38 #317969 by cakeslob
zelo, you speeds in your config arent that crazy. you should be abkle to go faster. if you are only seeing the issue with jogging, try doing a test, by lowering the accel and raising the velocity.

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

More
04 Jan 2025 05:54 #318026 by MrDe
I'm using the latest nvem-rt1052 from the Remora-RT1052-cpp repo, but the issue persists. I don't think it's a config problem, as all pins are functioning properly except the output pins. It seems unlikely that this is a coincidence.

I'm starting to suspect either the HAL component or the firmware might not be working as expected with the NVEM V5 board.

Here’s a quick video demonstrating the issue:


Thank you so much for your time, really appreciate it!
 

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

More
04 Jan 2025 08:32 #318030 by BSOD
Please share your config, HAL and ini. (can't find them, if you did earlier.)

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

More
04 Jan 2025 10:40 #318037 by MrDe

Please share your config, HAL and ini. (can't find them, if you did earlier.)


For the HAL and INI files, I’m using the default LinuxCNC/remora-rt1052-basic configuration. I haven’t made any changes or tweaks to it.

For the config file uploaded to the NVEM V5 board, I used LinuxCNC/nvem-rt1052.txt .

Let me know if you need any more details!
 

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

More
04 Jan 2025 13:28 - 04 Jan 2025 14:35 #318059 by BSOD
On the ec300 I measure 24V on OT1 to GND when set low, 0V when set high. (Strange. I expected it to be reverse, because of safety reasons...)
 I've tested it with and without spindle setting in HAL, because you don't have spindle configured in yours (it's not the problem).

Do you have any other usable and functioning output pins (other than the working steppers)?

What voltages do you read, if the outputs pulled low?
Last edit: 04 Jan 2025 14:35 by BSOD.

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

More
04 Jan 2025 15:31 - 04 Jan 2025 15:47 #318086 by zelo
@cakeslob
I tried that but it's failing. Jogging one direction, continoous in axis gui.

jog speed in ui 2423mm/min ~= 40/sec
MAX_VELOCITY = 40 > 50
MAX_ACCELERATION = 200 > 50

Result is following joint error after 3 or 4 seconds.

When velocity is 40 it still fail sometimes, when it's 39 it works.
I have 5000 microsteps per rotation. One rotation is 5mm movement. So 1mm is 1000 steps. With 40mm/s max velocity it gives 40000 steps/second.
It's interesting because it's around 40khz and it fails.
Maybe I'm not running in DMA mode at all? But why would it work with the config for DMA?
 
Last edit: 04 Jan 2025 15:47 by zelo.

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

More
04 Jan 2025 17:48 #318111 by Murphy
Any idea why they PV and raw count stop counting after a certain RPM. When I am in hal show I can see it counting up. But if I increase the rpm(it's not much rpm maybe 500rpm) it stops counting up. 
Its a 600ppr, supposed to be 100khz encoder.  Encoder scaled to 2400 in the hal file.

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

Time to create page: 0.272 seconds
Powered by Kunena Forum