analog Servo spins on its own when connected to 7i77

More
1 year 5 months ago #328046 by Onkelmat
I've got a lathe with two axes, X and Z as usual.
The Z axis is already set and works. there is a pulley between servo and leadscrew.
I did remove the pulley on the X axis since the servo starts spinning right away when drives are enabled.
Not at max speed but rather fast.

the exact same servo system on the Z axis works good, no drift no random spinning. I did already swap the drivers to no effect.

the Servo does spin when I connect the analog-+10 pin plug to the 7i77. when its not connected its not moving at all.

Linuxcnc is setup to have two axes with two encoders. when inplug in the analog plug into another analog drive header its the same effect. I didn't try to plug x into the z header.

any ideas why the servo spins up when analog plug is plugged into the 7i77 ?

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

More
1 year 5 months ago #328058 by Todd Zuercher
Sounds like you are describing a run away servo system. First thing to check is if the encoder feedback direction is correct. Make sure that spinning the motor in the positive direction moves the DRO in the positive direction.. Second need to check if the analog output signal polarity is correct. Make sure applying a positive voltage to the drive input turns the motor in a positive direction. Both of these issues can be corrected in software by making their scale values negative (neg. encoder scale or input scale and neg. output scale). Either of the above conditions can cause a runaway as you describe. However changing both at the same time will cancel each other out and leave you with the same problem.
other out

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

More
1 year 5 months ago - 1 year 5 months ago #328073 by Onkelmat
You are correct but in my case the servo isn't connected to the axis, and only spins when the +-10V are connected to the 7i77, if unplugged the servo is perfectly still.
The exact same setup for the Z axis works.
I'll check the axis configuration today, maybe I made a mistake.
Last edit: 1 year 5 months ago by Onkelmat.

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

More
1 year 5 months ago #328078 by Todd Zuercher
Look at the command output signals from hal. Are they zero before you "plug in" the servo? If they are zero, is the voltage at the analog out pins zero? Double check your wiring?

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

More
1 year 5 months ago #328081 by PCW
Does the servo spin when LinuxCNC is not running?

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

More
1 year 5 months ago #328107 by Onkelmat
I have the servo enabled pins setup, so when Linux is not running, the drives are disabled. But as far as I can remember, the servo was always spinning when i turned the mains on. I just recently found out, it would stop spinning when i disconnect the +-10 plug from the 7i77.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum