Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
3 years 3 months ago #275433 by cakeslob
make sure you are using NUCLEO 446ZE as your target, I will download and compile test after work

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

More
3 years 3 months ago #275495 by virencq
Yes, target is Nucleo 446ZE.
Nothing modified in code

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

More
3 years 3 months ago #275508 by cakeslob
Ok, I just downloaded and compiled the repo and it works fine. Set the build profile to "Release". It doesnt seem to work with debug or develop,

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

More
3 years 3 months ago #275511 by virencq
Selecting release also, same result.
E-stop not working

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

More
3 years 3 months ago - 3 years 3 months ago #275513 by virencq
Selecting release, deleted build folder. Recomplile did the trick.
axis gui comes out of e-stop, over local compiled .bin file.
Thanks a lot.
Let me try with my board.coñfig.
compiled .bin working.
As I said earlier currently I am running lathe with phase A and z index.
Running satisfactorily with double step implementation (thanks to ttzr).
In this setup only lags encoder feedbak at higher speed. Mine works perfectly upto 500 rpm. 

I have read remora has higher speed encoder.
Will try to implement this.
Before going to actual machine, I attached nema 23 with nucleo 446ZE. 
What I have observed is x axis motor takes time to reach commanded position. May be this is due to ferror settings.
In bare gpio I have ferror 1.
Min-ferror .02.
In remora ferror 8
Min-ferror 4.
Also motor stalls beyond max-velocity 60 in .ini.
Will update after more trials.
Last edit: 3 years 3 months ago by virencq.

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

More
3 years 3 months ago - 3 years 3 months ago #275519 by cakeslob
for highspeed encoder I have it set to PB8 PB9 and PA_12 for index, these cannot be changed
github.com/cakeslob/Remora-docs/blob/nuc...46.rst#hardware-pins

this is the sample config I made for the highspeed encoder
github.com/cakeslob/Remora/tree/nucleo_s...ples/remora-xy_nuc_q


"What I have observed is x axis motor takes time to reach commanded position."
Looks like I need to add to my sample config, add these deadband lines to your hal and ini

github.com/cakeslob/Remora/blob/develop/...-loop/remora.hal#L50
github.com/cakeslob/Remora/blob/develop/...-loop/remora.ini#L96

"Running satisfactorily with double step implementation (thanks to ttzr)."

I dont exactly know what this is


also, I forgot to mention, this version is a little different than main remora, youll need to install this component included in the repo.
github.com/cakeslob/Remora/tree/nucleo_s...NC/Components/Remora
Last edit: 3 years 3 months ago by cakeslob.

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

Time to create page: 0.336 seconds
Powered by Kunena Forum