CN103176449B - Parallel communication device and method among numerical control systems - Google Patents

Parallel communication device and method among numerical control systems Download PDF

Info

Publication number
CN103176449B
CN103176449B CN201310040826.6A CN201310040826A CN103176449B CN 103176449 B CN103176449 B CN 103176449B CN 201310040826 A CN201310040826 A CN 201310040826A CN 103176449 B CN103176449 B CN 103176449B
Authority
CN
China
Prior art keywords
digital control
data
control system
numerical control
control systems
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
CN201310040826.6A
Other languages
Chinese (zh)
Other versions
CN103176449A (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.)
Nanjing CNC Machine Tool Co Ltd
Original Assignee
Nanjing CNC Machine Tool 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 Nanjing CNC Machine Tool Co Ltd filed Critical Nanjing CNC Machine Tool Co Ltd
Priority to CN201310040826.6A priority Critical patent/CN103176449B/en
Publication of CN103176449A publication Critical patent/CN103176449A/en
Application granted granted Critical
Publication of CN103176449B publication Critical patent/CN103176449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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

Parallel communication device between a kind of multiple stage digital control system and the means of communication
Technical field
The present invention relates to numerically-controlled machine, particularly relate to the parallel communication device between multiple stage digital control system and the means of communication.
Background technology
Digital control system is the control core of numerically-controlled machine, there is the functions such as profile calculating, interpolation, the PLC that wherein digital control system carries is the communication bridge of digital control system and lathe side, the action (as the movement of axle, the tool changing, the execution stopping of program, the monitoring of malfunction etc. of knife rest tool magazine) of PLC function domination number controlled machine of digital control system by carrying.On the large-scale multistation modular machine tool of multiple stage digital control system composition, the axle controlled to make each digital control system and mechanical part can be worked in coordination, simultaneously in order to the startup of all digital control systems can be controlled on a position, the actions such as stopping, the all necessary communication mutually of every number of units controlled machine, 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 meet the demand of separate unit numerically-controlled machine, so the function of digital control system is restricted in the communication of multiple stage digital control system, as digital control system can not be controlled by other equipment by the communication port (as Ethernet) had, the number of devices that the communication port (as bus) that digital control system has 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 a kind of parallel communication device and the means of communication of multiple stage digital control system, do not have can linking number Ore-controlling Role component parts for assembly of a machine restriction, and every number of units Ore-controlling Role can show the situation of other digital control systems, the servo startup of other digital control systems, loop start, processing time-out, feeding maintenance can be controlled in arbitrary digital control system, suddenly stop 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 multiple stage digital control system, part I/O point digital control system being carried PLC I/O mouth is used for the parallel communication between each digital control system, and signal wiring connects as follows:
(1) multiple stage digital control system is interconnected by the PLC I/O mouth carried and circularizes;
(2) determine wherein one for main frame.
Signal wiring 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 Ore-controlling Role, the PLC delivery outlet of First digital control system is connected one to one with the PLC input port of the second number of units Ore-controlling Role, the PLC delivery outlet of the second number of units Ore-controlling Role is connected one to one with the PLC input port of the 3rd number of units Ore-controlling Role, forms annular by that analogy and connects.
General identification First digital control system is main frame, and the effect of main frame is exactly control which number of units Ore-controlling Role can send the data comprising current state.
A parallel communication method between multiple stage digital control system,
(1) data layout first transmitted between regulation multiple stage digital control system:
10) once by the parallel transfer of I/O mouth is long numeric data; According to the figure place receiving and send data, the connection of mutual PLCI/O mouth just must have the I/O point of respective numbers, and are 16 bit data as defined the data received and send, it is respectively 16 points that the connection I/O of mutual PLC I/O mouth counts.
11) long numeric data of step 10) is divided into function digit, address bit and data bit, above-mentioned functions position, address bit and data bit are as shown in Figure 2, wherein function digit refers to the data bit representing current data purposes, as read in request function 0001, read in function 0101, sending controling instruction function 1000 etc., address bit refers to that to represent current data relevant with which number of units Ore-controlling Role, general First digital control system address bit is numbered 0001, second number of units Ore-controlling Role address bit is numbered 0010, 3rd number of units Ore-controlling Role address bit is numbered 0011, by that analogy, the particular content of data bit representative data, as normally run 00000001, halted state 00000010, loop start request 10000001, feeding keeps request 10000010, urgent-stop alarm 01001111 etc.
(2) then in PLC,
21) the first priority of function determined of defined function position; Defined function must have priority to be to prevent each function from occurring conflict in loop transfer, the data of low priority must dodge the data of high priority, the data of low priority can abandon or store when high-priority data produces, and the digital control system being resend by main frame after waiting high-priority data to confirm transmission again or produced by high-priority data sends the last lower-priority data stored.
22) on loop, the data of reception and transmission are connect reception and the transmission of by digital control system one, and the control received and send must confirm that the data of current transmission have passed through all digital control systems; Because there is difference the sweep time of every number of units Ore-controlling Role PLC, in order to ensure that data can be received by all digital control systems, also in order to prevent the digital control system of more than two from sending data simultaneously, the digital control system sending 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 Ore-controlling Role all sends the data comprising current state, by host computer control wherein arbitrary number of units Ore-controlling Role all can send data.
Beneficial effect: the parallel communication method between multiple stage digital control system provided by the invention, connect simple, do not have can linking number Ore-controlling Role component parts for assembly of a machine restriction, and every number of units Ore-controlling Role can show the situation of other digital control systems, as which number of units Ore-controlling Role has warning, be what is reported to the police, whether completion of processing is waited for reloads etc., can control the servo startup of other digital control systems, loop start, processing time-out, feeding maintenance, suddenly stops etc. in arbitrary digital control system.
Accompanying drawing explanation
Figure 1 shows that signal wiring schematic diagram provided by the invention;
Figure 2 shows that the format chart of data in the present invention;
Fig. 3 is address is the flow chart of data processing that 0001 digital control system (main frame) is concrete in PLC;
Fig. 4 is the flow chart of data processing that other digital control systems except main frame are concrete 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 Ore-controlling Role in example, be connected with 16 output points by 16 input points between each digital control system;
1, the function realized: the situation that every number of units Ore-controlling Role can show other digital control systems, can control other digital control systems in arbitrary digital control system.
2, concrete data content is specified: data length is 16, wherein function digit 4, address bit 4, data bit 8,
Function digit: read in function 0011 in request function 0001, state transmission, read in function 0101, sending controling instruction function 1000;
Address bit: from 0001 to 0111,1000 represent all digital control systems, and wherein 0001 is main frame;
Data bit: simple and clear in order to describe, does not do concrete regulation in this example, indicates with XXXXXXXX.
3, the flow chart of data processing in PLC:
3.1, after start, namely each digital control system 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, the state of the digital control system of 0011 display address bit representative, 1000 instructions performing other digital control systems and send, other functions then do not process, and then the data of reception are directly sent;
3.2, after start, first status data 0,011 0001 XXXXXXXX of main frame, other digital control systems receive, the data that display Host Status directly sending receives are to next number of units Ore-controlling Role, after a circulation completes, main frame receives status data 0,011 0001 XXXXXXXX previously sent, and namely confirms that data are received by all digital control systems, main frame sends 0,001 0,010 00000000, the lower second number of units Ore-controlling Role status data of request;
3.3, other digital control systems except main frame receive status data and send request 0001 XXXX 00000000, as address bit conforms to, then status data 0011 XXXX XXXXXXXX, after a circulation completes, today's numerical control system acceptance is to the status data 0011 XXXX XXXXXXXX previously sent, namely confirm that data are received by all digital control systems, today's numerical control system then status data is sent completely data 0101 XXXX XXXXXXXX;
3.4, after main frame receives and is sent completely data, address is added 1, send 0001 XXXX 00000000, ask next number of units Ore-controlling Role status data, as receive data be last complete data 0,101 0111 XXXXXXXX, then main frame direct status data 0,011 0001 XXXXXXXX, starts to circulate next time;
3.5, when arbitrary number of units Ore-controlling Role needs to send the instruction 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 performed in data, and the data received are mail to next number of units Ore-controlling Role; When the digital control system of sending controling instruction receives data 1,000 1000 XXXXXXXX previously sent, then 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; it should be pointed out that for those skilled in the art, under the premise without departing from the principles 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 multiple stage digital control system, is characterized in that: part I/O point digital control system being carried PLC I/O mouth is used for the parallel communication between each digital control system, and signal wiring connects as follows:
(1) multiple stage digital control system is interconnected by the PLC I/O mouth carried and circularizes;
(2) determine wherein one for main frame.
2. the parallel communication method between multiple stage digital control system, is characterized in that:
(1) data layout first transmitted between regulation multiple stage digital control system: is long numeric data 10) once by the parallel transfer of I/O mouth; 11) long numeric data of step 10) is divided into function digit, address bit and data bit;
(2) then in PLC, 21) the first priority of function determined of defined function position; 22) on loop, the data of reception and transmission are connect reception and the transmission of by digital control system one, and the control received and send must confirm that the data of current transmission have passed through all digital control systems; 23) every number of units Ore-controlling Role all sends the data comprising current state, by host computer control wherein arbitrary number of units Ore-controlling Role all can send data.
CN201310040826.6A 2013-02-01 2013-02-01 Parallel communication device and method among numerical control systems Active CN103176449B (en)

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 CN103176449A (en) 2013-06-26
CN103176449B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN103176449A (en) 2013-06-26

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
CN102236340B (en) Multi-equipment management method and device
CN100504688C (en) Private chip for implementing bus controller function in ring bus numerical control system
CN102811152B (en) Method for realizing real-time transaction and data exchange of multiple main bus network communication
CN106873541A (en) A kind of EtherCAT Distributed Servo kinetic control systems based on DSP
CN202230355U (en) CAN (Controller Area Network) remote signal acquisition system for numerical control machine
CN104009976A (en) Real-time communication method and equipment used among multiple main station systems
CN105162671B (en) The welding stage control system and its control method of any main frame
CN103106113A (en) Interrupt event processing method and processing equipment
EP2551735B1 (en) Fieldbus adapter and method of using fieldbus adapter
CN107066413B (en) Method for processing data of multiple bus devices and bus system thereof
US10659536B2 (en) Method of controlling inverters
US20090240859A1 (en) Automatic address setting system
CN106874228A (en) Based on I2Communication means between the controller and communication means, multi-controller of C buses
US20180361574A1 (en) Intelligent digital controller of flexible material cutting robot and realization method
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
CN114116558A (en) IO equipment and microcomputer protection device
CN212324117U (en) RS485 bus multi-host competition switching system
KR101527674B1 (en) Backplane, and control system and control method using the same
CN204155117U (en) A kind of big-power transducer control system
CN201237732Y (en) Universal PLC principal controller module
CN104133447A (en) Engineering machine control system and engineering machine

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