Can not get step settings that works OK
08 Jun 2020 10:35 - 08 Jun 2020 10:36 #170617
by tecno
Replied by tecno on topic Can not get step settings that works OK
Also I now and then get following error message:
hm2/hm2_7i96.0: error finishing read! iter=125546 (this no varies)
Is the RPi getting exhausted ?
hm2/hm2_7i96.0: error finishing read! iter=125546 (this no varies)
Is the RPi getting exhausted ?
Last edit: 08 Jun 2020 10:36 by tecno.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
08 Jun 2020 11:07 #170623
by tommylight
Replied by tommylight on topic Can not get step settings that works OK
That is getting to be interesting:
Error finishing read is a latency issue, a very bad one as it is loosing connection to Mesa board.
The other issues i just noticed in the ini file, why is there a max_error? And why is there a value set for FF2? And why are the values for ferror and min_ferror so low ?
So, delete the max_error line, set the FF2 to 0, ferror to 1 and min_ferror to 0.1.
For all axis/joints.
Error finishing read is a latency issue, a very bad one as it is loosing connection to Mesa board.
The other issues i just noticed in the ini file, why is there a max_error? And why is there a value set for FF2? And why are the values for ferror and min_ferror so low ?
So, delete the max_error line, set the FF2 to 0, ferror to 1 and min_ferror to 0.1.
For all axis/joints.
Please Log in or Create an account to join the conversation.
08 Jun 2020 11:31 #170625
by tecno
Replied by tecno on topic Can not get step settings that works OK
Short answer = pncconf ! This is the install I did late last year on my PC so allt INI/HAL exist from that.
Tried your changes and still I get following error
Tried your changes and still I get following error
Please Log in or Create an account to join the conversation.
08 Jun 2020 11:34 #170626
by tecno
Replied by tecno on topic Can not get step settings that works OK
Only testing X
[AXIS_X]
MIN_LIMIT = -495
MAX_LIMIT = 0
MAX_VELOCITY = 100
MAX_ACCELERATION = 300
[JOINT_0]
AXIS = X
MIN_LIMIT = -5000
MAX_LIMIT = 5000
MAX_VELOCITY = 100
MAX_ACCELERATION = 300
SCALE = -400
STEPGEN_MAX_VEL = 150
STEPGEN_MAX_ACC = 450
FERROR = 1
MIN_FERROR = 0.5
DIRSETUP = 5000
DIRHOLD = 5000
STEPLEN = 3500
STEPSPACE = 3500
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 1
BIAS = 0
MAX_OUTPUT = 0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
[AXIS_X]
MIN_LIMIT = -495
MAX_LIMIT = 0
MAX_VELOCITY = 100
MAX_ACCELERATION = 300
[JOINT_0]
AXIS = X
MIN_LIMIT = -5000
MAX_LIMIT = 5000
MAX_VELOCITY = 100
MAX_ACCELERATION = 300
SCALE = -400
STEPGEN_MAX_VEL = 150
STEPGEN_MAX_ACC = 450
FERROR = 1
MIN_FERROR = 0.5
DIRSETUP = 5000
DIRHOLD = 5000
STEPLEN = 3500
STEPSPACE = 3500
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 1
BIAS = 0
MAX_OUTPUT = 0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
Please Log in or Create an account to join the conversation.
08 Jun 2020 12:01 #170630
by tecno
Replied by tecno on topic Can not get step settings that works OK
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
08 Jun 2020 12:25 #170631
by tommylight
Replied by tommylight on topic Can not get step settings that works OK
FF2=0
not 1
And that is very bad latency.
Check the RPI4 topic, might have some info on how to get the latency down.
not 1
And that is very bad latency.
Check the RPI4 topic, might have some info on how to get the latency down.
The following user(s) said Thank You: tecno
Please Log in or Create an account to join the conversation.
08 Jun 2020 12:42 #170633
by tecno
Replied by tecno on topic Can not get step settings that works OK
Will do.
Note = will not load without MAX_ERROR line.
Note = will not load without MAX_ERROR line.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
08 Jun 2020 12:47 #170636
by tommylight
Replied by tommylight on topic Can not get step settings that works OK
What is the error reported ?
Please Log in or Create an account to join the conversation.
08 Jun 2020 13:41 #170640
by tecno
Replied by tecno on topic Can not get step settings that works OK
Linuxcnc will not load = cannot find line MAX_ERROR
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
08 Jun 2020 14:19 - 08 Jun 2020 14:20 #170649
by tommylight
Replied by tommylight on topic Can not get step settings that works OK
I am baffled !
Never seen that used on stepper systems.
And i did check some of the latest configs i use, not even the servo ones use that.
Maybe has something to do with PID , as i am aware that pncconf generates lines with
xxxx.maxerror=0.05
Or similar that need to be deleted in most cases.
On that note, please do check the hal file if it has such entries and delete or omit them.
Never seen that used on stepper systems.
And i did check some of the latest configs i use, not even the servo ones use that.
Maybe has something to do with PID , as i am aware that pncconf generates lines with
xxxx.maxerror=0.05
Or similar that need to be deleted in most cases.
On that note, please do check the hal file if it has such entries and delete or omit them.
Last edit: 08 Jun 2020 14:20 by tommylight. Reason: More info
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds