StepperOnline A6 Servo

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
26 Feb 2025 13:02 - 26 Feb 2025 13:06 #322692 by Aciera
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.

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

More
26 Feb 2025 22:26 #322757 by rodw
Replied by rodw 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!"

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 myself

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

More
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 following user(s) said Thank You: TangentAudio, rodw, onceloved, zmrdko, Millimetergott

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

More
12 Apr 2025 11:15 - 16 Apr 2025 14:04 #326159 by Millimetergott
Replied by Millimetergott on topic StepperOnline A6 Servo
 

File Attachment:

File Name: Drehmaschine.zip
File Size:34 KB
 

File Attachment:

File Name: Drehmaschi...ckup.zip
File Size:8 KB
 

File Attachment:

File Name: Drehmaschi...ckup.zip
File Size:8 KB
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
Powered by Kunena Forum