Be based on 89C51/52 sheet piece the processing of intelligence of face plate of numerical control machine tool of machine is unit

  • Time:
  • Click:123
  • source:GEOFF CNC Machining
Summary: The article put forward to be based on 89C51/52 sheet piece the processing of intelligence of face plate of numerical control machine tool of machine is unit, introduced soft hardware of its job principle and system, designed a kind of new software to eliminate key to shake algorithmic. This processing unit strings together mouth and news of trade of numerical control system through the standard, had used hand of 3 coordinate CNC Milling to use the control that operates face plate, soft hardware all can work reliably. Keyword: Numerical control machine tool; Odd a computer; Serial communication classifies date: TP368.

2 document label piles up: A article number: Li LichuanAbstract of   of Zhao Zhongsheng of   of 1001-2265(2000)   02-0027-0289C51/52-based Flexible Panel Adapter For CNC Machine ToolsMao Junhong: A Flexible Panel Adapter For CNC Machine Tools Based On 89C51/52 Single-chip Computer Is Presented.

The Hardware And Software Of This Adapter Are Described.

A New Design For Noise Rejection Using State Transfer Graphs Is Given.

This Adapter Is Interfaced With CNC Systems Via Standard RS232 Serial Port And Has Been Applied To A 3-axis CNC Milling Machine Tool.

Key Words: Foreword of CNC Machine Tool;single Chip Computer;serial Communication1 is in numerical control machine tool, the hand uses operation face plate always is indispensable, its characteristic is 1.

Some inputs quantity is mutually exclusive, do not allow to be operated by accident, by mechanical each other lock relation assures a requirement; 2.

Of key / break spark with n different position, is not to use an edge to spark different position; 3.

Allow to many condition are inputted at the same time and make corresponding response reliably; 4.

Can current to equipment condition undertakes necessary clew, if use diode of signal lamp, glow or liquid crystal,display screen. The input that existing design changes the hand operation face plate mostly / the one part that output regards switch as quantity I/O, unified by the one buy inside the stage or outside of buy can make up Cheng controller (PLC) undertakes controlling. Numerical control machine tool produces manufacturer him basis the craft characteristic of the machine tool, buy numerical control system, pass development 2 times, fashion the product of numerical control machine tool with technical properties and operation not same each other. The workload majority that develops 2 times is measuring the design of I/O at switch, and the job that has 60% above again among them is a basis technical properties and operation design hand use operation face plate [1] . In fact, the input that the hand uses operation face plate / output is I/O of quantity of control signal switch merely, very low to the requirement of its drive ability, it is I/O of a kind of special quantity of switch of numerical control machine tool. If change the hand the input that operates face plate / output and I/O of quantity of switch of other of numerical control machine tool do not try to distinguish, can increase the workload that numerical control system develops 2 times greatly, hand of numerical control machine tool moves an operation face plate cannot be standardized and modular, its economy also can get very big impact. The article put forward a kind to be based on 89C51/52 sheet piece the processing of intelligence of face plate of numerical control machine tool of machine is unit, this processing unit strings together mouth and news of trade of numerical control system through the standard, the fundamental condition that can show numerical control machine tool and undertake to its the hand moves an operation. This job is a country 863 plans " machine tool of PC peripheral complete number and research of its key technology " study content partly, had used at 3 coordinate CNC Milling. 89C51/52 sheet of   of 2 jobs principle piece machines and tools has piece inside 16 ROM, computation and standard string together a mouth [2] . In 89C51/52 sheet piece the orgnaization handles unit into intelligence of face plate of numerical control machine tool in, do not need exterior and patulous ROM and RAM commonly, odd a correspondence of the mouth inputs a machine I/O / sendout, be like sheet piece machine I/O mouth is insufficient, can undertake expanding. Odd a machine interrupt in order to time detect input, once discover input n changes, give numerical control the system its corresponding new position by the hair that string together a mouth. On the other hand, the information that numerical control system indicates need through stringing together a mouth sends sheet piece machine. Because used serial communication, numerical control system and the interface with unit processing of face plate intelligence are a standard, the information processing that operates face plate basically does not take up the time of CPU of numerical control system, and face plate intelligence handles unit itself to become module of a standardization. Graph the 1 principle that handles unit for intelligence of CNC Milling face plate pursues. In the graph, the input that CNC Milling hand uses operation face plate / output information has the following kinds roughly: Graph choice of way of work of 1) of   of graph of principle of unit of processing of intelligence of face plate of 1   CNC Milling: The hand is moved / automatic / answer feed of weak condition of origin   2) to choose speed of   3) successive feed to choose fold of speed of   4) feed to choose coordinate of   5) feed to choose brake of separation and reunion of electric machinery of   6) main shaft, pump, electromagnetism to wait / break control   7) to stop   8) urgently time-out, the choice that wait and feed speed fold choose feed of working way, weak condition and successive feed speed to use transfer switch respectively 1 with transfer switch 2 in the switch between different position. Same condition has a transfer switch pilot lock of mechanical each other, because be operated by accident,can avoid two to put through at the same time or the state that two above have each other to lock up a relation. Graph 1 in the input of the others / sendout all by sheet piece the I/O mouth of machine is controlled directly, can make sure many condition are inputted reliably at the same time / output. 89C51/52 sheet of   of 3 systems software piece after intelligence of face plate of machine tool of engine numerical control handles initialization of unit electrify restoration, enter suspend working status, allow to time interrupt and serial interrupt. Be in time in interrupting, will detect input condition has invariant, the input condition that will change by string together a mouth to dispatch numerical control system; The information that numerical control system needs to move operation face plate to show by the hand presents sheet from the hair that string together a mouth piece machine, and by sheet piece machine is serial interrupt service program to make corresponding processing, its program block diagram is shown 2 times like the graph, pursue among them 2(a) gives priority to program block diagram, graph 2(b) interrupts service program block diagram to time, graph 2(c) is serial interrupt service program block diagram. Graph 2 programs block diagram is odd a machine electrify restoration and initialization are OK finish inside cutty time, and the initialization of numerical control system needs longer time. When the initialization of numerical control system was not finished, serial communication misfires, after because this is odd,the main program of a machine is finishing initialization, should await numerical control system from string together a mouth to send " READY " signal, receiving receive " READY " the input that pair of operation face plate begin after signal / output undertakes controlling. Be in time in suspending service program, one by one checks the status of every key, if discover the condition that certain bolts produces change, will new position from string together a mouth to dispatch numerical control system, exit at the same time suspend service program, otherwise, exit after checking all key suspend service program. Bolt to detect the change of condition, must deposit the position with former key inside in putting, state with 00H key is in put through condition, FFH states key is in disconnect condition. Should read a certain key to be in put through when condition, the value in judging its memory first is  80H or < 80H, be like 80H of memory median  , demonstrative key is in so disconnect condition, decrease its 1 hind the FCH that be like  , stock memory, be like < FCH, make clear read in key 3 times to put through continuously, the condition that bolts namely by disconnect turn into put through, put through memory Qing Dynasty for 00H(condition) ; Be like the 80H is worth < in memory, demonstrative key is in so put through condition, the condition of key does not have a change, because have all sorts of disturbing,be memory Qing Dynasty 00H(, the likelihood in memory is the several) of 03H of a < . Should read a certain key to be in disconnect when condition, the value in still judging its memory first is  80H or < 80H, be like the 80H is worth  in memory, demonstrative key is in so disconnect condition, the condition of key does not have a change, because have all sorts of disturbing,be memory buy FFH(, the likelihood in memory is the several) of FCH of a  ; Be like the 80H is worth < in memory, demonstrative key is in so put through condition, add its 1 hind the 04H that be like < , stock memory, be like  04H, make clear read in key 3 times to disconnect continuously, the condition that bolts namely by put through turn into disconnect, put through memory buy for FFH(condition) . Because bolt,can avoid effectively to shake so the miscarriage of justice that causes with other interference is broken. The state move that these processes show 3 times well and truly with the graph will try to describe. Graph 3 condition change a plan the article offerred 4 conclusion a kind be based on 89C51/52 sheet newly piece processing of intelligence of face plate of machine tool of engine numerical control is unit, from theory analysis and actual application can get the following verdict: (Intelligence of 1) face plate handles hand of machine tool of unit and contented numerical control to change the functional requirement that operates face plate, soft hardware design is reasonable, reliability is high; (2) uses serial communication, make the hand moves operation face plate to become an interface simple and standard module; (The article put forward 3) the algorithm that a kind of software eliminates key to shake, this algorithm is had mix reliably wait for an advantage simply; (Intelligence of 4) face plate handles unit to have very good expansibility, can very expand sheet nods an input conveniently / output mouth, still can drive number or liquid crystal to show. CNC Milling CNC Machining