A kind of pace that is based on motion to control card controls a system into electric machinery

  • Time:
  • Click:108
  • source:AMANCIO CNC Machining
Summary: Designed a kind of pace to control a system into electric machinery. This system controls card to generate pulse and directional signal through motion. Edit interfacial program with MicrosoftVisualBasic. Call the athletic function library in controlling card, trends changes pulse frequency, dominate electric machinery change direction and rotate speed, control the implementation below condition to take the control of electric machinery to the pace in open loop thereby. Raised real time sex and fast sex already, go to the lavatory again practical. Keyword: The pace enters electric machinery; Motion controls card; Open loop controls what 1 foreword motion controls a system to go up position control plan has odd an engine system, professional sport to control PLC, special control commonly system and " PC + motion controls card " . Use sheet piece control of sport of engine system implementation, cost is inferior, but development difficulty is greater, cycle is long. This kind of plan applies to goods lot commonly function of system of bigger, control is simple, have sheet piece the user of experience of engine system development. The PLC of a lot of brands is optional deserve to decide position control module, the CPU unit itself of some PLC has motion to control a function, if the pine issues the FP0 of the company. This kind of plan applies to athletic process to compare the facility that contrail of simple, motion secures commonly, wait like food chute, automatic welder. Special control system is to be aimed at special device or special industry commonly, for instance the system of lathe numerical control of Xi Menzi company is mixed system of milling machine numerical control. "PC + motion controls card " plan as PC gain ground use increasingly, the main development trend that is athletic control system. This kind of plan can make full use of computer natural resources, use at athletic process, mechanical contrail more complex, and flexible stronger machine equipment, at present for instance system of very popular open mode numerical control adopts this kind of plan mostly. What the control system of article introduction uses is " PC + motion controls card " plan, this is the main content of the article. 2 systems composition and hardware introduction plan the 1 hardware that shows a this system comprises block diagram. Use Germany among them 100 case pull three interblend to add up to type situation to enter electric machinery (VRDM3910/LHA) and driver of its form a complete set (D921) . Controlling card is card of control of the MPC02 that Chengdu pace produces into Electromechanical limited company sport. 2.

1 driver face plate and its function setting pursue the 2 face plate configuration that are D921 driver and function. Functional choice: STEP1, STEP2 installs electric machinery every turn pace number; All input signal all is smooth Ou input. 2.

If the construction that control of the structural MPC02 that 2 sport control blocks sport blocks pursues 3 are shown. This calories of PCI that is inserted in PC expands be used inside groove; Pilot of the MPC02 card campaign that finish is all detail, rise the output that comprises pulse and directional signal, automatically fall fast of processing, origin and spacing signal detect etc. It uses advanced special control integrated circuit, have echelon and S form to rise fall speed-distance curve. Use interface of 68 core SISC, wiring can use screen wire cable outside, in order to increase the interference rejection capacity that control blocks. Its signal interface defines as follows: Pulse measures signal: Pulse / direction (number 17 ~ 28) ; Coder feedbacks (35 ~ 52) ; Light lies between power source (29, 30) . Switch measures signal: Spacing (55, 56, 60, 61, 65, 66) ; Decelerate (53, 54, 58, 59, 63, 64) ; Origin (57, 62, 67) ; Servo makes can (9, 11, 13) ; Deviation to clear (10, 12, 14) ; Exterior call the police (68) ; General input (31 ~ 34) ; Current output (1 ~ 8) ; Light lies between power source (15, 16) . The software of system of 3 sport control 3.

The unit that the software that 1 control blocks uses in function library and function return of value agree as follows normally. 3.

1.

The unit of displacement of 1 unit 1) or distance is P(Pulse) , namely pulse number; The unit of 2) speed is P/S(Pulse/sec) , namely pulse / second; 3) acceleration and the unit that reduce rate are P/s2(Pulse/s2) , namely pulse / second 2. 3.

1.

The most function in library of motion of 2 function return of value is whole model function, their return a meaning to be as follows: 0 function are carried out correct; - 1 function carries out a mistake. The function that uses in function library has a few kinds as follows: Control gets stuck and the setting of function of function of axial setting function, independent movement and interpolation motion, apply the brake, position and condition reachs mouth of inquiry function, I/O to operate function, wrong code function and a few other function. The exercise that these function achieve is like below 6 kinds of main types, if pursue,4 are shown. Contain litre / fall fast pilot motion function is called fast (Fast) motion function, for instance Fast_pmove, Fast_vmove is mixed Fast_hmove, constant fast motion function is called constant fast (Con) motion function, be like Con_pmove, Con_vmove and Con_hmove. 3.

2 software program: Athletic parameter set includes axial date, initial velocity, top speed, acceleration and mobile distance to wait; Athletic control program includes to stop urgently, delay stops, to clear, constant fast and wait quickly; Control effect shows include the position and speed to wait. The program is as follows: The athletic control function that 4 last words control circuit to give priority to the campaign that charge to control card with special motion comes true by hardware circuit, compositive degree tall, dependability is better. It needs to receive control order from personal computer only, next oneself finish the control that concerns with motion, take up scarcely the CPU time of personal computer, use very convenient, can shorten greatly not only development and development cycle, and still can realize more perfect motion to control a system, can satisfy the control requirement that takes electric machinery to the pace. CNC Milling CNC Machining