Previous in Forum: Multimeter Reading Question   Next in Forum: Honeybees Disappearance & Electromagnetism
Close
Close
Close
4 comments
Rate Comments: Nested
Anonymous Poster

Problems with PLC and Stepper Motor Results

04/15/2007 11:36 PM

In a three stepper motor application, we use a PLC which has two stepper motor output. Our software consultant programmed PLC with one of the stepper motor output redirected to common of PLC outputs. Now the problem is that the stepper motor with direct stepper motor output from PLC operates OK but other stepper motors through common PLC output supply has speed problem.

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#1

Re: Nilesh D Mistry

04/16/2007 3:22 AM

Assuming that the PLC supplies the final drive for the stepper. that is 4 or more wires and not 2 wires (step and direction).

The phase of the controller must match the current phase of the motor when switching over between the multiplexed steppers. if not erratic steps and speeds will be experienced.

I will advise two memory allocations to keep the last status of an axis that must be reloaded for switching over.

Note that for 3 axis movement the maximum speed obtainable on the shared axes will be much lower than for the normal one.

A separate stepper driver for each axis is very inexpensive and steppers are also available with the driver built in.

If the PLC is supplying only step and direction then speed might be your problem.

__________________
Never do today what you can put of until tomorrow - Student motto
Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#2

Re: Problems with PLC and Stepper Motor Results

04/17/2007 12:01 AM

It is not clear whether there are driver boards between the PLC and the stepper motors. Unless these are tiny motors like in an inkjet printer, there should be drivers. How big are these steppers and their drivers, if any? Especially if there are no drivers, it is quite possible that one of the phases has blown, or there could be a loose or broken wire or connector.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Reply
Active Contributor

Join Date: Mar 2007
Location: US
Posts: 18
#3

Re: Problems with PLC and Stepper Motor Results

04/17/2007 4:49 AM

"programmed PLC with one of the stepper motor output redirected to common of PLC outputs".

Does this statement tell us typical PLC outputs are operating the step motor? I've not tried this before, but if I were to, I would check rated frequency responce of the outputs (slew rate).

If there are no drivers with the motors running direct from the outputs, you should know that drivers allow many adjustments which may help with speed problems.

When all else fails, break out you oscope and look at the pulse shape. This should give an indication of what is going on.

Reply
Guru
Australia - Member - New Member Fans of Old Computers - H316 - New Member Hobbies - Model Rocketry - New Member

Join Date: Jun 2006
Location: Port Noarlunga, South Australia, AUSTRALIA (South of Adelaide)
Posts: 3048
Good Answers: 75
#4

Re: Problems with PLC and Stepper Motor Results

04/17/2007 1:33 PM

I think Hendrik hit the nail on the head with the stepper motor driver that is being used to drive two motors getting out of phase with one or both of the motors it is trying to drive. Stepper motors have multiple coils, commonly four, that must be energized one at a time in sequence. As you step from one coil to the next the motor rotates through a fixed angle. There are a couple of things that can be going on:

  1. Firstly the motor must be in the same position as the driver. If the motor is in the position for coil A to be energized and the driver thinks that coil C is energized then you will have problems.
  2. Stepper motors when being operated are designed to have one coil energized at all time. If the power is removed from all the coils then they can easily freewheel and be rotated by something pushing on the device they are driving. While one of the coils is energized the rotor is essentially locked and the motor can not easily be rotated by external forces. If you were using a common driver to drive something like a 3 axis milling machine platform while the PLC is connected to one motor the force being applied to the object being machined may cause the motor that dose not have power applied to it to slip and move to a different position.

When I see thing like this being done it makes me wonder what people are thinking of. If the people that designed and manufactured the PLC intended it to drive three stepper motors then it would either have or be capable of having three stepper motor drivers connected to it. The question then becomes why are you trying to do something with the PLC that it was not designed to do in the first place?

My suggestion would be to either get an upgrade for your PLC so that it can drive all three motors directly or get a PLC that was capable of driving all three stepper motors simultaneously.

Oh yes, one thing else, get a new software consultant, this guy likes to cut corners and that is never a good thing.

__________________
An elephant is a mouse built to government specifications.
Reply
Reply to Forum Thread 4 comments
Copy to Clipboard

Users who posted comments:

Alvin (1); dkwarner (1); Hendrik (1); masu (1)

Previous in Forum: Multimeter Reading Question   Next in Forum: Honeybees Disappearance & Electromagnetism
You might be interested in: Stepper Motors, Motor Controllers, Motor Coils

Advertisement