Application of DMC110A Single Axis Motion Controller in Feeding System

Summary:Using Creut Automation DMC110A motion controller for stepping motor control efficient acceleration, high-speed operation, high-precision positioning function to achieve the positioning requirements of the feeding system; using DMC110A motion controller register command, operation instructions and can Depending on the parameter input mode, the need to flexibly change the parameters of the feed system is realized; with the flexible IO port instructions of the DMC110A motion controller, the input detection and output control requirements of the automatic feed processing system are realized; the open display instruction of the DMC110A controller is used, The display requirements of the status information when the device is running are realized.

1 Introduction

In the actual industrial automation production process, a large number of equipments related to fixed-length feeding and processing can be seen everywhere: Early equipments were mainly based on mechanical positioning, such as the use of effective strokes of the control cylinders to realize positioning. The characteristics are: simple principle, equipment cost and The maintenance cost is low, but the biggest drawback is that the accuracy is not high and the consistency is poor. At present, it is gradually phased out; currently more used is the PLC or self-made single-board system, control stepper motor to achieve, can basically solve the positioning accuracy problem, but When implemented in PLC, parameters such as length parameters or motion delays are almost impossible to be implemented in the field when they are changed and adjusted. If “text display” is added to the system, on the one hand, too much cost is added. On the other hand, development is needed. The difficulty is also increased; when the single-board system is implemented, the human-machine interaction such as parameter modification can be designed, but the development cost is large and the development period is long, and the stability and reliability of the system also need to be tested for a long time; Neither is a professional motion control system, but when it comes to improving the efficiency of feeding, it will also encounter many difficulties; Select a professional motion control system for small and medium-sized manufacturers in terms of equipment, it would be the most appropriate choice.

2. Introduction to DMC110A Controller

Corrit Automation DMC110A motion controller uses high-performance "CPU + FPGA" master control, rich system resources, powerful, simple to use:
24K storage space: support 1024 parameters
IO interface is sufficient: 16 inputs, 8 outputs, the logic relationship is determined in the program, the function can be completely customized;
High speed and high performance: support 100KHz pulse frequency, standard trapezoidal acceleration curve;
Human-computer interaction is convenient: Built-in keyboard module, 128×64 dot matrix liquid crystal display, providing display instructions, users can flexibly control the display;
High-performance kernel module: The system provides a complete set of instruction systems to support users for convenient secondary programming. For non-standard numerical control systems, it is completely superior to G code programming.
Easy programming: download the user program on the PC, or directly program on the keyboard;

3. System analysis using DMC110A

Compared with PLC programming or other non-professional motion control systems, how to control the stepper motor to achieve fixed-length start and stop quickly and efficiently will always be a difficult point in software development and is often overlooked by developers. Often when the basic functions of the system are realized, it is found that controlling the operation of the stepping motor can only ensure that the operation of the stepping motor can only be performed at a lower speed, and the speed is increased, and the stepping motor will lose the step. The reason for this phenomenon is attributed to the motor. The distance is not enough, or the driver performance is not good. In addition, it is necessary to repeatedly verify and change the algorithm on the running accuracy of the motor. As a result, the development cycle of the project is naturally prolonged, or the product order is lost or the market opportunity is lost.

On the contrary, as a professional DMC series motion controller, Creat Automation integrates several years of motion control experience, focuses on the theory and practice of motion control, and solves the above problems. It is easy to handle: Simple speed instructions can be flexible and precise control steps The starting speed of the motor, the acceleration time, and the maximum speed (the algorithm will not bother the user of the controller); simple movement instructions can reliably and precisely control the angle of rotation of the stepping motor (feed length is proportional to the motor rotation angle ); simple and convenient display instructions, and several parameter settings mode, you can easily achieve human-computer interaction: for example, a variety of parameter settings, display operating status and product processing information.

First, according to the characteristics of the whole system, calculate the pulse coefficient of the system, that is: corresponding to the subdivision of the stepper motor, the pitch of the screw, how many pulses the controller sends, and the unit length (mm) of the system operation. The pulse factor can be a decimal. Specified register S1 is a pulse coefficient. The fixed length value required by the specified equipment is the register S2; (a length unit, for example, millimeters, may be a decimal number);
The specified speed parameters are: initial speed (S10), acceleration time (S11), and maximum speed (S12)
The specified operating parameters are: cylinder delay (S13)

4. Set the length control function to achieve

Speed ​​instruction: SPEEDM/0201

Variable Value Format Speed ​​Parameter Settings

Explanation: 1. This instruction is valid for subsequent movements;
2. The speed curve is a standard trapezoidal acceleration;
3. The parameter unit is the pulse frequency, the minimum speed is >1, the maximum speed is <100000, the smaller the acceleration time (see the acceleration time setting instruction), the steeper the speed curve;

Motion Instruction: DRVIM /0115 Relative Address/Variable Values ​​Uniaxial Motion

Note: When the instruction is executed, the controlled object will move #data(S#1) pulses in the direction of the single axis.
Related instructions: "
FMOVM F0,S2
FMULM F0,S1
FMOVM M0, F0
SPEEDM S10,S11,S12
DRVIM M0
PAUSE