- Posts: 959
- Thank you received: 0
Remora - ethernet NVEM / EC300 / EC500 cnc board
1 year 5 months ago #328832
by scotta
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.
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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.@ 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.
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 to join the conversation.
1 year 5 months ago #328833
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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?
@Murphy, are you happy to test?
Please Log in to join the conversation.
1 year 5 months ago #328835
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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.
Please Log in to join the conversation.
- Thayloreing
- Offline
- Premium Member
-
Less
More
- Posts: 94
- Thank you received: 0
1 year 5 months ago #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
Please Log in to join the conversation.
1 year 5 months ago #328845
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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 to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 0
1 year 5 months ago #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?
Step Length=5µs
Step Space=2,5µs
This is correct, i can use 2,5/1,1?
is it possible to have a conversion of the values of "Step Length" "Step Space" in µs?
Code:
"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?
Please Log in to join the conversation.
1 year 5 months ago #328934
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi DarkPhoinix,
The Step Length and Step Space need to be integers / whole numbers. So go with 5 and 3.
The Step Length and Step Space need to be integers / whole numbers. So go with 5 and 3.
Please Log in to join the conversation.
1 year 5 months ago #329356
by PopBang
Replied by PopBang on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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?
Thanks
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?
Attachment not found
Thanks
Please Log in to join the conversation.
1 year 4 months ago #330233
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
@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
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
Please Log in to join the conversation.
1 year 4 months ago #330237
by Murphy
Replied by Murphy on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Thank you scotta, Im back early next week, I'll try it then and let you know.
Please Log in to join the conversation.
Time to create page: 0.446 seconds
