[SOLVED]linuxcnc Latency test ambiguous results

More
1 year 6 months ago #327336 by DarkPhoinix

No, not yet.
Now is that point where you upload your configuration files here so we can have a look, joint errors are usually miss configuration on stepper systems.
What board are you using?
Hi tommylight, have you seen my configuration? is a default conf.

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

More
1 year 6 months ago #327344 by tommylight
Yes i have, but not a default config, it is for NV something or another.
Do you get the dropped connection?
Do you get joint errors?

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

More
1 year 6 months ago - 1 year 6 months ago #327360 by DarkPhoinix

Yes i have, but not a default config, it is for NV something or another.
Do you get the dropped connection?
Do you get joint errors?
 
No the connection is stable( joint error only 3 video Youtube+stresstest+rustdesk remote desktop) but i have bad stepper movement.
Try to put:
[JOINT_1]
DIRSETUP   = 150000
DIRHOLD    = 150000
STEPLEN    = 150000
STEPSPACE  = 150000

 and

[STEPGEN]
#150000
DIRSETUP   = 150000
DIRHOLD    = 150000
STEPLEN    = 150000
STEPSPACE  = 150000

and
[STEPGEN]
#150000
STEPGEN_DIRSETUP   = 150000
STEPGEN_DIRHOLD    = 150000
STEPGEN_STEPLEN    = 150000
STEPGEN_STEPSPACE  = 150000

and 

[STEPGEN]
#150000
STEPGEN_1_DIRSETUP   = 150000
STEPGEN_1_DIRHOLD    = 150000
STEPGEN_1_STEPLEN    = 150000
STEPGEN_1_STEPSPACE  = 150000

my driver is a  TB6560 (only for testing not final hardware)
all conf not change the movement



the work is linuxcnc classic engrave test
Last edit: 1 year 6 months ago by DarkPhoinix.

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

More
1 year 6 months ago #327364 by tommylight
STEPLEN = 150000
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.

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

More
1 year 6 months ago - 1 year 6 months ago #327367 by DarkPhoinix

STEPLEN = 150000
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.
 

[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
[STEPGEN]
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000

and

[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
#[STEPGEN] <
need this???
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000

same of the conf with:
#DIRSETUP = 150000
#DIRHOLD = 150000
#STEPLEN = 5000
#STEPSPACE = 5000
Last edit: 1 year 6 months ago by DarkPhoinix.

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

More
1 year 6 months ago - 1 year 6 months ago #327376 by DarkPhoinix
I don't understand if I have to add something about the hal file, I found this:
linuxcnc.org/docs/stable/html/man/man9/stepgen.9.html
stepgen.1.dirsetup
stepgen.1.dirhold
stepgen.1.steplen
stepgen.1.stepspace

I also found this but I don't know where to put the parameters, I know that this gui is only for the parallel port or am I wrong?
Last edit: 1 year 6 months ago by DarkPhoinix.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum