plc as a kind of industrial control computer, has a modular structure, flexible configuration, high speed processing speed, accurate data processing ability, PLC on the stepper motor also has a good control ability, using its high-speed pulse output function or motion control function, can realize the control of the stepper motor.
For those specific equipments whose moving distance and speed are determined during operation, I believe that using PLC to control stepping motor operation through stepping motor driver is an ideal technical solution.
The characteristics of the stepper motor:
(1) the angular displacement of the stepper motor and the number of input pulses is strictly proportional to the number of motors running for a week without cumulative error, with good followability.
(2) The open-loop digital control system composed of stepper motor and driver circuit is both very simple, inexpensive and reliable. At the same time, it can also be composed of a high-performance closed-loop digital control system with the angle feedback link.
(3) The dynamic response of the stepper motor is fast, easy to start and stop, forward and reverse rotation and variable speed.
(4) The speed can be smoothly adjusted in a fairly wide range, low speed can still ensure that the large torque.
(5) Stepping motor can only run through the pulse power supply, it can not directly use the AC power supply and DC power supply.
Stepping motor can respond to the highest step frequency without losing step is called "start frequency"; similarly, "stop frequency" refers to the system control signal suddenly shut down, the stepping motor does not rush through the target position of the highest step frequency. The motor's start frequency, stop frequency and output torque should be adapted to the load inertia. With these data, the stepper motor can be effectively controlled with variable speed.
Using PLC to control the stepping motor, the pulse equivalent of the system, the upper limit of the pulse frequency and the maximum number of pulses should be calculated according to the following formula, and then select the PLC and its corresponding function module. Based on the pulse frequency, the frequency required for high-speed pulse output of the PLC can be determined, and based on the number of pulses, the bit width of the PLC can be determined.
Pulse equivalent = (stepping motor step angle × pitch) / (360 × transmission speed ratio)
Upper limit of pulse frequency = (Travel speed × stepping motor fine fraction)/Pulse Equivalent
Maximum number of pulses = (distance traveled × stepper motor minutiae) / pulse equivalent
Pulse equivalent = (stepping motor step angle × pitch)/(360 × transmission speed ratio)
Upper limit of pulse frequency = (travel speed × stepper motor minutiae)/pulse equivalent
Maximum number of pulses = (distance traveled × stepper motor minutiae) / pulse equivalent
PLC control of stepper motors should first establish the coordinate system, which can be set as a relative coordinate system or an absolute coordinate system. The coordinate system is set in the DM6629 word, bit 00-03 corresponds to pulse output 0, bit 04-07 corresponds to pulse output 1. When set to 0, it is relative coordinate system; when set to 1, it is absolute coordinate system.
The use of PLC to control the operation of stepper motors through the stepper driver has led to a wider application of PLC in stepper motorized control. For example, in the process of controlling single- and two-axis movements, parameters such as moving distance, speed and direction are set on the control panel.
PLC reads these set values, generates pulses and direction signals through arithmetic, and controls the stepper motor drive to achieve the purpose of distance, speed and direction control. And through the actual test to prove that the system operation results have reliability, feasibility and effectiveness.
Translated with DeepL.com (free version)




