Lichuan 4 axis stepper need help-
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1147
- Thank you received: 409
24 Jan 2026 13:16 - 24 Jan 2026 13:18 #341857
by Hakan
Replied by Hakan on topic Lichuan 4 axis stepper need help-
Well, I think it follows the state diagram up to the point of operation
But for sure it isn't perfect. I have noticed multiple homing components around even if I don't use it myself.
Can you add support for PV (Profile Velocity) while you are at it? I made a quick fix for that.
PV is suitable for spindle mode.
You should be able to transition states manually, in halshow for example, using controlword and check statusword.
Maybe that can give a clue to why it seems so grumpy.
But for sure it isn't perfect. I have noticed multiple homing components around even if I don't use it myself.
Can you add support for PV (Profile Velocity) while you are at it? I made a quick fix for that.
PV is suitable for spindle mode.
You should be able to transition states manually, in halshow for example, using controlword and check statusword.
Maybe that can give a clue to why it seems so grumpy.
Attachments:
Last edit: 24 Jan 2026 13:18 by Hakan.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- rodw
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 11648
- Thank you received: 3919
24 Jan 2026 20:37 #341874
by rodw
Replied by rodw on topic Lichuan 4 axis stepper need help-
Attachments:
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1147
- Thank you received: 409
24 Jan 2026 21:52 #341877
by Hakan
Replied by Hakan on topic Lichuan 4 axis stepper need help-
Its just a snippet of code and not the whole picture.
But I wouldn't switch state before statusword says the drive has switched state.
It would be in some pending_switch_state perhaps.
But I wouldn't switch state before statusword says the drive has switched state.
It would be in some pending_switch_state perhaps.
Please Log in or Create an account to join the conversation.
- rodw
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 11648
- Thank you received: 3919
24 Jan 2026 22:05 #341879
by rodw
Replied by rodw on topic Lichuan 4 axis stepper need help-
Yes, I need to check it all. I did see previously that cia402 was not waiting for confirmation of homing or something so will watch for that....
Please Log in or Create an account to join the conversation.
Time to create page: 0.165 seconds