Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 2 months ago - 3 years 2 months ago #278222 by raf1110
you are not very clear if you driving stepper or servo.
Servo usually need encoder for feedback and steppers not necessarily.
You are using ;
[TRAJ] additional settings used by the real time motion controller
If I am making out your post correctly
I can suggest to start from simple move of axis and stepping up config to your desired.
Make sure both end have same config values (soft and hard-ware ends )

Have you try to run wizard in linuxcnc examples?
That should have be on list if you have correctly installed :
github.com/scottalford75/Remora-NVEM/tre...Components/Remora-nv

and use

upload_config.py
usage: upload.py <config.txt>
accordingly to upload config.txt
from
github.com/scottalford75/Remora-NVEM/tre...es/remora-nvem-basic
to test.

Make sure drivers are also in correct configuration you require.

Below is default [TRAJ] from remora firmware in
github.com/scottalford75/Remora-NVEM/blo...asic/remora-nvem.ini

[TRAJ]
COORDINATES =  X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_LINEAR_VELOCITY = 100.00
MAX_LINEAR_VELOCITY = 200.00
NO_FORCE_HOMING = 1 

I hope this make sense a little :)
Last edit: 3 years 2 months ago by raf1110. Reason: more info addition

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

More
3 years 2 months ago #278244 by 4170-thomasnobi
Hi Scott,

I also have problem with the motors or the NVEM RT1052 controller.
I have made some measurements with the oscilloscope. With the FW "remora-rt1052-NVEM-0.2.1" the pulse length from 1.5 to 30us are very variable and with the "remora-rt1052-1.1.0.bin" these are not so bad but very many pulses at 2us. see images

What could be the problem here?

With best regards

Thomas

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

More
3 years 2 months ago #278248 by meister
thats competing interrupts in the software step generation, or in short : jitter

but longer pulses are no problem

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

More
3 years 2 months ago - 3 years 2 months ago #278252 by 4170-thomasnobi
thanks for the quick reply. Scott says on page 81 of the thread the pulse length was 25us. If you measure the pulses can be up to 1.5us short. I need min 2,5us for my motors. I have a NVEM V2 with RT1052 and many problems with step losses. A help or a tip what solves the problem?
 
Last edit: 3 years 2 months ago by 4170-thomasnobi.

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

More
3 years 2 months ago #278254 by meister
Sorry, I can't quite see through the versions any more.

Of course, pulses that are too short are a problem,
apparently the length depends on the BaseThread interval.
Code:
void updateBaseThread() {     // ISR runns at double PRU_BASEFREQ, make steps in one cycle and reset in the next     if (!step)     {         makeSteps();         step = true;     }     else     {         resetSteps();         step = false;     } }

the code here:  github.com/scottalford75/Remora-RT1052/b...urce/configuration.h says:
#define PRU_BASEFREQ        40000

thats : 1000000us / 40000.0Hz = 25.0us

i don't know why its only 1.25us on your system :(
 

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

More
3 years 2 months ago #278279 by dusa09
Hi, I would like help setting up the inputs for the NVEM_1052. I tried fw : github.com/scottalford75/Remora-RT1052/b...t1052-NVEM-0.2.1.bin and this : github.com/scottalford75/Remora- RT1052-cpp/blob/main/Firmware/remora-rt1052-1.0.0.bin .
After uploading config.txt, the inputs are not changed in halshow. When listening to the serial line fw. loads the configuration from config.txt. Any advice? thank you in advance, I've been struggling with this for a long time. I am sorry for my English

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

Time to create page: 0.592 seconds
Powered by Kunena Forum