StepperOnline A6 Servo
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4288
- Thank you received: 1901
26 Feb 2025 13:02 - 26 Feb 2025 13:06 #322692
by Aciera
Yes, that is correct. The idea is that we can set the homing type (ie one of the built in procedures or custom procedure) for each joint.
As described in the manpage:
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
Replied by Aciera on topic StepperOnline A6 Servo
Can you guys review this and see if you agree?
Yes, that is correct. The idea is that we can set the homing type (ie one of the built in procedures or custom procedure) for each joint.
As described in the manpage:
This module creates input hal pins joint.n.request-custom-homing that enable an alternate joint homing state machine for requested joints. A hal output pin joint.N.is_custom-homing verifies selection"
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
Last edit: 26 Feb 2025 13:06 by Aciera.
The following user(s) said Thank You: TangentAudio, rodw
Please Log in or Create an account to join the conversation.
- TangentAudio
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 24
26 Feb 2025 13:46 #322698
by TangentAudio
Replied by TangentAudio on topic StepperOnline A6 Servo
I'm not surprised I misinterpreted the intent of that pin. The current state of in-drive homing code and documentation makes it a bit of an "adventure!"
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11201
- Thank you received: 3735
26 Feb 2025 22:26 #322757
by rodw
Replied by rodw on topic StepperOnline A6 Servo
Yes, it is confusing. I tried to use joint.N.is_custom-homing to trigger the cia402 homing input but hal complained about the pin type so had to add a pin of type IO (joint.N.start-homing). I think I could sense homing is done when it is set to zero. But I am getting ahead of myselfI'm not surprised I misinterpreted the intent of that pin. The current state of in-drive homing code and documentation makes it a bit of an "adventure!"
Please Log in or Create an account to join the conversation.
- MobiusToast
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 5
28 Feb 2025 20:26 #322886
by MobiusToast
Replied by MobiusToast on topic StepperOnline A6 Servo
I made my own version of the CIA402 and custom home components for the A6 servo and put it on github -> github.com/CollinBardini/linuxcnc-a6-servo
The custom home component writes to a signal called "start-cia-homing" (from Rod's implementation), which kicks off homing in the CIA402 components. The CIA402 component then handles starting homing by writing to controlword and operation mode. While the servo is homing, the home component monitors the statusword until homing is complete.
I made it as barebones as possible to help others get started. I will write a README when I get time. For now, Rod's README is a good starting point.
The custom home component writes to a signal called "start-cia-homing" (from Rod's implementation), which kicks off homing in the CIA402 components. The CIA402 component then handles starting homing by writing to controlword and operation mode. While the servo is homing, the home component monitors the statusword until homing is complete.
I made it as barebones as possible to help others get started. I will write a README when I get time. For now, Rod's README is a good starting point.
The following user(s) said Thank You: TangentAudio, rodw, onceloved, zmrdko, Millimetergott
Please Log in or Create an account to join the conversation.
- Millimetergott
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 1
12 Apr 2025 11:15 - 16 Apr 2025 14:04 #326159
by Millimetergott
Replied by Millimetergott on topic StepperOnline A6 Servo
Hello, I finally managed to get Linux CNC to start with the HomeComp, but the servos aren't switching to OP mode. I've already tried to find the problem myself, but to no avail. In the folder "Drehmaschine_backup" is my first configuration, with which the motors already worked, but without homing. In the folder "Drehmaschine" is the new configuration with Homecomp.
Attachments:
Last edit: 16 Apr 2025 14:04 by Millimetergott.
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds