Remora - ethernet NVEM / EC300 / EC500 cnc board

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
20 May 2025 20:46 #328832 by scotta

@ Thayloreing Looks like you have no Comms with the board. Which could be why you can't upload the config to the board. Look back in the posts there is steps there to change the IP address for the board to 10.10.10.10.

@scotta, have you tested the v5 boards with CSS ?. I'm having issues only in CSS mode. Signal keeps dropping when there is speed changes during CSS. Voltage newly drops to zero, once speed changes stop it goes to the required speed. I'm thinking it could be the 0-10v chips on the EC500's.

Hi, no sorry have not tested CSS mode. The 0-10v chip is a PWM to analog chip and the Remora code uses the hardware quad timer. With CSS the spindle speed is constantly changing. In the code when the duty cycle changes, the timer is stopped to allow the timer configuration to be updated. This may take long enough for the PWM to analog chip to drop to 0v.

The software PWM module updates the duty cycle on the fly. Running the software PWM module in the base thread may get the PWM frequency in the right ball park.

In my testing of the spindle analogue, I must admit that I never put a scope on the output. Just a multi meter, and that would not have reacted quick enough to see the drop to 0v.

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

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
20 May 2025 20:57 #328833 by scotta
Looking at the code for the hardware PWM, a few changes could be made to not stop the timer on a duty cycle change. A quick job for the weekend.

@Murphy, are you happy to test?
The following user(s) said Thank You: Murphy

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

More
20 May 2025 22:13 - 20 May 2025 22:16 #328835 by Murphy
Absolutely but I'm away with work for the next 3 weeks so won't be home until then to test. I hooked a multimeter up the output pins of the EC500 and could see the drop in voltage. Only happens in CSS mode. If I manually change the speed outside of CSS it responds straight away . When looking at remora.sp in halscope the signal is square and reacts quickly. During CSS, remora.sp tapers up and down (with x axis movement which it should) During the taper the voltage drops to nearly zero resulting in the spindle nearly stopping. Once the signal levels out(no more taper of the signal) it goes to the required speed.
Last edit: 20 May 2025 22:16 by Murphy.

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

More
21 May 2025 03:37 - 21 May 2025 03:38 #328843 by Thayloreing
Replied by Thayloreing on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
@Murphy I'm not sure if I understood, when you ping to change, are you talking about Ethernet communication? If so, what is the relationship between being able to upload Remora to the cloud? Sorry for my lack of understanding, I'm just trying to understand, because Ethernet communication is one communication, and CMSIS DAP via USB is not another? Or do I have to configure an address for the USB CMSIS DAP
Last edit: 21 May 2025 03:38 by Thayloreing.

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

More
21 May 2025 06:12 #328845 by Murphy
Sorry my mistake , I thought you where uploading the config file. I used windows through the command prompt and ran pyocd to upload mine .

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

More
22 May 2025 11:24 - 22 May 2025 11:38 #328905 by DarkPhoinix
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Good morning all,
is it possible to have a conversion of the values ​​of "Step Length" "Step Space" in µs?
 "Thread": "DMA",
    "Type": "DMAstepgen",
        "Comment":            "Y - Joint 1 step generator",
        "Joint Number":        1,
        "Step Pin":        "P1_24",
        "Direction Pin":    "P1_31",
        "Step Length":        5,
        "Step Space":        2,5

Step Length=5µs  
Step Space=2,5µs
This is correct, i can use 2,5/1,1? 
 
Last edit: 22 May 2025 11:38 by DarkPhoinix.

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

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
22 May 2025 20:25 #328934 by scotta
Hi DarkPhoinix,

The Step Length and Step Space need to be integers / whole numbers. So go with 5 and 3.
The following user(s) said Thank You: DarkPhoinix

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

More
29 May 2025 08:19 - 29 May 2025 08:20 #329356 by PopBang
Hey guys, I'm pretty new to all this coding jazz, but I've fumbled my way through a bit so far. I'm using a NVEM V2 board with the NVMPG to control a RongFu RF31 i have retro fitted with some stepper/servos. So far i can move the X Y Z axes accurately using the key board and the NVMPG, I can also select axes with the NVMPG and I'm seeing all the inputs work in the Hal Configuration. But now I'm at a loss at how to modify the Hal file to get those inputs to function, especially the estop. I'm using a N/O estop switch and it's switching remora.input.04 to false (.04.not to True) when hit.
What do i need to add to the Remora-nvem.hal file to make it work?
Or does any one have an already working .Hal file for the NVEM V2 with limit switches and other typical milling functions i could look over?
 

File Attachment:

File Name: remora-nvem.hal
File Size:2 KB



Thanks
 
Attachments:
Last edit: 29 May 2025 08:20 by PopBang. Reason: bad layout

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

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 Jun 2025 21:42 #330233 by scotta
@Murphy,

I've made some code changes which may help with the spindle issues. Would greatly appreciate your feedback.

github.com/scottalford75/Remora-RT1052-c...t1052-3.1.4.beta.bin

Thanks
The following user(s) said Thank You: Murphy

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

More
12 Jun 2025 23:19 - 12 Jun 2025 23:20 #330237 by Murphy
Thank you scotta, Im back early next week, I'll try it then and let you know.
Last edit: 12 Jun 2025 23:20 by Murphy.

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

Time to create page: 1.502 seconds
Powered by Kunena Forum