Speak with authority, quality is trustworthy.

PLC control stepping motor method research

by:Coolmay     2020-10-16
PLC control method of stepper motor research mechanical and electrical design and research institute of Shanxi Province zhu recalled welcome to e hall exhibition hall 3 PLC PLC programmable controller, PLC programming cable. 。 。 One, the introduction with the development of microelectronics technology and computer technology, the programmable controller has rapid development, its function has been far beyond the scope of logic control, sequence control, combining it with the computer, the analog control, can be performed with remote communication function and so on. Someone called the three pillars of modern industrial control ( PLC controller, robots, CAD/CAM) One of the. The programmable controller ( 可编程序控制器) Hereinafter referred to as PLC has been widely used in metallurgy, mining, machinery, light industry and other fields, provides a powerful tool for industrial automation. 2, the basic structure of PLC PLC used the typical computer structure, mainly including CPU, RAM, ROM and the input/output interface circuit, etc. If the PLC as a system, the system by input variables PLC - Output variables of various external switch signal, analog signal, sensor detection signal as input variables of PLC controller, both them by PLC external terminal input to the internal registers, the internal logic of PLC or other forms of computing, after processing to the output terminal, they are PLC output variable, with the output variable to control the various peripherals. Three, the control method and the special function of the study 1, FP1 ( 1) The output of the pulse output FP1 Y7 can output pulse, the pulse frequency can be adjusted through software programming, the output frequency range of 360 hz ~ 5 KHZ. ( 2) High speed counter ( HSC) FP1 internal high speed counter, can enter two-way pulse at the same time, the highest count of 10 KHZ, frequency count range - 8388608 ~ + 8388607. ( 3) Input time delay filter FP1 input with input time delay filter, can prevent the unreliability due to switch mechanical dithering, the delay time can be adjusted according to need, the adjusting range is 1 ms ~ 128 ms. ( 4) Interrupt function FP1 interrupt there are two types, one is the external interruption, one is internal timer interrupt. 2, the speed of the stepper motor control FP1 have a SPD0 instruction, the instruction with HSC and Y7 pulse output function of speed and position control can be realized. Speed control ladder diagram as shown in figure 1, the control parameters as shown in figure 2, the pulse output frequency set curve as shown in figure 3. Figure 1 speed control trapezoidal tutu 2 control parameters set figure 3 pulse output frequency curve 3, the control system of program running 4 control system principle tutu 4 are the principle of control system wiring diagram, figure 4 Y7 output pulse as clock pulse stepper motor, the clock pulse drive, control the step motor running. Meanwhile Y7 connected to the PLC controller input contact X0, and via X0 to send to PLC internal HSC. HSC count the number of pulses Y7, when to the expected value is interrupted, make Y7 pulse frequency switch to the next parameter, so as to realize the accurate position control. Achieve the control of ladder diagram as shown in figure 5. Figure 5 control ladder diagram of the control system to run the program: the first sentence is DT9044 and DT9045 reset, namely preparation for HSC to count; 2 ~ 5 sentences is to establish a parameter list, parameters in headed by DT20 address data register area; Carried out by the last sentence is to start SPD0 instructions, this sentence is out of DT20 began to set parameters and the corresponding control requirements are completed. By the first sentence is the first parameter is the K0, are the eigenvalues of the PULSE mode, the rules on the output. The second parameter is the K70, corresponding pulse frequency of 500 hz, and the Y7 a pulse frequency of 500 hz. The third parameter is K1000, namely after sending 1000 pulses according to the frequency switching frequency to the next. And a frequency that is the last parameter is K0, so when the execution to the step pulse stopped, so the motor stalling. So when you run this program can make the stepper motor's speed, according to the regulation scheduled revolutions drive control object, make it to the expected position after automatic stop. Third, the conclusion by using programmable controller can conveniently realize the motor speed and position control, convenient and reliable for a variety of stepper motor operation, finish all kinds of complicated work. It represents the advanced industrial automation revolution, accelerate the realization of the electromechanical integration.
There are a wide variety of which are scientifically tested to have positive effects on the ability to plc controller price. programmable control systems plc manufacturers is one of them.
Shenzhen Coolmay Technology Co., Ltd. plans to produce and execute four marketing seminars, one per quarter, to help business owners see success by sharing important growth strategies and hosting interactive workshops.
Knowing what promotions are popular and get the most activity as plc manufacturers from current and potential customers can play a role in your overall strategy.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: