CINCINATTI MILACRON ARROW 500 (BDS4 + VFS5) WITH MESA 7i77 + 6i25 WITH LINUXCNC

More
17 Mar 2025 07:29 #324095 by UrKibin
Hi All,

This is the file mesact generated. I change the "channel 4" to channel "1" manually, and it loads to linuxcnc. I'll be wiring the 7i77 to the servo drives to test if the servo drives will respond to the jog commands. Wish me luck.

Regards,
Kelvin
Attachments:

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

More
17 Mar 2025 14:14 #324120 by PCW
Make sure the drive enables work so a runaway is stopped
before damage occurs. Alternatively, decouple the linear axis
from the motors.

A blind setup has about a 50% chance of a runaway because
either the encoder direction or analog output polarity are reversed
resulting in positive feedback = runaway.
The following user(s) said Thank You: UrKibin

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

More
19 Mar 2025 10:28 #324278 by UrKibin
Hi all,

I tried one axis first to be safe.

If encoders are disabled in HAL file, I can move the y-axis freely. no shaking. everything is smooth.

But if encoders are enabled, I have varying results.

a lower scale (819.2) - joint 1 following error
a higher scale (4096) - no error but shaking occurs

May PID settings are
P - 50
I - 0
D - 0

Ballscrews are around 10mm

Regards,
Kibin

 
Attachments:

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

More
19 Mar 2025 13:58 - 19 Mar 2025 13:59 #324295 by PCW
I would use the higher resolution, perhaps increase the following error limits
and proceed to tuning.

If you have oscillation, reduce your P term.

For velocity mode drives, most of the tuning is setting the correct FF1 term

If you set the analog scaling to machine units per second at 10V, FF1=1.00

You can change the PID values live with the "Calibrate"  window.
Last edit: 19 Mar 2025 13:59 by PCW.
The following user(s) said Thank You: UrKibin

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

More
20 Mar 2025 01:47 #324335 by UrKibin
Hi PCW,

Noted on this. Ill first wire the enable of mesa 7i77 to the enable of the servo drive bds4 since I found out that there is a difference in bias/balance (adjustment for zero movement upon drive enablement) if I force enable (jumping the enable of the servo drive (Daredevil)) instead of the mesa board.

I'll first connect the ENAn of the 7i77 to the servo drives so that once the drives are enabled, there will be no movement.

After that, will follow your instructions and use 4096 as a scale starting point to fine tune one axis.

Thank you for your advise.

Regards,
Kelvin

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

More
21 Mar 2025 10:10 #324404 by UrKibin
Hi All,

Good day. Managed to wire the ENA to the servo drive enable.

My current problem is overshoot. It is overshooting. lets say I command it y5, it will go until y6 then go back to y5. Overshoot increases as feed speed increases. I estimate it to be 1mm per 100mmpm. so 100mmpm has an overshoot of 1mm, 300mmpm has an overshoot of 3mm.

PID settings are
P = 1.5 (If i add more, it shakes at higher speed)
I = 0
D = 0 (any increase and the system shakes)

Scale : 1225 (0.01 accuracy even with overshoots)

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

More
21 Mar 2025 10:11 - 21 Mar 2025 10:58 #324405 by UrKibin
Hi All,

Good day. Managed to wire the ENA to the servo drive enable.

My current problem is overshoot. lets say I command it y5, it will go until y6 then go back to y5. Overshoot increases as feed speed increases. I estimate it to be 1mm per 100mmpm. so 100mmpm has an overshoot of 1mm, 300mmpm has an overshoot of 3mm.

PID settings are
P = 1.5 (If i add more, it shakes at higher speed)
I = 0
D = 0 (any increase and the system shakes)
FF0 = 0
FF1 = 1
FF2 = 0
Scale : 1225 (0.01 accuracy even with overshoots)

Regards,
Kibin
Attachments:
Last edit: 21 Mar 2025 10:58 by UrKibin.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
21 Mar 2025 13:28 #324413 by tommylight
The following user(s) said Thank You: UrKibin

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

Moderators: piasdom
Time to create page: 0.592 seconds
Powered by Kunena Forum