Remora - ethernet NVEM / EC300 / EC500 cnc board

More
06 Feb 2023 01:13 #263785 by scotta
Check out the STM32 version repository. I'll need to add this to the RT1052 repo.

github.com/scottalford75/Remora-NVEM/tre...nuxCNC/ConfigSamples

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

More
06 Feb 2023 21:43 #263870 by dec0077
Hi,

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.

More
07 Feb 2023 10:03 #263907 by dec0077
Ok, the spindle runs (I forgot to output the enable to remora.output.0).

Now I have to solve the issue of the speed.


Alberto M.

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

More
09 Feb 2023 08:46 - 09 Feb 2023 08:49 #264114 by dec0077
I think I know what the issue is with the spindle: the Huagyang VFD I have takes a 0-10v input, but remora outputs a PWM signal and the two are not compatible.

@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.
 
Last edit: 09 Feb 2023 08:49 by dec0077.

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

More
09 Feb 2023 08:52 #264116 by scotta
Hi, the output is an analogue 0-10v. The PWM is converted on board by a PWM to Analogue IC.

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
The following user(s) said Thank You: dec0077

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

More
09 Feb 2023 10:22 #264123 by dec0077
Then I'm probably doing something wrong, as the voltage on the pin is always 10V, no matter what (float) value I pass to remora.SP.0

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.

More
09 Feb 2023 20:52 #264167 by scotta
Which board do you have? EC300 / NVEM or EC500?

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.

More
09 Feb 2023 21:34 #264170 by dec0077
I have a NVEM V2

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

More
09 Feb 2023 23:56 - 10 Feb 2023 00:37 #264185 by Bari
I've been following on and off since the project started. Is there an updated wiki or sticky post with the latest overview of the hardware and firmware to grab? I was actually wondering today what the max jitter may be on the servo threads with Remora. Where does a noob go to get an overview of the latest state of things? 

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:
Last edit: 10 Feb 2023 00:37 by Bari. Reason: editor fun

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

More
10 Feb 2023 00:21 #264187 by scotta

I have a NVEM V2

STM32 based NVEM or RT1052?

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.

Time to create page: 0.562 seconds
Powered by Kunena Forum