Hal configuration 7i96s + 7i85 + whb04-6

More
14 Jul 2023 22:11 - 14 Jul 2023 22:37 #275453 by PCW
Are you using encoder position feedback?

( 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.

More
15 Jul 2023 06:23 #275489 by routerman22
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.

More
15 Jul 2023 14:37 - 15 Jul 2023 18:20 #275512 by PCW
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.
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.

More
16 Jul 2023 10:53 #275569 by routerman22
I just tested this and it works great!

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

More
23 Jul 2023 19:02 #276100 by routerman22
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?
Attachments:

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

More
23 Jul 2023 19:54 #276104 by tommylight
Probably mixed index pins?

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

More
23 Jul 2023 20:19 #276105 by PCW
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)

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

More
24 Jul 2023 13:24 #276152 by routerman22
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.

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

More
25 Jul 2023 09:59 #276214 by routerman22
Nevermind it seems to work. I configured an IO incorrectly so the gantry was always in GANTRY mode.
Now it seems to work :")

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

Time to create page: 0.086 seconds
Powered by Kunena Forum