CN110045678A - A kind of program scheduler method, apparatus, equipment, system and storage medium - Google Patents
A kind of program scheduler method, apparatus, equipment, system and storage medium Download PDFInfo
- Publication number
- CN110045678A CN110045678A CN201910426491.9A CN201910426491A CN110045678A CN 110045678 A CN110045678 A CN 110045678A CN 201910426491 A CN201910426491 A CN 201910426491A CN 110045678 A CN110045678 A CN 110045678A
- Authority
- CN
- China
- Prior art keywords
- program
- numerical control
- control device
- information
- equipment
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical 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/19—Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31399—Station corrects nc program, sends back modified program to program generator
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Stored Programmes (AREA)
Abstract
A kind of program scheduler method, apparatus, equipment, system and storage medium provided by the embodiments of the present application, which comprises send multiple program informations to numerical control device, each program information is corresponding with a program of memory block is stored in advance in;The PROGRAMMED REQUESTS information that the numerical control device returns is received, described program solicited message includes the target program information that the numerical control device is selected from multiple described program information;According to the target program information, Xiang Suoshu numerical control device sends program corresponding with the target program information.The embodiment of the present application sends pre-stored program information to numerical control device by program scheduler equipment, then receives the PROGRAMMED REQUESTS of numerical control device transmission and return to corresponding program, and numerical control device is allowed quickly to switch processing program.
Description
Technical field
This application involves digital control field, in particular to a kind of program scheduler method, apparatus, equipment, system and
Storage medium.
Background technique
With the proposition of industry 4.0, numerically-controlled machine tool in finishing (Computerized Numerical Control,
CNC the advantages that is) used is more and more, and CNC machining accuracy is high, high-efficient, and machinable workpiece range is wide are deep by manufacturing
It welcomes.CNC only needs to switch its corresponding processing program when workpiece of different shapes in processing.But part CNC is not
By being that memory space or running space are all extremely limited, therefore not all processing program can be stored in the space CNC
In, when especially processing complex part, processing program can be bigger.
Traditional CNC needs from computer to copy processing program in PC card to when switching processing program, then by PC card insertion
Enter in CNC, the process for switching processing program is comparatively laborious, also wastes time very much.
Summary of the invention
In view of this, the embodiment of the present application be designed to provide a kind of program scheduler method, apparatus, equipment, system and
The problem of storage medium, changeover program takes long time in processing with improvement tradition CNC.
In a first aspect, the embodiment of the present application provides a kind of program scheduler method, comprising: send multiple journeys to numerical control device
Sequence information, each program information are corresponding with a program of memory block is stored in advance in;Receive the journey that the numerical control device returns
Sequence solicited message, described program solicited message include the target program that the numerical control device is selected from multiple described program information
Information;According to the target program information, Xiang Suoshu numerical control device sends program corresponding with the target program information.
The embodiment of the present application sends pre-stored program information to numerical control device by program scheduler equipment, then receives number
The PROGRAMMED REQUESTS of control equipment transmission simultaneously returns to corresponding program, and numerical control device is allowed quickly to switch processing program.
Further, before sending multiple program informations to numerical control device, the method also includes: it receives terminal and sends
Procedure set, described program collection is stored in the memory block, described program collection includes at least one program.
The procedure set that the embodiment of the present application is sent by receiving terminal, and the program having in procedure set is stored to storage
Thus area accelerates number so that subsequent numerical control device is not necessarily to be communicated with terminal again during carrying out program switching
Control the processing efficiency of equipment.
Further, the memory block includes memory buffer and storage writable area, the program for receiving terminal and sending
Described program collection is stored in the memory block by collection, comprising: receives the procedure set that terminal is sent, the program that described program is concentrated
It is stored in the memory buffer;By program in the program information of program each in the memory buffer and the storage writable area
Program information matched;It is if successful match, the described program information of successful match in the storage writable area is corresponding
Program replace with corresponding program in the memory buffer.
The embodiment of the present application by being storage writable area and memory buffer by memory partitioning, if desired to a certain program into
When row updates, first the program of program in the corresponding program information of each program of memory buffer and storage writable area can be believed
Breath is matched, if it succeeds, corresponding program in storage writable area is replaced with into corresponding program in memory buffer, by
This memory space to save memory block.
Further, the corresponding program of described program information by successful match in the storage writable area replaces with
Corresponding program in the memory buffer, comprising: obtain the working condition of the storage writable area, the working condition includes
Reading state or non-reading state;If the working condition is non-reading state, by successful match in the storage writable area
The corresponding program of described program information replace with corresponding program in the memory buffer.
The embodiment of the present application is by judging the state of storage read area before program updates, if program scheduler is set
It is standby to transmit program to numerical control device, then wait program transmission to complete again to be updated the data of storage read area, with this
Come during preventing transfer program because of the case where more new procedures cause numerical control device to collapse.
Further, before sending multiple program informations to numerical control device, the method also includes: it is set with the numerical control
It is standby to be communicated by SMB agreement, File Transfer Protocol and/or PCMCIA agreement, with terminal pass through SMB agreement and/or File Transfer Protocol into
Row communication.
The embodiment of the present application is communicated by various protocols and numerical control device, allows program scheduler equipment will be preparatory
The program of storage is sent in numerical control device, is communicated by various protocols and terminal, can receive and store terminal in advance
It is sent to the program of program scheduler equipment.
Second aspect, the embodiment of the present application provide a kind of scheduler, comprising: send information module, for
Numerical control device sends multiple program informations, and each program information is corresponding with a program of memory block is stored in advance in;Receive mould
Block, the PROGRAMMED REQUESTS information returned for receiving the numerical control device, described program solicited message include the numerical control device from
The target program information selected in multiple described program information;Program module is sent, for according to the target program information, to
The numerical control device sends program corresponding with the target program information.
The embodiment of the present application sends pre-stored program information to numerical control device by program scheduler equipment, then receives number
The PROGRAMMED REQUESTS of control equipment transmission simultaneously sends corresponding program, accelerates the efficiency of numerical control device switching processing program with this.
The third aspect, the embodiment of the present application provide a kind of program scheduler equipment, comprising: processor, communication module and deposit
Reservoir;The processor is connect with the communication module, and the communication module is connect with numerical control device, and the communication module is used for
It is communicated with the numerical control device, the communication module is also connect with terminal, and the communication module is also used to and the terminal
It is communicated;The processor is connect with the memory, and the memory is stored with the program that can be executed by the processor
Instruction, the processor call described program instruction to be able to carry out above-mentioned method.
The embodiment of the present application sends pre-stored program information to numerical control device by program scheduler equipment, then receives number
The PROGRAMMED REQUESTS of control equipment transmission simultaneously sends corresponding program, to accelerate the efficiency of numerical control device switching processing program.
Fourth aspect, the embodiment of the present application also provides a kind of sequential scheduling systems, comprising: above-mentioned program scheduler equipment
The numerical control device being connect with described program controlling equipment.
The embodiment of the present application sends pre-stored program information to numerical control device by program scheduler equipment, then receives number
The PROGRAMMED REQUESTS of control equipment transmission simultaneously sends corresponding program, to accelerate the speed of numerical control device switching processing program.
Further, the system also includes the terminals connecting with described program controlling equipment.
The procedure set that the embodiment of the present application is sent by receiving terminal, and the program having in procedure set is stored to storage
Thus area accelerates number so that subsequent numerical control device is not necessarily to be communicated with terminal again during carrying out program switching
The speed for controlling equipment changeover program, improves the processing efficiency of numerical control device.
5th aspect, it is described non-transient the embodiment of the present application also provides a kind of non-transient computer readable storage medium
Computer-readable recording medium storage computer instruction, the computer instruction make the computer execute above-mentioned method.
Other feature and advantage of the application will be illustrated in subsequent specification, also, partly be become from specification
It is clear that by implementing the embodiment of the present application understanding.The purpose of the application and other advantages can be by written theorys
Specifically noted structure is achieved and obtained in bright book, claims and attached drawing.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow diagram of program scheduler method provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of scheduler provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of program scheduler equipment provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of sequential scheduling system provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile the application's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 is a kind of flow diagram of program scheduler method provided by the embodiments of the present application, as shown in Figure 1, the application
Embodiment provides a kind of program scheduler method, comprising:
Step 110: sending multiple program informations to numerical control device, each program information and be stored in advance in the one of memory block
A program is corresponding.
In the specific implementation process, multiple programs can be stored in advance in program scheduler equipment, then program scheduler equipment
Program information corresponding with multiple programs can be sent to numerical control device according to preset first rule.
It is worth noting that preset first rule can be program scheduler equipment according between the preset time
Every to the multiple program informations of numerical control device transmission, time interval can be 1s, 2s or 5s, and wherein time interval can basis
The average workpieces processing time of actual numerical control device is adjusted.Preset first rule can also be in program scheduler
After pre-stored program updates inside equipment, then from program scheduler equipment to numerical control device send multiple program informations.In advance
First rule of setting can also be to receive the letter for showing the numerical control device free time of numerical control device transmission in program scheduler equipment
After number, multiple program informations are sent to corresponding numerical control device.Specific program scheduler equipment sends multiple journeys to numerical control device
First rule of sequence information can process situation according to actual numerical control device and be adjusted.
Also, program scheduler equipment can send program information to a numerical control device, can also be to multiple numerical control devices
Send program information.If program scheduler equipment sends program information to multiple numerical control devices, it can be set simultaneously to multiple numerical controls
Preparation send program information, successively can also send program information to numerical control device according to the corresponding priority of each numerical control device.
And the priority of numerical control device can be set according to the processing flow of multiple numerical control devices, it can also be according to numerical control device
Processing duration is set.
For example, there are numerical control device A, numerical control device B and numerical control device C, when processing a workpiece, numerical control is needed to set
Standby A carries out first step processing to workpiece, and when processing is 10 minutes a length of;It needs numerical control device C to carry out second step processing to workpiece, adds
Working hour a length of 50 minutes, numerical control device B is needed to carry out third step processing to workpiece, when processing is 20 minutes a length of.
If program scheduler equipment sends multiple program informations to multiple numerical control devices simultaneously, program scheduler equipment can be with
Multiple program informations are sent to numerical control device A, numerical control device B and numerical control device C simultaneously.
If program scheduler equipment successively sends multiple program informations to multiple numerical control devices according to priority, and assumes to press
Priority is set to numerical control device according to processing flow, then the priority of numerical control device A can be set as 1, by the excellent of numerical control device C
First grade is set as 2, and the priority of numerical control device B is set as 3.Program scheduler equipment can be according to the priority of processing flow, successively
Multiple program informations are sent to numerical control device A, numerical control device C and numerical control device B.
If program scheduler equipment successively sends multiple program informations to multiple numerical control devices according to priority, and assumes to press
Priority is set to numerical control device according to processing duration, then the priority of numerical control device C can be set as 1, by the excellent of numerical control device B
First grade is set as 2, and the priority of numerical control device A is set as 3.Program scheduler equipment can be according to the priority of processing duration, successively
Multiple program informations are sent to numerical control device C, numerical control device B and numerical control device A.
Wherein, numerical control device priority can be set in advance for operator, or program scheduler equipment root
It is set according to the parameter and preset program of numerical control device.The classification and setting method of priority can be according to actual
Numerical control device process requirements are adjusted.
It should also be noted that, numerical control device can be numerically-controlled machine tool (Computerized Numerical Control,
CNC), and numerically-controlled machine tool can be numerically controlled lathe, numerical control drilling machine, numerical control borer, CNC milling machine either other kinds of numerical control
Lathe.The type of numerical control device can be selected according to the demand of actual processing workpiece, and program scheduler equipment is stored in advance
The types of multiple programs can be selected according to the type of numerical control device.Also, program information can be corresponding with program
Title, picture, key parameter and other performance of program, specific program information can carry out according to actual performance of program
Adjustment.
Step 120: receiving the PROGRAMMED REQUESTS information that the numerical control device returns, described program solicited message includes the number
The target program information that control equipment is selected from multiple described program information.
In the specific implementation process, numerical control device receive program scheduler equipment transmission multiple program informations after,
For subsequent work pieces process, one can be selected according to multiple program informations, in program corresponding with multiple program informations
Or multiple target programs.PROGRAMMED REQUESTS information is returned to program scheduler equipment again by numerical control device, wherein PROGRAMMED REQUESTS information
It include target program information.
It is worth noting that target program information can be multiple, or one, each target program information and number
A target program for controlling equipment selection is corresponding.The PROGRAMMED REQUESTS information that program scheduler equipment receives can also include and numerical control
The corresponding identification code of equipment, each numerical control device can correspond to an identification code.
Also, after numerical control device receives multiple program informations, can be operator checked on numerical control device it is multiple
After program information, select one or more program as target program according to program information, then operator passes through numerical control
Equipment sends target program information corresponding with target program.After numerical control device receives multiple program informations, it can also be
Numerical control device selects one or more program as target program according to preset processing flow, according to program information,
Then target program information corresponding with target program is sent.
Step 130: according to the target program information, Xiang Suoshu numerical control device sends corresponding with the target program information
Program.
In the specific implementation process, program scheduler equipment can by the target program information received and be stored in advance it is more
The corresponding program information of a program is matched, if successful match, will program corresponding with target program information according to default
The Second Rule of setting is sent to numerical control device.Program is stored in advance by program scheduler equipment in the present embodiment as a result, and to number
It controls equipment and sends multiple program informations corresponding with program, the target program selected from multiple program informations according to numerical control device
Corresponding program is sent to numerical control device by information.When so that numerical control device needing changeover program in process, no longer need to
It is secondary to be communicated with terminal, the speed of numerical control device changeover program is accelerated, the efficiency of numerical control device workpieces processing is improved.
It is worth noting that the target program information in the PROGRAMMED REQUESTS information that program scheduler equipment receives, actually
For the program information that numerical control device is sent according to program scheduler equipment, the corresponding target of one or more target program of selection
Program information.PROGRAMMED REQUESTS information can also include identification code corresponding for numerical control device, if program scheduler equipment receives
Multiple PROGRAMMED REQUESTS information, so that it may according to the identification code in PROGRAMMED REQUESTS information, learn it is journey which numerical control device is sent
Sequence solicited message.Program scheduler equipment can also be according to target program information corresponding with identification code, will be with target program information
Corresponding program is sent to numerical control device corresponding with identification code.
Wherein, preset Second Rule can be program scheduler equipment according to preset time interval, to number
It controls equipment and sends corresponding with target program information program, time interval can be 1s, 2s or 5s, and wherein time interval can be with
It is adjusted according to the average workpieces processing time of actual numerical control device.Preset Second Rule can also be in program
After controlling equipment receives the signal for showing the numerical control device free time of numerical control device transmission, to corresponding numerical control device and target journey
The corresponding program of sequence information.Specific program scheduler equipment sends the rule of program corresponding with target program information to numerical control device
Then situation can be processed according to actual numerical control device to be adjusted.
On the basis of the above embodiments, prior to step 110, the method also includes: receive terminal send program
Described program collection is stored in the memory block by collection, and described program collection includes at least one program.
In the specific implementation process, program scheduler equipment can also be communicated with terminal, and program scheduler equipment can be with
It receives the procedure set that terminal is sent and is stored in advance.Wherein, procedure set may include a program, also may include multiple
Program.So that subsequent numerical control device is not necessarily to be communicated with terminal again during carrying out program switching, thus accelerate
The processing efficiency of numerical control device.
It is worth noting that terminal sends at least one program to program scheduler equipment, staff can be in terminal
It is operated, sends the program that subsequent numerical control device needs to program scheduler equipment, be also possible to staff in terminal to journey
Pre-stored program is updated in sequence controlling equipment, and updated program is sent to program scheduler equipment and is carried out more
Newly.It is also possible to terminal and sends program to program scheduler equipment according to default process.
It should also be noted that, the procedure set that terminal is sent to program scheduler equipment can also include that program checks instruction,
For example, operator wants to check the program stored in program scheduler equipment, so as in operator's determining program controlling equipment
Program whether need to update, then in the procedure set that can be sent by terminal to program scheduler equipment include program check finger
It enables, program information corresponding with pre-stored multiple programs is returned to terminal with this instruction program controlling equipment.Also, terminal
The procedure set sent to program scheduler equipment can also include that modification of program instructs, for example has had a program in program scheduler equipment
It is no longer applicable in, is deleted, then repaired in the procedure set that can be sent by terminal to program scheduler equipment including program
Change instruction, instruction program controlling equipment deletes corresponding program.
Wherein, terminal can be PC, or mobile phone can also be tablet computer, or other numbers
According to server, specific terminal type can be selected according to actual data transfer demand.
On the basis of the above embodiments, the memory block includes memory buffer and storage writable area, and the reception is eventually
The procedure set sent is held, described program collection is stored in the memory block, comprising: the procedure set that terminal is sent is received, by the journey
The program that sequence is concentrated is stored in the memory buffer;By the program information of program each in the memory buffer and the storage
The program information of program is matched in writable area;It, will be described in successful match in the storage writable area if successful match
The corresponding program of program information replaces with corresponding program in the memory buffer.
In the specific implementation process, the memory block of program scheduler equipment may include memory buffer and storage read-write
Area, the memory buffer of program scheduler equipment are used to receive the procedure set of terminal transmission, and by the program in procedure set be stored in
In memory buffer.The storage writable area of program scheduler equipment is used for the program deposit storage writable area of memory buffer, and
And the program for storing writable area and program information corresponding with storage writable area intermediate range sequence can be sent to by program scheduler equipment
Numerical control device.Program scheduler equipment, can be by journey each in memory buffer after the program of terminal is stored in memory buffer
The program information of sequence is matched with the program information of program in storage writable area.If successful match, will store in writable area
The corresponding program of the program information of successful match is substituted for corresponding program in memory buffer.So that the program that terminal is sent
When deposit stores writable area, by matcher information, can judge whether the program of memory buffer is storage writable area
Program more new version, if successful match, will storage writable area in corresponding program replace with it is right in memory buffer
Thus the program answered saves the memory space of memory block.
It is worth noting that by matching in memory buffer, unsuccessful program information is corresponding if matching is unsuccessful
Program deposit storage writable area.Also, in the program information and storage writable area intermediate range for completing all programs in memory buffer
After the program information matching of sequence, the program of memory buffer can be emptied, be sent newly so that program scheduler equipment receives terminal
Procedure set, and the new program in new procedure set is stored in memory buffer.
For example, terminal has sent procedure set to program scheduler equipment, wherein procedure set include program A, program B and
Program C.Program scheduler equipment then by program A, program B and program C be stored in memory buffer, wherein storage writable area in include
Program a, program c and program d.Then by the program of program in the program information of program each in memory buffer and storage writable area
Information is matched, if the program information of program A is matched into the program information of program a in storage writable area in memory buffer
The program a stored in writable area is then substituted for the program A in memory buffer by function.If the program of program C in memory buffer
It is slow to be then substituted for storage by the program information successful match of program c in information and storage writable area by the program c stored in writable area
Rush the program C in area.If the program information of the program B in the memory buffer and program a in storage writable area mismatches, storage
The program information of program B in buffer area and the program c in storage writable area mismatch, the program B in memory buffer with deposit
The program information for storing up the program d in writable area mismatches, then the program B in memory buffer is directly stored in storage writable area.
When the matching for completing the program information of all programs and the program information of all programs in storage writable area in memory buffer
Afterwards, the program of memory buffer is emptied, also, storing includes program A, program B, program C and program d in writable area.
On the basis of the above embodiments, the described program information by successful match in the storage writable area is corresponding
Program replace with corresponding program in the memory buffer, comprising: obtain it is described storage writable area working condition, it is described
Working condition includes reading state or non-reading state;If the working condition is non-reading state, the storage is read and write
The corresponding program of described program information of successful match replaces with corresponding program in the memory buffer in area.
In the specific implementation process, before the program for storing writable area is replaced with the program in memory buffer,
The working condition of first judgement storage writable area.If the working condition for storing writable area is non-reading state, it may be assumed that program scheduler is set
It is standby not send the program in storage writable area to numerical control device, then the program for storing writable area is replaced in memory buffer
Program.By prejudging the working condition of storage writable area, prevented during to numerical control device transfer program with this,
Since more new procedures cause numerical control device to crumble.
It is worth noting that if the working condition of storage writable area is reading state, again according to prefixed time interval
The working condition of judgement storage writable area, until the working condition of storage writable area becomes non-reading state.Wherein, preset time
Interval can be 1s, 2s or 5s, prefixed time interval can according to actual program scheduler equipment send program time into
Row adjustment.
For example, that the program e for storing the successful match of writable area is substituted for memory buffer if necessary is corresponding
Program E then judges the working condition for storing writable area.If storage writable area working condition be reading state, can between
The working condition of storage writable area is judged again every 1s.If again when the working condition of judgement storage writable area, storage read-write
The working condition in area becomes non-reading state, then the program e for storing writable area is substituted for the corresponding program E in memory buffer,
Storing writable area to be includes program E.
Based on any of the above embodiments, prior to step 110, the method also includes: with the numerical control device
Communicated by SMB agreement, File Transfer Protocol, PCMCIA agreement and/or PCMCIA agreement, with terminal by SMB agreement and/or
File Transfer Protocol is communicated.
In the specific implementation process, program scheduler equipment can pass through SMB agreement and/or File Transfer Protocol and numerical control device
Communicated, i.e., program scheduler equipment can be connect by the networks such as cable, Ethernet or WIFI mode with numerical control device into
Row communication.And program scheduler equipment can also be communicated by TCP/UDP agreement and PCMCIA agreement with numerical control device, i.e.,
Program scheduler equipment can be connected by the PCMCIA of network interface and numerical control device mouth and be communicated.By the way that multiple kinds are arranged
When numerical control device does not have PCMCIA mouthfuls, can also make numerical control device by the networks such as cable, Ethernet or WIFI mode with
Program scheduler equipment is attached communication, and program scheduler equipment is allowed, into communication, to increase journey with most of numerical control device
The application range of sequence controlling equipment.
It wherein, can be according to TCP/ if program scheduler equipment is connected by the PCMCIA mouth of network interface and numerical control device
Udp protocol and PCMCIA agreement are mutually converted program information and program, and write relevant driving, so that program scheduler
Equipment is communicated by the PCMCIA of network interface and numerical control device mouth successful connection.
Meanwhile if the PCMCIA mouth of program scheduler equipment is connect with the PCMCIA of numerical control device mouth, can pass through
PCMCIA agreement is communicated.
Also, if numerical control device can pass through numerical control after program scheduler equipment and numerical control device are successfully communicated
Client built in equipment is directly viewable the corresponding program information of pre-stored multiple programs in program scheduler equipment, and can
With according to the corresponding program of multiple program information selection target program informations, so that corresponding program is sent to number by numerical control device
Control equipment is processed.
It should also be noted that, program scheduler equipment can be communicated by SMB agreement and/or File Transfer Protocol with terminal,
I.e. program scheduler equipment can be connect with terminal by the networks mode such as cable, Ethernet or WIFI and be communicated.
Also, if terminal can pass through the visitor of terminal built-in after program scheduler equipment and terminal are successfully communicated
Procedure set is sent to program scheduler equipment by family end, wherein procedure set includes at least one program.Terminal can also pass through visitor
Family end is directly viewable the corresponding program information of pre-stored multiple programs in program scheduler equipment, and can be according to multiple programs
The corresponding program information of program that information selection needs to leave out, so that the procedure set that terminal is sent includes modification of program instruction, journey
It include the corresponding program information of program for needing to leave out in sequence modification instruction, so that program scheduler equipment leaves out corresponding program.
Fig. 2 is a kind of structural schematic diagram of scheduler provided by the embodiments of the present application, as shown in Fig. 2, the application
Embodiment provides a kind of scheduler 200, comprising: information module 210 is sent, for sending multiple journeys to numerical control device
Sequence information, each program information are corresponding with a program of memory block is stored in advance in;Receiving module 220, it is described for receiving
The PROGRAMMED REQUESTS information that numerical control device returns, described program solicited message include the numerical control device from multiple described program information
The target program information of middle selection;Program module 230 is sent, for according to the target program information, Xiang Suoshu numerical control device
Send program corresponding with the target program information.
On the basis of the above embodiments, described device further include: program module is received, for receiving the journey of terminal transmission
Described program collection is stored in the memory block by sequence collection, and described program collection includes at least one program.
On the basis of the above embodiments, the memory block includes memory buffer and storage writable area, the reception journey
Sequence module is specifically used for: receiving the procedure set that terminal is sent, the program that described program is concentrated is stored in the memory buffer;It will
The program information of each program is matched with the program information of program in the storage writable area in the memory buffer;If
It is slow then to be replaced with the storage by successful match for the corresponding program of described program information of successful match in the storage writable area
Rush corresponding program in area.
On the basis of the above embodiments, the program module that receives is specifically used for: obtaining the work of the storage writable area
Make state, the working condition includes reading state or non-reading state;If the working condition is non-reading state, by institute
The corresponding program of described program information for stating successful match in storage writable area replaces with corresponding journey in the memory buffer
Sequence.
Based on any of the above embodiments, described device further include: communication protocol module, for being set with the numerical control
It is standby to be communicated by SMB agreement, File Transfer Protocol and/or PCMCIA agreement, with terminal pass through SMB agreement and/or File Transfer Protocol into
Row communication.
Scheduler 200 provided by the embodiments of the present application for executing the above method, specific embodiment with
The embodiment of method is consistent, and details are not described herein again.
Referring to figure 3., Fig. 3 shows a kind of structural frames of program scheduler equipment 30 that can be applied in the embodiment of the present application
Figure.Program scheduler equipment 30 may include memory 301, storage control 302, processor 303, Peripheral Interface 304, input it is defeated
Unit 305, display unit 306, communication module 307 out.
The memory 301, processor 303, Peripheral Interface 304, input-output unit 305, is shown storage control 302
Show that each element of unit 306 is directly or indirectly electrically connected between each other, to realize the transmission or interaction of data.For example, these
Element can be realized by one or more communication bus or signal wire be electrically connected between each other.Wherein, described program scheduling is set
Standby 30 include that at least one can be stored in the memory 301 in the form of software or firmware (firmware), the processing
Device 303 is for executing the executable module stored in memory 301.
Wherein, memory 301 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 301 is for storing program, and the processor 303 executes described program after receiving and executing instruction, aforementioned
Method performed by the server that the stream process that the embodiment of the present application any embodiment discloses defines can be applied to processor 303
In, or realized by processor 303.
Processor 303 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 303 can
To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), specific integrated circuit (ASIC),
Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard
Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present application.General processor
It can be microprocessor or the processor 303 be also possible to any conventional processor etc..
Various input/output devices are couple processor 303 and memory 301 by the Peripheral Interface 304.Some
In embodiment, Peripheral Interface 304, processor 303 and storage control 302 can be realized in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
Input-output unit 305 realizes user and the server (or local terminal) for being supplied to user input data
Interaction.The input-output unit 305 may be, but not limited to, mouse and keyboard etc..
Display unit 306 provided between described program controlling equipment 30 and user an interactive interface (such as user behaviour
Make interface) or for display image data give user reference.In the present embodiment, the display unit 306 can be liquid crystal
Show device or touch control display.If touch control display, can for support single-point and multi-point touch operation capacitance type touch control screen or
Resistance type touch control screen etc..Single-point and multi-point touch operation is supported to refer to that touch control display can sense on the touch control display
The touch control operation that one or more positions generate simultaneously, and the touch control operation that this is sensed transfers to processor 303 to count
It calculates and handles.
Communication module 307 is connect with processor 303, and the communication module 307 is connect with numerical control device, the communication module
307 with the numerical control device for being communicated, and the communication module 307 is also connect with terminal, and the communication module 307 is also used
It is communicated in the terminal.Wherein, communication module may include at least two network interfaces or communication module may include to
Few one PCMCIA mouthfuls and at least one network interface.
It is appreciated that structure shown in Fig. 3 is only to illustrate, described program controlling equipment 30 may also include than shown in Fig. 3
More perhaps less component or with the configuration different from shown in Fig. 3.Each component shown in Fig. 3 can using hardware,
Software or combinations thereof is realized.
It should be noted that the program scheduler method can be the program scheduler equipment 30 shown in Fig. 3 to execute.Cause
This, the specific executing subject of the program scheduler method should not be construed as the limitation to the embodiment of the present application.
Fig. 4 is a kind of structural schematic diagram of sequential scheduling system provided by the embodiments of the present application, as shown in figure 4, the application
Embodiment additionally provides a kind of sequential scheduling system 400, comprising: above-mentioned program scheduler equipment 30 and sets with described program scheduling
The numerical control device 40 of standby 30 connection.
In the specific implementation process, can be connected by the network interface of program scheduler equipment 30 and the network interface of numerical control device 40
It connects, to realize that program scheduler equipment 30 is connect with numerical control device 40.It can also network interface by program scheduler equipment 30 and numerical control
The PCMCIA mouth of equipment 40 connects, to realize that program scheduler equipment 30 is connect with numerical control device 40.Program scheduler can also be passed through
The PCMCIA mouth of equipment 30 is now connect with the PCMCIA cause for gossip of numerical control device 40, to realize program scheduler equipment 30 and numerical control device
40 connections.It more can be by the networks mode such as Ethernet or WIFI, to realize that program scheduler equipment 30 and numerical control device 40 connect
It connects.The embodiment of the present application is by directly storing program to program scheduler equipment 30, by sending program column to numerical control device 40
Table, then receive the PROGRAMMED REQUESTS of the transmission of numerical control device 40 and send corresponding program, to accelerate the switching processing journey of numerical control device 40
The efficiency of sequence.
It is worth noting that program scheduler equipment 30 can also be attached with multiple numerical control devices 40, numerical control device 40
Not limited to it is fixed, can be adjusted according to the demand of actual processing workpiece.
On the basis of the above embodiments, the system also includes the terminals 50 connecting with described program controlling equipment 30.
In the specific implementation process, can by the network interface connection of the network interface of program scheduler equipment 30 and terminal 50, with
Realize that program scheduler equipment 30 is connect with terminal 50.It can also be by the networks mode such as Ethernet or WIFI, to realize program
Controlling equipment 30 is connect with terminal 50.The procedure set that the embodiment of the present application is sent by receiving terminal 50, and by band in procedure set
Some programs are stored to memory block so that subsequent numerical control device 40 during carrying out program switching without again with terminal 50
It is communicated, thus accelerates the processing efficiency of numerical control device 40.
It is worth noting that program scheduler equipment 30 can also be attached with multiple terminals 50, the number of terminal 50 is not
It limits, can be adjusted according to the demand of practical transmission program.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
Specific work process, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
In conclusion the embodiment of the present application provides a kind of program scheduler method, apparatus, equipment, system and storage medium,
The described method includes: send multiple program informations to numerical control device 40, each program information and it is stored in advance in the one of memory block
A program is corresponding;The PROGRAMMED REQUESTS information that the numerical control device 40 returns is received, described program solicited message includes the numerical control
The target program information that equipment 40 is selected from multiple described program information;According to the target program information, Xiang Suoshu numerical control
Equipment 40 sends program corresponding with the target program information.The embodiment of the present application is by being stored in advance program to program tune
Equipment 30 is spent, then program information corresponding with program is sent to numerical control device 40 by program scheduler equipment 30, then receive numerical control
The PROGRAMMED REQUESTS of the transmission of equipment 40 simultaneously returns to corresponding program, and numerical control device 40 is allowed quickly to switch processing program.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the application, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), arbitrary access are deposited
The various media that can store program code such as reservoir (Random Access Memory, RAM), magnetic or disk.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field
For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair
Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Claims (10)
1. a kind of program scheduler method characterized by comprising
Multiple program informations are sent to numerical control device, each program information is corresponding with a program of memory block is stored in advance in;
Receive the PROGRAMMED REQUESTS information that the numerical control device returns, described program solicited message includes the numerical control device from multiple
The target program information selected in described program information;
According to the target program information, Xiang Suoshu numerical control device sends program corresponding with the target program information.
2. program scheduler method according to claim 1, which is characterized in that sending multiple program informations to numerical control device
Before, the method also includes:
The procedure set that terminal is sent is received, described program collection is stored in the memory block, described program collection includes at least one journey
Sequence.
3. program scheduler method according to claim 2, which is characterized in that the memory block includes memory buffer and deposits
Writable area is stored up, described program collection is stored in the memory block by the procedure set for receiving terminal and sending, comprising:
The procedure set that terminal is sent is received, the program that described program is concentrated is stored in the memory buffer;
The program information of program in the program information of program each in the memory buffer and the storage writable area is carried out
Matching;
If successful match, the corresponding program of described program information of successful match in the storage writable area is replaced with described
Corresponding program in memory buffer.
4. program scheduler method according to claim 3, which is characterized in that it is described will in the storage writable area matching at
The corresponding program of described program information of function replaces with corresponding program in the memory buffer, comprising:
The working condition of the storage writable area is obtained, the working condition includes reading state or non-reading state;
It is if the working condition is non-reading state, the described program information of successful match in the storage writable area is corresponding
Program replace with corresponding program in the memory buffer.
5. program scheduler method according to claim 1-4, which is characterized in that multiple being sent to numerical control device
Before program information, the method also includes:
It is communicated with the numerical control device by SMB agreement, File Transfer Protocol and/or PCMCIA agreement, is assisted with terminal by SMB
View and/or File Transfer Protocol are communicated.
6. a kind of scheduler characterized by comprising
Information module is sent, for sending multiple program informations to numerical control device, each program information and is stored in advance in storage
One program in area is corresponding;
Receiving module, the PROGRAMMED REQUESTS information returned for receiving the numerical control device, described program solicited message include described
The target program information that numerical control device is selected from multiple described program information;
Program module is sent, for according to the target program information, Xiang Suoshu numerical control device to be sent and target program letter
Cease corresponding program.
7. a kind of program scheduler equipment characterized by comprising
Processor, communication module and memory;
The processor is connect with the communication module, and the communication module is connect with numerical control device, and the communication module is used for
It is communicated with the numerical control device, the communication module is also connect with terminal, and the communication module is also used to and the terminal
It is communicated;
The processor is connect with the memory, and the memory is stored with the program instruction that can be executed by the processor,
The processor calls described program instruction to be able to carry out the method according to claim 1 to 5.
8. a kind of sequential scheduling system characterized by comprising program scheduler equipment as claimed in claim 7 and with it is described
The numerical control device of program scheduler equipment connection.
9. sequential scheduling system according to claim 8, which is characterized in that the system also includes dispatch with described program
The terminal of equipment connection.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, the computer instruction makes the computer execute the method according to claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910426491.9A CN110045678B (en) | 2019-05-21 | 2019-05-21 | Program scheduling method, device, equipment, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910426491.9A CN110045678B (en) | 2019-05-21 | 2019-05-21 | Program scheduling method, device, equipment, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110045678A true CN110045678A (en) | 2019-07-23 |
CN110045678B CN110045678B (en) | 2021-06-01 |
Family
ID=67282931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910426491.9A Active CN110045678B (en) | 2019-05-21 | 2019-05-21 | Program scheduling method, device, equipment, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110045678B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857698A (en) * | 2020-07-02 | 2020-10-30 | 苏州谷夫道自动化科技有限公司 | Macro program configuration method and device |
CN112764392A (en) * | 2021-04-07 | 2021-05-07 | 成都飞机工业(集团)有限责任公司 | Method for preventing numerical control program calling error in numerical control machining |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11296217A (en) * | 1998-04-03 | 1999-10-29 | Hitachi Seiki Co Ltd | Method and device for transferring program file in nc device |
JP2004142025A (en) * | 2002-10-24 | 2004-05-20 | Makino Milling Mach Co Ltd | Tool control method and device |
CN202083936U (en) * | 2011-06-07 | 2011-12-21 | 中国北车集团大同电力机车有限责任公司 | DNC network system |
CN104570926A (en) * | 2014-12-31 | 2015-04-29 | 北京数码大方科技股份有限公司 | Data transmission method and device for numerical control system |
CN108132651A (en) * | 2017-09-09 | 2018-06-08 | 浙江亚太机电股份有限公司 | Distributed CNC Lathe networking manages system |
CN109143979A (en) * | 2018-09-28 | 2019-01-04 | 浙江大学华南工业技术研究院 | Processing control method, system, readable storage medium storing program for executing and the equipment of numerical control device |
-
2019
- 2019-05-21 CN CN201910426491.9A patent/CN110045678B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11296217A (en) * | 1998-04-03 | 1999-10-29 | Hitachi Seiki Co Ltd | Method and device for transferring program file in nc device |
JP2004142025A (en) * | 2002-10-24 | 2004-05-20 | Makino Milling Mach Co Ltd | Tool control method and device |
CN202083936U (en) * | 2011-06-07 | 2011-12-21 | 中国北车集团大同电力机车有限责任公司 | DNC network system |
CN104570926A (en) * | 2014-12-31 | 2015-04-29 | 北京数码大方科技股份有限公司 | Data transmission method and device for numerical control system |
CN108132651A (en) * | 2017-09-09 | 2018-06-08 | 浙江亚太机电股份有限公司 | Distributed CNC Lathe networking manages system |
CN109143979A (en) * | 2018-09-28 | 2019-01-04 | 浙江大学华南工业技术研究院 | Processing control method, system, readable storage medium storing program for executing and the equipment of numerical control device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857698A (en) * | 2020-07-02 | 2020-10-30 | 苏州谷夫道自动化科技有限公司 | Macro program configuration method and device |
CN111857698B (en) * | 2020-07-02 | 2024-04-12 | 苏州谷夫道自动化科技有限公司 | Macro program configuration method and device |
CN112764392A (en) * | 2021-04-07 | 2021-05-07 | 成都飞机工业(集团)有限责任公司 | Method for preventing numerical control program calling error in numerical control machining |
CN112764392B (en) * | 2021-04-07 | 2021-08-03 | 成都飞机工业(集团)有限责任公司 | Method for preventing numerical control program calling error in numerical control machining |
Also Published As
Publication number | Publication date |
---|---|
CN110045678B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110045678A (en) | A kind of program scheduler method, apparatus, equipment, system and storage medium | |
CN107741950A (en) | Processing method, device, processor and the service end of data syn-chronization task | |
CN109241014A (en) | Data processing method, device and server | |
CN105574130B (en) | A kind of data transmission method and operation system | |
CN109064733A (en) | Adaptive infrared signal coding/decoding method, computer installation and its control device | |
US7322012B2 (en) | Display program, display method and display device | |
CN109413227A (en) | IPv4 user based on more IPv6 networks accesses IPv6 network interworking device and equipment | |
CN112350912A (en) | Data acquisition method, system and device based on Modbus protocol | |
CN109086289A (en) | A kind of media data processing method, client, medium and equipment | |
CN108023905A (en) | Internet of things application system and method | |
CN112650765A (en) | Method, device and equipment for judging station faults and storage medium | |
CN103733150B (en) | Program creating device and programmable logic controller (PLC) | |
CN112446625A (en) | Process line generation system, method, platform and storage medium | |
CN102883303A (en) | Method and system for controlling personalization data of subscriber identity module (SIM) | |
CN112242909A (en) | Management template generation method and device, electronic equipment and storage medium | |
CN110442059A (en) | Controlled equipment expanding method and device and control equipment | |
CN112859660B (en) | Equipment synchronization control method, device, terminal and system | |
CN1430168B (en) | Object matching management equipment and method, operation terminal and method used for prescribe object | |
CN111488283B (en) | Task generation method and device, electronic equipment and storage medium | |
CN113225717B (en) | Control method and device of Bluetooth equipment and computer readable storage medium | |
CN115870234A (en) | Sorting method for sorting pieces | |
CN114679688B (en) | Management platform and management method for laboratory | |
EP0425764A2 (en) | Input data control system and data management apparatus for use therewith | |
CN117040963A (en) | Method and system for quick communication of distributed IO master and slave | |
KR0139378B1 (en) | Production plan preparation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |