Movatterモバイル変換


[0]ホーム

URL:


CN105373021B - The control method of intelligence manufacture interface routine system - Google Patents

The control method of intelligence manufacture interface routine system
Download PDF

Info

Publication number
CN105373021B
CN105373021BCN201510778793.4ACN201510778793ACN105373021BCN 105373021 BCN105373021 BCN 105373021BCN 201510778793 ACN201510778793 ACN 201510778793ACN 105373021 BCN105373021 BCN 105373021B
Authority
CN
China
Prior art keywords
signal
program
interface
module
mes
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.)
Active
Application number
CN201510778793.4A
Other languages
Chinese (zh)
Other versions
CN105373021A (en
Inventor
吕绍林
杨愉强
张瑞峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bozhon Precision Industry Technology Co Ltd
Original Assignee
Bozhong Suzhou Precision Industry Technology Co Ltd
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 Bozhong Suzhou Precision Industry Technology Co LtdfiledCriticalBozhong Suzhou Precision Industry Technology Co Ltd
Priority to CN201510778793.4ApriorityCriticalpatent/CN105373021B/en
Publication of CN105373021ApublicationCriticalpatent/CN105373021A/en
Application grantedgrantedCritical
Publication of CN105373021BpublicationCriticalpatent/CN105373021B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The control method of intelligence manufacture interface routine system of the present invention, S0:First modular program sends request signal;S1:Signal is sent to the first module interface program;S2:Signal data deposit interim data storehouse;S3:Signal data is extracted, and judges whether to need to be transmitted to the second module or the 3rd module;Judged result is that signal data is transmitted to the second module, then carries out step S4;Judged result is that signal data is transmitted to the 3rd module, then carries out step S7;S4:Signal data is delivered in the monitoring signal catalogue of the second module interface program;S5:Signal data is delivered to the second modular program, awaiting reply;S6:After answer, signal replies to the second module interface program;S7:Signal data is delivered in the monitoring signal catalogue of the 3rd module interface program;S8:Signal data is delivered to the 3rd modular program;S9:After answer, signal replies to the 3rd module interface program.Efficiency of transmission is high, stability is high, maintenance cost is low.

Description

The control method of intelligence manufacture interface routine system
Technical field
The present invention relates to intelligence manufacture field, specifically a kind of control method of intelligence manufacture interface routine system.
Background technology
Under the background of industry 4.0, manufacturing is developed to automation direction, but to intelligent, informationChange direction to develop.Traditional automatic production line, reason, is likely to result in and produces due to data transmission fault or not in time etc.Substantial amounts of defective products, reduces the yields of producing line, and reduces the profit of enterprise;In addition the original of the appearance of defective products is causedBecause being the management for not carrying out system, company manager timely can not improve and trace.
Therefore, it is necessary to a kind of control method of new intelligence manufacture interface routine system is provided to solve above-mentioned askTopic.
The content of the invention
It is an object of the invention to provide a kind of control for the intelligence manufacture interface routine system that efficiency of transmission is high, stability is highMethod.
The present invention is achieved through the following technical solutions above-mentioned purpose:
The control method of intelligence manufacture interface routine system, comprises the following steps:
S0:First modular program sends request signal;
S1:Signal is sent to the first module interface program;
S2:Signal data deposit interim data storehouse;
S3:Signal data is extracted, and judges whether to need to be transmitted to the second module or the 3rd module;Judged result is signal numberAccording to the second module is transmitted to, then step S4 is carried out;Judged result is that signal data is transmitted to the 3rd module, then carries out step S7;
S4:Signal data is delivered in the monitoring signal catalogue of the second module interface program;
S5:Signal data is delivered to the second modular program, awaiting reply;
S6:After answer, signal replies to the second module interface program;
S7:Signal data is delivered in the monitoring signal catalogue of the 3rd module interface program;
S8:Signal data is delivered to the 3rd modular program;
S9:After answer, signal replies to the 3rd module interface program.
Further, first module, second module and the 3rd module are respectively equipment, MES and displayOne in terminal, the equipment, the MES and the display terminal are built-in with device program, MES programs and display eventually respectivelyHold program, the device program, the MES programs and the display terminal program respectively with equipment interface program, MES interface journeysSequence, the connection of display terminal interface routine signal.
Further, entered between the display terminal program and the display terminal interface routine by SingalR modesRow signal transmission.
Further, signal biography is carried out by Socket modes between the device program and the equipment interface programPass.
Further, signal biography is carried out by WebService modes between the MES programs and the MES interface routinesPass.
Further, it is all provided with the MES interface routines, the display terminal interface routine and the equipment interface programThere is the monitoring signal catalogue for receiving file.
Further, the title of the file includes the command information of request of data and the time of request command.
Further, the content of the file is missed the stop result including product ID, device name and equipment.
Further, the display terminal includes display terminal and mobile phone.
Compared with prior art, the beneficial effect of the control method of intelligence manufacture interface routine system of the present invention is:Pass throughAn interface routine is developed for each data source, between routine interface, by agreement file format by way of efficient stableTo transmit data, creation data efficiency of transmission and stability are improved, when an interface has sent out change, whole program only needs to repairChange the part with the docking of this interface, other two interfaces need not change, and when a program there is a problem, also not interfere with itIts two program, reduces maintenance cost.
Brief description of the drawings
Fig. 1 is the structured flowchart of the present invention.
Fig. 2 is the control method flow chart that equipment sends request signal.
Fig. 3 is the control method flow chart that MES sends request signal.
Fig. 4 is the control method flow chart that display terminal sends request signal.
Embodiment
Referring to Fig. 1, intelligence manufacture interface routine system, including MES (production information management system), equipment and displayTerminal, MES are built-in with MES programs, and equipment is built-in with device program, and display terminal is built-in with display terminal program, MES programs withMES interface routines signal is connected, and device program is connected with equipment interface program singal, display terminal program and display terminal interfaceProgram singal connects.
Referring to Fig. 2, when equipment sends request signal, system control method is:
Step S10, equipment sends request signal by device program;
Wherein, when equipment produces a request signal, this signal is equipment collection or manual entry.This information is generalIt is stored in a text form in the buffer area of equipment.
Step S11, device program sends signal to equipment interface program;
Wherein device program sends this signal to equipment interface program in a manner of Socket, then to this information atReason.
Step S12, signal data is stored in interim data storehouse;
Wherein, signal data is stored in Oracle interim datas storehouse.
Step S13, the signal data in interim data storehouse is extracted, and judges whether to need to be transmitted to MES or display terminal;
Wherein, display terminal be billboard, mobile phone or other there is the equipment of display function.
If step S13 judged result, which is signal data, is transmitted to MES, step S14 is carried out.
Step S14, signal data is delivered in the monitoring signal catalogue of MES interface routines;
Wherein, caused filename contains the command information of request of data and the timestamp of request command, to have preventedThe data repeated occur, such as LotSNRequest_20151020131020.data.Caused file content then includes requestThe details of information, such as product ID, device name, equipment are missed the stop result etc., such as Line_code=AL9;Eq=EQ001, Lot=Lot01;Qty=2.
Step S15, signal data is delivered to MES programs, awaiting reply by MES interface routines;
Wherein, MES interface routines lead to FileWatcher technologies, and monitoring new information in real time needs to handle, by fileMonitoring period control is analyzed in Millisecond, then reading signal file, command request type is parsed by filename, with choosingSelect handle this message file with any programmed logic.It is then followed by reading the content of file.And with specified letterForm transmission MES is ceased, waits MES answer.
Step S16, after MES programs reply, signal is replied into MES interface routines;
Wherein, MES interface routines receive signal in a manner of WebService, and then this information is handled, is stored inIn Oracle interim datas storehouse.
If step S13 judged result, which is signal data, is transmitted to display terminal, step S17 is carried out.
Step S17, signal data is delivered in the monitoring signal catalogue of display terminal interface routine;
Wherein, caused filename contains the command information of request of data and the timestamp of request command, to have preventedThe data repeated occur, such as LotSNRequest_20151020131020.data.Caused file content then includes requestThe details of information, such as product ID, device name, equipment are missed the stop result etc., such as Line_code=AL9;Eq=EQ001, Lot=Lot01;Qty=2.
Step S18, signal data is delivered to display terminal program, awaiting reply by display terminal interface routine;
Wherein, the logical FileWatcher technologies of display terminal interface routine, which monitor new information, needs to handle, then readsSignal file is analyzed, command request type is parsed by filename, should be located with selection with any programmed logicThis message file is managed, is then followed by reading the content of file, and by specified information format by sending in a manner of SingleRTerminal device, wait the answer of terminal device.
Step S19, after display terminal's program replies, signal is replied into terminal device interface program;
Wherein, terminal device interface program receives signal in a manner of SingleR, and then this information is handled, and preservesIn Oracle interim datas storehouse.
Referring to Fig. 3, when MES sends request signal, system control method is:
Step S20, MES sends request signal by MES programs;
Step S21, MES programs send signal to MES interface routines;
Wherein MES programs send this signal to MES interface routines in a manner of WebService, and then this information is carried outProcessing.
Step S22, signal data is stored in interim data storehouse;
Wherein, signal data is stored in Oracle interim datas storehouse.
Step S23, the signal data in interim data storehouse is extracted, and judges whether to need to be transmitted to equipment or display terminal;
Wherein, display terminal be billboard, mobile phone or other there is the equipment of display function.
If step S23 judged result, which is signal data, is transmitted to equipment, step S24 is carried out.
Step S24, signal data is delivered in the monitoring signal catalogue of equipment interface program;
Wherein, caused filename contains the command information of request of data and the timestamp of request command, to have preventedThe data repeated occur, such as LotSNRequest_20151020131020.data.Caused file content then includes requestThe details of information, such as product ID, device name, equipment are missed the stop result etc., such as Line_code=AL9;Eq=EQ001, Lot=Lot01;Qty=2.
Step S25, signal data is delivered to device program, awaiting reply by equipment interface program;
Wherein, signal data is delivered to device program by equipment interface program by Socket modes.
Step S26, after device program replies, signal is replied into equipment interface program;
Wherein, equipment interface program receives signal in a manner of Socket, and then this information is handled, is stored inIn Oracle interim datas storehouse.
If step S23 judged result, which is signal data, is transmitted to display terminal, step S27 is carried out.
Step S27, signal data is delivered in the monitoring signal catalogue of display terminal interface routine;
Wherein, caused filename contains the command information of request of data and the timestamp of request command, to have preventedThe data repeated occur, such as LotSNRequest_20151020131020.data.Caused file content then includes requestThe details of information, such as product ID, device name, equipment are missed the stop result etc., such as Line_code=AL9;Eq=EQ001, Lot=Lot01;Qty=2.
Step S28, signal data is delivered to display terminal program, awaiting reply by display terminal interface routine;
Wherein, the logical FileWatcher technologies of display terminal interface routine, which monitor new information, needs to handle, then readsSignal file is analyzed, command request type is parsed by filename, should be located with selection with any programmed logicThis message file is managed, is then followed by reading the content of file, and by specified information format by sending in a manner of SingleRTerminal device, wait the answer of terminal device.
Step S29, after display terminal's program replies, signal is replied into terminal device interface program;
Wherein, terminal device interface program receives signal in a manner of SingleR, and then this information is handled, and preservesIn Oracle interim datas storehouse.
Referring to Fig. 4, when display terminal sends request signal, system control method is:
Step S30, display terminal sends request signal by display terminal program;
Wherein, display terminal be billboard, mobile phone or other there is the equipment of display function.
Step S31, display terminal program sends signal to display terminal interface routine;
Wherein device program sends this signal to equipment interface program in a manner of SingleR, and then this information is carried outProcessing.
Step S32, signal data is stored in interim data storehouse;
Wherein, signal data is stored in Oracle interim datas storehouse.
Step S33, the signal data in interim data storehouse is extracted, and judges whether to need to be transmitted to equipment or MES;
If step S33 judged result, which is signal data, is transmitted to equipment, step S34 is carried out.
Step S34, signal data is delivered in the monitoring signal catalogue of equipment interface program;
Wherein, caused filename contains the command information of request of data and the timestamp of request command, to have preventedThe data repeated occur, such as LotSNRequest_20151020131020.data.Caused file content then includes requestThe details of information, such as product ID, device name, equipment are missed the stop result etc., such as Line_code=AL9;Eq=EQ001, Lot=Lot01;Qty=2.
Step S35, signal data is delivered to device program, awaiting reply by equipment interface program;
Wherein, signal data is delivered to device program by equipment interface program by Socket modes.
Step S36, after device program replies, signal is replied into equipment interface program;
Wherein, equipment interface program receives signal in a manner of Socket, and then this information is handled, is stored inIn Oracle interim datas storehouse.
If step S33 judged result, which is signal data, is transmitted to MES, step S37 is carried out.
Step S37, signal data is delivered in the monitoring signal catalogue of MES interface routines;
Wherein, caused filename contains the command information of request of data and the timestamp of request command, to have preventedThe data repeated occur, such as LotSNRequest_20151020131020.data.Caused file content then includes requestThe details of information, such as product ID, device name, equipment are missed the stop result etc., such as Line_code=AL9;Eq=EQ001, Lot=Lot01;Qty=2.
Step S38, signal data is delivered to MES programs, awaiting reply by MES interface routines;
Wherein, MES interface routines lead to FileWatcher technologies, and monitoring new information in real time needs to handle, by fileMonitoring period control is analyzed in Millisecond, then reading signal file, command request type is parsed by filename, with choosingSelect handle this message file with any programmed logic.It is then followed by reading the content of file.And with specified letterForm transmission MES is ceased, waits MES answer.
Step S39, after MES programs reply, signal is replied into MES interface routines;
Wherein, MES interface routines receive signal in a manner of WebService, and then this information is handled, is stored inIn Oracle interim datas storehouse.
The creation data of the control method of intelligence manufacture interface routine system can be transmitted to MES in real time, and production line exists at any timeThe information that MES is sent back is monitored, then timely feeds back to production line, performs assigned operation, display terminal can timely be shownThe condition of production of production line, display terminal can timely show the signal that MES is sent.Such design advantage is just the reduction ofCoupling between system.Interface such as one of MES offers has sent out change, and whole program only needs modification and MES dockingPart, other two interfaces need not change.Which also improves the efficiency of exploitation.If in process of production a, journeySequence there is a problem, also not interfere with other two programs, according to the file record of centre interaction, also easily looks for segmentation to find and asksThe reason for topic.
Above-described is only some embodiments of the present invention.For the person of ordinary skill of the art, notOn the premise of departing from the invention design, various modifications and improvements can be made, these belong to the protection model of the present inventionEnclose.

Claims (9)

CN201510778793.4A2015-11-132015-11-13The control method of intelligence manufacture interface routine systemActiveCN105373021B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510778793.4ACN105373021B (en)2015-11-132015-11-13The control method of intelligence manufacture interface routine system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510778793.4ACN105373021B (en)2015-11-132015-11-13The control method of intelligence manufacture interface routine system

Publications (2)

Publication NumberPublication Date
CN105373021A CN105373021A (en)2016-03-02
CN105373021Btrue CN105373021B (en)2018-01-26

Family

ID=55375314

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510778793.4AActiveCN105373021B (en)2015-11-132015-11-13The control method of intelligence manufacture interface routine system

Country Status (1)

CountryLink
CN (1)CN105373021B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPS5815355A (en)*1981-07-221983-01-28Hitachi Ltd Information transmission method
US7403984B2 (en)*2000-02-012008-07-22Asyst Technologies, Inc.Automated tool management in a multi-protocol environment
JP2005327000A (en)*2004-05-132005-11-24Sony CorpUser interface controller, user interface control method and computer program
CN101609308A (en)*2008-06-202009-12-23中国科学院沈阳自动化研究所 An industrial intelligent terminal based on RFID data acquisition function and its control method
US8463417B2 (en)*2009-09-042013-06-11Csi Technology, Inc.Method and apparatus to configure control system to link to machinery monitoring system
US9572054B2 (en)*2011-04-272017-02-14Hytera Communications Corp., Ltd.Realization method, apparatus and system for remote monitoring

Also Published As

Publication numberPublication date
CN105373021A (en)2016-03-02

Similar Documents

PublicationPublication DateTitle
CN106444659B (en) A production management method and system for a stamping workshop
CN103632245A (en)Cloud service-based intelligent production system and implementation method
CN110099098A (en)Industrial robot data uploading method, system, readable storage medium storing program for executing and equipment
CN101498931A (en)Communication method for assembly line RFID interface control unit and upper computer
CN102222270B (en)Manufacture and perform management system and production curves device
CN102129646A (en)Method for uniformly monitoring multi-dimensional electric power market transaction data interaction
CN106372944A (en)Data table-based product tracing method and system
CN109743191A (en) A precise positioning centralized processing system, method and device for equipment alarm
CN107262391A (en)A kind of sheet material sorting system and its method
CN109840725A (en)Cargo picking method, device, electronic device and computer readable storage medium
CN104298195A (en)Wireless communication networking method of multiple-shuttle cooperative work system
CN110222100B (en)Processing method, system and storage medium based on big data display process timing diagram
CN105335770A (en)Abnormal production event real-time management system
CN105373021B (en)The control method of intelligence manufacture interface routine system
CN106292615A (en)A kind of production line data collection and analysis method and device thereof
CN111552240A (en) Intelligent automated cargo handling system and method
CN109873720A (en)A kind of cloud center intelligence O&M method and system based on enterprise's public platform
CN113837281A (en)Metallurgical plant Internet platform and data regeneration method
CN109034322B (en)Luggage remote visual complement system and method
CN204119275U (en)Storage bar code data network transmission system
CN111724489B (en)General software system of ticket vending and checking machine
CN110163311A (en)A kind of logistic management system based on mobile Internet
CN1979543A (en) Replenishment operation management system and method
CN203340094U (en)Passive intelligent management system based on wireless transmission for optical distribution equipment
CN113946878B (en)Accounting method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP01Change in the name or title of a patent holder

Address after:The 215200 West Jiangsu city of Suzhou province Wujiang economic and Technological Development Zone No. 666

Patentee after:Bo Seiko Polytron Technologies Inc

Address before:The 215200 West Jiangsu city of Suzhou province Wujiang economic and Technological Development Zone No. 666

Patentee before:Suzhou Bozhong Precision Industry Technology Co., Ltd.

CP01Change in the name or title of a patent holder

[8]ページ先頭

©2009-2025 Movatter.jp