CN103176449A - Parallel communication device and method among numerical control systems - Google Patents
Parallel communication device and method among numerical control systems Download PDFInfo
- Publication number
- CN103176449A CN103176449A CN2013100408266A CN201310040826A CN103176449A CN 103176449 A CN103176449 A CN 103176449A CN 2013100408266 A CN2013100408266 A CN 2013100408266A CN 201310040826 A CN201310040826 A CN 201310040826A CN 103176449 A CN103176449 A CN 103176449A
- Authority
- CN
- China
- Prior art keywords
- control system
- data
- numerical control
- control systems
- digital control
- 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
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a parallel communication device among numerical control systems. The parallel communication device is used for parallel communication among the numerical control systems by adopting part of I/O (input/output) points of I/O (input/output) ports of PLCs (programmable logical controllers) of the numerical control systems. Hardware connection is achieved by a step of connecting the numerical control systems through the I/O ports of the PLCs into a loop, and one of the numerical control systems is determined as a host. The invention further discloses a parallel communication method among the numerical control systems. The number of the numerical control systems is not limited, state of other numerical control system can be displayed on each numerical control system, and operating of other numerical control systems can be controlled on any one of the numerical control systems. Connection is simple, the number of the connected numerical control systems is not limited, states of other numerical control systems can be displayed on each numerical control system, and servo starting, circulating starting, processing suspending, feed keeping, sudden stop and the like of other numerical control systems can be controlled on any one of the numerical control systems.
Description
Technical field
The present invention relates to numerically-controlled machine, relate in particular to parallel communication device and the means of communication between many number of units control system.
Background technology
Digital control system is the control core of numerically-controlled machine, have the functions such as profile calculating, interpolation, wherein the PLC that carries of digital control system is the communication bridge of digital control system and lathe side, and digital control system is controlled the action (movement, the tool changing of knife rest tool magazine, the program implementation as axle stops, the monitoring of malfunction etc.) of numerically-controlled machine by the PLC function that carries.on the large-scale multistation modular machine tool that many number of units control system forms, for axle and mechanical part that each digital control system is controlled can be worked in coordination, simultaneously in order to control the startup of all digital control systems on a position, stop waiting action, every number of units controlled machine is communication mutually all, although digital control system has Ethernet now, the communication interfaces such as bus, but because the function of digital control system is mainly in order to satisfy the demand of separate unit numerically-controlled machine, so the function of digital control system is restricted in the communication of many number of units control system, system can not be controlled by other equipment by the communication port (as Ethernet) that has as numerical control, the number of devices that the communication port that digital control system has (as bus) can connect is restricted etc.
Summary of the invention
Goal of the invention: in order to overcome the deficiencies in the prior art, the invention provides parallel communication device and the means of communication of a kind of many number of units control system, there is no to connect the component parts for assembly of a machine restriction of digital control system, and the situation that can show other digital control systems in every number of units control system, servo startup, loop start, processing time-out, the feeding that can control other digital control systems on arbitrary digital control system keeps, anxious stopping etc.
Technical scheme: for achieving the above object, the technical solution used in the present invention is: the parallel communication device between a kind of many number of units control system, digital control system is carried the part I/O point of PLC I/O mouth for the parallel communication between each digital control system, hardware connects as follows and connects:
(1) many number of units control system interconnects by the PLC I/O mouth that carries and circularizes;
(2) determine that wherein one is main frame.
Hardware connects as shown in Figure 1, the PLC input port of First digital control system is connected one to one with the PLC delivery outlet of last number of units control system, the PLC input port of the PLC delivery outlet of First digital control system and the second number of units control system is connected one to one, the PLC input port of the PLC delivery outlet of the second number of units control system and the 3rd number of units control system is connected one to one, forms by that analogy annular and connects.
General assert that the First digital control system is main frame, the effect of main frame is exactly to control which number of units control system can send the data that comprise current state.
Parallel communication method between a kind of many number of units control system,
(1) at first stipulate the data layout that transmits between many number of units control system:
10) be once long numeric data by the parallel transfer of I/O mouth; According to the figure place of reception and transmission data, the connection of PLCI/O mouth just must have the I/O point of respective numbers mutually, as has stipulated that the data that receive and send are 16 bit data, and it is respectively 16 points that the connection I/O of mutual PLC I/O mouth counts.
11) long numeric data with step 10) is divided into function digit, address bit and data bit, the above-mentioned functions position, address bit and data bit are as shown in Figure 2, wherein function digit refers to represent the data bit of current data purposes, as read in request function 0001, read in and complete function 0101, sending controling instruction function 1000 etc., address bit refers to represent that current data is relevant with which number of units control system, general First digital control system address bit is numbered 0001, the second number of units control system address bit number is 0010, the 3rd number of units control system address bit number is 0011, by that analogy, the particular content of data bit representative data, as normal operation 00000001, halted state 00000010, loop start request 10000001, feeding keeps request 10000010, urgent-stop alarm 01001111 etc.
(2) then in PLC,
21) priority of the function determined of defined function position at first; It is in order to prevent that conflict from appearring in each function on loop transfer that defined function must have priority, the data of low priority must be dodged the data of high priority, the data of low priority can abandon or store when high-priority data produces, and wait high-priority data to confirm to complete the lower-priority data that is resend or sent by the digital control system that high-priority data produces last storage after transmission by main frame.
22) data that receive on loop and send are connect reception and the transmission of one by one of digital control system, must confirm that in the control that receives and send the data of current transmission have passed through all digital control systems; Because difference is arranged the sweep time of every number of units control PLC of system, in order to guarantee that data can be received by all digital control systems, also in order to prevent that the digital control system more than two from sending data simultaneously, the digital control system that sends data must confirm that data have arrived all digital control systems, then be sent completely data, allow other digital control systems to send data.
23) every number of units control system all sends the data that comprise current state, by host computer control wherein arbitrary number of units control system all can send data.
Beneficial effect: the parallel communication method between many number of units control provided by the invention system, connect simple, there is no to connect the component parts for assembly of a machine restriction of digital control system, and the situation that can show other digital control systems in every number of units control system, there is warning in system as which number of units control, be what is reported to the police, whether completion of processing is waited for reloads etc., and servo startup, loop start, processing time-out, the feeding that can control other digital control systems on arbitrary digital control system keeps, anxious stopping etc.
Description of drawings
Figure 1 shows that hardware connection diagram provided by the invention;
Figure 2 shows that the format chart of data in the present invention;
Fig. 3 is that the address is 0001 digital control system (main frame) concrete flow chart of data processing in PLC;
Fig. 4 is other digital control systems except main frame concrete flow chart of data processing in PLC.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further illustrated, simple in order to describe, set 7 number of units control systems in example, between each digital control system by 16 input points with are connected an output point and connect;
1, the function that realizes: can show the situation of other digital control systems in every number of units control system, can control other digital control systems on arbitrary digital control system.
2, the concrete data content of regulation: data length is 16, and wherein function digit is 4,4 of address bits, and 8 of data bit,
Function digit: read in function 0011 in request function 0001, state transmission, read in and complete function 0101, sending controling instruction function 1000;
Address bit: from 0001 to 0111,1000 represents all digital control systems, and wherein 0001 is main frame;
Data bit: simple and clear in order to describe, do not do in this example concrete regulation, indicate with XXXXXXXX.
3, the flow chart of data processing in PLC:
3.1, the start after, each digital control system namely enters the circulation of status data successively, each digital control system comprises main frame, if receive the data with the machine mail returned on ground of incorrect address, according to function digit, 0011 state that shows the digital control system of address bit representative is carried out the instruction that other digital control systems send for 1000, other functions do not process, and then the data that receive are directly sent;
3.2, the start after, first status data 0,011 0001 XXXXXXXX of main frame, other digital control systems receive, show Host Status and directly send the data received to next number of units control system, after a circulation was completed, status data 0,011 0001 XXXXXXXX that main frame receives previous transmission confirmed that namely data are received by all digital control systems, main frame sends 0,001 0,010 00000000, lower the second number of units control system send state data of request;
3.3, other digital control systems except main frame receive status data and send request 0001 XXXX 00000000, conform to as address bit, status data 0011 XXXX XXXXXXXX, after a circulation is completed, the today's numerical control system receives the status data 0011 XXXX XXXXXXXX of previous transmission, confirm that namely data are received by all digital control systems, today's numerical control system status data is sent completely data 0101 XXXX XXXXXXXX;
3.4, after main frame receives and is sent completely data, the address is added 1, send 0001 XXXX 00000000, ask next number of units control system send state data, as the data that receive be last complete data 0,101 0111 XXXXXXXX, direct status data 0,011 0001 XXXXXXXX of main frame, begin circulation next time;
3.5, when arbitrary number of units control system need to send the instruction of controlling other all digital control systems, first store the lower-priority data 0XXX XXXX XXXXXXXX of current reception, then sending controling instruction 1,000 1000 XXXXXXXX, other digital control systems receive the compulsory exercise in executing datas, and data that receive are mail to next number of units control system; Receive data 1,000 1000 XXXXXXXX of previous transmission when the digital control system of sending controling instruction, confirm that data are received by all digital control systems, then continue to send previously stored lower-priority data 0XXX XXXX XXXXXXXX, continue the cyclic transfer of status data.
The above is only the preferred embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (2)
1. the parallel communication device between number of units control more than kind system is characterized in that: the part I/O point that digital control system is carried PLC I/O mouth is used for the parallel communication between each digital control system, and hardware connects as follows and connects:
(1) many number of units control system interconnects by the PLC I/O mouth that carries and circularizes;
(2) determine that wherein one is main frame.
2. the parallel communication method between number of units control more than kind system is characterized in that:
(1) at first stipulate the data layout that transmits between many number of units control system: be once 10) long numeric data by the parallel transfer of I/O mouth; 11) long numeric data with step 10) is divided into function digit, address bit and data bit;
(2) then in PLC, the 21) priority of the function determined of defined function position at first; 22) data that receive on loop and send are connect reception and the transmission of one by one of digital control system, must confirm that in the control that receives and send the data of current transmission have passed through all digital control systems; 23) every number of units control system all sends the data that comprise current state, by host computer control wherein arbitrary number of units control system all can send data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310040826.6A CN103176449B (en) | 2013-02-01 | 2013-02-01 | Parallel communication device and method among numerical control systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310040826.6A CN103176449B (en) | 2013-02-01 | 2013-02-01 | Parallel communication device and method among numerical control systems |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103176449A true CN103176449A (en) | 2013-06-26 |
CN103176449B CN103176449B (en) | 2015-07-01 |
Family
ID=48636402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310040826.6A Active CN103176449B (en) | 2013-02-01 | 2013-02-01 | Parallel communication device and method among numerical control systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103176449B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013316A (en) * | 2007-01-15 | 2007-08-08 | 大连光洋科技工程有限公司 | Bus-type numerical control system and control method thereof |
CN102339037A (en) * | 2011-07-08 | 2012-02-01 | 深圳华中数控有限公司 | Multi-axis numerical control system |
CN202145273U (en) * | 2011-07-08 | 2012-02-15 | 深圳华中数控有限公司 | Multi-axis numerical control system |
CN102710484A (en) * | 2012-05-26 | 2012-10-03 | 济南凌康数控技术有限公司 | Ring redundant real-time Ethernet communication method |
-
2013
- 2013-02-01 CN CN201310040826.6A patent/CN103176449B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013316A (en) * | 2007-01-15 | 2007-08-08 | 大连光洋科技工程有限公司 | Bus-type numerical control system and control method thereof |
CN102339037A (en) * | 2011-07-08 | 2012-02-01 | 深圳华中数控有限公司 | Multi-axis numerical control system |
CN202145273U (en) * | 2011-07-08 | 2012-02-15 | 深圳华中数控有限公司 | Multi-axis numerical control system |
CN102710484A (en) * | 2012-05-26 | 2012-10-03 | 济南凌康数控技术有限公司 | Ring redundant real-time Ethernet communication method |
Also Published As
Publication number | Publication date |
---|---|
CN103176449B (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108040005B (en) | Digit control machine tool intelligent monitoring gateway based on thing networking | |
CN100496048C (en) | Multi-host communication system | |
EP3119041B1 (en) | Design assistance device, design assistance method, and program | |
CN103095537A (en) | Numerical control device capable of concurrently controlling two-class industrial Ethernet bus slave station equipment | |
CN100504688C (en) | Private chip for implementing bus controller function in ring bus numerical control system | |
CN110622489A (en) | Conversion device and control system | |
CN102811152B (en) | Method for realizing real-time transaction and data exchange of multiple main bus network communication | |
CA2913888A1 (en) | Systems and methods for memory map utilization | |
JP5570556B2 (en) | Numerical control device that communicates with IO unit | |
EP2551735B1 (en) | Fieldbus adapter and method of using fieldbus adapter | |
US20140188253A1 (en) | Method and system for reprogramming | |
CN105162671B (en) | The welding stage control system and its control method of any main frame | |
CN103106113A (en) | Interrupt event processing method and processing equipment | |
JP5525065B2 (en) | Safety extension base and control method thereof | |
CN107066413B (en) | Method for processing data of multiple bus devices and bus system thereof | |
RU2020100226A (en) | COMMUNICATION AND MANAGEMENT IN WELL CONSTRUCTION | |
US10659536B2 (en) | Method of controlling inverters | |
CN104750028B (en) | The safe communication system with multiple CPU I/O cells to be communicated is used | |
CN103176449B (en) | Parallel communication device and method among numerical control systems | |
EP2827205A2 (en) | Remote terminal device and method of operating the same | |
CN107127811A (en) | Flexible material cutting robot intelligent digital controller and implementation method | |
CN205219137U (en) | Multi -axis motion control of bus type robot ware | |
KR101593835B1 (en) | PLC system | |
CN104635633A (en) | Multi bus industrial robot control system with WiFi wireless communication function | |
CN212324117U (en) | RS485 bus multi-host competition switching system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |