Remora - ethernet NVEM / EC300 / EC500 cnc board

More
01 Aug 2024 19:54 #306663 by Lpkkk
Hi mate,
You have to hold Reset button before starting pyocd command, when pressed start pyocd flash command and quickly release board reset button.
That works 100% for my nvem.
If you dont have reset button on your board try manual reset by looking on your board pinouts.

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

More
01 Aug 2024 20:45 #306673 by scotta

Update :

I believe my stlink stopped working fine. I've used nanoDaplink and there was still no answer from the nvem. Finally I've pushed (and keep it pressed) reset button on nvem, then start flashing with pyocd. When I started pyocd I've released reset button and whole process went fine from there. It was flashed with remora 3.1.3. Later I've connected ethernet and tried to ping. One of the leds on nvem went off and my ping was succefull. Then I've used this config :

github.com/scottalford75/Remora-RT1052-c...NC%2Fnvem-rt1052.txt

And it was all good. Previously I've used by mistake basic and full config from here :

github.com/scottalford75/Remora-NVEM/blo...vem-basic-config.txt

Which I believe was not for RT1052 version of nvem board. DON'T USE THIS CONFIG. 


Quick install eth component and everything works perfectly. I can move 3 connected axis with this linuxcnc config :

github.com/scottalford75/Remora-RT1052-c...Fremora-rt1052-basic

But this Linux cnc config is only for 3 axes. Do I have to manually set my 4th axis? 

Next step will be adding limit switches, one for each axis (except 4th). Maybe this evening I will find some time. 


 

Yes, you will need to configure both the INI and HAL files so LinuxCNC can use the additional axis. The NVEM config file you have used as all 6 axes configured. For the LinuxCNC configuration, I'd suggest posting questions in:

forum.linuxcnc.org/49-basic-configuration
forum.linuxcnc.org/10-advanced-configuration

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

More
04 Aug 2024 18:05 - 04 Aug 2024 18:08 #306936 by Lpkkk
Ok, I was able to set emergency button (ext), probe and limits. But when I tried to go from x0 to X50, it stops at 49.995, when I try to go back it stops at - 0.005. My j0pos-cmd is different than j0pos-fb by 0.005 all the time. I've never had that kind of issues with simple lpt port board. I'm using default basic remora config as a base for my setup. I've asked in basic configuration category but there is no answer for few days.

My current guess is about FERROR and ferror_min. 
But I'm not sure why my setup behieve like this 
Last edit: 04 Aug 2024 18:08 by Lpkkk.

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

More
05 Aug 2024 03:56 #306963 by Mecanix

I've asked in basic configuration category but there is no answer for few days.

My current guess is about FERROR and ferror_min. 
 

You'd prolly have better luck sharing your config + hardware/step setups. Bet some here could fine tune this for you being able to see clearer. 

No, not ferror. PID rather. Hack it with deadband = 0.001 (for instance). Bit of a band-aid though... 

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

More
05 Aug 2024 16:39 - 05 Aug 2024 16:57 #307011 by Lpkkk
My setup:
  • 3x nema23 ( no encoders) 3200 steps (i've also tried 1600 and 800, no difference)
  • tb6600 drivers
  • nvem

    ini and hal attached.

    I've tried to add deadband but no change. Please skip y and z axis for now, as most of my tests i'm doing on X axis so far.
    When i home my machine j0pos-cmd and j0pos-fb are the same, i've checked that again. When i go to x50 it stops at 4.995 and then if i go to x0 it will stop at 0.005
Attachments:
Last edit: 05 Aug 2024 16:57 by Lpkkk.
The following user(s) said Thank You: Mecanix

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

More
05 Aug 2024 16:46 #307015 by Mecanix

ini and hal attached.
 

I see. No PID, although not mandatory mind you. Good move on uploading your set-up. Standby, I'm sure someone with extensive knowledge will swing in and sort that step/timing discrepancy. 

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

More
05 Aug 2024 17:04 #307018 by Lpkkk
I've also added, as remora docs says:
setp remora.joint.0.pgain [JOINT_0]P_GAIN
setp remora.joint.0.ff1gain [JOINT_0]FF1_GAIN
setp remora.joint.0.deadband [JOINT_0]DEADBAND

and set them up in ini:
1
1
0.001

that didnt help either

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

More
06 Aug 2024 08:19 #307063 by Lpkkk
If I don't have encoders on my steppers, where is j0pos-fb taken from exactly?

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

More
06 Aug 2024 20:37 #307125 by scotta
Just like other stepper systems for LinuxCNC the position feedback is from the step generator. For Remora this is the raw step count from the controller board. The LinuxCNC Remora component then calculates the position in mm by using the joint scale value.

Like my earlier comments, the smallest move / positioning accuracy can only be as small as 1 step.

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

More
08 Aug 2024 00:16 - 08 Aug 2024 00:21 #307236 by cakeslob
P_GAIN = 300
FF1_GAIN = 0.1
DEADBAND = 0.01

try it with these numbers, I think this is what im using on one of mine. What I found with another user, was that this wasnt entirely deadband related.

Alternatively, there is a tuning program within the Axis Gui, under Machine menu called Calibration. you can manually adjust these numbers while running linuxcnc

linuxcnc.org/docs/devel/html/gui/axis.html#_menu_items

edit, in the other thread, why did you make your deadband a negative number?
Last edit: 08 Aug 2024 00:21 by cakeslob.

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

Time to create page: 0.232 seconds
Powered by Kunena Forum