CN106325212A - Extended numerical control lathe coding system - Google Patents

Extended numerical control lathe coding system Download PDF

Info

Publication number
CN106325212A
CN106325212A CN201510374061.9A CN201510374061A CN106325212A CN 106325212 A CN106325212 A CN 106325212A CN 201510374061 A CN201510374061 A CN 201510374061A CN 106325212 A CN106325212 A CN 106325212A
Authority
CN
China
Prior art keywords
coding
instruction
user
support library
function
Prior art date
Application number
CN201510374061.9A
Other languages
Chinese (zh)
Inventor
李炳福
Original Assignee
遵义林棣科技发展有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 遵义林棣科技发展有限公司 filed Critical 遵义林棣科技发展有限公司
Priority to CN201510374061.9A priority Critical patent/CN106325212A/en
Publication of CN106325212A publication Critical patent/CN106325212A/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36043Correction or modification of program

Abstract

The invention provides an extended numerical control lathe coding system, which comprises a numerical control system, a signal interpreter, an error processor, a command parser, an encoding support library and an encoding system. The input end of the numerical control system is connected with the command parser. The output end of the numerical control system is connected with the signal interpreter. The output end of the signal interpreter is connected with the error processor. The code writing end of the error processor is connected with the encoding system. The output end of the error processor and the output end of the encoding system are accessed to the input end of the command parser in the parallel manner. The encoding system is connected with the encoding support library. According to the technical scheme of the invention, by means of the encoding support library and the encoding system, programmers are effectively ensured to conduct the programming in the function-oriented way. Meanwhile, the programming efficiency is high and the error probability is small.

Description

A kind of expanded type numerically controlled lathe coding system

Technical field

The present invention relates to a kind of expanded type numerically controlled lathe coding system, belong to numerically controlled lathe and control skill Art field.

Background technology

In prior art, numerically controlled lathe as a class of Digit Control Machine Tool, its Numeric Control Technology mainly with The various instructions of digital control system support are main, and these instructions even include conditional judgment, circulation etc. Process control, but in addition to the custom-designed full function CNC turning machine of minority, most of numerical control lathes Bed all provide only fixing instruction set, programming of NC-Lathe personnel for same or analogous operation, Such as repeat to write a lot of code, and code level is similar, in the case of repetitive operation, program people Member is easy to occur the situation of code error, and owing to general numerically controlled lathe only considers More manifest error processes, and therefore some is not affected to code error that instruction performs then Do not process, and programming personnel can only write the fixing instruction that performs, also cannot be effectively to these Do not affect the code error that instruction performs to be effectively treated, thus often because of code error but Can effectively perform and cause a large amount of workpiece to become useless part, What is more enterprise is in quality check process Do not find to process mistake, and the part that should become useless part is direct plungeed into use, thus make Become a large amount of loss.

On the other hand, custom-designed full function CNC turning machine price is the most at a relatively high, and can be more The numerically controlled lathe mending the problems referred to above occurs later, uses fixed instruction collection numerically controlled lathe the most in a large number Enterprise be difficult to accept high equipment buying cost that more exchange device brought, equipment processes wind Danger.

Summary of the invention

For solving above-mentioned technical problem, the invention provides a kind of expanded type numerically controlled lathe coding is System, this expanded type numerically controlled lathe coding system is by coding Support Library, being provided with of coding system Effect ensure that programming personnel can be and original without changing to be programmed in the way of function Equipment, makes the series of problems that enterprise can avoid code error to be brought in the way of low cost.

The present invention is achieved by the following technical programs.

A kind of expanded type numerically controlled lathe coding system that the present invention provides, including digital control system, letter Number plug-in reader, error handler, instruction parser, coding Support Library, coding system;Described Digital control system input link order resolver, outfan connect signal plug-in reader;Described signal Plug-in reader outfan is connected into error handler;Described error handler coding write end connects coding System, outfan and the coding system outfan parallel incoming instruction resolver of error handler are defeated Enter end;Described coding system connects coding Support Library;

Described digital control system is the digital control system of numerically controlled lathe;

The information that digital control system exports is converted and filters by described signal plug-in reader, and exports To error handler;

The coding that described error handler writes according to coding system, incoming to error handler Information judges, then sends the process of correspondence to instruction parser if any qualified information Instruction;

Described instruction parser receives coding system or the process instruction set of error handler, and turns Turn to the instruction set that digital control system can identify send to digital control system and perform;

The function being made up of operational order that the storage of described coding Support Library is conventional, makes coding system Can transmit calling segment by simple function name and parameter;

Described coding system accepts the coding of user's input, makes user to enter in the way of function Row programming, and provide real-time precompile prompting and coding Support Library inventory function prompting, user By encoded translated for processing instruction set in the case of confirmation, such as relating to user newly writes function then simultaneously The content newly writing function is write to encoding Support Library, such as relating to call coding Support Library to user Institute's store function then from coding Support Library function reading content and be compiled into process instruction set in, Then will process instruction set to send to instruction parser.

Also include frequency image monitoring system, Graphics System, human-computer interaction module, frequency image monitoring system Being arranged on numerically controlled lathe, Graphics System is simultaneously connected with frequency image monitoring system and human-computer interaction module, Human-computer interaction module connects coding system;

Described frequency image monitoring system obtain workpiece in numerically controlled lathe image information and by process It is sent to Graphics System for digitized view data;

Described Graphics System is mapped by the view data received, and is sent extremely by figure Human-computer interaction module shows, receives the amending image data real-time update of human-computer interaction module simultaneously Figure also sends display;

The graphical information that Graphics System is sent by described human-computer interaction module shows, and in real time Receive the input of user, the operation of figure sent to Graphics System by user simultaneously and receive anti- Feedforward information shows, sets according to user, sends instruction corresponding for graphical user operation to coding System.

Also include that grand resolver, grand resolver are connected between human-computer interaction module and coding system, Operational order as human-computer interaction module caches.

Described grand resolver is also connected with encoding Support Library, and according to the setting of user, grand resolver will The operational order collection of caching stores to coding Support Library as the function transmission of coding Support Library.

Described grand resolver selects function reading by letter from coding Support Library also according to user Number content feeds back to Graphics System by human-computer interaction module and carries out mapping demonstration.

The beneficial effects of the present invention is: 1. encode Support Library, arranging of coding system is effectively protected Having demonstrate,proved programming personnel can be to be programmed in the way of function, and programming efficiency is high, makes mistakes several Rate is little;2. the digital control system being directly accessed existing equipment can use, it is not necessary to changes original equipment, Thus reduce the cost that enterprise needs to pay greatly, and do not have useless equipment to need to process, Avoiding equipment to process the wasting of resources brought, market prospect is wide;3. signal plug-in reader, mistake Executable code error can be effectively treated by arranging of processor, and fault processing can be certainly Definition, extends the accessible error range of numerically controlled lathe the most greatly, it is to avoid former numerical control Lathe can only for lathe manufacturer thinkable mistake carry out the drawback that processes, user makes More smooth and easy, more personalized, more targeted by process;4. Graphics System, human-computer interaction module Setting effectively reduce the left-hand seat difficulty of use, make also may be used without the people of special coding study To carry out coding work easily, so that the human cost of enterprise is greatly reduced, and figure Change, the probability that popular coded system also makes coding make mistakes also are greatly reduced.

Accompanying drawing explanation

Fig. 1 is the connection diagram of the present invention.

In figure: 101-digital control system, 102-frequency image monitoring system, 201-signal plug-in reader, 202- Error handler, 203-instruction parser, 301-Graphics System, 302-human-computer interaction module, The grand resolver of 303-, 304-encodes Support Library, 305-coding system.

Detailed description of the invention

Technical scheme is described further below, but claimed scope is not limited to In described.

A kind of expanded type numerically controlled lathe coding system as shown in Figure 1, including digital control system 101, Signal plug-in reader 201, error handler 202, instruction parser 203, coding Support Library 304, Coding system 305;Described digital control system 101 input link order resolver 203, outfan Connect signal plug-in reader 201;Described signal plug-in reader 201 outfan is connected into error handler 202; Described error handler 202 coding write end connects coding system 305, error handler 202 Outfan and coding system 305 outfan parallel incoming instruction resolver 203 input;Described volume Code system 305 connects coding Support Library 304;

Described digital control system 101 is the digital control system of numerically controlled lathe;

The information that digital control system 101 is exported by described signal plug-in reader 201 converts and filters, And export to error handler 202;

The coding that described error handler 202 writes according to coding system 305, to error handler 202 incoming information judge, if any qualified information then to instruction parser 203 Send the process instruction of correspondence;

The process that described instruction parser 203 receives coding system 305 or error handler 202 refers to Order collection, and be converted into the instruction set transmission that digital control system 101 can identify and perform to digital control system 101;

The function being made up of operational order that the storage of described coding Support Library 304 is conventional, makes coding System 305 can transmit calling segment by simple function name and parameter;

Described coding system 305 accepts the coding of user's input, makes user with the side towards function Formula is programmed, and provides real-time precompile prompting and coding Support Library 304 inventory function prompting, By encoded translated for processing instruction set, such as relating to user newly writes function in the case of user confirms The content newly writing function is write to coding Support Library 304, such as relating to call to user The then function reading content compiling from coding Support Library 304 of coding 304 store functions of Support Library Translate in process instruction set, then will process instruction set and send to instruction parser 203.

Thus, user can be logical to be programmed in the way of function in coding system 305 Cross function call and parameter has transmitted complex operations, for complex conventional operation, User is without again in the face of a large amount of codes repeated, and during programming, attention is more concentrated, coded format Cleaner and tidier, be easy to greatly user's high efficiency, low error rate complete numerical control programming.

As the expansion scheme of graphical operation, also include frequency image monitoring system 102, mapping system System 301, human-computer interaction module 302, frequency image monitoring system 102 is arranged on numerically controlled lathe, makees Drawing system 301 is simultaneously connected with frequency image monitoring system 102 and human-computer interaction module 302, man-machine interaction Module 302 connects coding system 305;

Described frequency image monitoring system 102 obtains the image information of workpiece in numerically controlled lathe and by part Reason is sent to Graphics System 301 for digitized view data;

Described Graphics System 301 is mapped by the view data received, and is sent out by figure Deliver to human-computer interaction module 302 show, receive the amending image number of human-computer interaction module 302 simultaneously According to real-time update figure and send display;

The graphical information that Graphics System 301 is sent by described human-computer interaction module 302 shows, And the input of real-time reception user, the operation of figure is sent to Graphics System by user simultaneously 301 and receiving feedback information show, according to user set, by graphical user operation correspondence finger Order sends to coding system 305.

Thus, user can continue operation by patterned interactive interface, for specialty degree Relatively low operator, such as graduate, intern, abecedarian etc., can well avoid common Coordinate mistake in computation, the problem such as instruction mnemonic mistake, and be also beneficial to help programming is referred to The understanding of order, accelerates pace of learning.

As graphical operation to the support towards function programming, also include grand resolver 303, Grand resolver 303 is connected between human-computer interaction module 302 and coding system 305, as man-machine The operational order caching of interactive module 302.

Further, described grand resolver 303 is also connected with encoding Support Library 304, according to user's Arranging, the operational order collection of caching is sent out by grand resolver 303 as the function of coding Support Library 304 Deliver to encode in Support Library 304 and store.

Further, described grand resolver 303 selects from coding Support Library 304 also according to user Function content is also fed back to Graphics System 301 by human-computer interaction module 302 by middle function reading Carry out mapping demonstration.

Claims (5)

1. an expanded type numerically controlled lathe coding system, including digital control system (101), signal Plug-in reader (201), error handler (202), instruction parser (203), coding Support Library (304), coding system (305), it is characterised in that: described digital control system (101) inputs End link order resolver (203), outfan connect signal plug-in reader (201);Described signal Plug-in reader (201) outfan is connected into error handler (202);Described error handler (202) Coding write end connects coding system (305), the outfan of error handler (202) and volume Code system (305) outfan parallel incoming instruction resolver (203) input;Described coding System (305) connects coding Support Library (304);
Described digital control system (101) is the digital control system of numerically controlled lathe;
The information that digital control system (101) is exported by described signal plug-in reader (201) converts And filtration, and export to error handler (202);
The coding that described error handler (202) writes according to coding system (305), to mistake The information that processor (202) is incoming by mistake judges, if any qualified information then to finger Resolver (203) is made to send the process instruction of correspondence;
Described instruction parser (203) receives coding system (305) or error handler (202) Process instruction set, and be converted into the instruction set that digital control system (101) can identify and send to number Ore-controlling Role (101) performs;
The function being made up of operational order that the storage of described coding Support Library (304) is conventional, makes Coding system (305) can transmit calling segment by simple function name and parameter;
Described coding system (305) accepts the coding of user's input, makes user with towards function Mode be programmed, and provide real-time precompile prompting and coding Support Library (304) stock Function is pointed out, by encoded translated for processing instruction set in the case of user confirms, such as relating to use Family is newly write function and is write to encoding Support Library (304), the content newly writing function as related to the most simultaneously And to user call coding Support Library (304) institute store function then from coding Support Library (304) Middle function reading content is also compiled in process instruction set, then will process instruction set and send extremely finger Make resolver (203).
2. expanded type numerically controlled lathe coding system as claimed in claim 1, it is characterised in that: Also include frequency image monitoring system (102), Graphics System (301), human-computer interaction module (302), Frequency image monitoring system (102) is arranged on numerically controlled lathe, and Graphics System (301) is simultaneously connected with Frequency image monitoring system (102) and human-computer interaction module (302), human-computer interaction module (302) Connect coding system (305);
Described frequency image monitoring system (102) obtains the image information of workpiece in numerically controlled lathe and incites somebody to action The digitized view data that is processed as be sent to Graphics System (301);
Described Graphics System (301) is mapped by the view data received, and will figure Shape sends and shows to human-computer interaction module (302), receives human-computer interaction module (302) simultaneously Amending image data real-time update figure and send display;
The graphical information that Graphics System (301) is sent by described human-computer interaction module (302) is entered Row display, and the input of real-time reception user, send user to making the operation of figure simultaneously Drawing system (301) receiving feedback information show, set according to user, are grasped by graphical user Make corresponding instruction to send to coding system (305).
3. expanded type numerically controlled lathe coding system as claimed in claim 2, it is characterised in that: Also include that grand resolver (303), grand resolver (303) are connected to human-computer interaction module (302) With between coding system (305), the operational order as human-computer interaction module (302) caches.
4. expanded type numerically controlled lathe coding system as claimed in claim 3, it is characterised in that: Described grand resolver (303) is also connected with encoding Support Library (304), according to the setting of user, Grand resolver (303) using caching operational order collection as coding Support Library (304) function Send to encoding storage in Support Library (304).
5. expanded type numerically controlled lathe coding system as claimed in claim 4, it is characterised in that: Described grand resolver (303) selects to read letter from coding Support Library (304) also according to user Count and by human-computer interaction module (302), function content fed back to Graphics System (301) Row mapping demonstration.
CN201510374061.9A 2015-06-30 2015-06-30 Extended numerical control lathe coding system CN106325212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510374061.9A CN106325212A (en) 2015-06-30 2015-06-30 Extended numerical control lathe coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374061.9A CN106325212A (en) 2015-06-30 2015-06-30 Extended numerical control lathe coding system

Publications (1)

Publication Number Publication Date
CN106325212A true CN106325212A (en) 2017-01-11

Family

ID=57723127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374061.9A CN106325212A (en) 2015-06-30 2015-06-30 Extended numerical control lathe coding system

Country Status (1)

Country Link
CN (1) CN106325212A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101092031A (en) * 2007-07-12 2007-12-26 上海交通大学 Off line programming tool for industrial robot
CN101436050A (en) * 2007-11-12 2009-05-20 上海电气集团股份有限公司 Graphic interactive programming unit and method for open type numerical control system
CN102915242A (en) * 2012-09-26 2013-02-06 北京广利核系统工程有限公司 Method for implementing code programming by graphical operations
CN104156314A (en) * 2014-08-14 2014-11-19 北京航空航天大学 Code reuse method applied to test system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101092031A (en) * 2007-07-12 2007-12-26 上海交通大学 Off line programming tool for industrial robot
CN101436050A (en) * 2007-11-12 2009-05-20 上海电气集团股份有限公司 Graphic interactive programming unit and method for open type numerical control system
CN102915242A (en) * 2012-09-26 2013-02-06 北京广利核系统工程有限公司 Method for implementing code programming by graphical operations
CN104156314A (en) * 2014-08-14 2014-11-19 北京航空航天大学 Code reuse method applied to test system

Similar Documents

Publication Publication Date Title
CN100442244C (en) Data processing system with trace co-processor
US8418155B2 (en) Generating parallel SIMD code for an arbitrary target architecture
CN103092621B (en) The method and device that a kind of chart generates
US20150228220A1 (en) Method and System for Writing Address Codes Into LED Display Devices
CN104573122A (en) Oracle database migration tool migrating from AIX platform to K-UX platform
CN102046337A (en) Control-command architecture for a mobile robot using articulated limbs
JP2008282363A (en) Programmable controller, program creation support device, computer program and programmable logic controller (plc) system
CN1329818C (en) Implement method of the man machine command based on plain text command script files
CN107844294B (en) High-availability contract execution method and system
CN103281558B (en) Testing method based on set top box and set top box testing system
CN106052004B (en) Intelligent terminal, remote server, air conditioner, air-conditioning system and its control method
CN103760810B (en) A kind of long-haul telemetry terminal control unit
CN101308375A (en) Numerical control longitudinal cutting machine tool machining program simulated realization method and its system
CN103365255B (en) Numerically controlled lathe control system and method without programming
CN103552071A (en) Intelligent robot programming method
CN102722384A (en) On-line upgrading method and upgrading system for optical module firmware
CN101251800B (en) Graphical user interface creating method and apparatus
CN102984500A (en) Method and device and system for achieving compatibility among multiple video monitor equipment
US6424883B1 (en) Virtual numeric control device adaptable to any real numeric control device
CN103175567B (en) A kind of on-line amending device of absolute grating ruler reading head parameter
WO2015136960A1 (en) Controller
CN102222017B (en) Methods and systems to implement non-ABI conforming features across unseen interfaces
CN104468260A (en) Recognition method, device and system for mobile terminal device
CN105353715A (en) Realization method of logic control of VB/VC (Microsoft Visual Basic 6.0/Microsoft Visual C++) and PLC (Programmable Logic Controller) on the basis of serial communication
CN101395576B (en) A method for comparing, an automation system and a controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination