CN110442087A - A kind of numerical control machine tool changer control method based on EtherCAT bus - Google Patents

A kind of numerical control machine tool changer control method based on EtherCAT bus Download PDF

Info

Publication number
CN110442087A
CN110442087A CN201910732108.2A CN201910732108A CN110442087A CN 110442087 A CN110442087 A CN 110442087A CN 201910732108 A CN201910732108 A CN 201910732108A CN 110442087 A CN110442087 A CN 110442087A
Authority
CN
China
Prior art keywords
tool
tool changing
instruction
motor
driver
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.)
Withdrawn
Application number
CN201910732108.2A
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.)
Guangdong Run Star Technology Co Ltd
Original Assignee
Guangdong Run Star 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 Guangdong Run Star Technology Co Ltd filed Critical Guangdong Run Star Technology Co Ltd
Priority to CN201910732108.2A priority Critical patent/CN110442087A/en
Publication of CN110442087A publication Critical patent/CN110442087A/en
Withdrawn 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • 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/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50086Microprocessor
    • 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/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50245Change tools, like laser head and drill having different driving needs
    • 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/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50253Selection tool

Abstract

The present invention provides a kind of numerical control machine tool changer control methods based on EtherCAT bus, control system is further comprising the steps of respectively with X-axis servo driver of motor, y-axis motor servo-driver, Z axis servo driver of motor and tool magazine motor driver: 1) user issues tool changing instruction by the PLC program of digital control system;2) instruction knife number is exported after decoding is handled and calls tool changing macroprogram, by tool changing flag set in PLC program, after logical operation, the position data that tool magazine motor to be moved is output to specified register by tool changing instruction;3) when user's tool changing instruction exception then activates abnormal alarm program, show that user sets alarm number and inputs warning message in the system page;When user's tool changing instruction is without exception, tool magazine is rotated to instruction knife position, and numerically-controlled machine tool executes tool changing and takes knife operation, and tool changing process terminates, and returns to main program.This method is easy to use, and wiring is simple, stable.

Description

A kind of numerical control machine tool changer control method based on EtherCAT bus
Technical field
The present invention relates to a kind of numerical control machine tool changer control methods based on EtherCAT bus.
Background technique
The control mode of traditional tool magazine is by the digital quantity input and output between tool magazine motor driver and control system Interaction, writes corresponding control program, to control the work of machine cutter holder.It is defeated that this control method occupies a large amount of system Enter output address, and be attached by cable, Machine Tool Control is comparatively cumbersome, and maintenance is inconvenient, due to occupying The I/O expansion module of the more address IO of system itself, increased costs, one piece of 88 output of input generally requires hundreds of members.
Additionally due to being not easy wiring and arrangement using excessive cable connection, cost of labor is further increased, and work as Wherein single line cable goes wrong, and will lead to control entanglement, and tool magazine and machine tool component are even damaged when serious, causes to produce thing Therefore.
Summary of the invention
It is an object of the invention to overcome above-mentioned the deficiencies in the prior art, a kind of numerical control based on EtherCAT bus is provided Machine cutter holder control method, easy to use, wiring is simple, stable.
The invention is realized in this way a kind of numerical control machine tool changer control method based on EtherCAT bus, including number Control system, the control system drive with X-axis servo driver of motor, y-axis motor servo-driver, Z axis motor servo respectively Device and tool magazine motor driver, further comprising the steps of:
1) user issues tool changing instruction by the PLC program of digital control system;
2) instruction knife number is exported and is called tool changing macroprogram, in PLC program after decoding is handled by tool changing instruction It is middle by tool changing flag set, after logical operation, the position data that tool magazine motor to be moved is output to specified register;
3) when user's tool changing instruction exception then activates abnormal alarm program, in the system page, display user sets alarm number simultaneously Input warning message;When user's tool changing instruction is without exception, tool magazine is rotated to instruction knife position, and numerically-controlled machine tool executes tool changing and takes knife Operation, tool changing process terminate, and return to main program.
A kind of simple and convenient ethercat bus mastering mode is constructed, cancels traditional digital quantity I/O mode and connects Line, increase by one surpass five class high speed cables, tool magazine motor driver is connected into machine tool system bus and opens up net mending network, as wherein from It stands, control command assigns driver by ethercat bus protocol, to drive tool magazine motor.EtherCAT is that one kind is based on The real-time industrial field bus communication agreement of the development frame of Ethernet, with have high-performance, topological structure flexibly, using appearance Easily, the features such as low cost, high precision apparatus synchronization, optional cable redundancy and functional safety agreement, hot plug.Pass through Ethercat bus marco control mode, sets up a command channel between digital control system and tool magazine motor, and tool changing instruction is logical It is sent into specified register after crossing system decoding, PMC takes out from register and exchanges knife number for, after mathematical operation, exports tool magazine Motor mobile position data is to the register of control slave station state, and CNC is as main website period transmission control command control tool magazine electricity Machine is mobile.Stability when improving tool magazine operation.Surpass five class high speed network in Z axis driver and tool magazine driver network interface connection one Driver slave station is described XML file loading system, writes program, debugging routine by line.
Preferably, the digital control system is connect by EtherCAT communications protocol with tool magazine motor driver.
It is communicated preferably, the digital control system surpasses five class high speed cables with the use of tool magazine motor driven implement body.
Preferably, the input voltage of the tool magazine motor driver is single-phase AC200V-240V ± 10%, electric voltage frequency For 50/60Hz.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are: using simple and convenient EtherCAT bus protocol control mode cancels traditional digital quantity I/O mode wiring, increases by one and surpasses five classes high speed Tool magazine motor driver is connected into control system bus and opens up net mending network by cable, and as wherein slave station, control command passes through Tool magazine motor driver under ethercat bus protocol, to drive tool magazine motor;EtherCAT is a kind of based on Ethernet The real-time industrial field bus communication agreement of development frame, with have high-performance, topological structure flexibly, using be easy, it is low at Originally, the characteristics of high precision apparatus synchronization, optional cable redundancy and functional safety agreement, hot plug, therefore the controlling party used Method is easy to use, and wiring is simple, stable.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below Singly introduce, it should be apparent that, drawings in the following description are only some embodiments of the invention, skill common for this field For art personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of the whole of numerical control machine tool changer control method based on EtherCAT bus that the present invention provides embodiment Body connection figure;
Fig. 2 is a kind of knife for numerical control machine tool changer control method based on EtherCAT bus that the present invention provides embodiment Library control flow chart;
Fig. 3 is a kind of control for numerical control machine tool changer control method based on EtherCAT bus that the present invention provides embodiment Schematic diagram processed.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
As shown in Figure 1-3, a kind of numerical control machine tool changer control method based on EtherCAT bus, including digital control system 1, The control system 1 respectively with X-axis servo driver of motor 2, y-axis motor servo-driver 3, Z axis servo driver of motor 4 With tool magazine motor driver 5, wherein 1 Central China of control system, 8 type numerical control milling device HNC818D, X-axis servo driver of motor 2 With 3 model of y-axis motor servo-driver remittance river IS620NT3R5I-HW;4 model of Z axis servo driver of motor remittance river IS620NT5R4I-HW, X-axis servo driver of motor 2, y-axis motor servo-driver 3 and Z axis servo driver of motor 4 input Voltage is that input voltage specification is three-phase AC380V-440V ± 10%, electric voltage frequency 50/60Hz;Wherein X-axis motor and Y axis The model MS1H3-85B15CD-A331Z-ZJ of motor, rated power 0.85KW, Z axis motor model are MS1H3- 13C15CD-A334Z-ZJ (band electromagnetic brake), rated power 1.3KW.
It is further comprising the steps of:
1) user issues tool changing instruction by the PLC program of digital control system;
2) instruction knife number is exported and is called tool changing macroprogram, in PLC program after decoding is handled by tool changing instruction It is middle by tool changing flag set, after logical operation, the position data that tool magazine motor to be moved is output to specified register;
3) when user's tool changing instruction exception then activates abnormal alarm program, in the system page, display user sets alarm number simultaneously Input warning message;When user's tool changing instruction is without exception, tool magazine is rotated to instruction knife position, and numerically-controlled machine tool executes tool changing and takes knife Operation, tool changing process terminate, and return to main program.
The digital control system is connect by EtherCAT communications protocol with tool magazine motor driver.It is logical by ethercat News agreement control mode, sets up a command channel between digital control system and tool magazine motor, and tool changing instruction is decoded by system It is sent into specified register afterwards, digital control system is taken out from register and exchanges knife number for, and after mathematical operation, output tool magazine motor is moved Dynamic position data is to the register of control slave station state, and numerically-controlled machine tool is as main website period transmission control command control tool magazine motor It is mobile.Stability when improving tool magazine operation.Specific embodiment is, in Z axis servo driver of motor 4 and tool magazine motor driver 5 network interface connections one surpass five class high speed cables, and driver slave station is described XML file loading system, write program, debug journey Sequence.The slave station of tool magazine motor driver describes file, and description file uses XML format, and 4KB is that configuration is posted before slave station memory field Storage carries out initialization of register before slave station operation.After configuring slave station XML file, need otherwise be by file import system System cannot scan corresponding equipment.
The digital control system surpasses five class high speed cables with the use of tool magazine motor driven implement body and is communicated, and surpasses five classes high speed Cable refers to surpassing five class unshielded twisted pairs and super Category 5, Shielded twisted pair.Utp cable is by multipair twisted pair It is constituted with a plastic peel.Five classes refer to that International Electrical Industry Association is five kinds of different quality-classes that twisted-pair cable defines Not.
The input voltage of the tool magazine motor driver is single-phase AC200V-240V ± 10%, electric voltage frequency 50/ 60Hz, specifically using model remittance river IS620NS2R8I;Tool magazine motor model is ISMH440B30CBA334Z (band electromagnetic system Dynamic device), rated power 0.4KW.
In Fig. 3, program line 1993-1996COD is instruction conversion instruction, and R368 storage is purpose knife number value, and P169 is The initial position of change data, 15 be the number of change data, i.e., the data field of 15 data composition since P169 is machine Bed is every the corresponding displacement data in knife position, and the displacement output address of purpose knife position is D13.The function of the instruction is according to purpose knife Number value corresponds to taking-up purpose knife positional value in displacement data from what is pre-seted in place, and is output to D13.
Program line 1997-1998AXIS MVTO instruction is the absolute move of PMC axis, and parameter 4 is the axis number of PMC axis, For tool magazine driver tributary address.D13 is purpose knife position.The program segment function is that instruction tool magazine motor is moved to Target knife position.
Program line 1999-2000MOV instruction is data movement instruction, and by R28 data transmission to B188, B188 is machine Bed panel tool magazine knife LCD shows address.The program segment function is to refresh the display of panel tool magazine knife number.
Program line 2001-2002 is tool changing M the code ends program, is displaced when meeting tool magazine stop angle in specified range, And when without exception, terminate tool changing program, system executes next program segment of processing program.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are: using simple and convenient EtherCAT bus protocol control mode cancels traditional digital quantity I/O mode wiring, increases by one and surpasses five classes high speed Tool magazine motor driver is connected into control system bus and opens up net mending network by cable, and as wherein slave station, control command passes through Tool magazine motor driver under ethercat bus protocol, to drive tool magazine motor;EtherCAT is a kind of based on Ethernet The real-time industrial field bus communication agreement of development frame, with have high-performance, topological structure flexibly, using be easy, it is low at Originally, the characteristics of high precision apparatus synchronization, optional cable redundancy and functional safety agreement, hot plug, therefore the controlling party used Method is easy to use, and wiring is simple, stable.
It is the preferred embodiment of the present invention above, it is noted that for those skilled in the art, Various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as this hair Bright protection scope.

Claims (4)

1. a kind of numerical control machine tool changer control method based on EtherCAT bus, including digital control system (1), the control system (1) respectively with X-axis servo driver of motor (2), y-axis motor servo-driver (3), Z axis servo driver of motor (4) and tool magazine Motor driver (5), which is characterized in that further comprising the steps of:
1) user issues tool changing instruction by the PLC program of digital control system;
2) instruction knife number is exported after decoding is handled and calls tool changing macroprogram, will changed in PLC program by tool changing instruction The position data that tool magazine motor to be moved is output to specified register after logical operation by knife flag set;
3) when user's tool changing instruction exception then activates abnormal alarm program, show that user sets alarm number and inputs in the system page Warning message;When user's tool changing instruction is without exception, tool magazine is rotated to instruction knife position, and numerically-controlled machine tool executes tool changing and takes knife operation, Tool changing process terminates, and returns to main program.
2. a kind of numerical control machine tool changer control method based on EtherCAT bus according to claim 1, feature exist In the digital control system is connect by EtherCAT communications protocol with tool magazine motor driver.
3. a kind of numerical control machine tool changer control method based on EtherCAT bus according to claim 1, feature exist In the digital control system surpasses five class high speed cables with the use of tool magazine motor driven implement body and communicated.
4. a kind of numerical control machine tool changer control method based on EtherCAT bus according to claim 1, feature exist In the input voltage of the tool magazine motor driver is single-phase AC200V-240V ± 10%, electric voltage frequency 50/60Hz.
CN201910732108.2A 2019-08-09 2019-08-09 A kind of numerical control machine tool changer control method based on EtherCAT bus Withdrawn CN110442087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910732108.2A CN110442087A (en) 2019-08-09 2019-08-09 A kind of numerical control machine tool changer control method based on EtherCAT bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910732108.2A CN110442087A (en) 2019-08-09 2019-08-09 A kind of numerical control machine tool changer control method based on EtherCAT bus

Publications (1)

Publication Number Publication Date
CN110442087A true CN110442087A (en) 2019-11-12

Family

ID=68434073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910732108.2A Withdrawn CN110442087A (en) 2019-08-09 2019-08-09 A kind of numerical control machine tool changer control method based on EtherCAT bus

Country Status (1)

Country Link
CN (1) CN110442087A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111272127A (en) * 2020-02-21 2020-06-12 东莞市三姆森光电科技有限公司 Method for measuring and controlling synchronization through EtherCAT bus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111272127A (en) * 2020-02-21 2020-06-12 东莞市三姆森光电科技有限公司 Method for measuring and controlling synchronization through EtherCAT bus

Similar Documents

Publication Publication Date Title
CN102360046B (en) General test method for motor vehicle electrical product
CN104238463B (en) A kind of full-automatic single both-end tangent line wire stripping terminals press-connection machine control system
CN106533874A (en) Permanent magnet synchronous motor (PMSM) data communication system and method based on Modbus RTU protocol
CN104796055A (en) Touch screen control and drive integrated four-axis steeping motor closed-loop control system
CN110442087A (en) A kind of numerical control machine tool changer control method based on EtherCAT bus
CN202013503U (en) Motion controller based on Ethernet for control automation technology (Ether CAT) bus
CN111816039A (en) Electromechanical transmission control system and control method
CN105955202A (en) Network-based economical embedded five-axis numerical control system and control method thereof
CN110262285B (en) Universal nuclear turbine control system simulator
CN113671888A (en) Vulcanizer IO-Link bus control system and layout method thereof
CN104635633A (en) Multi bus industrial robot control system with WiFi wireless communication function
CN107154675B (en) Single bus communication system and method applied to medium-high voltage SVG
CN214729788U (en) Large and medium-sized fixed wing unmanned aerial vehicle ground simulation fault injection equipment
CN105373080A (en) Collaborative numerical control system based on soft bus
CN113485253A (en) FLEX-NC control system
CN102722975A (en) Method and system for reading data of electricity meter based on PROFIBUS
CN204065783U (en) A kind of full-automatic single both-end tangent line wire stripping terminals press-connection machine control system
CN220915296U (en) Wire making and wiring network communication device
CN202886920U (en) Elasticizer control system
CN202275305U (en) Frequency converter control device based on Profibus-DP
Guo et al. Real-time monitoring system of PLC for production line of coin cell battery based on LabVIEW
CN107463148B (en) A kind of method of PLC redundancy switching
CN104035399A (en) Large-power inverter control system and control method thereof
CN218471177U (en) Precision testing device for analog quantity card channel of distributed control system
CN211906064U (en) Test system for numerical control machine tool maintenance

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20191112

WW01 Invention patent application withdrawn after publication