Servo Encoder set up issue

More
06 Mar 2022 22:55 #236540 by PCW
Replied by PCW on topic Servo Encoder set up issue
You cannot reverse the analog output unless the 10V supply is floating
(it probably has a common ground with the encoder signals from the drive)

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

More
06 Mar 2022 23:46 #236543 by tommylight

You cannot reverse the analog output unless the 10V supply is floating
(it probably has a common ground with the encoder signals from the drive)

I thought the same thing, but he said it worked, so i was rightfully confused ! :)

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

More
07 Mar 2022 06:26 #236566 by rider-83
Replied by rider-83 on topic Servo Encoder set up issue
I'm not sure I understand what you mean. I'm simply swapping the polarity of the 10v via a relay to swap the motor direction.
This has always worked fine, even with my homemade encoder setup.
Its become an issue since I swapped the old encoder setup for the built in servo encoder. As soon as I pull the LPT plug the spindle rotates CCW as required. CW direction is unaffected. The issue appears to be something I've done recently when connecting the servo encoder.

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

More
07 Mar 2022 06:29 #236567 by rider-83
Replied by rider-83 on topic Servo Encoder set up issue
Should I collect all the pins I've wired on the servo side and list them here?
The way I've used GND may be the issue here.

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

More
07 Mar 2022 14:17 #236581 by tommylight
Leme give it a try to explain:
the spindle drive has internally connected analog ground to encoder ground, so in your case, when running CV everything is OK, but when you switch the analog wires, the analog input gets connected to ground through the encoder. Hence it works with no encoder, but not with encoder attached.
That is how i understood what is going on, is that correct?

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

More
10 Mar 2022 14:07 #236844 by rider-83
Replied by rider-83 on topic Servo Encoder set up issue
I thought it may be easier to explain if I attached examples of my current wiring.
Note, at the bottom of the schematic page I have included how my previous encoder was wired. This method worked fine with both CW & CCW directions. Because it was a little untidy and was picking up some noise I decided to make good use of the built in servo-encoder arrangement.
Attachments:

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

More
10 Mar 2022 17:35 - 10 Mar 2022 17:39 #236864 by PCW
Replied by PCW on topic Servo Encoder set up issue
Your reversing relay connects VREF to GND and applies a positive voltage to AGND
when the spindle is reversed.

This is fine if the analog input and and PWM to analog output are floating,
but it looks like both the drives analog input circuit and the encoder output share a common
ground, which will short out the PWM-analog output signal when in the reverse direction.
Last edit: 10 Mar 2022 17:39 by PCW.

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

More
10 Mar 2022 22:02 #236896 by rider-83
Replied by rider-83 on topic Servo Encoder set up issue
What would be my best solution here? Would connecting the ABZ signals via an opto coupler taking 5v from the PC's USB work around this?

Also, please accept my ignorance here, but what is meant by the term 'floating' ?

Thanks,

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

More
10 Mar 2022 22:48 #236901 by PCW
Replied by PCW on topic Servo Encoder set up issue
"Floating" in this context means no connections to common
terminals (like GND)

5V from a PC is not floating because it GND is frame GND

If the drives AGND and encoder GND are connected on the drive
you should still be able to make this work if the PWM-->analog
circuit is fully floating (no GNDconnections on the analog side)

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

More
11 Mar 2022 13:59 #236934 by rider-83
Replied by rider-83 on topic Servo Encoder set up issue
I've just noticed an error in my previous wiring diagram and attached the correct version. Previously It didn't show the supply from the PSU to the PWM-Analogue module.
I think I'm getting a grip of what you are telling me, but I keep staring at the wiring diagram and wonder where the actual issue/connection resides, and how to correct this.
Attachments:

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

Time to create page: 0.114 seconds
Powered by Kunena Forum