Axis drift with Lagun

More
21 Dec 2018 17:39 #122710 by archfitters
Please bear with me, as I am new to this end of tech. We are seeing behaviour where if an error occurs on the machine, a soft stop is enabled. The issue is that when the soft stop is active, the "adjustment logic" is not active. If no one returns to the machine, it continues to drift until it crashes. The drift is most common in the Z axis.

We have attempted to tune the board (westamp 30059/30060) with the potentiometer on the resistor with little success. (the board is from 1988) and the components may not be as precise as they once were.

Is there a way to either fine tune programatically, to avoid drift or to disable power to the motors when an error state is reached? We are running a Lagun with westamp 30059/30060 and Pico I/O boards.
Included are configs, please let me know if there are any other items that would be useful, I will take a video once the machine is free.

File Attachment:

File Name: ppmc-1.zip
File Size:10 KB


Thank you
Attachments:

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

More
21 Dec 2018 19:31 #122715 by PCW
Replied by PCW on topic Axis drift with Lagun
This indicates that the hardware or hal file is not setup properly

When linuxCNC in not in a machine-on state, your drives
should be disabled

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

More
26 Dec 2018 16:50 - 26 Dec 2018 16:52 #122914 by archfitters
Replied by archfitters on topic Axis drift with Lagun
I have been looking online at some hal examples, I think I may have found where the error might be, would the highlighted produce the results that we have been seeing? This is from ppmc_io.hal

newsig ppmcEstop bit

linksp ppmcEstop ppmc.0.din.estop.in

linksp ppmcEstop and2.0.in0

newsig EstopOkIn bit

linksp EstopOkIn estop-latch.0.fault-in

linksp EstopOkIn and2.0.out

newsig EstopOkOut bit

linksp EstopOkOut ppmc.0.dout.07.out

linksp EstopOkOut ppmc.0.dout.Estop.out

linksp EstopOkOut iocontrol.0.emc-enable-in

linksp EstopOkOut estop-latch.0.ok-out

linksp EstopOkOut and2.0.in1

newsig emc-estop-out bit

linksp emc-estop-out iocontrol.0.user-enable-out

linksp emc-estop-out estop-latch.0.ok-in

newsig emc-estop-reset bit

linksp emc-estop-reset iocontrol.0.user-request-enable
linksp emc-estop-reset estop-latch.0.reset
Last edit: 26 Dec 2018 16:52 by archfitters. Reason: clarity

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

More
02 Jan 2019 21:53 #123362 by archfitters
Replied by archfitters on topic Axis drift with Lagun
May I please have some clarification on where the misconfiguration might be?
"This indicates that the hardware or hal file is not setup properly" I am new to this, and am not sure what I am looking for.

Thank you

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

More
02 Jan 2019 23:45 #123377 by dberndt
Replied by dberndt on topic Axis drift with Lagun
If your machine is machine off but e-stop is not on then the .enable for each axis should be off/false and this should be wired into your drives to inhibit movement.

Something like pid.x.enable
pid.y.enable
and pid.z.enable

should be netted up somewhere to a digital output which interfaces with your drives.

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

More
03 Jan 2019 14:35 #123406 by Todd Zuercher
Replied by Todd Zuercher on topic Axis drift with Lagun

May I please have some clarification on where the misconfiguration might be?
"This indicates that the hardware or hal file is not setup properly" I am new to this, and am not sure what I am looking for.

Thank you


Lets start at the beginning. What hardware are you using? (The clip of hal code you posted was for a Pico Systems config. Are you using their hardware? Are you using your old amps or some of Pico's?

If you are using Pico hardware, hopefully Jon will chime in with some help. (or perhaps you should contact him directly.)

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

More
07 Jan 2019 18:41 #123714 by archfitters
Replied by archfitters on topic Axis drift with Lagun
We are running a Lagun with westamp 30059/30060 and Pico I/O boards.
Can you please suggest which Jon to ping?

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

More
07 Jan 2019 18:50 #123715 by Todd Zuercher
Replied by Todd Zuercher on topic Axis drift with Lagun
The Jon of Pico Systems, Jon Elson. (He is often here on the forum and pays attention to the mailing lists. He usually tries to help his customers as much as he can.)

I am certain he can tell you the best way to connect the drive enables and e-stop chain to his hardware.

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

More
07 Jan 2019 19:20 #123716 by archfitters
Replied by archfitters on topic Axis drift with Lagun
Thank you.

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

Time to create page: 0.115 seconds
Powered by Kunena Forum