CN110209108A - A kind of small-sized on-line machining production line control method and system - Google Patents

A kind of small-sized on-line machining production line control method and system Download PDF

Info

Publication number
CN110209108A
CN110209108A CN201910492565.9A CN201910492565A CN110209108A CN 110209108 A CN110209108 A CN 110209108A CN 201910492565 A CN201910492565 A CN 201910492565A CN 110209108 A CN110209108 A CN 110209108A
Authority
CN
China
Prior art keywords
character string
plc
sized
intranet
small
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.)
Pending
Application number
CN201910492565.9A
Other languages
Chinese (zh)
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.)
Wuhan Soft Project Professional School
Original Assignee
Wuhan Soft Project Professional School
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 Wuhan Soft Project Professional School filed Critical Wuhan Soft Project Professional School
Priority to CN201910492565.9A priority Critical patent/CN110209108A/en
Publication of CN110209108A publication Critical patent/CN110209108A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a kind of small-sized on-line machining production line control method and systems, its client carries out online product selection and payment by the HTML paying website server that public network and chained address access Intranet, and the conversion between public network and Intranet is realized by the routing setting of chained address and related software;The call back function of the HTML paying website of Intranet is analyzed to judge the validity of payment information, effective payment information is filtered out and obtains the general character string information including product process data;General character string information including product process data is decomposed into ASCII character character string, the ASCII character character string after being recombinated according to ASCII character character string of the corresponding communication protocol to decomposition;The trapezoid figure program that ASCII character character string after recombination is converted into PLC is sent to PLC, the PLC of small-sized on-line machining production line completes the processing of corresponding order according to the trapezoid figure program of PLC, to realize the real-time processing of online order and synchronously completing for automatic assembly line processing tasks.

Description

A kind of small-sized on-line machining production line control method and system
Technical field
The invention belongs to automate manufacture field, and in particular to a kind of small-sized on-line machining production line control method and be System.
Background technique
Automatic assembly line refers to a kind of productive organization that Product Process process is realized by automatic machinery system, generally Core control element is used as by PLC (programmable controller), its main feature is that in the case where unmanned intervene by regulated procedure or The process that instruction is operated or controlled automatically, all machinery equipments all press unified beat operating, and production process height connects It is continuous.
Mainly each work station of the tissue in the form of local area network communication cooperates automatic assembly line at this stage, with internet Order information separation, produces ultrahigh in efficiency in batches, but product overloading is serious, inventory cost is high with selling cost.From professional skill It is seen in the angle of art, the development of automatic production line is divided into four-stage: industry 1.0, industry 2.0, industry 3.0 and industry 4.0.Most of domestic medium-sized and small enterprises are in the level of industry 2.0 with industry 3.0 at present, and intelligent level is not high, although by Automatic assembly line can efficiently carry out product batch production, but the processing of order relies on manual operation to complete substantially, it is difficult to real When online order respond, processing tasks are automatically performed according to the generation of order.
The process of automatic assembly line is that each website in local area network cooperates, and is automatically performed product processing, it The processing tasks that direct-on-line obtains order information and real-time response order are difficult to, for middle-size and small-size automatic assembly line more Obviously.This defect or insufficient consequence, be mainly reflected in product huge stocks, sacrifice small lot order and customized orders, It cannot achieve real time orders response by the very high and online configuration software of the corresponding O&M cost of MES system development cost.
Patent document CN201710284006.X discloses a kind of long-range control method of stalk fermentation Biogas production, It is carried out command signal by Wireless remote control network transmission to control point and monitoring point by preset program remote Process control, data transmission, long-range control and the transmission for realizing that Biogas generates are reported, also be can solve to a certain extent remote Journey On-line Control PLC, but have the defects that certain: signal conversion is carried out by network relays such as DTU or RTU, by relay Hardware I/O limitation, amount of signal transmission is few, and signal response efficiency is low, and be easy to cause dropout, and reliability and stability are equal It is unable to satisfy the requirement of online order real-time response.
Summary of the invention
Aiming at the above defects or improvement requirements of the prior art, the present invention provides a kind of small-sized on-line machinings to produce line traffic control Method and system processed, it includes that product is processed that the paying website screening server by the way that Intranet is arranged, which goes out effective payment information to obtain, General character string information including product process data is decomposed into ASCII character character string simultaneously by the general character string information of data Recombination, is sent to PLC for the trapezoid figure program that the ASCII character character string after recombination is converted into PLC, to realize the reality of online order When processing and automatic assembly line processing tasks synchronously complete.
To achieve the above object, according to one aspect of the present invention, a kind of small-sized on-line machining production line traffic control is provided Method, specific steps are as follows:
S1. client is produced online by the HTML paying website server that public network and chained address access Intranet The conversion between public network and Intranet is realized in product selection and payment by the routing setting of chained address and related software;Point The call back function of the HTML paying website of Intranet is analysed to judge the validity of payment information, effective payment information is filtered out and is wrapped Include the general character string information of product process data;
S2. the general character string information including product process data is decomposed into ASCII character character string, according to corresponding logical Believe the ASCII character character string after agreement recombinates the ASCII character character string of decomposition;;
S3. the trapezoid figure program that the ASCII character character string after recombination is converted into PLC small-sized on-line machining is sent to produce The PLC of line, the PLC of small-sized on-line machining production line complete the processing of corresponding order according to the trapezoid figure program of PLC.
As a further improvement of the present invention, question and answer are used between the server of the HTML paying website of client and Intranet Communication and single thread non-blocking asynchronous communication pattern.
As a further improvement of the present invention, the routing setting of chained address includes that domain name and routed path are arranged, domain name The HTML paying website server for being set as setting Intranet in locally accessed address and port, software is penetrated by Intranet Realize that outer net may have access to Intranet with binding domain name;Routed path is set as corresponding function access address in setting http service.
As a further improvement of the present invention, step S2 specifically: using JavaScript scripting language will include product The general character string information of process data is decomposed into ASCII character character string, according to the specific requirement of serial communication protocol to decomposition ASCII character character string recombinated after ASCII character character string.
As a further improvement of the present invention, the ASCII character character string after recombination is converted into the tool of the trapezoid figure program of PLC Body process are as follows: baud rate, data bit, check code, stop position and the communication of communication are defined to the ASCII character character string after recombination Port content is reconverted into the trapezoid figure program of PLC.
To achieve the above object, other side according to the invention provides a kind of small-sized on-line machining production line traffic control System processed, the system include HTML paying website server, message processing module and the Order Processing mould of sequentially connected Intranet Block, small-sized on-line machining production line by PLC connection Order Processing module,
The HTML paying website server of Intranet accesses for realizing client and carries out online product selection and payment, visitor Family end the conversion between public network and Intranet is realized by the routing setting and related software of public network and chained address;Point The call back function of the HTML paying website of Intranet is analysed to judge the validity of payment information, effective payment information is filtered out and is wrapped The general character string information for including product process data is sent to message processing module;
Message processing module is used to the general character string information including product process data being decomposed into ASCII character character String, the ASCII character character string hair after being recombinated according to ASCII character character string of the corresponding communication protocol to decomposition Give Order Processing module;
Order Processing module is used to for the trapezoid figure program that the ASCII character character string after recombination is converted into PLC being sent to small The PLC of the PLC of type on-line machining production line, small-sized on-line machining production line complete corresponding order according to the trapezoid figure program of PLC Processing.
As a further improvement of the present invention, question and answer are used between the server of the HTML paying website of client and Intranet Communication and single thread non-blocking asynchronous communication pattern.
As a further improvement of the present invention, the routing setting of chained address includes that domain name and routed path are arranged, domain name The HTML paying website server for being set as setting Intranet in locally accessed address and port, software is penetrated by Intranet Realize that outer net may have access to Intranet with binding domain name;Routed path is set as corresponding function access address in setting http service.
As a further improvement of the present invention, message processing module will be added using JavaScript scripting language including product The general character string information of number evidence is decomposed into ASCII character character string, according to the specific requirement of serial communication protocol to decomposition ASCII character character string recombinated after ASCII character character string.
As a further improvement of the present invention, the ASCII character character string after recombination is converted into the tool of the trapezoid figure program of PLC Body process are as follows: baud rate, data bit, check code, stop position and the communication of communication are defined to the ASCII character character string after recombination Port content is reconverted into the trapezoid figure program of PLC.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, have below beneficial to effect Fruit:
A kind of small-sized on-line machining of the invention produces line control method and system, passes through the paying website of setting Intranet Screening server goes out effective payment information and obtains the general character string information including product process data, will include that product processes number According to general character string information be decomposed into ASCII character character string and recombinate, convert PLC for the ASCII character character string after recombination Trapezoid figure program be sent to PLC, to realize the real-time processing of online order and synchronously completing for automatic assembly line processing tasks, Avoid the huge stocks of product in warehouse;It solves the problems, such as to sacrifice small lot order and customized orders, even if order information It, can also automatic processing on real-time for a product;Solve the problems, such as that system development costs, O&M cost are high, only to it is existing from Dynamic line production system carries out lightweight transformation, and improvement cost is low;Solving online configuration software cannot achieve real time orders sound Problem is answered, online order information can be transmitted directly to automatic assembly line control unit, be immediately performed the processing tasks of product.
A kind of small-sized on-line machining of the invention produces line control method and system, and server uses Node.JS system The clog-free asynchronous communication mechanism of single thread avoids information occlusion, reduces server workload, completes on-line machining in real time and appoints Business, while PLC directly acquires machining information by serial port protocol, does not need the relays hardware information transferring element such as DTU, RTU, Hardware cost reduces, and theoretically can receive infinite number of processing request in the same time, it is limited to eliminate Hardware I/O points Defect directly eliminates the process of platform of internet of things online configuration and monitoring, has saved platform of internet of things lease expenses and flow Expense, while the ability for receiving signal is also significantly larger than the working efficiency of DTU, RTU hardware contact on-off.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of small-sized on-line machining production line control method of the embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In addition, as long as technical characteristic involved in the various embodiments of the present invention described below is each other not Constituting conflict can be combined with each other.The present invention is described in more detail With reference to embodiment.
Fig. 1 is a kind of schematic diagram of small-sized on-line machining production line control method of the embodiment of the present invention.As shown in Figure 1, The specific steps of this method are as follows:
S1. client carries out online product by the HTML paying website server that public network and chained address access Intranet The conversion between public network and Intranet is realized in selection and payment by the routing setting of chained address and related software;Analysis To judge the validity of payment information, filter out effective payment information is included the call back function of the HTML paying website of Intranet The general character string information of product process data;
Specifically, the server of the HTML paying website of server by utilizing Node.JS programing system, client and Intranet it Between using question and answer communication and single thread non-blocking asynchronous communication pattern, may be implemented even if internet communication is busy, channel is gathered around In the case where squeezing, Order Processing information also can be accurately and effectively obtained;After client accesses HTML paying website and completes payment, Server foreground sends information to background server by Socket.io module, is arranged in Socket.io module Label of " shujutijiao " field as question and answer is sent by socket.once function in HTML payment system The content (i.e. product type and product quantity information) that " shujutijiao " label includes;Backstage is by executing socket.on letter Number is monitored " shujutijiao " label information, product type and product quantity information to be processed can be obtained in real time;
Client accesses HTML paying website by chained address, and the routing setting of the chained address includes domain name and routing Path setting, the setting of domain name i.e. setting server locally accessed address (such as 127.0.0.1) and port (such as 3000) software, is penetrated by Intranet, Intranet is switched into public network, and (domain name can be bought binding domain name in other large-scale websites, false Fixed domain name herein is www.AAAA.com);Routed path setting passes through the http.createServer function in http service Setting access address (such as plctest, then the address of client access HTML paying website is exactly www.AAAA.com/ plctest);
The HTML paying website of Intranet includes that the payments such as product type and product quantity select information, as an example, The HTML paying website web page of Intranet includes a product type combobox, a product quantity input field and a payment The information of button, selection information " chanpinleixing " field description of product type combobox, product quantity is used " chanpinshuliang " field description completes payment by clicking payment button, after the completion of payment, passes through socket.io Function, by product type and product quantity information, by " chanpinleixing " field and " chanpinshuliang " field Description information is sent to server;
S2. the general character string information including product process data is decomposed into ASCII character character string, according to corresponding logical Believe the ASCII character character string after agreement recombinates the ASCII character character string of decomposition;
General character string information including product process data is decomposed by ASCII character using JavaScript scripting language Character string, according to the specific format of the serial communication protocols such as RS232/RS485 and programmable controller about access operation code, behaviour It counts the specific requirement in serial communication protocol, the ASCII after being recombinated to the ASCII character character string of decomposition Code character string;
Specifically, it is distributed according to the address product process data PLC, for example, the product quantity of product type 1 issues PLC's The product quantity of D0, product type 2 issue the D1 of PLC;Using serial port protocol specification as example, serial port protocol specification is STX+CMD+ Element addresses+BYTE number of words+data content+ETX+ check code, ASCII character conversion operation: STX 02, serial communication starting mark Will;CMD is 31, data write-in;Element addresses are configured that (initial address in the area D, Mitsubishi is 1000, therefore according to PLC type number The address of D0 is 1000+0*2=1000, its 4 numbers is changed to corresponding ASCII character, as 31 30 30 30);BYTE Number of words depend on product type quantity (such as there are two types of product, need the D0 toward PLC, be respectively written into production quantity in D1, that 30 34) BYTE number of words is 2*2=4, and ASCII character is;Data content is product quantity (such as the product 1 of corresponding processing 30 36 30 33) quantity is 03, and the product quantity of product 2 is 06, then data are 0603, corresponding ASCII character is data The length of content depends on product type;ETX is end mark 03;Check code is that above-mentioned all data are added by 16 systems, is taken Two afterwards;
S3. the trapezoid figure program that the ASCII character character string after recombination is converted into PLC small-sized on-line machining is sent to produce The PLC of line, the PLC of small-sized on-line machining production line complete the processing of corresponding order according to the trapezoid figure program of PLC.
The trapezoid figure program that ASCII character character string after recombination is converted into PLC is sent to PLC, i.e., to recombination after ASCII character character string defines baud rate, data bit, check code, stop position and the communication port content of communication, it is ensured that PC service The setting of device corresponding ports is consistent with the setting of plc communication port, converts the ASCII character character string after recombination to the ladder of PLC Shape figure program is sent to PLC, i.e., turns the information such as the product type, the product quantity that contain in the ASCII character character string after recombination The trapezoid figure program that chemical conversion PLC is easy to store with execute can be connected by serial ports and be passed to PLC (programmable controller), used Event driven mode, the single thread non-blocking asynchronous event binding with client on-line payment, settable PC server and PLC Serial communication format, PC server generate ASCII character be sent to PLC and PLC made to execute operation, therefore, PC server need Setting format that corresponding PLC can receive for signal transformat, (such as Mitsubishi PLC is set in serialport module Set baudRate:9600, autoOpen:false, parity: " even ", dataBits:7, stopBits:1, i.e. baud rate are 9600, even parity check, data bit 7, stop position be 1 etc.), it can be achieved that on-line machining information effective transmitting, rely on serial ports transmitting Signal is controlled, avoids that the Hardware Is such as DTU/RTU/O response speed is slow, control number of signals is limited, the high defect of equipment cost, and Work order information loss is not will cause.Controlling automatic assembly line and completing order part is analysis and place of the PLC according to message information Reason carries out the automatic complete of online order processing tasks as a result, the ladder diagram logical program for judging the corresponding storage of PLC and executing At not will cause the maloperation that no order is also processed automatically because there is correct programmed logic to judge.
A kind of small-sized on-line machining production line control system, the system include the HTML paying website of sequentially connected Intranet Server, message processing module and Order Processing module, wherein small-sized on-line machining production line connects Order Processing by PLC Module,
The HTML paying website server of Intranet accesses for realizing client and carries out online product selection and payment, visitor Family end the conversion between public network and Intranet is realized by the routing setting and related software of public network and chained address;Point The call back function of the HTML paying website of Intranet is analysed to judge the validity of payment information, effective payment information is filtered out and is wrapped The general character string information for including product process data is sent to message processing module;
Specifically, it is communicated and the non-resistance of single thread between client and the server of the HTML paying website of Intranet using question and answer Asynchronous communication model is filled in, may be implemented also can accurately and effectively obtain even if in the case where internet communication is busy, channel is crowded Obtain Order Processing information;After client accesses HTML paying website and completes payment, server foreground passes through Socket.io module Background server is sent information to, label of " shujutijiao " field as question and answer is set in Socket.io module, In HTML payment system by socket.once function send " shujutijiao " label include content (i.e. product type and Product quantity information);Monitored by executing socket.on function on backstage " shujutijiao " label information, it can obtain in real time Product type and product quantity information to be processed;
Client accesses HTML paying website by chained address, and the routing setting of the chained address includes domain name and routing Path setting, the setting of domain name i.e. setting server locally accessed address (such as 127.0.0.1) and port (such as 3000) software, is penetrated by Intranet, Intranet is switched into public network, and (domain name can be bought binding domain name in other large-scale websites, false Fixed domain name herein is www.AAAA.com);Routed path setting passes through the http.createServer function in http service Setting access address (such as plctest, then the address of client access HTML paying website is exactly www.AAAA.com/ plctest);
The HTML paying website of Intranet includes that the payments such as product type and product quantity select information, as an example, The HTML paying website web page of Intranet includes a product type combobox, a product quantity input field and a payment The information of button, selection information " chanpinleixing " field description of product type combobox, product quantity is used " chanpinshuliang " field description completes payment by clicking payment button, after the completion of payment, passes through socket.io Function, by product type and product quantity information, by " chanpinleixing " field and " chanpinshuliang " field Description information is sent to server;
Message processing module is used to the general character string information including product process data being decomposed into ASCII character character String, the ASCII character character string hair after being recombinated according to ASCII character character string of the corresponding communication protocol to decomposition Give Order Processing module;
Message processing module uses JavaScript scripting language by the general character string information including product process data Be decomposed into ASCII character character string, according to the specific format of the serial communication protocols such as RS232/RS485 and programmable controller about The specific requirement of access operation code, operand in serial communication protocol is recombinated to obtain to the ASCII character character string of decomposition ASCII character character string after recombination;
Specifically, message processing module is distributed according to the address product process data PLC, for example, the product number of product type 1 Amount issues the D0 of PLC, and the product quantity of product type 2 issues the D1 of PLC;Using serial port protocol specification as example, serial port protocol rule Model is STX+CMD+ element addresses+BYTE number of words+data content+ETX+ check code, ASCII character conversion operation: STX 02, string Port communications beginning flag;CMD is 31, data write-in;Element addresses are configured the (initial address in the area D, Mitsubishi according to PLC type number It is 1000, therefore the address of D0 is 1000+0*2=1000, its 4 numbers are changed to corresponding ASCII character, as 31 30 30 30);The quantity that BYTE number of words depends on product type (such as there are two types of product, needs the D0 toward PLC, is respectively written into D1 30 34) production quantity, then BYTE number of words is 2*2=4, ASCII character is;Data content is the product quantity of corresponding processing (such as the quantity of product 1 is 03, the product quantity of product 2 is 06, then data are 0603, corresponding ASCII character is 30 36 30 33), and the length of data content depends on product type;ETX is end mark 03;Check code is that above-mentioned all data press 16 System is added, two after taking;
The trapezoid figure program that Order Processing module is used to convert the ASCII character character string after recombination to PLC is sent to PLC, the PLC of small-sized on-line machining production line complete the processing of corresponding order according to the trapezoid figure program of PLC.
The trapezoid figure program that ASCII character character string after recombination is converted into PLC is sent to PLC by Order Processing module, i.e., Baud rate, data bit, check code, stop position and the communication port content of communication are defined to the ASCII character character string after recombination, Ensure that the setting of PC server corresponding ports is consistent with the setting of plc communication port, the ASCII character character string after recombination is converted It is sent to PLC for the trapezoid figure program of PLC, i.e., by the product type contained in the ASCII character character string after recombination, product quantity Etc. information be converted to PLC be easy to store with execute trapezoid figure program, can by serial ports connect pass to PLC (PLC technology Device), using event driven mode, single thread non-blocking asynchronous event binding with client on-line payment, settable PC clothes The serial communication format of business device and PLC, the ASCII character that PC server generates are sent to PLC and PLC are made to execute operation, therefore, PC Server needs to set signal transformat to format that corresponding PLC can receive (such as Mitsubishi PLC, in serialport BaudRate:9600, autoOpen:false, parity are set in module: " even ", dataBits:7, stopBits:1, i.e., Baud rate is 9600, even parity check, data bit 7, stop position be 1 etc.), it can be achieved that on-line machining information effective transmitting, rely on Serial ports transmitting control signal, avoids that the Hardware Is such as DTU/RTU/O response speed is slow, control number of signals is limited, and equipment cost is high Defect, and not will cause work order information loss.It is point of the PLC according to message information that control automatic assembly line, which completes order part, Analysis and processing result judges the corresponding storage of PLC and the ladder diagram logical program that executes, carry out online order processing tasks certainly It is dynamic to complete, because there is correct programmed logic to judge, it not will cause the maloperation that no order is also processed automatically.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include Within protection scope of the present invention.

Claims (10)

1. a kind of small-sized on-line machining produces line control method, which is characterized in that specific steps are as follows:
S1. client carries out online product choosing by the HTML paying website server that public network and chained address access Intranet It selects and pays, the conversion between public network and Intranet is realized by the routing setting of chained address and related software;In analysis For the call back function of the HTML paying website of net to judge the validity of payment information, filtering out effective payment information and obtaining includes producing The general character string information of product process data;
S2. the general character string information including product process data is decomposed into ASCII character character string, according to corresponding communication protocols Discuss the ASCII character character string after being recombinated to the ASCII character character string of decomposition;
S3. the trapezoid figure program that the ASCII character character string after recombination is converted into PLC is sent to small-sized on-line machining production line PLC, the PLC of small-sized on-line machining production line complete the processing of corresponding order according to the trapezoid figure program of PLC.
2. a kind of small-sized on-line machining according to claim 1 produces line control method, which is characterized in that client with it is interior Using question and answer communication and single thread non-blocking asynchronous communication pattern between the server of the HTML paying website of net.
3. a kind of small-sized on-line machining according to claim 1 or 2 produces line control method, which is characterized in that the chain The routing setting for being grounded location includes that domain name and routed path are arranged, the HTML paying website service for being set as setting Intranet of domain name Device penetrates software by Intranet and binding domain name realizes that outer net may have access to Intranet in locally accessed address and port;Routing Path is set as corresponding function access address in setting http service.
4. a kind of small-sized on-line machining according to any one of claim 1-3 produces line control method, which is characterized in that Step S2 specifically: be decomposed into the general character string information including product process data using JavaScript scripting language ASCII character character string is recombinated according to ASCII character character string of the specific requirement of serial communication protocol to decomposition ASCII character character string afterwards.
5. a kind of small-sized on-line machining production line control method described in -4 according to claim 1, which is characterized in that described heavy ASCII character character string after group is converted into the detailed process of the trapezoid figure program of PLC are as follows: to the ASCII character character string after recombination Baud rate, data bit, check code, stop position and the communication port content of definition communication are reconverted into the trapezoid figure program of PLC.
6. a kind of small-sized on-line machining production line control system, which includes the HTML paying website clothes of sequentially connected Intranet Be engaged in device, message processing module and Order Processing module, small-sized on-line machining production line by PLC connection Order Processing module, It is characterized in that,
The HTML paying website server of the Intranet accesses for realizing client and carries out online product selection and payment, visitor Family end the conversion between public network and Intranet is realized by the routing setting and related software of public network and chained address;Point The call back function of the HTML paying website of Intranet is analysed to judge the validity of payment information, effective payment information is filtered out and is wrapped The general character string information for including product process data is sent to message processing module;
The message processing module is used to the general character string information including product process data being decomposed into ASCII character character String, the ASCII character character string hair after being recombinated according to ASCII character character string of the corresponding communication protocol to decomposition Give Order Processing module;
The Order Processing module is used to for the trapezoid figure program that the ASCII character character string after recombination is converted into PLC being sent to small The PLC of the PLC of type on-line machining production line, small-sized on-line machining production line complete corresponding order according to the trapezoid figure program of PLC Processing.
7. a kind of small-sized on-line machining production line control system according to claim 6, which is characterized in that client with it is interior Using question and answer communication and single thread non-blocking asynchronous communication pattern between the server of the HTML paying website of net.
8. a kind of small-sized on-line machining production line control system according to claim 6 or 7, which is characterized in that the chain The routing setting for being grounded location includes that domain name and routed path are arranged, the HTML paying website service for being set as setting Intranet of domain name Device penetrates software by Intranet and binding domain name realizes that outer net may have access to Intranet in locally accessed address and port;Routing Path is set as corresponding function access address in setting http service.
9. a kind of small-sized on-line machining production line control system a method according to any one of claims 6-8, which is characterized in that The message processing module is decomposed the general character string information including product process data using JavaScript scripting language For ASCII character character string, recombinated to obtain weight according to ASCII character character string of the specific requirement of serial communication protocol to decomposition ASCII character character string after group.
10. a kind of small-sized on-line machining production line control system, feature according to any one of claim 6-9 exist In the ASCII character character string after the recombination is converted into the detailed process of the trapezoid figure program of PLC are as follows: to the ASCII after recombination Baud rate, data bit, check code, stop position and the communication port content that code character string defines communication are reconverted into the ladder of PLC Shape figure program.
CN201910492565.9A 2019-06-06 2019-06-06 A kind of small-sized on-line machining production line control method and system Pending CN110209108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910492565.9A CN110209108A (en) 2019-06-06 2019-06-06 A kind of small-sized on-line machining production line control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910492565.9A CN110209108A (en) 2019-06-06 2019-06-06 A kind of small-sized on-line machining production line control method and system

Publications (1)

Publication Number Publication Date
CN110209108A true CN110209108A (en) 2019-09-06

Family

ID=67791303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910492565.9A Pending CN110209108A (en) 2019-06-06 2019-06-06 A kind of small-sized on-line machining production line control method and system

Country Status (1)

Country Link
CN (1) CN110209108A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120129745A (en) * 2011-05-18 2012-11-28 (주)엠코피아 ASP service system and method for hybrid-controlling remotely PLC device and non-PLC device using data abstraction
CN105933449A (en) * 2016-06-29 2016-09-07 厦门大学 Intelligent laser engraving system based on industry 4.0
CN106529871A (en) * 2016-10-28 2017-03-22 上海福赛特机器人有限公司 Intelligent manufacturing method and system
CN106774211A (en) * 2016-12-28 2017-05-31 陕西维视数字图像技术有限公司 A kind of 4.0 experience systems of linear pattern industry
CN107463195A (en) * 2017-08-02 2017-12-12 南阳师范学院 Plant's environment remote monitoring system based on self-defined web page
CN108255127A (en) * 2018-01-09 2018-07-06 正知(上海)智能技术有限公司 A kind of industry spot remote control administrative system and method based on industrial human-computer interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120129745A (en) * 2011-05-18 2012-11-28 (주)엠코피아 ASP service system and method for hybrid-controlling remotely PLC device and non-PLC device using data abstraction
CN105933449A (en) * 2016-06-29 2016-09-07 厦门大学 Intelligent laser engraving system based on industry 4.0
CN106529871A (en) * 2016-10-28 2017-03-22 上海福赛特机器人有限公司 Intelligent manufacturing method and system
CN106774211A (en) * 2016-12-28 2017-05-31 陕西维视数字图像技术有限公司 A kind of 4.0 experience systems of linear pattern industry
CN107463195A (en) * 2017-08-02 2017-12-12 南阳师范学院 Plant's environment remote monitoring system based on self-defined web page
CN108255127A (en) * 2018-01-09 2018-07-06 正知(上海)智能技术有限公司 A kind of industry spot remote control administrative system and method based on industrial human-computer interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黑马程序员: "《Node.js核心技术教程》", 30 April 2017, 中国铁道出版社 *

Similar Documents

Publication Publication Date Title
CN108847979B (en) Self-adaptive configuration system and method based on SCADA
CN108255127B (en) Industrial field remote monitoring management system and method based on industrial human-computer interface
EP2181369B1 (en) Control node and control
CN107193271A (en) Preposition service adapter and trouble-shooter for industrial information physical system
CN106027671A (en) Cloud computing based industrial data bus and data service system
CN109933010A (en) A kind of industrial CPS system and implementation method towards personalized customization
CN107395773A (en) A kind of Internet of Things management method and Internet of Things management platform
WO2005059667A1 (en) Industrial control system and data processing method therefore
JP2006517320A (en) Interface module for use with MODBUS device network and Fieldbus device network
CN104135533A (en) System and method of transmitting industrial data
CN107037782B (en) The method and apparatus for monitoring lathe
CN112055047B (en) Data communication method based on publishing and subscribing for intelligent coal-fired power plant
CN103984323A (en) Integrated configurable industrial information monitoring, analyzing and controlling system
CN104820395A (en) Wireless remote water quality multiparameter measurement and control system based on king view and PLC, and method thereof
CN104852960A (en) Intelligent Internet of things cloud terminal system
CN106982222A (en) The multi-protocol data cut-in method and device that can configure under a kind of industrial 4.0 environment
CN110417760B (en) Interoperation method of edge layer in industrial Internet and middleware
CN109934426A (en) A kind of the producing line process fast construction method and system in knowledge based library
CN109765867A (en) Production control and Auto-body manufacturing system
CN109814482A (en) The controller and its control method and industrial robot of robot
CN106292518A (en) Remote PLC monitoring and debugging system and method
CN111319035B (en) Robot control system construction method for realizing modular communication
CN110209108A (en) A kind of small-sized on-line machining production line control method and system
CN106713411A (en) Communication apparatus and method based on Ethernet virtual serial port technology and LTE wireless network
CN109884971A (en) Long-range control method, apparatus and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190906