Remora - ethernet NVEM / EC300 / EC500 cnc board
- Lpkkk
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 52
- Thank you received: 5
			
	
						08 Aug 2024 17:30				#307269
		by Lpkkk
	
	
		
			
	
			
			 		
													
	
				Replied by Lpkkk on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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.
					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 or Create an account to join the conversation.
- scotta
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 954
- Thank you received: 486
			
	
						08 Aug 2024 20:44				#307278
		by scotta
	
	
		
			
	
			
			 		
													
	
				Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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.
					// 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 or Create an account to join the conversation.
- Kapperi
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 3
- Thank you received: 0
			
	
						09 Aug 2024 12:29				#307353
		by Kapperi
	
	
		
			
	
			
			 		
													
	
				Replied by Kapperi on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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
					It is great controller card but I would prefer not to use mach3/4
Please Log in or Create an account to join the conversation.
- Lpkkk
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 52
- Thank you received: 5
			
	
						09 Aug 2024 12:52				#307354
		by Lpkkk
	
	
		
			
	
	
			 		
													
	
				Replied by Lpkkk on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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.
					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.
		The following user(s) said Thank You: Mecanix 	
			Please Log in or Create an account to join the conversation.
- AlessandroEmm
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 18
- Thank you received: 0
			
	
						12 Aug 2024 15:58		 -  12 Aug 2024 16:24		#307557
		by AlessandroEmm
	
	
		
			
	
	
			 		
													
	
				Replied by AlessandroEmm on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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.
					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.
		Last edit: 12 Aug 2024 16:24  by AlessandroEmm.		Reason: addition	
			Please Log in or Create an account to join the conversation.
- Lpkkk
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 52
- Thank you received: 5
			
	
						12 Aug 2024 19:20		 -  12 Aug 2024 19:22		#307584
		by Lpkkk
	
	
		
			
	
	
	
			 		
													
	
				Replied by Lpkkk on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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.
					Estop has 2 pins, same for probe. Other inputs have one common and one negative for each input.
		Last edit: 12 Aug 2024 19:22  by Lpkkk.			
			Please Log in or Create an account to join the conversation.
- AlessandroEmm
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 18
- Thank you received: 0
			
	
						12 Aug 2024 20:11				#307588
		by AlessandroEmm
	
	
		
			
	
			
			 		
													
	
				Replied by AlessandroEmm on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			
				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
					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 or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 922
- Thank you received: 275
			
	
						12 Aug 2024 20:56				#307594
		by cakeslob
	
	
		
			
				
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
					
	
	
			 		
													
	
				Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			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
		The following user(s) said Thank You: AlessandroEmm 	
			Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 922
- Thank you received: 275
			
	
						12 Aug 2024 21:04				#307596
		by cakeslob
	
	
		
			
				 
"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,
					
	
	
			 		
													
	
				Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			{
"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,
		The following user(s) said Thank You: AlessandroEmm 	
			Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 922
- Thank you received: 275
			
	
						13 Aug 2024 03:54				#307611
		by cakeslob
	
	
		
			
				
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
					
	
			
			 		
													
	
				Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board			
			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 or Create an account to join the conversation.
		Time to create page: 1.528 seconds	
 
													 
	
