Remora - ethernet NVEM / EC300 / EC500 cnc board
github.com/scottalford75/Remora-NVEM/tre...nuxCNC/ConfigSamples
Please Log in or Create an account to join the conversation.
I'm having problems with setting up the spindle function. I applied the same configuration as you did, but the VSO pin is always at 10V, no matter what the M3 SXXXX command says.
I wired the VFD this way: GND1 to ACM and DCM, VSO to VI and OUT1 to FOR.
Also, the spindle does not run after an M3 command and I can't seem to find the issue, I set PD01 to 1, PD02 to 1, PD044 to 01 and PD045 to 05, but it doesn't help.
Do you have any advice?
Best Regards,
Alberto M.
Replied by royka on topic Remora - ethernet NVEM cnc board The steppers are working, but I couldn't get the 0-10v output to work. I've tried to insert the lines like in your manual, but had to add 2 lines to prevent getting errors:
loadrt scale count=1
loadrt abs count=1
addf scale.0 servo-thread
addf abs.0 servo-thread
setp scale.0.gain 1
net spindle-speed-scale spindle.0.speed-out => scale.0.in
net spindle-speed-abs scale.0.out => abs.0.in
net spindle-speed-DAC abs.0.out => remora.SP.0
With these lines I don't see the spindle control buttons. Then I copy pasted some lines which created the buttons, but these didn't control the output. To be honest I've no idea what I'm doing, just trying some things. Could you help me?
Edit: Ok I think I've found the right settings:
loadrt scale count=1
loadrt lowpass count=1
loadrt abs count=1
addf scale.0 servo-thread
addf lowpass.0 servo-thread
addf abs.0 servo-thread
setp scale.0.gain 0.00416666667
net spindle-cmd-rpm spindle.0.speed-out => scale.0.in
net spindle-cmd-rpm-abs scale.0.out => abs.0.in
net spindle-speed-DAC abs.0.out => remora.SP.0
With these lines is the output at zero 10v and at 50% it's almost 5v. So the 0-10v is working
Please Log in or Create an account to join the conversation.
Now I have to solve the issue of the speed.
Alberto M.
Please Log in or Create an account to join the conversation.
@scotta, would it be possible to change, via config, the way remora behaves regarding the output to VSO? I mean, something that lets you decide if it is a PWM output pin or a simple DAC pin
The other possible explanation why my NVEM always outputs 10V on VSO is that I have a fault in the component that drives this pin, but I wouldn't know how to solve that.
Best Regards,
Alberto M.
Please Log in or Create an account to join the conversation.
Another option you might consider is using the component I developed many years ago to communicate to the Huagyang VSD vis RS232 with a modified Modbus protocol.
Not my work but references the component that evolved from my work.
www.diycncdesign.com/linuxcnc-2.8-huanyang-vfd.html
Please Log in or Create an account to join the conversation.
How can I be sure my board has the PWM-to-0_10V converter IC? If I understand correctly, some boards do not have this chip?
Best Regards,
Alberto M.
Please Log in or Create an account to join the conversation.
I have not tested on the EC500, they may have changed the output that the PWM / analogue is connect to. I'm trying to figure out the IO changes on the EC500 at the moment.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Don't mean to hijack this thread, so I started a new one about this here: forum.linuxcnc.org/18-computer/48202-remora-for-rk3588-boards
Attachments:
Please Log in or Create an account to join the conversation.
STM32 based NVEM or RT1052?I have a NVEM V2
I've just checked the EC500 (RT1052) and the PWM is the same as the EC300 (RT1052). And I did find a bug in the code when going directly from 100% to 0%, with the PWM staying at 100%. Fix will be release soon.
Please Log in or Create an account to join the conversation.