Clearpath HLFB amp.joint.delay

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Dec 2025 14:37 #340050 by tommylight
Replied by tommylight on topic Clearpath HLFB amp.joint.delay
@Spumco,
Thank you for reminding me, now i know why i can not recall what was going on as i am used to ignoring everything having to do with clearpath since back when they were selling stepper motors and labeling them as "revolutionary servo motors" for a lot more $, and i think they still do, but now with encoder feedback.

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

More
13 Dec 2025 16:43 #340059 by spumco
Replied by spumco on topic Clearpath HLFB amp.joint.delay

 back when they were selling stepper motors and labeling them as "revolutionary servo motors" for a lot more $, and i think they still do, but now with encoder feedback.
 


Tommy,

They aren't steppers and I don't think they ever have been.  I haven't seen the internal windings, but they don't act like any steppers I've come across.  There is no perceptible rotor cogging when you spin them by hand.  Even the Berger-Lahr 5-phase steppers I have on my Emco lathe have a tiny bit of cogging feel.

The Nema 23/34's are BLDC's with an encoder, trajectory generator, and IO (not just some halls).  The AC-input versions are... maybe something else, don't know.

I've been using them off and on for automation equipment for about 7-8 years and they haven't changed, at least not the mechanical/electrical parts.  They've got upgraded IP67 connectors as an option now, as well as Ethercat models.

Best thing since sliced bread?  No.  There's an upper limit to the performance you can get with 75VDC and 16AWG(ish) cables.

But they are extremely useful in certain applications and no separate drive makes integrating them very easy.
The following user(s) said Thank You: tommylight, snowgoer540

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

More
13 Dec 2025 19:24 #340065 by Fastfred
Replied by Fastfred on topic Clearpath HLFB amp.joint.delay
I did setup the MSP software, And I just confirmed the pins again.
Attachments:

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

More
13 Dec 2025 19:27 #340066 by Fastfred
Replied by Fastfred on topic Clearpath HLFB amp.joint.delay

File Attachment:

File Name: custom_2025-12-13.hal
File Size:1 KB
Attachments:

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

More
13 Dec 2025 19:49 #340067 by Fastfred
Replied by Fastfred on topic Clearpath HLFB amp.joint.delay
Attachments:
The following user(s) said Thank You: spumco

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Dec 2025 22:20 #340072 by tommylight
Replied by tommylight on topic Clearpath HLFB amp.joint.delay

There is no perceptible rotor cogging when you spin them by hand. 

Nice to know, thank you for taking the time to explain that.

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

More
13 Dec 2025 22:23 - 13 Dec 2025 22:27 #340074 by spumco
Replied by spumco on topic Clearpath HLFB amp.joint.delay
Good, thanks for verifying the servos are programmed appropriately.

Right now, your HLFB pins are HIGH (conducting) when the servos are enabled and OK.  Since you have the inputs connected to your amp-fault-in pins like:
# HLFB is true when enabled *and* following
net joint.z.amp-fault-in hm2_7i96s.0.inm.00.input-07
net joint.y2.amp-fault-in hm2_7i96s.0.inm.00.input-08
net joint.y.amp-fault-in hm2_7i96s.0.inm.00.input-09
net joint.x.amp-fault-in hm2_7i96s.0.inm.00.input-10

LCNC thinks there is a fault when the servos are saying everything is OK.  Here's the LCNC manual section (motion):

joint.N.amp-fault-in IN BIT should be driven TRUE if an external fault is detected with the amplifier for this joint.

Try changing the HLFB input pins to 'not' like so:
net joint.z.amp-fault-in  hm2_7i96s.0.inm.00.input-07-not
net joint.y2.amp-fault-in  hm2_7i96s.0.inm.00.input-08-not
net joint.y.amp-fault-in  hm2_7i96s.0.inm.00.input-09-not
net joint.x.amp-fault-in  hm2_7i96s.0.inm.00.input-10-not

At that point, the joint.N.amp-fault-in pins should be HIGH when the servos are not enabled, and go LOW when they are enabled and OK.

Once you're at that point, you can test by pulling the encoder cable off the motors and see if it causes the amp-fault-in to go high (hopefully).

If you still need a delay we can work on that next.
Last edit: 13 Dec 2025 22:27 by spumco.

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

More
13 Dec 2025 22:49 #340077 by Fastfred
Replied by Fastfred on topic Clearpath HLFB amp.joint.delay
OK I corrected the .hal file and pins are reversed like you said but unfortunately still same issue no pop up in GUI no indication something wrong. I can move the axis linuxcnc thinks everything is OK.

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

More
14 Dec 2025 01:54 #340081 by spumco
Replied by spumco on topic Clearpath HLFB amp.joint.delay
I think the problem is that the joints are supposed to have numbers, not letters.

Like 

joint.0.amp-fault-in

I just realized you haven't created a signal name, just linked two pins.  Because your joint.(lettter).amp-fault-in pin doesn't actually exist, LCNC is creating a SIGNAL named joint.(letter).amp-fault-in.

That's why you aren't getting an error at startup.

Try this

net x-fault joint.0.amp-fault-in hm2_7i96s.0.inm.00.input-1-not

and so on for the others.
 

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

Time to create page: 0.153 seconds
Powered by Kunena Forum