Remora - ethernet NVEM / EC300 / EC500 cnc board
- Murphy
- Offline
- Premium Member
-
Less
More
- Posts: 144
- Thank you received: 5
10 May 2025 07:41 #328132
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
No it's still the same. The first clip is in CSS mode. The signal is gradually tapering up and down when moving in 10mm moves. You can hear the spindle nearly stopping as it's tapering up or down, only when it levels out again it goes to the required speed.
The second clip is out of CSS mode and manually pressing the Jog buttons. The signal has sharp edges as it's going straight to the required speed instead of tapering up or down .
I still can't figure out why this is happening. My VFD requires a 0-10v input. I'll hook up an oscilloscope to the speed input on the VFD and see what's happening.
The second clip is out of CSS mode and manually pressing the Jog buttons. The signal has sharp edges as it's going straight to the required speed instead of tapering up or down .
I still can't figure out why this is happening. My VFD requires a 0-10v input. I'll hook up an oscilloscope to the speed input on the VFD and see what's happening.
Please Log in or Create an account to join the conversation.
- chrstrvs
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 May 2025 16:50 #328161
by chrstrvs
Replied by chrstrvs on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello, everybody!
About 1.5 years ago I tried going the Remora route on my NVEM V2 with the STM32F207 and a Raspberry Pi 4. After a steep learning curve I finally managed to get the motors to turn, but experienced an issue where the motors would stutter, or skip steps, for some reason. Despite some kind peoples best effort to help, I was never successful in solving the issue and my PrintNC has been out of order since then.
I finally gathered some energy and wanted to give this another go, so I bought a mini-PC, a Lenovo M93p, mainly because I feel more comfortable using a real PC rather than a RasPi, and because it feels like there is more support for it.
Anyway, I followed all the same steps as the last time to get Remora up and running, but unfortunately the result is the same, the motors turn, but stutters.
1.5 years is a long time in the world of open source firmware development, so first of all I would like to ask if the Remora-NVEM repo is still the latest one for the NVEM V2? Or has the old NVEM V2 been integrated in another repo and has seen some updates since?
My next question would be, if it turns out that I simply can't get the NVEM to work properly, what is the board to buy nowadays? Is it the EC300?
Regards,
Christian
About 1.5 years ago I tried going the Remora route on my NVEM V2 with the STM32F207 and a Raspberry Pi 4. After a steep learning curve I finally managed to get the motors to turn, but experienced an issue where the motors would stutter, or skip steps, for some reason. Despite some kind peoples best effort to help, I was never successful in solving the issue and my PrintNC has been out of order since then.
I finally gathered some energy and wanted to give this another go, so I bought a mini-PC, a Lenovo M93p, mainly because I feel more comfortable using a real PC rather than a RasPi, and because it feels like there is more support for it.
Anyway, I followed all the same steps as the last time to get Remora up and running, but unfortunately the result is the same, the motors turn, but stutters.
1.5 years is a long time in the world of open source firmware development, so first of all I would like to ask if the Remora-NVEM repo is still the latest one for the NVEM V2? Or has the old NVEM V2 been integrated in another repo and has seen some updates since?
My next question would be, if it turns out that I simply can't get the NVEM to work properly, what is the board to buy nowadays? Is it the EC300?
Regards,
Christian
Please Log in or Create an account to join the conversation.
- Daz
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
10 May 2025 20:01 #328176
by Daz
Replied by Daz on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I have been using EC300 with Remora for the last four months, and it has been great. Once I got it up and running, I didn't have any problems. You can now get an EC300 with Remora firmware on eBay.
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
-
Less
More
- Posts: 144
- Thank you received: 5
11 May 2025 16:46 - 11 May 2025 16:48 #328202
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I noticed when looking at encoderS0.position I'm getting no valves. Also no valves when looking at spindle.0.revs in halshow. Could this be causing the issue ? EncoderS0.phase-Z is getting the signal from one of the remora input pins(my encoder index) which both are blinking in halshow when triggered. Should I be seeing the spindle.0.revs displaying a valve in halshow?
Last edit: 11 May 2025 16:48 by Murphy.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 910
- Thank you received: 270
11 May 2025 18:22 #328209
by cakeslob
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
normally yes, it will increase, and then during threading i think, there is a reset index command which turns it to 0 i think. during css operation im not sure.
did you end up getting the abz encoder? did you do the spindle.speed-in stuff? monitor that while your doing the css and see if it takes a dive while the speed is changing. the remora.sp0 signal looks exactly as i would expect though, with the speed tapering up or down as the diameter changes.
did you end up getting the abz encoder? did you do the spindle.speed-in stuff? monitor that while your doing the css and see if it takes a dive while the speed is changing. the remora.sp0 signal looks exactly as i would expect though, with the speed tapering up or down as the diameter changes.
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
-
Less
More
- Posts: 144
- Thank you received: 5
11 May 2025 20:02 #328224
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Yes iv A and B hooked up to the PV which is working, counting fwd and back. Iv another encoder that came with the machine stock (emco encoder) that I'm using for the Z as it's 24v and hooked straight to an input pin. Yes iv the spindle speed in , in my Hal file same as yours.
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
-
Less
More
- Posts: 144
- Thank you received: 5
12 May 2025 09:11 - 12 May 2025 15:10 #328256
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
When I hook a multimeter up to the vfd 10v in, the voltage physically drops near to Zero if a lot of speed adjustments are done. So I can see now what is happening but iv no idea why the voltage drops so much. It must be something to do with how remora outputs the signal ?
I spent the whole day going through different code with chatgpt and still nothing, it's still dipping. Should I ask this in a general new topic in the forum or is this specific to remora do you think
I spent the whole day going through different code with chatgpt and still nothing, it's still dipping. Should I ask this in a general new topic in the forum or is this specific to remora do you think
Last edit: 12 May 2025 15:10 by Murphy.
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 9
12 May 2025 15:30 #328279
by Spyderbreath
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I tried this spindle config and I get the following error - ./remora-ec500.hal:79: Ini variable '[SPINDLE_0]RPM_GAIN' not found. Would you or anyone else know what might be wrong and how to fix it?thanks vp, that will save us a lot of work. we need to archive this shit for the repo or something
darkpheonix - that is good to hear
spyder - this is my WIP remora spindle template (no encoder edition). murphy is also using it. some might be duplicate to what you have now
######################################################################################### # Remora Spindle hal remora_spindle.hal # # this hal file includes the following # - connecting Remora outputs to LinuxCNC motion spindle.0 enable/direction # - connecting spindle signals to LinuxCNC motion spindle.0 pins # - converting the LinuxCNC motion spindle.0.speed-out-abs to signal with scale # - connecting converted LinuxCNC motion spindle.0.speed-out-abs to Remora PWM # ######################################################################################### # conenct LinuxCNC motion spindle.0 on/enable to remora output 01 net spindle-on <= spindle.0.on => remora.output.01 # conenct LinuxCNC motion spindle.0 direction to remora output 02 net spindle-cw <= spindle.0.forward => remora.output.02 # connect spindle signals to LinuxCNC motion spindle.0 net spindle-cmd-rpm <= spindle.0.speed-out net spindle-cmd-rps <= spindle.0.speed-out-rps net spindle-cmd-rps-abs <= spindle.0.speed-out-rps-abs net spindle-at-speed => spindle.0.at-speed ### Connect and configure spindle PWM/0-10v signal ### ########################################################### # Spindle PWM 0-100 control # converting the LinuxCNC spindle speed output # into a useable output signal for our remora pwm component # - for pwm the math is 100/ [MAX SPINDLE RPM] = gain # 100/(5000rpm) = .02 , the gain is 0.02 ########################################################### # load a linuxCNC scale module, loadrt scale names=scale_to_rpm.0,scale-rpm addf scale-rpm servo-thread # configure spindle rpm to pwm # pwm 100 / max rpm = gain number #setp scale-rpm.gain 0.02 # 100/ rpm (5000) = .02 setp scale-rpm.gain [SPINDLE_0]RPM_GAIN # 100/ rpm (5000) = .02 # connect the LinuxCNC motion spindle.0 speed-out-abs to the pwm scale net spindle-speed-scale spindle.0.speed-out-abs => scale-rpm.in # connect pwm scale output to remora spindle pwm SP.0 net spindle-speed-abs scale-rpm.out => remora.SP.0 # Manual toolchange loadusr -W hal_manualtoolchange net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
Please Log in or Create an account to join the conversation.
- Murphy
- Offline
- Premium Member
-
Less
More
- Posts: 144
- Thank you received: 5
12 May 2025 15:48 - 12 May 2025 15:50 #328281
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Try deleting [spindle0]
setp scale-rpm.gain .02
put that in instead
setp scale-rpm.gain .02
put that in instead
Last edit: 12 May 2025 15:50 by Murphy.
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 9
12 May 2025 16:07 - 12 May 2025 16:34 #328286
by Spyderbreath
At least that gets me to the next error - ./remora-ec500.hal:127: Pin 'remora.output.02' was already linked to signal 'spindle-cw'
line 127 is - net mist remora.output.02 => iocontrol.0.coolant-mist
Edit: I figured out that the pin for the spindle was wrong, it should of been .00 not .02. Now I have the spindle turning on. First time I have seen the spindle run sense the day the machine shipped. No speed control and I am unsure how to fix that, but at least I am making progress. At this rate I might even see the mill actually working before fall.
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Try deleting [spindle0]
setp scale-rpm.gain .02
put that in instead
line 127 is - net mist remora.output.02 => iocontrol.0.coolant-mist
Edit: I figured out that the pin for the spindle was wrong, it should of been .00 not .02. Now I have the spindle turning on. First time I have seen the spindle run sense the day the machine shipped. No speed control and I am unsure how to fix that, but at least I am making progress. At this rate I might even see the mill actually working before fall.
Last edit: 12 May 2025 16:34 by Spyderbreath.
Please Log in or Create an account to join the conversation.
Time to create page: 0.387 seconds