Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 10 months ago #317549 by tu_koper
I thought I would add something to this discussion. The SCALE parameter in the
Code:
remora-ec500.ini
file is closely dependent on how the DM556T driver (or another motor driver) is configured, specifically its micro-stepping settings, as well as the pitch of the leadscrew (ball screw). For errors of this type, related to critical timing during axis control, it might be beneficial to initially set the SCALE parameter to a low value when testing your configuration.In my case, the
Code:
remora-ec500.ini
file currently has
Code:
SCALE=80
, and my HBS86H driver is set with no micro-stepping and a screw pitch of 5 mm/rev. I figured that if the driver is not operating in micro-stepping mode, this means fewer pulses are required to control the driver (which is obvious). Consequently, this results in fewer output signals being sent by the EC500 within a given time frame compared to when micro-stepping is enabled. This might prevent the loss of some information that could occur during motor control.During my tests with the X-axis (as I am currently only controlling this axis), no errors as previously discussed have occurred with these parameters. However, when I reverted to settings with a higher SCALE parameter and micro-stepping enabled on the driver, the error reappeared.This is likely well-known information to most of you on this forum, but I am sharing it as a tip for others who might not be aware of it. If I am mistaken, please feel free to correct me. I simply want to share what I have observed. I am just beginning my journey with "LinuxCNC," and any lessons or feedback from you would also be valuable to me.

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

More
1 year 10 months ago #317608 by MrDe
Hey Scotta,I saw that you recommended flashing the ST-Link with CMSIS-DAP firmware. Just out of curiosity, I tried flashing it using the ST-Link, and it worked! In fact, it was smoother than the CMSIS-DAP probe I bought. The reason is, the CMSIS-DAP probe needed some extra configuration to work on Windows, while the ST-Link just worked out of the box. So, for anyone thinking of flashing the firmware, I’d suggest using the ST-Link V2 with PyOCD directly.

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

More
1 year 10 months ago #317667 by Murphy
I'm finally getting somewhere with the encoder. Used this diagram from the site below. Ordered the board from jcbway, the iso7740 and components from AliExpress. I finally get the PV counting in both directions. Next just figure out the spindle setup with it.

www.electronics-lab.com/project/4-channe...d-digital-isolators/

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

More
1 year 10 months ago - 1 year 10 months ago #317766 by BSOD
Hello everyone! First of all, I would like to thank Scott for the development and thank the contributors for their help!

I would like to convert my existing CNC using an EC300 controller. I thought the firmware installation would be the challenge, but in the end, the LinuxCNC configuration caught up with me. I have been using the machine for some time with LinuxCNC, with a parallel BOB.

I can control the spindle and its speed with the new controller.
With the EC300-rt1052.txt configuration, I managed to get the limit switches and e-stop working and I can move the axes to some extent, but the movement is choppy. (dm556 drives). I tried to adopt the DMA version of the EC500, but there is no movement at all.

Clearly I have something un - or - misconfigured. 

Can someone help by sharing an EC300 specific DMA config.txt, ini and hal-file? Is there any component other than config.txt that I might have overlooked for DMA stepgen?
Last edit: 1 year 10 months ago by BSOD.

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

More
1 year 10 months ago #317772 by MrDe
Hello,I’m experiencing an issue with the NVEM V5 board (RT1052) when using the Remora firmware. The spindle output (VSO) is functioning as expected, providing a 0-10V signal, but none of the other output pins are working at all. I’ve tried toggling all the output pins (as shown in the attached picture), but none of them are triggering HIGH.

Interestingly, all the input pins are working perfectly fine without any issues.

What I’m trying to achieve is to have the VSO pin control the spindle speed and use both OUT1 and OUT2 to control the direction (CCW | CW).

Has anyone encountered a similar problem or have any suggestions on what might be causing this?

Thanks in advance for any help!

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

More
1 year 10 months ago - 1 year 10 months ago #317775 by zelo
I have my config here for ec500 with nvmpg: github.com/zelo/linuxcnc-remora-ec500-rt1052-cfg

- For now basic spindle controll works
- Stepper drivers (DM556T) using DMA stepgen.
- NVMPG - signal generator, multiplier button, and axis selection

I have still issues with following joint errors, but thats with faster movement or direction change. I guess when i jog too fast with the wheel it cant keep up.
EDIT: fixed following joint errors by setting lower max velocity values
Last edit: 1 year 10 months ago by zelo.
The following user(s) said Thank You: MrDe

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

Time to create page: 0.516 seconds
Powered by Kunena Forum