Fengwei PLC controls the three phase stepper motor program

Updated on technology 2024-04-13
24 answers
  1. Anonymous users2024-02-07

    The speed of the stepper motor depends on the frequency of the input control pulses, and the positioning of the stepper motor depends on the number of input control pulses.

    In the Fengwei VH series PLC, the frequency and number of pulses can be realized by using the high-speed processing pulse output instruction PLSY.

    A stepper motor is an open-loop control element stepper motor device that converts the electrical pulse signal into angular displacement or linear displacement. In the case of non-overload, the speed of the motor, the position of the stop only depends on the frequency of the pulse signal and the number of pulses, and is not affected by the change of load, when the stepper driver receives a pulse signal, it drives the stepper motor to rotate a fixed angle in the set direction, called the "step angle", and its rotation is to run step by step at a fixed angle. The angular displacement can be controlled by controlling the number of pulses, so as to achieve the purpose of accurate positioning; At the same time, the speed and acceleration of the motor can be controlled by controlling the pulse frequency, so as to achieve the purpose of speed regulation.

    Stepper motor is a kind of induction motor, its working principle is to use electronic circuits, direct current into time-sharing power supply, multi-phase timing control current, use this current to supply power to the stepper motor, stepper motor can work normally, the driver is for stepper motor time-sharing power supply, multi-phase timing controller.

    Although stepper motors have been widely used, stepper motors cannot be used under conventional conditions like ordinary DC motors, AC motors. It must be composed of a double ring pulse signal, a power drive circuit, etc., and the control system can be used. Therefore, it is not easy to use stepper motors well, and it involves many specialized knowledge such as machinery, motors, electronics, and computers.

    As an actuator, stepper motor is one of the key products of mechatronics, which is widely used in various automatic control systems. With the development of microelectronics and computer technology, the demand for stepper motors is increasing day by day, and they are used in various fields of the national economy.

  2. Anonymous users2024-02-06

    Feng Wei uses less, uses Delta's, Shijiazhuang Shida Electromechanical.

  3. Anonymous users2024-02-05

    Just use an analog output and you're good to go.

  4. Anonymous users2024-02-04

    Just use the pls command. It's simple.

  5. Anonymous users2024-02-03

    As shown in the figure, this is the forward and reverse rotation of a stepper motor, Y0 is connected to the pulse power of the stepper driver version, Y1 is connected to the direction of the stepper driver, M0 is on when the forward rotation, M1 is on when the reversal, D0 is the frequency of the pulses, D1 is the number of pulses.

    The moving speed is related to the pulse frequency, under the condition of a certain number of subdivisions, the higher the frequency, the faster the speed, the distance traveled is related to the number of pulses, the more pulses, the longer the walking distance, (in Mitsubishi's instruction, when the number of pulses is 0, it is always running, which is equivalent to an infinite number), the specific moving speed and walking distance must be based on your settings (frequency, number of subdivisions, number of pulses, etc.) and hardware (including the step angle of the stepper motor, the wire distance of the screw rod, the gear ratio of the gear set, The conveyor ratio of the gear belt, etc.).

  6. Anonymous users2024-02-02

    M206: Forward rotation.

    M207: Inverted.

    y0: pulse output.

    y1: reversal signal.

    K100: Acceleration time.

  7. Anonymous users2024-02-01

    Adjust the motor subdivision to 50, which means that 10,000 pulses is one revolution. This procedure completes the forward rotation half a turn to stop the second, then reverse the half turn, and then stop the second .........

    In step 58, it should be [ddrvi k-5000 k5000 y0 y2].

  8. Anonymous users2024-01-31

    Can it be turned like this? Only those who have seen the forward and reverse rotation have not seen the rotation of 90 degrees, and the motor has a speed when it rotates back, how can it be that it is only 90 degrees, so it is just right.

  9. Anonymous users2024-01-30

    M206: Forward rotation.

    M207: Inverted.

    y0: pulse output.

    y1: reversal signal.

    k999999999: the number of pulses.

    K100: Acceleration time.

  10. Anonymous users2024-01-29

    Understand the principle of stepper motor, the control of the non-stepper motor is controlled by pulses, in which the number of pulses is proportional to the distance traveled by the stepper motor, and the frequency of the pulse is proportional to the speed of the stepper motor, which can be written with the command to change the pulse frequency, such as omron's can be written with plus(65), and the model can be found in the corresponding manual!!

  11. Anonymous users2024-01-28

    Khan PLC control stepper motor is a sentence.

    plsy k?? k?? y0

    Flat rate (speed) Pulse amount (how many steps) The motor works (only 2 Y0 or Y1 can be controlled).

    Add a D pulse in front of PLSY K3000 K30000 Y0 to be above 32000 and only below 32000 without adding.

  12. Anonymous users2024-01-27

    It is generally indicated in the pulse-specific instructions.

  13. Anonymous users2024-01-26

    It should be, the output error of m1 s21 cannot be executed.

  14. Anonymous users2024-01-25

    How do you know if the pulse isn't out?

  15. Anonymous users2024-01-24

    1. Full step = 48 microsteps, simulating the forward spin and cospin signals, dividing the period into 48 parts, from 00 to ff timing, and sending data in turn.

  16. Anonymous users2024-01-23

    PLC pulse command, pulse generator, positioning module choose one of them

  17. Anonymous users2024-01-22

    Fast, Medium, Slow, Single-step, Fixed-step, Fixed-step?

  18. Anonymous users2024-01-21

    This Xinjie program is exactly the same as the Mitsubishi PLC program, and I'm a little embarrassed to use it.

  19. Anonymous users2024-01-20

    I have a machine here that can be used.

  20. Anonymous users2024-01-19

    Example of PLC control of stepper motor (diagram and program).

    The Absolute Position Control Command (DRVA) is used to describe the method of controlling a stepper motor in the FX1S in general. Due to the limited level, this example is discussed in non-professional language, please do not cite it.

    The FX series PLC unit can output two sets of 100kHz pulses at the same time, which is a good choice for low-cost control of servo and stepper motors!

    PLS+, PLS- is the pulse signal terminal of the stepper driver, DIR+, DIR- is the direction signal terminal of the stepper driver.

    The so-called Absolute Position Control (DRVA) specifies the position to be walked to the origin, and the origin position data is stored in the 32-bit register D8140. When the machine is located at the origin position we set, the value of D8140 is reset to zero with the program, and the position of the origin is determined.

    Example operation mode: X0 closing action to stop at point A, X1 closing action to stop at point B, wiring diagram and action position example as shown in the left figure (distance is expressed by the number of pulses).

    The procedure is as follows: (This program is for illustrative purposes only, and the practicality needs to be improved.) )

    Note: Reset the value of D8140 to zero at the origin (this function is not done in this program).

    The 32-bit register D8140 is the number of output pulses stored in Y0, which increases when forward and decreases when reversed. When the forward rotation action reaches point A, the value of D8140 is 3000. At this point, x1 is closed, and the mechanical reversal action is moved to point b, which is the position of -3000.

    The value of d8140 is -3000.

    When the machine moves from point A to point B, X1 is disconnected (if it is disconnected at point C), the value of D8140 is 200, and then X0 is closed, and the mechanical forward rotation action stops at point A.

    When the machine stops at point A, close x0 again, because the machine is already 3000 away from the origin, so the machine does not move!

    Replace the Absolute Position Instruction (DRVA) in the program with the Relative Position Instruction (DRVI).

    When the machine is at point b (assuming that the value of D8140 is -3000 at this time) closes x0, then the machine stops at the origin point after 3000 pulses. The value of d8140 is 0

    When the machine is at point B (assuming that the value of D8140 is -3000 at this time) closes X1, then the machine reverses 3000 pulses and stops, that is, it stops at the left position 3000 away from point B (not drawn in the figure), and the value of D8140 is -6000.

    Schematic diagram of the general two-phase stepper motor driver terminal:

    free+, free-: offline signal, the stepper motor has a self-locking function when there is no pulse signal input, that is, it locks the rotor and does not move. When there is an offline signal, the self-locking function is released, and the rotor is free and does not respond to step pulses.

    V+, GND: DC power terminal of the driver, also available for AC power supply.

    A+, A-, B+, and B- are respectively connected to the two-phase coils of the stepper motor.

  21. Anonymous users2024-01-18

    First of all, your requirements are not clear, I took a look, and that hiccup 1s must be completed after the reversal of the main pass? Or just press x3 to reverse and stop and start 2000 pulse reversal?

    Here's how I reversed the program according to x3 stop: Let's say 2000 pulses are input in 5 seconds, x0 is forward, and x1 stops.

    x2 reverses the start x3 stops.

    1s after reversing 2000 stops.

    Output y0 forward to y1 reversed.

  22. Anonymous users2024-01-17

    As shown in the figure, this is the operation of the forward and reverse rotation of a stepper motor, Y0 is connected to the pulse of the stepper driver, Y1 is connected to the direction of the stepper driver, M0 is the forward rotation when it is on, M1 is the reverse when it is on, D0 is the frequency of the pulses, and D1 is the number of pulses.

    The moving speed is related to the pulse frequency, under the condition of a certain number of subdivisions, the higher the frequency, the faster the speed, the distance traveled is related to the number of pulses, the more pulses, the longer the walking distance, (in Mitsubishi's instruction, when the number of pulses is 0, it is always running, which is equivalent to an infinite number), the specific moving speed and walking distance must be based on your settings (frequency, number of subdivisions, number of pulses, etc.) and hardware (including the step angle of the stepper motor, the wire distance of the screw rod, the gear ratio of the gear set, The conveyor ratio of the gear belt, etc.).

  23. Anonymous users2024-01-16

    It's a very simple action, but a good engineer's program ideas are the most important, I think this program is quite classic, experience the basic knowledge of PLC and programming ideas.

  24. Anonymous users2024-01-15

    The above ladder diagram, whether it is forward or reversed, will automatically stop after rotating for seconds, you can refer to my ladder diagram to complete.

Related questions
21 answers2024-04-13

Three-phase alternating current is a form of transmission of electrical energy, referred to as three-phase electricity. Three-phase AC power supply is a power supply composed of three alternating currents with the same frequency, equal amplitude, and 120° difference in phase. Three-phase alternating current has many uses, and most of the alternating current electrical equipment in the industry, such as motors, use three-phase alternating current, which is often referred to as the three-phase four-wire system. >>>More

17 answers2024-04-13

Question 1 A: Single-phase tables will not go too many words. >>>More

13 answers2024-04-13

A power supply consisting of three alternating currents with the same frequency, equal amplitude, and 120° phase difference from each other. >>>More

14 answers2024-04-13

The two-phase electricity you are talking about should be the single-phase electricity used in daily life, right? Single-phase electricity is powered by a live wire and a neutral wire, and the voltage is 220 volts. If there is an electric light in the house, there is a neutral wire, so take any phase from the three-phase electricity and use the neutral wire. >>>More

8 answers2024-04-13

When the three-phase asynchronous motor is connected to the three-phase AC power supply, the three-phase stator winding flows through the three-phase magnetodynamic potential generated by the three-phase symmetrical current and generates a rotating magnetic field, which rotates clockwise along the stator and the inner circular space of the rotor at a synchronous speed. This rotating magnetic field has a relative cutting motion with the rotor conductor, which, according to the principle of electromagnetic induction, generates an induced electromotive force and generates an induced current. According to the law of electromagnetic force, under the action of induced electromotive force, an induced current will be generated in the rotor conductor that is basically the same as the direction of the induced electromotive force. >>>More