Hal configuration 7i96s + 7i85 + whb04-6
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18393
- Thank you received: 5025
14 Jul 2023 22:11 - 14 Jul 2023 22:37 #275453
by PCW
Replied by PCW on topic Hal configuration 7i96s + 7i85 + whb04-6
Are you using encoder position feedback?
( Because a stock hal file / firmware will not work if stepgen feedback is used )
( Because a stock hal file / firmware will not work if stepgen feedback is used )
Last edit: 14 Jul 2023 22:37 by PCW.
Please Log in or Create an account to join the conversation.
- routerman22
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 9
15 Jul 2023 06:23 #275489
by routerman22
Replied by routerman22 on topic Hal configuration 7i96s + 7i85 + whb04-6
I use stepgen pos feedback. I put encoder feedback there once and one of the axis liked to wander as (i presume) it tries to do the pid loop in lcnc while it is being done in the servo drive. The encoder signals are hooked up however.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18393
- Thank you received: 5025
15 Jul 2023 14:37 - 15 Jul 2023 18:20 #275512
by PCW
Replied by PCW on topic Hal configuration 7i96s + 7i85 + whb04-6
If you use stepgen feedback and standard firmware, homing to index will not work
as the stepgen feedback position is not cleared on index like the encoder position.
To use index with the stepgen, you must use firmware that supports a stepgen index.
(7i96s_7i85dsdi.bin for a 7I96S+7I85) This may also require using LinuxCNC master.
In addition, the hal file for this configuration must use the stepgen index enable pin
rather than the encoder index enable pin.
as the stepgen feedback position is not cleared on index like the encoder position.
To use index with the stepgen, you must use firmware that supports a stepgen index.
(7i96s_7i85dsdi.bin for a 7I96S+7I85) This may also require using LinuxCNC master.
In addition, the hal file for this configuration must use the stepgen index enable pin
rather than the encoder index enable pin.
Last edit: 15 Jul 2023 18:20 by PCW.
The following user(s) said Thank You: routerman22
Please Log in or Create an account to join the conversation.
- routerman22
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 9
16 Jul 2023 10:53 #275569
by routerman22
Replied by routerman22 on topic Hal configuration 7i96s + 7i85 + whb04-6
I just tested this and it works great!
Please Log in or Create an account to join the conversation.
- routerman22
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 9
23 Jul 2023 19:02 #276100
by routerman22
Replied by routerman22 on topic Hal configuration 7i96s + 7i85 + whb04-6
I finally got both my Y axises hooked up again.
But i expirience an issue with tandem homing and Index homing combination.
The index homing works well on my X and Z axis. but on Y axis it does not work well.
It does the normal tandem Y sequence, finds index on Y, stops Y tries to find index on Y1 (but y1 is standing still, but mesa thinks it is moving. Eventually you just get timeout or out of rang error for Y1. When i disable index homing, it works well. Any idea what could be wrong?
But i expirience an issue with tandem homing and Index homing combination.
The index homing works well on my X and Z axis. but on Y axis it does not work well.
It does the normal tandem Y sequence, finds index on Y, stops Y tries to find index on Y1 (but y1 is standing still, but mesa thinks it is moving. Eventually you just get timeout or out of rang error for Y1. When i disable index homing, it works well. Any idea what could be wrong?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20021
- Thank you received: 6802
23 Jul 2023 19:54 #276104
by tommylight
Replied by tommylight on topic Hal configuration 7i96s + 7i85 + whb04-6
Probably mixed index pins?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18393
- Thank you received: 5025
23 Jul 2023 20:19 #276105
by PCW
Replied by PCW on topic Hal configuration 7i96s + 7i85 + whb04-6
Did you manually verify index operation on both Y and Y2?
Did you intend to have index homing enabled for Y but not Y2 in the ini file?
Could the "ASDA Gantry mode" interfere with LinuxCNCs homing?
(normally LinuxCNC would handle all homing operations)
Did you intend to have index homing enabled for Y but not Y2 in the ini file?
Could the "ASDA Gantry mode" interfere with LinuxCNCs homing?
(normally LinuxCNC would handle all homing operations)
Please Log in or Create an account to join the conversation.
- routerman22
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 9
24 Jul 2023 13:24 #276152
by routerman22
Replied by routerman22 on topic Hal configuration 7i96s + 7i85 + whb04-6
I commented the Gantry mode part out and it was still doing it wrong. But I'll double-check on the Delta servo control software.
I will also double check if the index is working well on Y1/2. This would ignore any of the Y1/2 commands if it is on tho (as it just regulates itself vs Y).
Did you intend to have index homing enabled for Y but not Y2 in the ini file?
When I was doing it; I put them both on YES; It might have changed by the time I uploaded it.
I will double check.
I will also double check if the index is working well on Y1/2. This would ignore any of the Y1/2 commands if it is on tho (as it just regulates itself vs Y).
Did you intend to have index homing enabled for Y but not Y2 in the ini file?
When I was doing it; I put them both on YES; It might have changed by the time I uploaded it.
I will double check.
Please Log in or Create an account to join the conversation.
- routerman22
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 9
25 Jul 2023 09:59 #276214
by routerman22
Replied by routerman22 on topic Hal configuration 7i96s + 7i85 + whb04-6
Nevermind it seems to work. I configured an IO incorrectly so the gantry was always in GANTRY mode.
Now it seems to work :")
Now it seems to work :")
Please Log in or Create an account to join the conversation.
Time to create page: 0.327 seconds