Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 2 months ago #307269 by Lpkkk
I will try your settings. So far the best settings I could find were :
DEADBAND = -0.0002
FF1_GAIN = 1
P_GAIN = 1

I put negative deadband because it seems to work better than positive. I've tried many di settings in last few days. A lot of testing.

Please Log in to join the conversation.

More
2 years 2 months ago #307278 by scotta
Deadband should be a positive number. I'll need to force that in the code. What you've done is kinda like what Cakeslob suggested.

// apply the deadband
if (error > deadband)
{
error -= deadband;
}
else if (error < -deadband)
{
error += deadband;
}
else
{
error = 0;
}
....

// calculate the output value
vel_cmd = pgain * error + data->cmd_d * ff1gain;

Try increasing your pgain.

Please Log in to join the conversation.

More
2 years 2 months ago #307353 by Kapperi
Sorry if wrong topic but would this be possible with pokeys57cnc?

It is great controller card but I would prefer not to use mach3/4

Please Log in to join the conversation.

More
2 years 2 months ago #307354 by Lpkkk
Thx Guys, I've tried your settings cakeslob but in my case it was bad, really bad.
After more testing I've found right settings at :
P_GAIN = 38
FF1_GAIN = 1
DEADBAND = 0.0001

So far those are the best ones. I will keep testing those values today after work.

Please Log in to join the conversation.

More
2 years 2 months ago #307557 by AlessandroEmm
Hey guys

After a bit of tinkering (was confused by the non-cpp repo) I got my NVEM setup. I attached my Servo on the X Joint and it works a treat in test mode (not on the actual machine). I went for the basic configuration without DMA and cl even though servos would certainly allow for that.. but thats a topic when the machine actually moves.

What I struggle is the inputs, limit switches and E-Stops. I attached them too. But I can't seem to register/read them. Granted this is my first play with LinuxCNC so I'm probably doing/looking at it wrong. But i tried to understand the PIN mapping and I'm a bit lost, where is it actually? The txt file that I upload only seems to name pins but doesnt actually map it? I looked at Mesa configurations and there it seems obvious because Pins are referenced in the HAL config. How is it here actually? Sorry I didnt find it mentioned in this thread.

Please Log in to join the conversation.

More
2 years 2 months ago #307584 by Lpkkk
Hi pin outputs you can find in the attachment.
Estop has 2 pins, same for probe. Other inputs have one common and one negative for each input. 

Please Log in to join the conversation.

More
2 years 2 months ago #307588 by AlessandroEmm
thanks! I actually just come from further testing. I must have done something wrong. Because the states of the pins do actually change. Apologies.

How is it mapped now anyway, implicitly?

because on the top of the example-hal file it mentions that limit switches are configured. but i cant find them explicitly:

➜ remora-rt1052-basic cat remora-ec500.hal
# Basic HAL config file for NVEM controller board running Remora firmware
# Configured for 3 joints (A, Y, Z axes) with home and limit switches

Thanks!
Alessandro

Please Log in to join the conversation.

More
2 years 2 months ago #307594 by cakeslob

Hi pin outputs you can find in the attachment.
Estop has 2 pins, same for probe. Other inputs have one common and one negative for each input. 

Hey, dont use this one if you have the RT1052, i dont even know how yours is still working if youve been using that one. The one you keep posting is for the STM32 version of the NVEM. use this one by raf

oK lads I have got made a thing. :)

Hope this will help somehow 
Pinout NVEM v5 RT1052 Remora firmware config pinout
 

Attachment not found

Please Log in to join the conversation.

More
2 years 2 months ago #307596 by cakeslob
Code:
{ "Thread": "Servo", "Type": "Digital Pin", "Comment": "IN03", "Pin": "P4_21", "Mode": "Input", "Data Bit": 6, "Invert": "True" },
 
"Comment": "IN03", = what its labeled as on the board
" "Pin": "P4_21"," = Physical pin assignment on the MCU
"Data Bit": 6, = Remora/HAL pin assignment
Meanwile....in the halfile
net X_HOME remora.input.06 => joint.0.home-sw-in = remora.input.06 is IN3 is P4_21 , is connected to j.0.home which should be homeswitch for joint0 which is usually x.

I dont see home switch in any of the actual rt1052 halfiles though, so thats probably why you cant find the,

Please Log in to join the conversation.

More
2 years 2 months ago #307611 by cakeslob

Sorry if wrong topic but would this be possible with pokeys57cnc?

It is great controller card but I would prefer not to use mach3/4

Short answer is no,
long answer, you can modify the SKR1.4 firmware to work with the RPi/SPI, but there is no ethernet version

Please Log in to join the conversation.

Time to create page: 8.332 seconds
Powered by Kunena Forum