- Posts: 383
- Thank you received: 135
Remora - ethernet NVEM / EC300 / EC500 cnc board
- royka
- Offline
- Platinum Member
-
Less
More
4 years 7 months ago - 4 years 7 months ago #237162
by royka
Replied by royka on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Cool, I've ordered one and the st-link will probably take a week. Then I could test the 0-10v pwm output
Edit: I received the board today and flashed the Remora firmware.
I would like to try it out first on my pc by ethernet.
I'll take a look at it this weekend, I'm btw new to LinucCNC, is there a place where I could find how to configure LinuxCNC to work with this board/firmware?
Edit: I received the board today and flashed the Remora firmware.
I would like to try it out first on my pc by ethernet.
I'll take a look at it this weekend, I'm btw new to LinucCNC, is there a place where I could find how to configure LinuxCNC to work with this board/firmware?
Last edit: 4 years 7 months ago by royka.
The following user(s) said Thank You: Pro_El, scotta
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
4 years 7 months ago - 4 years 7 months ago #238124
by royka
Replied by royka on topic Remora - ethernet NVEM / EC300 / EC500 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
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
Last edit: 4 years 7 months ago by royka. Reason: It's working
The following user(s) said Thank You: scotta, Domi, spdbmp927
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
4 years 7 months ago #238377
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi, super happy that you've got the NVEM board up and running with Remora!! And thanks for developing the HAL for the spindle.
It would be great to develop the config (INI and HAL) files for the board so it's a simple for people to get up and going.
It would be great to develop the config (INI and HAL) files for the board so it's a simple for people to get up and going.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
4 years 7 months ago #238537
by royka
Replied by royka on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Thank you for sharing your projects!
That's a great idea, due to covid and still in progress of building the cnc machine (almost finished), it will take a few days however. But I'll share it for sure.
That's a great idea, due to covid and still in progress of building the cnc machine (almost finished), it will take a few days however. But I'll share it for sure.
Please Log in or Create an account to join the conversation.
- Domi
- Offline
- Senior Member
-
Less
More
- Posts: 64
- Thank you received: 0
4 years 7 months ago #238572
by Domi
Replied by Domi on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello. I'm new here and I need advice. I bought an NVEM + st-link converter. I am already building the 3rd cutter and I am interested in the NVEM board. But I never programmed. Can you explain to me in more detail how to make Flash? Which file to place and how? Until now, I've only used the LPT port where it's easy. I will be grateful for the detailed procedure and any advice. Alternatively, we can agree on some payment for the help. And thank you for this thread. It's great that someone got into it. Thanks. Domi
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
4 years 7 months ago - 4 years 7 months ago #238637
by royka
Replied by royka on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Here is what I did:
- Connect the st-link as shown here (Don't need external power)
forum.linuxcnc.org/18-computer/44828-rem...board?start=0#231852
- Then flash "Remora-NVEM.bin" with the st-link utility
Open the bin file --> Target - connect --> Target - Program & verify
www.st.com/en/development-tools/stsw-link004.html#get-software
github.com/scottalford75/Remora-NVEM/tree/main/Release
(STM32CubeProgrammer didn't work for me).
- Then compile the hal component "sudo halcompile --install remora-eth.c"
github.com/scottalford75/Remora/tree/fea...omponents/Remora-eth
- You could use the example but you have to change in line 12, 13 and 14:
remora.SPI-enable --> remora.enable
remora.SPI-reset --> remora.reset
remora.SPI-status --> remora.status
And I had to comment out the joint 3 setup (I suppose this is the 4th axis?)
github.com/scottalford75/Remora/blob/fea...a-eth/remora-eth.hal
- Set your ethernet adapter at a fixed ip 10.10.10.11
I've never had an complete working setup yet, because as I said I'm still in the progress of building. But this was enough for me to make it move.
Tip: The NVEM gives the pulses on the - so the + could be connected together on your stepper drivers
- Connect the st-link as shown here (Don't need external power)
forum.linuxcnc.org/18-computer/44828-rem...board?start=0#231852
- Then flash "Remora-NVEM.bin" with the st-link utility
Open the bin file --> Target - connect --> Target - Program & verify
www.st.com/en/development-tools/stsw-link004.html#get-software
github.com/scottalford75/Remora-NVEM/tree/main/Release
(STM32CubeProgrammer didn't work for me).
- Then compile the hal component "sudo halcompile --install remora-eth.c"
github.com/scottalford75/Remora/tree/fea...omponents/Remora-eth
- You could use the example but you have to change in line 12, 13 and 14:
remora.SPI-enable --> remora.enable
remora.SPI-reset --> remora.reset
remora.SPI-status --> remora.status
And I had to comment out the joint 3 setup (I suppose this is the 4th axis?)
github.com/scottalford75/Remora/blob/fea...a-eth/remora-eth.hal
- Set your ethernet adapter at a fixed ip 10.10.10.11
I've never had an complete working setup yet, because as I said I'm still in the progress of building. But this was enough for me to make it move.
Tip: The NVEM gives the pulses on the - so the + could be connected together on your stepper drivers
Last edit: 4 years 7 months ago by royka.
The following user(s) said Thank You: spdbmp927
Please Log in or Create an account to join the conversation.
Time to create page: 0.865 seconds