External homing (in drives)?

More
3 years 9 months ago #261341 by andypugh

My drive (Allen Bradley Ultra3000) has an internal move to sensor, home to index function. Encoders are incremental, not absolute.

I think that this might be simpler than it looks.

Put the A axis last in the homing sequence
Trigger external drive homing of the A axis with the "homing" signal of the first axis in the sequence.
By the time the sequence gets to the A axis it should be externally homed and in position. At that point if the A axis is set to immediate homing in LCNC it will reset to mark the externally-homed position to zero, which will be correct.

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

More
3 years 9 months ago #261354 by spumco
Replied by spumco on topic External homing (in drives)?
Thanks all for the feedback. I really like the idea of letting the drive do everything.

@JPL
Yes, it's a 2098-DSD-010X (indexing).  Was not aware that only the X models had home to sensor, fwd/back to marker.  Although I did find out the sercos models can have the sercos interface disabled which opens up additional IO.

Should be easy enough to adjust the motor-drive coupling to get the index pulse half a rotation from the proxy home switch trigger point.  The whole thing is based on a 50:1 harmonic drive and the proxy is triggered by a flag on the output.

@rodw - 
"nontrivial" = not going to attempt this, but thanks for the reminder.  Not a programmer; maybe some day.

@Andy - 
I don't want the A-axis homing automatically with the X/Y/Z.  I tend to leave a trunnion table on it and there may be interference or a setup on it that needs to be broken down or adjusted before 360 rotation (i.e. tall part that would smack the table at 180 degrees).  But you've prompted me to read the INI file homing section and double-check the basics...

Sanity check...
  • Homing proxy only connected to drive
  • Drive input "Start homing" connected to LCNC output
    • net A-HOMED <= joint.4.homed
    • net A-HOMED => hm2.something.7i76.output-nn
  • INI file
    • A-axis set to immediate homing
    • HOME_SEQUENCE = (blank) so homing is not part of the X/Y/Z sequence
  • Home offset, if any, is programmed in drive (Offset Move Distance in A-B speak)
  • LCNC zeros the DRO/offsets when the home-A is commanded, and the drive then goes through the homing sequence.  If there's a homing error the drive faults, but LCNC doesn't know anything except fault/no-fault.

Can anyone think of a scenario - user error or hardware failure - that results in Something Very Bad happening? (Other than homing with a tall part on the trunnion, of course, but I'd deserve that one)



 

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

More
3 years 9 months ago #261508 by andypugh
I think that sounds pretty much right, though there may be details to be ironed out.
The following user(s) said Thank You: spumco

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

More
3 years 9 months ago - 3 years 9 months ago #263243 by DanyD
Replied by DanyD on topic External homing (in drives)?
I made a custom homing component for homing Ultra 3000 drive based on the example provided in linuxcnc.I bench tested it with my drive (2098-DSD-010-SE) and using "To Sensor/Back to Marker" and it's working fine.Linuxcnc wait for the drive to finish homing before moving to the next drive.
Last edit: 3 years 9 months ago by DanyD.
The following user(s) said Thank You: JPL, spumco

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

More
3 years 9 months ago #263266 by spumco
Replied by spumco on topic External homing (in drives)?

I made a custom homing component for homing Ultra 3000 drive based on the example provided in linuxcnc.I bench tested it with my drive (2098-DSD-010-SE) and using "To Sensor/Back to Marker" and it's working fine.Linuxcnc wait for the drive to finish homing before moving to the next drive.

That looks great.

I my case, I have X/Y/Z driven with steppers and use standard LCNC homing.  A-axis is driven with the Ultra 3k, and I will be using the internal "To sensor/Back to marker" function.

I'd planned on following the advice here and setting the A-axis homing as I described earlier - i.e. LCNC is 'dumb' about the A-axis.

How would you anticipate your comp working with a mix of drives?

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

More
3 years 9 months ago #263269 by rodw
Replied by rodw on topic External homing (in drives)?

I made a custom homing component for homing Ultra 3000 drive based on the example provided in linuxcnc.I bench tested it with my drive (2098-DSD-010-SE) and using "To Sensor/Back to Marker" and it's working fine.Linuxcnc wait for the drive to finish homing before moving to the next drive.
Danny, this is awesome work. I think you are the first to implement a homemod on real hardware.
It would be great if you could share your ethercat_conf.xml file for your drive
I could not find anything much useful about your drive. Is it a CIA402 drive?

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

Time to create page: 0.211 seconds
Powered by Kunena Forum