Mitsubishi stepper motor PLC programming 15

Updated on Car 2024-03-27
9 answers
  1. Anonymous users2024-02-07

    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.

  2. Anonymous users2024-02-06

    Contact me, see my avatar, write it and send it directly to you, dear.

  3. Anonymous users2024-02-05

    Ladder Diagram:

    The terminal is connected to the DR terminal of the stepper driver (it is a signal that changes direction, generally the DR terminal has a signal to turn in one direction, and the DR terminal does not have a signal to turn in the opposite direction.) MF is the stepper motor release signal, (turn off the motor coil current, the driver stops working, the motor is in a free state, and it can be turned by hand.) This point terminal can be left unconnected.

    It is also necessary to plug the stepper driver into a working power supply.

    Soft relaysSome of the programming elements in the PLC ladder diagram retain the name relay, such as input relays, output relays, internal auxiliary relays, etc., but they are not real physical relays, but memory cells (soft relays), each of which corresponds to a memory unit of the image register in the PLC memory.

    If the storage cell is in the "1" state, it means that the coil of the corresponding soft relay in the ladder diagram is "energized", and its normally open contacts are turned on and the normally closed contacts are disconnected, which is said to be the "1" or "on" state of the soft relay.

  4. Anonymous users2024-02-04

    555 I'm a newbie, and with your diagram, my motor won't go.

  5. Anonymous users2024-02-03

    As shown in the figure, Y0 is connected to the stepper driver pulse, Y1 is connected to the stepper driver direction, D0 is the pulse frequency, and D1 is the number of pulses. X0 is on, and x1 is on.

    Provide ideas and directions: FX1S requires MT type, and there are only 2 sets of high-speed pulse number output points, which are Y0; Y1, the PU stepping pulse terminal of the stepper driver that can be connected to the Y0 high-speed pulse output terminal of the PLC. (How many steps have been taken by the PU terminal, how many steps have been taken.)

    This terminal is connected to the DR terminal of the stepper driver (this is the signal used to change direction. In general, the DR terminal has a signal that rotates in one direction, while the DR terminal does not have a signal to rotate in the opposite direction.

    MF is the release signal of the stepper motor (the motor coil current is turned off, the drive stops working, and the motor is in a free state and can be rotated by hand). The end branch macron can remain unconnected. The stepper driver should also be connected to the working power supply.

  6. Anonymous users2024-02-02

    How to write a Mitsubishi control servo motor program! Hello, happy to answer your <>. The pro-Mitsubishi control servo motor program writing method is as follows:

    The servo driver is driven by PLC, the moving speed is controlled by changing the pulse frequency, the moving amount is changed by changing the number of pulses, and the moving direction of the stepper motor is controlled. The servo drive is the actuator, which receives the signal from the PLC, controls the motor to move, and accurately positions the motor through the position encoder. M1250 Origin Regression Start Button Y50 Positioning Start (**Parameter)Y44 Axis Stop (**Parameter)Y40 PLC Ready to Complete (**Parameter)M1081 Motor Manual StatusM6401 Origin Regression Start Condition Output Pulse [T0 H4 K1500 K9001 K1] Origin Regression Special Instruction T0PLC >T0 PLC > 》QD75H4 QD75 module first address allocation position 40K1500 positioning instruction (** parameters) K9001 mechanical origin back to K1 set set Y50 to execute the output of the motor, need to be processed by the position, I hope my can help you <>

    Do you have any other questions?

  7. Anonymous users2024-02-01

    Summary. Pro, 1Press the start button to return the spindle to the origin, move to the middle after 5 seconds, and return to the origin after 2 seconds.

    Note: The positive number of the stepper motor is backward, y2 is bright, the negative number is forward, and y2 is not bright. Forward is the forward (3 belt side) movement, and backward is the (1 belt side) movement.

    How Mitsubishi PLC controls stepper motors.

    How to describe it in words.

    Pro, 1Press the start button to return the spindle to the origin, move to the middle after 5 seconds, and return to the origin after 2 seconds. Note:

    The positive number of the stepper motor is backward, y2 is bright, and the negative number is forward, and y2 is not bright. Forward is the forward (3 belt side) movement, and backward is the (1 belt side) movement.

    2. Another example: it is required to make a touch screen screen, output the specified position (mm as the unit), and let the stepper motor move to the specified position and stop. Assuming that the specified position of the workpiece is greater than the actual position value, the motor is turning into place; Instead, reverse in place.

    And the stepper motor takes 80 pulses to go 1mm.

  8. Anonymous users2024-01-31

    Hello dear, there are many ways for Mitsubishi plc to control stepper motor servo drive. Pulse + direction, which is commonly used. In addition, it is through serial port communication to write data and then triggered by MC point start.

    That is, there is a register in the servo drive to store data, and the PLC first sends the data such as starting frequency, acceleration and deceleration rate, target rate, and target pulse through the serial port. The output then sends an execution signal to the servo, which acts according to the data in the register. This communication method can be used to control multiple servos with the same PLC.

    The stepper motor drivers are all pulsed, and there are as many pulses as there are drivers. Then there is the servo motor, which has a much higher accuracy than the stepper motor. The stepper motor is generally 100 points per 360-degree circle, which is 100 pulses per turn.

    The servo motor is thousands of pulses only one turn, the accuracy can be imagined, the topic is opened, come back... The servo drive is not as easy to use as you think, a lot of data has to be processed, and the servo has to be corrected and adjusted. The stepper motor driver is just the wiring pulse, there are no parameters to adjust, at most the speed is adjusted.

  9. Anonymous users2024-01-30

    To write a program for Mitsubishi PLC to control a stepper motor back and forth five times, you can follow the steps below:

    1.First of all, it is necessary to determine the driving mode and control signal of the stepper motor, including pulse signal and direction signal. Normally, the pulse signal and direction signal of the stepper motor are controlled through the output port of the PLC.

    2.Then, it is necessary to write the program of the PLC to realize the control of the stepper motor. Specifically, a cyclic structure can be used to realize the back and forth operation of the stepper motor through the accumulation and judgment of the counter.

    3.In the program, you need to define counters, output ports and other related parameters. The initial value of the counter is 0, and whenever the stepper motor moves to a certain position, the value of the counter will be increased by 1, and when the value of the counter reaches a certain threshold, the stepper motor will change the direction of motion.

    4.When writing the program, it is necessary to pay attention to the output order of the control signal and the frequency and width of the pulse signal. These parameters need to be set according to the specific stepper motor model and drive mode.

    5.Finally, the program is debugged and optimized to ensure that the stepper motor can move back and forth five times according to the requirements, and the movement is stable and accurate.

    It should be noted that the above steps are only a general reference, and the specific programming methods and parameter settings need to be adjusted and optimized according to the specific situation. At the same time, it is necessary to strictly abide by PLC programming specifications and safety standards when programming to ensure the reliability and safety of the program.

Related questions
15 answers2024-03-27

Mitsubishi PLC programming program how to write PLC Hello, 1, after the program is written, you need to transform the program first, there are three ways to transform: the first is to press the F4 key of the keyboard directly, the second is to click the "transform" menu bar, and then click the first item "transform", the third is to click the "program transform" button of the toolbar, we choose the appropriate transformation method according to their own habits 2, after the program is transformed, you need to check whether there are syntax errors in the program, This check only self-diagnoses the syntax, not the design content. To check the program, click "Program Check" in the menu bar of the tool. >>>More

4 answers2024-03-27

The power light of the plc is on, but the run light is not on, that is, there is no running program. >>>More

10 answers2024-03-27

These two are mainstream PLCs, one made in Japan, one made in Germany, I have used both, both are very representative, it is recommended to learn both, you can learn Mitsubishi's first, because most of the programming methods of other brands of PLC are imitation of Mitsubishi, especially domestic brands, just like the Delta I use now, and Xinjie, which is almost exactly the same as Mitsubishi. Mitsubishi is what a traditional ladder looks like. And Siemens is also unique, although he also said that it is a ladder diagram, but his is a modular ladder diagram, which looks more intuitive than Mitsubishi's, and the step7 software is also very easy to use. >>>More

9 answers2024-03-27

TO is to write the command of the special function module, that is, to send the data in the PLC to the special function module and buffer memory BFM. >>>More

18 answers2024-03-27

Heavy industry and motor belong to the "father-son" relationship. Founded in 1870, Mitsubishi Heavy Industries has a history of more than 100 years, and with the development of Mitsubishi Heavy Industries, Mitsubishi Electric was later separated from Mitsubishi Heavy Industries and became an independent company. MHI's refrigeration technology uses advanced manufacturing technologies such as aerospace and biotechnology. >>>More