Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 5 months ago #328176 by Daz
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.

More
1 year 5 months ago - 1 year 5 months ago #328202 by Murphy
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: 1 year 5 months ago by Murphy.

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

More
1 year 5 months ago #328209 by cakeslob
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.

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

More
1 year 5 months ago #328224 by Murphy
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.

More
1 year 5 months ago - 1 year 5 months ago #328256 by Murphy
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 
Attachments:
Last edit: 1 year 5 months ago by Murphy.

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

More
1 year 5 months ago #328279 by Spyderbreath
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

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
Code:
######################################################################################### # 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
 
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?

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

Time to create page: 1.808 seconds
Powered by Kunena Forum