patents.google.com

CN108255135A - Numerical control system and control method thereof - Google Patents

  • ️Fri Jul 06 2018

CN108255135A - Numerical control system and control method thereof - Google Patents

Numerical control system and control method thereof Download PDF

Info

Publication number
CN108255135A
CN108255135A CN201611231834.9A CN201611231834A CN108255135A CN 108255135 A CN108255135 A CN 108255135A CN 201611231834 A CN201611231834 A CN 201611231834A CN 108255135 A CN108255135 A CN 108255135A Authority
CN
China
Prior art keywords
numerical control
programmable logic
computer numerical
logic control
control device
Prior art date
2016-12-28
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
CN201611231834.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.)
Syntec Inc
Original Assignee
Syntec Inc
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.)
2016-12-28
Filing date
2016-12-28
Publication date
2018-07-06
2016-12-28 Application filed by Syntec Inc filed Critical Syntec Inc
2016-12-28 Priority to CN201611231834.9A priority Critical patent/CN108255135A/en
2018-07-06 Publication of CN108255135A publication Critical patent/CN108255135A/en
Status Pending legal-status Critical Current

Links

  • 238000000034 method Methods 0.000 title claims description 30
  • 238000004891 communication Methods 0.000 claims abstract description 52
  • 230000001360 synchronised effect Effects 0.000 claims description 8
  • 230000006855 networking Effects 0.000 claims description 6
  • 238000012544 monitoring process Methods 0.000 claims description 4
  • 230000008859 change Effects 0.000 claims description 3
  • 238000012986 modification Methods 0.000 claims 2
  • 230000004048 modification Effects 0.000 claims 2
  • 238000012545 processing Methods 0.000 description 34
  • 230000000875 corresponding effect Effects 0.000 description 14
  • 230000002159 abnormal effect Effects 0.000 description 8
  • 238000010586 diagram Methods 0.000 description 7
  • 238000001514 detection method Methods 0.000 description 6
  • 238000004519 manufacturing process Methods 0.000 description 3
  • 230000008569 process Effects 0.000 description 3
  • 238000003860 storage Methods 0.000 description 3
  • 230000001960 triggered effect Effects 0.000 description 3
  • 230000009471 action Effects 0.000 description 2
  • 230000008901 benefit Effects 0.000 description 2
  • 230000005540 biological transmission Effects 0.000 description 2
  • 238000013461 design Methods 0.000 description 2
  • 238000003754 machining Methods 0.000 description 2
  • 238000013459 approach Methods 0.000 description 1
  • 238000004364 calculation method Methods 0.000 description 1
  • 230000001276 controlling effect Effects 0.000 description 1
  • 239000002173 cutting fluid Substances 0.000 description 1
  • 238000005520 cutting process Methods 0.000 description 1
  • 238000011161 development Methods 0.000 description 1
  • 238000003745 diagnosis Methods 0.000 description 1
  • 230000000694 effects Effects 0.000 description 1
  • 238000005516 engineering process Methods 0.000 description 1
  • 230000010354 integration Effects 0.000 description 1
  • 230000007774 longterm Effects 0.000 description 1
  • 238000003672 processing method Methods 0.000 description 1
  • 239000007921 spray Substances 0.000 description 1

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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • 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]

Landscapes

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

Abstract

本发明揭示了一种数值控制系统,由多台计算机数控装置所组成,其中每一台计算机数控装置包括:可程序化逻辑控制模块、网络通讯模块以及人机接口显示与操作模块,其中,网络通讯模块将每一台计算机数控装置的可程序化逻辑控制模块彼此通讯连接,使得每一台计算机数控装置在相同的局域网络内。人机接口显示与操作模块是在每一台计算机数控装置上显示并且监控其他台的计算机数控装置的可程序化逻辑控制模块的操作状态,藉由网络通讯模式,可同步或是非同步的对多台计算机数控装置的可程序化逻辑控制模块进行监控及加工程序。

The present invention discloses a numerical control system, which is composed of a plurality of computer numerical control devices, wherein each computer numerical control device comprises: a programmable logic control module, a network communication module and a human-machine interface display and operation module, wherein the network communication module connects the programmable logic control modules of each computer numerical control device to each other so that each computer numerical control device is in the same local area network. The human-machine interface display and operation module is used to display and monitor the operation status of the programmable logic control modules of other computer numerical control devices on each computer numerical control device, and through the network communication mode, the programmable logic control modules of multiple computer numerical control devices can be monitored and processed synchronously or asynchronously.

Description

数值控制系统及其控制方法Numerical control system and its control method

技术领域technical field

本发明涉及一种数值控制系统,尤其涉及一种将每一台数控装置内的可程序化逻辑控制器彼此通讯连接以构成网络通讯架构,可同步或是非同步地对多台计算机数控装置进行监控及加工程序。The present invention relates to a numerical control system, in particular to a network communication framework that connects programmable logic controllers in each numerical control device to form a network communication framework, and can monitor multiple computer numerical control devices synchronously or asynchronously and processing procedures.

背景技术Background technique

可程序化逻辑控制器(Programmable Logic Controller,以下简称PLC),传统上指的是一种具有电路逻辑控制功能的硬件装置,可提供数值运算、逻辑判断、计时、计数、数值数据暂存、对应外部装置,例如继电器(relay)开关、驱动器产生相应的输入/输出讯号等服务,让用户可以透过图型化的PLC编程工具,依照自身需求进行开发设计,而达成操控机台的动作需求。Programmable logic controller (Programmable Logic Controller, hereinafter referred to as PLC), traditionally refers to a hardware device with circuit logic control function, which can provide numerical calculation, logical judgment, timing, counting, temporary storage of numerical data, corresponding External devices, such as relay switches, drivers to generate corresponding input/output signals and other services, allow users to develop and design according to their own needs through graphical PLC programming tools to achieve the action requirements of controlling the machine.

此外,PLC除了功能强大之外,其稳定性与性价比也都相当高,因此PLC的硬件装置已被长期广泛硬用在自动化机械相关领域。In addition, in addition to powerful functions, PLC is also very stable and cost-effective. Therefore, PLC hardware devices have been widely used in the field of automatic machinery for a long time.

近年来,机械制造产业的发展走向,已逐渐走向高度整合,以PC-based为基础的计算机数控装置(Computer Numerical Controller,CNC),绝大多数都已经可以支持图型化的可程序化逻辑控制装置的编程工具所产生的程序文件。换句话说,等于将目前现有的PLC的硬件装置可提供的相关服务,内建并整合于计算机数控装置中。此计算机数控装置已有逐渐取代传统的PLC的硬件装置、成为目前市场主流的趋势。In recent years, the development trend of the machinery manufacturing industry has gradually moved towards high integration. Most of the PC-based computer numerical control devices (Computer Numerical Controller, CNC) can already support graphical programmable logic control. The program file generated by the programming tool of the device. In other words, it is equivalent to building and integrating the relevant services provided by the existing PLC hardware devices into the computer numerical control device. This computer numerical control device has gradually replaced the traditional PLC hardware device and has become the mainstream trend in the current market.

一般工具机加工方式,大部份都是由一台计算机数控装置负责包办单一工件的所有加工作业。并且通常每一台计算机数控装置都有各自独立的可程序化逻辑控制程序,用以撰写所配置的计算机数控装置相关的操作动作逻辑,例如,执行加工、暂停、重置、夹爪的松紧、主轴的转动、工作灯或安全门开关、判断是否进行喷气或是切削液等动作。Most of the general machine tool processing methods use a computer numerical control device to take care of all the processing operations of a single workpiece. And usually each computer numerical control device has its own independent programmable logic control program, which is used to write the operation logic related to the configured computer numerical control device, for example, execute processing, pause, reset, tightening of jaws, The rotation of the spindle, the switch of the work light or the safety door, and the judgment of whether to spray air or cutting fluid, etc.

在某些复杂或特殊的加工场合,例如超过单一计算机数控装置的可控轴数上限,所采取的加工设计方式是以一台计算机数控装置负责进行加工,另一台计算机数控装置负责上料、下料与工件搬运的工作。也就是说,会有多台计算机数控装置针对同一工件进行加工操作的需求。由于同一工件有多台计算机数控装置同时或非同时的进行操作,因此在对于工件的加工上就会面临到需要每一台计算机数控装置之间的配合以及同步的问题。In some complex or special processing occasions, such as exceeding the upper limit of the number of controllable axes of a single computer numerical control device, the processing design method adopted is that one computer numerical control device is responsible for processing, and another computer numerical control device is responsible for loading, Cutting and workpiece handling work. That is to say, there will be a demand for multiple computer numerical control devices to perform machining operations on the same workpiece. Since multiple computer numerical control devices operate simultaneously or not simultaneously on the same workpiece, the problem of cooperation and synchronization between each computer numerical control device will be faced in the processing of the workpiece.

举例而言,若某一台计算机数控装置出现异常警报或是刀具毁损等加工异常问题时,为了加工安全起见,应当同步通知其它计算机数控装置进行暂停加工等相应的动作处理,待异常问题排除之后,所有的计算机数控装置才能再继续正常启动进行操作。然而,为了达成多台计算机数控装置之间复杂的加工同步配合,一般常见的方式,会在各台计算机数控装置的可程序化逻辑控制程序中编辑相关I/O讯号的逻辑判断,并且透过计算机数控装置的可程序化逻辑控制模块对应触发共享的外部硬件装置I/O点讯号或是特殊的硬件配线方式,以达成加工动作上的同步配合。但是此操作方式不仅是受限于硬件的I/O节点数或是硬件的配线方式之外,同时对于I/O节点的讯号上只有开(ON)与关(OFF)两种状态,无法进一步传递更多的状态信息。For example, if a certain computer numerical control device has abnormal processing problems such as abnormal alarm or tool damage, for the sake of processing safety, other computer numerical control devices should be notified simultaneously to suspend processing and other corresponding action processing. After the abnormal problem is eliminated , all computer numerical control devices can continue to operate normally. However, in order to achieve complex synchronous processing between multiple computer numerical control devices, a common method is to edit the logic judgment of the relevant I/O signals in the programmable logic control program of each computer numerical control device, and through The programmable logic control module of the computer numerical control device corresponds to triggering shared external hardware device I/O point signals or special hardware wiring methods to achieve synchronous cooperation in processing operations. However, this operation method is not only limited by the number of I/O nodes of the hardware or the wiring method of the hardware. At the same time, there are only two states of I/O node signals: ON and OFF. Pass more status information further.

发明内容Contents of the invention

根据上述现有技术的缺点,本发明的目的在于提出一种全新模式的数值控制系统及其控制方法,使得各个计算机数控装置之间可以沟通联系并可适用于复杂的加工制程。According to the above-mentioned shortcomings of the prior art, the object of the present invention is to propose a new model of numerical control system and its control method, so that various computer numerical control devices can communicate with each other and be applicable to complex processing procedures.

本发明对应上述第一个目的的技术解决方案为:一种数值控制系统,其特征在于由多个计算机数控装置组成的集群联网系统,其中每一该计算机数控装置包括:The technical solution of the present invention corresponding to the above-mentioned first object is: a numerical control system, characterized in that it is a cluster networking system composed of a plurality of computer numerical control devices, wherein each of the computer numerical control devices includes:

一可程序化逻辑控制模块,至少具有一个可程序化逻辑控制编辑与状态侦测解译单元;A programmable logic control module, having at least one programmable logic control editing and state detection and interpretation unit;

一网络通讯模块,用以将每一个计算机数控装置的该可程序化逻辑控制模块彼此通讯连接,使得每一该计算机数控装置在相同的局域网络内;a network communication module, used to communicate and connect the programmable logic control modules of each computer numerical control device to each other, so that each computer numerical control device is in the same local area network;

以及一人机接口显示与操作模块,在每一该计算机数控装置的显示屏幕上显示并监控在该相同的局域网络内的其它每一该计算机数控装置的该可程序化逻辑控制模块的操作状态,并且基于所述人机接口显示与操作模块,所述可程序化逻辑控制编辑与状态侦测解译单元用以同步编译及控制在该相同的局域网络中的每一该计算机数控装置的该可程序化逻辑控制模块。and a human-machine interface display and operation module, which displays and monitors the operating status of the programmable logic control module of each other computer numerical control device in the same local area network on the display screen of each computer numerical control device, And based on the man-machine interface display and operation module, the programmable logic control editing and state detection and interpretation unit is used to synchronously compile and control the programmable logic of each computer numerical control device in the same local area network. Programmable logic control module.

进一步地,所述可程序化逻辑控制模块还包括可程序化逻辑控制的网络通讯单元及更新单元。Further, the programmable logic control module also includes a programmable logic control network communication unit and an update unit.

进一步地,所述人机接口显示与操作模块设有一个通讯与可程序化逻辑控制模式的设定单元,该设定单元用以编辑在该局域网络中的每一该计算机数控装置的可程序化逻辑控制模块的程序。Further, the man-machine interface display and operation module is provided with a communication and programmable logic control mode setting unit, which is used to edit the programmable logic control mode of each computer numerical control device in the local network. program of the logic control module.

更进一步地,所述设定单元用以设定欲显示及监控的一个以上可程序逻辑控制模块。Furthermore, the setting unit is used for setting more than one programmable logic control module to be displayed and monitored.

更进一步地,所述设定单元用以设定在该相同的局域网络内的该些计算机数控装置的名称及在每一该计算机数控装置中的该可程序化逻辑控制模块的名称。Furthermore, the setting unit is used for setting the names of the computer numerical control devices in the same local area network and the name of the programmable logic control module in each of the computer numerical control devices.

本发明对应上述第二个目的的技术解决方案为:一种应用于数值控制系统的控制方法,其特征在于包括步骤;The technical solution of the present invention corresponding to the above-mentioned second object is: a control method applied to a numerical control system, characterized in that it includes steps;

分别设定每一计算机数控装置及其可程序化逻辑控制模块的名称;Setting the name of each computer numerical control device and its programmable logic control module separately;

将具有可程序化逻辑控制模块的每一个计算机数控装置组网联机在同一个局域网络中;Network each computer numerical control device with a programmable logic control module in the same local area network;

将每一该计算机数控装置的可程序化逻辑控制模块基于网络通讯单元通讯连接,使可程序化逻辑控制模块彼此构成一网络通讯模式;Connect the programmable logic control modules of each computer numerical control device based on the network communication unit, so that the programmable logic control modules form a network communication mode with each other;

对配置在网络通讯模式中的可程序化逻辑控制模块进行编辑、修改;Edit and modify the programmable logic control module configured in the network communication mode;

以同步或异步的方式将修改后的该可程序化逻辑控制模块复制于相同局域网络内其它有必要进行修改的该可程序化逻辑控制模块;Copying the modified programmable logic control module to other programmable logic control modules that need to be modified in the same local area network in a synchronous or asynchronous manner;

以及在局域网络中任一计算机数控装置的显示屏幕上远程监控相同局域网络内的其它任一或一部分可程序化逻辑控制模块的目前操作状态。And remotely monitor the current operation status of any or part of other programmable logic control modules in the same local area network on the display screen of any computer numerical control device in the local area network.

进一步地,在将欲进行联机的部份该些计算机数控装置联机入该局域网络内之后,对部份该些计算机数控装置进行分组。Further, after connecting the part of the computer numerical control devices to be connected into the local area network, grouping the part of the computer numerical control devices.

进一步地,局域网络的组网方式包括有线、WiFi、Zigbee或内联网。Further, the networking mode of the local area network includes wired, WiFi, Zigbee or intranet.

进一步地,在每一该计算机数控装置的可程序化逻辑控制模块内设一个可程序化逻辑控制的更新单元,且基于该更新单元对可程序化逻辑控制模块自身进行单独更新、同步更新或是非同步更新。Further, a programmable logic control update unit is set in each programmable logic control module of the computer numerical control device, and based on the update unit, the programmable logic control module itself is individually updated, synchronously updated, or not updated. Synchronization Update.

进一步地,其特征在于其中对配置在网络通讯模式中的可程序化逻辑控制模块进行编辑、修改还包含在可程序化逻辑控制模块的加工程序中加入其它可程序化逻辑控制模块的状态,用以触发其它该可程序化逻辑控制模块产生相对应的动作。Further, it is characterized in that editing and modifying the programmable logic control module configured in the network communication mode also includes adding the state of other programmable logic control modules in the processing program of the programmable logic control module, using To trigger other programmable logic control modules to produce corresponding actions.

应用本发明的数控解决方案,较之于传统技术具有显著而长足的优越性:该方案通过将复杂工况下的多个CNC装置藉由网络通讯模式系统架构成为数值控制系统,任意CNC装置可同步或是非同步地对别台CNC装置的可程序化逻辑控制模块进行监控及加工程序调整,突破了传统I/O节点包含信息少的局限,极大地提高了加工生产效率。Compared with the traditional technology, the numerical control solution of the present invention has significant and long-term advantages: in this solution, multiple CNC devices under complex working conditions are structured into a numerical control system through the network communication mode system, and any CNC device can be Synchronously or asynchronously monitor the programmable logic control module of other CNC devices and adjust the processing program, breaking through the limitation of traditional I/O nodes containing less information, and greatly improving processing production efficiency.

附图说明Description of drawings

图1是本发明数值控制系统基于网络服务器通讯的连接示意图。Fig. 1 is a connection schematic diagram of the numerical control system of the present invention based on network server communication.

图2是本发明数值控制系统中两台数控装置在同一个区域的联网示意图。Fig. 2 is a schematic diagram of networking of two numerical control devices in the same area in the numerical control system of the present invention.

图3是本发明任一台数控装置的架构示意图。Fig. 3 is a schematic diagram of the structure of any numerical control device of the present invention.

图4是本发明数值控制方法的步骤流程图。Fig. 4 is a flow chart of the steps of the numerical control method of the present invention.

图5是本发明将多个数控装置分组的控制方法步骤流程图。Fig. 5 is a flow chart of the steps of the control method for grouping multiple numerical control devices according to the present invention.

具体实施方式Detailed ways

首先,请参考图1。图1是表示本发明所揭露由多台数控装置在与网络服务器连接以及彼此通讯连接的示意图。对于工具机加工工厂来说,简单的加工的制程可只须要使用到一台计算机数控装置(Computer Numerical Controller, CNC)即可以控制所有的加工制程,但是若是加工的制程相当复杂,则需要使用多台计算机数控装置的协同作业,来完成工件的加工制程。因此,为了可以同步监控各台计算机数控装置10、11、12、 13、14、15的可程序化逻辑控制(Programmable Logic Controller, PLC)模块100、110、120、130、140、150的目前操作状态,以及编辑可程序化逻辑控制模块100、110、120、130、140、150,在图1中,将工具机加工工厂中的多台计算机数控装置10、11、12、 13、14、15分别利用网络连接单元(未在图中表示)与网络服务器5通讯连接成集群联网系统。接着,再将每一台计算机数控装置10、11、12、 13、14、15内的网络连接单元(未在图中表示)将每一台计算机数控装置10、11、12、 13、14、15的可程序化逻辑控制模块100、110、120、130、140、150彼此通讯连接,使得具有可程序化逻辑控制模块的每一台计算机数控装置10、11、12、 13、14、15利用彼此通讯连接的可程序化逻辑控制模块100、110、120、130、140、150而设定在相同的局域网络20内。First, refer to Figure 1. FIG. 1 is a schematic diagram showing a plurality of numerical control devices connected to a network server and communicating with each other disclosed in the present invention. For a machine tool processing factory, only one computer numerical control device (Computer Numerical Controller, CNC) is required to control all the processing processes for a simple processing process, but if the processing process is quite complicated, it is necessary to use multiple The collaborative operation of a computer numerical control device to complete the machining process of the workpiece. Therefore, in order to be able to synchronously monitor the current operations of the programmable logic control (Programmable Logic Controller, PLC) modules 100, 110, 120, 130, 140, 150 of each computer numerical control device 10, 11, 12, 13, 14, 15 state, and editing programmable logic control modules 100, 110, 120, 130, 140, 150, in Fig. 1, multiple computer numerical control devices 10, 11, 12, 13, 14, 15 The network connection units (not shown in the figure) are respectively used to communicate with the network server 5 to form a cluster networking system. Then, connect each computer numerical control device 10, 11, 12, 13, 14, The programmable logic control modules 100, 110, 120, 130, 140, 150 of 15 are communicatively connected to each other, so that each computer numerical control device 10, 11, 12, 13, 14, 15 with a programmable logic control module utilizes The programmable logic control modules 100 , 110 , 120 , 130 , 140 , 150 communicated with each other are set in the same local area network 20 .

在此要说明的是,每一台计算机数控装置10、11、12、 13、14、15利用网络连接单元(未在图中表示)与网络服务器5通讯连接的方式可以利用有线、WiFi、Zigbee或是内部局域网络;而在每一台计算机数控装置10、11、12、 13、14、15的可程序化逻辑控制模块100、110、120、130、140、150同样可以利用有线、WiFi、Zigbee或是内部局域网络彼此通讯连接,其联机方式不限于此。It should be explained here that each computer numerical control device 10, 11, 12, 13, 14, 15 utilizes a network connection unit (not shown in the figure) to communicate with the network server 5 in a manner that can utilize wired, WiFi, Zigbee or an internal local area network; and the programmable logic control modules 100, 110, 120, 130, 140, 150 of each computer numerical control device 10, 11, 12, 13, 14, 15 can also use wired, WiFi, The Zigbee or the internal local area network communicates with each other, and the connection method is not limited thereto.

接着,请参考图2,表示本发明所揭露的多台计算机数控装置在相同的局域网络的连接示意图。在图2中,进一步的说明在相同的局域网络内的多台计算机数控装置彼此通讯连接的示意图。在图2是以在同一个局域网络20中的两台计算机数控装置11、12来举例说明,而无论在工具机加工工厂中有几台计算机数控装置都可以利用此种方式来达成通讯连接。在图2中,计算机数控装置11与计算机数控装置12都分别配置有可程序化逻辑控制模块110、120、人机接口显示及操作模块112、122以及网络通讯模块114、124。在此,计算机数控装置11与计算机数控装置12之间的通讯连接是利用可程序化逻辑控制模块110、120的网络通讯单元1102、1202来达成,因此计算机数控装置11与计算机数控装置12可以在本机的显示屏幕上看到彼此的可程序化逻辑控制模块110、120的目前操作状态,而用户可以透过在此局域网络20内的任意一台计算机数控装置来决定要对哪几台计算机数控装置进行网络联机或者是进行断线。举例来说,请同时参考图1与图2,用户可经由计算机数控装置10来控制计算机数控装置11、12、 13、14、15。用户也可经由计算机数控装置11来控制计算机数控装置10、12、 13、14、15。因此,在本发明的实施例中,并不限定使用者是使用哪一台计算机数控装置10、11、12、 13、14或15做为主要的控制端。Next, please refer to FIG. 2 , which shows a connection diagram of multiple computer numerical control devices disclosed in the present invention in the same local area network. In FIG. 2 , it further illustrates a schematic diagram of communication connection among multiple computer numerical control devices in the same local area network. In FIG. 2 , two computer numerical control devices 11 and 12 in the same local area network 20 are used as an example, and no matter how many computer numerical control devices there are in the machine tool processing factory, this method can be used to achieve communication connection. In FIG. 2 , the computer numerical control device 11 and the computer numerical control device 12 are respectively equipped with programmable logic control modules 110 , 120 , man-machine interface display and operation modules 112 , 122 , and network communication modules 114 , 124 . Here, the communication connection between the computer numerical control device 11 and the computer numerical control device 12 is achieved by using the network communication units 1102, 1202 of the programmable logic control modules 110, 120, so the computer numerical control device 11 and the computer numerical control device 12 can be in The current operating status of each other’s programmable logic control modules 110 and 120 can be seen on the display screen of this machine, and the user can decide which computers to control through any computer numerical control device in the local area network 20 The CNC device is connected to the network or disconnected. For example, referring to FIG. 1 and FIG. 2 at the same time, the user can control the computer numerical control devices 11 , 12 , 13 , 14 , 15 via the computer numerical control device 10 . The computer numerical control devices 10 , 12 , 13 , 14 , 15 can also be controlled by the user via the computer numerical control device 11 . Therefore, in the embodiment of the present invention, it is not limited which computer numerical control device 10 , 11 , 12 , 13 , 14 or 15 the user uses as the main control terminal.

要说明的是,当计算机数控装置11的可程序化逻辑控制模块110与计算机数控装置12的可程序化逻辑控制模块120进行通讯联机时,在计算机数控装置11的显示屏幕(未在图中表示)可以显示出除了配置在计算机数控装置11的可程序化逻辑控制模块110之外,还会显示计算机数控装置12的可程序化逻辑控制模块120;反之亦然。而当计算机数控装置11的可程序化逻辑控制模块110与计算机数控装置12的可程序化逻辑控制模块120通讯联机断线时,在计算机数控装置11的显示屏幕除了显示配置在计算机数控装置11的可程序化逻辑控制模块110之外,也仍然会显示计算机数控装置12的可程序化逻辑控制模块120,但是用户无法藉由计算机数控装置11对计算机数控装置12的可程序化逻辑控制模块120进行操作或是监控,反之亦然。换句话说,计算机数控装置11中的可程序化逻辑控制模块110与计算机数控装置12的可程序化逻辑控制模块120呈现网络断线的状态时,计算机数控装置11及计算机数控装置12仍然可各自与网络服务器5维持通讯联机的状态,因此,计算机数控装置11及计算机数控装置12仍然可以独立进行加工操作步骤。It should be noted that when the programmable logic control module 110 of the computer numerical control device 11 communicates with the programmable logic control module 120 of the computer numerical control device 12, the display screen of the computer numerical control device 11 (not shown in the figure) ) can show that in addition to the programmable logic control module 110 configured on the computer numerical control device 11 , the programmable logic control module 120 of the computer numerical control device 12 will also be displayed; and vice versa. When the programmable logic control module 110 of the computer numerical control device 11 and the programmable logic control module 120 of the computer numerical control device 12 are disconnected, the display screen of the computer numerical control device 11 displays the In addition to the programmable logic control module 110, the programmable logic control module 120 of the computer numerical control device 12 will still be displayed, but the user cannot use the computer numerical control device 11 to control the programmable logic control module 120 of the computer numerical control device 12. Operate or monitor, and vice versa. In other words, when the programmable logic control module 110 of the computer numerical control device 11 and the programmable logic control module 120 of the computer numerical control device 12 are disconnected from the network, the computer numerical control device 11 and the computer numerical control device 12 can still operate independently. The state of communication connection with the network server 5 is maintained, therefore, the computer numerical control device 11 and the computer numerical control device 12 can still independently perform processing steps.

紧接着请参考图3。图3表示本发明所揭露具有可程序化逻辑模块、网络通讯模块及人机接口显示与操作模块的数控装置的示意图。在图3中仅以数值控制系统1中的其中一台计算机数控装置11来做说明,对于本发明中的其他台计算机数控装置10、12、13、14、15都是相同的。在图3中,计算机数控装置11包括可程序化逻辑控制模块110、网络通讯模块112及人机接口显示与操作模块114,其中,可程序化逻辑控制模块110还包括可程序化逻辑控制网络通讯单元1102、可程序化逻辑控制编辑与状态侦测及解译单元1104以及可程序化逻辑控制更新单元1106。网络通讯模块112还包括储存与可程序化逻辑控制数据传送单元1142及局域网络连接单元1144。人机接口显示与操作模块112包括通讯与可程序化逻辑控制模式设定单元1122及可程序化逻辑控制程序编辑与状态显示单元1124。Please refer to Figure 3 next. FIG. 3 is a schematic diagram of a numerical control device disclosed in the present invention with a programmable logic module, a network communication module, and a man-machine interface display and operation module. In FIG. 3 , only one computer numerical control device 11 in the numerical control system 1 is used for illustration, and it is the same for other computer numerical control devices 10 , 12 , 13 , 14 , 15 in the present invention. In Fig. 3, the computer numerical control device 11 includes a programmable logic control module 110, a network communication module 112 and a man-machine interface display and operation module 114, wherein the programmable logic control module 110 also includes a programmable logic control network communication module Unit 1102 , PLC edit and state detection and interpretation unit 1104 , and PLC update unit 1106 . The network communication module 112 also includes a storage and programmable logic control data transmission unit 1142 and a local area network connection unit 1144 . The man-machine interface display and operation module 112 includes a communication and programmable logic control mode setting unit 1122 and a programmable logic control program editing and status display unit 1124 .

可程序化逻辑控制模块110的可程序化逻辑控制网络通讯单元1102,用以将配置在计算机数控装置11(见图2)的可程序化逻辑控制模块110与配置在其他台的计算机数控装置的可程序化逻辑控制模块通讯连接。可程序化逻辑控制编辑与状态侦测及解译单元1104可以对本身的可程序化逻辑控制模块进行编辑、或者是对于配置于其他计算机数控装置10、12、13、14、15内的可程序化逻辑控制模块100、120、130、140、150进行编辑,即当两台或者是多台的可程序化逻辑控制模块在网络联机的状态时,使用者可以透过其中一台计算机数控装置来做为主要的计算机数控装置,利用此主要的计算机数控装置中的可程序化逻辑控制编辑与状态侦测及解译单元1104对于配置在计算机数控装置内的可程序化逻辑控制模块进行编辑,即将计算机数控装置内的可程序化逻辑控制模块的程序进行编辑之后,透过可程序化逻辑控制更新单元1106来进行更新。在本发明中还包括了当用户要更新该计算机数控装置的可程序化逻辑控制模块的程序时,可由用户选择是否需要进行程序更新或者是程序复原等操作步骤,但是这些步骤不在本发明讨论的范畴内,在此也不多加陈述。The programmable logic control network communication unit 1102 of the programmable logic control module 110 is used to connect the programmable logic control module 110 configured in the computer numerical control device 11 (see FIG. 2 ) with the computer numerical control device configured in other stations Programmable logic control module communication connection. Programmable logic control editing and state detection and interpretation unit 1104 can edit its own programmable logic control module, or can edit the programmable logic control module configured in other computer numerical control devices 10, 12, 13, 14, 15 Programmable logic control modules 100, 120, 130, 140, 150 are edited, that is, when two or more programmable logic control modules are in the state of network connection, the user can use one of the computer numerical control devices to As the main computer numerical control device, use the programmable logic control editing and state detection and interpretation unit 1104 in the main computer numerical control device to edit the programmable logic control module configured in the computer numerical control device, that is, After the program of the programmable logic control module in the computer numerical control device is edited, it is updated through the programmable logic control updating unit 1106 . Also included in the present invention is that when the user wants to update the program of the programmable logic control module of the computer numerical control device, the user can choose whether to perform program update or program recovery and other operational steps, but these steps are not discussed in the present invention Within the scope, there is no further statement here.

然而,由于配置于每一台计算机数控装置的可程序化逻辑控制模块彼此呈联机状态时,用户可以透过主要的计算机数控装置11的可程序化逻辑控制网络通讯单元1102将编辑完成的可程序化逻辑控制模块透过可程序化逻辑控制编辑与状态侦测单及解译单元1104来侦测其他计算机数控装置内的可程序化逻辑控制模块的状态,若用户认为需要进行编辑,或者是发生异常的操作状况而需要重新编辑可程序化逻辑控制模块的程序时,则用户仅须在此数值控制系统1中的其中一台计算机数控装置来进行编辑,然后在网络联机的状态,并在相同的局域网络20的条件下,透过可程序化逻辑控制网络通讯单元1102与欲要编辑的计算机数控装置的可程序化逻辑控制模块通讯连接,然后将编辑好的可程序化逻辑控制模块透过该台的可程序化逻辑控制更新单元来进行同步的编辑,或者是侦测配置于每一台计算机数控装置的可程序化逻辑控制模块的状态,藉此,可以利用远程监控的方式来判断其他台可程序化逻辑控制模块的状态,而可以实时的达到监控以及诊断效果,使用者可以不需要实际的走到该台计算机数控装置前去做编辑的操作,或者是到该台计算机数控装置才能知道目前可程序化逻辑控制模块的状态,因此,可以节省使用者的操作时间以及达到实时监控的目的。However, since the programmable logic control modules configured in each computer numerical control device are in an on-line state with each other, the user can control the network communication unit 1102 through the programmable logic control unit 1102 of the main computer numerical control device 11 to edit the completed programmable logic control module. The programmable logic control module detects the status of the programmable logic control module in other computer numerical control devices through the programmable logic control editing and state detection list and interpretation unit 1104. If the user thinks that it needs to be edited, or occurs When it is necessary to re-edit the program of the programmable logic control module due to abnormal operating conditions, the user only needs to edit one of the computer numerical control devices in the numerical control system 1, and then in the online state, and in the same Under the condition of the local area network 20, through the programmable logic control network communication unit 1102, it communicates with the programmable logic control module of the computer numerical control device to be edited, and then passes the edited programmable logic control module through The programmable logic control update unit of this station performs synchronous editing, or detects the status of the programmable logic control module configured on each computer numerical control device, so that it can use remote monitoring to judge other The state of a programmable logic control module can achieve real-time monitoring and diagnosis effects, and the user does not need to actually go to the computer numerical control device to do editing operations, or go to the computer numerical control device to The state of the current programmable logic control module is known, therefore, the operation time of the user can be saved and the purpose of real-time monitoring can be achieved.

网络通讯模块114的储存与可程序化逻辑控制数据传送单元1142是用来储存与发送计算机数控装置名称。局域网络连接单元1144是将计算机数控装置11、12之间的数据以有线或是无线的方式,在相同的局域网络内进行数据传递。The storage and PLC data transmission unit 1142 of the network communication module 114 is used for storing and transmitting the name of the computer numerical control device. The local area network connection unit 1144 transmits the data between the computer numerical control devices 11 and 12 in the same local area network in a wired or wireless manner.

人机接口显示与操作模块112的通讯与可程序化逻辑控制模式设定单元1122用以分别设定计算机数控装置名称及在每一台计算机数控装置10、12、13、14、15的可程序化逻辑控制模块100、120、130、140、150的名称,即在计算机数控装置11所对应的显示屏幕上,用户可以输入本机计算机数控装置11的名称及其他台的计算机数控装置10、12、13、14、15、本机计算机数控装置11的可程序化逻辑控制模块110的名称及其他台的计算机数控装置10、12、13、14、15的可程序化逻辑控制模块100、120、130、140、150以及其他相关的通信设置,并可以透过通讯与可程序化逻辑控制模式设定单元1122来设定可程序化逻辑控制模块100、110、120、130、140、150为网络通讯模式。因此,用户可以在其中一台计算机数控装置10、11、12、13、14或15的显示屏幕上看到本身的计算机数控装置的名称,以及在该台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的名称之外,还可以显示其它台计算机数控装置10、11、12、13、14或15中的可程序化逻辑控制模块100、110、120、130、140或150的名称,藉由用户所设定的可程序化逻辑控制模块100、110、120、130、140、150的名称,来区别在相同的局域网络20中的计算机数控装置10、11、12、13、14、15及可程序化逻辑控制模块100、110、120、130、140、150,而增加控制上的方便性。The communication and programmable logic control mode setting unit 1122 of the man-machine interface display and operation module 112 is used to respectively set the name of the computer numerical control device and the programmable The name of the logic control module 100, 120, 130, 140, 150, that is, on the display screen corresponding to the computer numerical control device 11, the user can input the name of the computer numerical control device 11 of this machine and other computer numerical control devices 10, 12 . 130, 140, 150 and other related communication settings, and the programmable logic control module 100, 110, 120, 130, 140, 150 can be set as a network through the communication and programmable logic control mode setting unit 1122 communication mode. Therefore, the user can see the name of his own computer numerical control device on the display screen of one of the computer numerical control devices 10, 11, 12, 13, 14 or 15, as well as the In addition to the name of the programmable logic control module 100, 110, 120, 130, 140 or 150 of 14 or 15, the programmable logic control module in other computer numerical control devices 10, 11, 12, 13, 14 or 15 can also be displayed The name of the programmable logic control module 100, 110, 120, 130, 140 or 150 is distinguished from the same The computer numerical control devices 10, 11, 12, 13, 14, 15 and programmable logic control modules 100, 110, 120, 130, 140, 150 in the local area network 20 increase the convenience of control.

此外,在本发明的实施例中,人机接口显示与操作模块112的通讯与可程序化逻辑控制模式设定单元1122还可以针对具有可程序化逻辑控制模块100、110、120、130、140、150的计算机数控装置10、11、12、13、14、15进行群组分组,可以视操作功能的相似性或者是以加工流程的前段、后段来进行分组,可以让使用者藉由群组的方式更容易监控不同群组中的计算机数控装置10、11、12、13、14、15的可程序化逻辑控制模块100、110、120、130、140、150的状态。根据图1,计算机数控装置10、11、12为一个群组202,计算机数控装置13、14、15为另一个群组204,而两个群组202、204中的每一台计算机数控装置10、11、12、13、14、15的可程序化逻辑控制模块100、110、120、130、140、150彼此网络连接,都在相同的局域网络20中。In addition, in the embodiment of the present invention, the communication and programmable logic control mode setting unit 1122 of the man-machine interface display and operation module 112 can also be used for , 150 computer numerical control devices 10, 11, 12, 13, 14, 15 can be grouped according to the similarity of the operation function or by the front section and the back section of the processing flow, so that the user can use the group The group approach makes it easier to monitor the status of the PLC modules 100 , 110 , 120 , 130 , 140 , 150 of the CNC devices 10 , 11 , 12 , 13 , 14 , 15 in different groups. According to Fig. 1, the computer numerical control devices 10, 11, 12 are a group 202, the computer numerical control devices 13, 14, 15 are another group 204, and each computer numerical control device 10 in the two groups 202, 204 , 11 , 12 , 13 , 14 , and 15 programmable logic control modules 100 , 110 , 120 , 130 , 140 , and 150 are network-connected to each other, and are all in the same local area network 20 .

可程序化逻辑控制程序编辑与状态显示单元1124是让用户编辑该台计算机数控装置的可程序化逻辑控制模块的程序或是监控该台的计算机数控装置的可程序化逻辑控制模块的状态。另一方面,当在相同的局域网络20中的每一台计算机数控装置或是某几台计算机数控装置在网络通讯模式下,用户可以在某一台计算机数控装置11(以图3来作说明)的人机接口显示与操作模块112的可程序化逻辑控制程序编辑与状态显示单元1124,对于在相同的局域网络20中的每一台计算机数控装置10、11、12、13、14、15或是某几台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140、150的程序进行更新、侦测或是反映可程序化逻辑控制模块100、110、120、130、140、150的目前的操作状态。The programmable logic control program editing and status display unit 1124 allows the user to edit the program of the programmable logic control module of the computer numerical control device or monitor the status of the programmable logic control module of the computer numerical control device. On the other hand, when each computer numerical control device or some computer numerical control devices in the same local area network 20 are in the network communication mode, the user can ) of the man-machine interface display and operation module 112 of the programmable logic control program editing and status display unit 1124, for each computer numerical control device 10, 11, 12, 13, 14, 15 in the same local area network 20 Or the program of the programmable logic control module 100, 110, 120, 130, 140, 150 of some computer numerical control devices 10, 11, 12, 13, 14 or 15 is updated, detected or reflected programmable The current operating state of the logic control module 100 , 110 , 120 , 130 , 140 , 150 .

接着请参考图4,并同时配合图1-3来进行说明。图4是表示本发明所揭露应用于数值控制系统的数值控制方法的步骤流程图。在图4中,首先,步骤30,设定每一台计算机数控装置的可程序化逻辑控制模块的名称。在此步骤中,由于在工具机加工工厂中有多台计算机数控装置10、11、12、13、14、15 (如图1所示),当有多个可程序化逻辑控制模块100、110、120、130、140、150同时显示在同一台计算机数控装置10、11、12、13、14、15的显示屏幕时,如果没有设定名称,则使用者会无法判断以及区别那一台计算机数控装置0、11、12、13、14、15的可程序化逻辑控制模块100、110、120、130、140、150的主要负责工作,因此需要先针对每一台计算机数控装置10、11、12、13、14、15 (如图1所示)进行名称的设定。Next, please refer to FIG. 4 and describe it in conjunction with FIGS. 1-3 . FIG. 4 is a flow chart showing the steps of the numerical control method applied to the numerical control system disclosed in the present invention. In FIG. 4 , first, step 30 , setting the name of the programmable logic control module of each computer numerical control device. In this step, since there are multiple computer numerical control devices 10, 11, 12, 13, 14, and 15 (as shown in FIG. 1 ) in the machine tool processing factory, when there are multiple programmable logic control modules 100, 110 , 120, 130, 140, 150 are simultaneously displayed on the display screens of the same computer numerical control device 10, 11, 12, 13, 14, 15, if no name is set, the user will not be able to judge and distinguish which computer The programmable logic control modules 100, 110, 120, 130, 140, and 150 of the numerical control devices 0, 11, 12, 13, 14, and 15 are mainly responsible for the work, so it is necessary to target each computer numerical control device 10, 11, 12, 13, 14, 15 (as shown in Figure 1) to set the name.

接着,步骤32,利用局域网络连接单元将配置有可程序化逻辑控制模块的每一台计算机数控装置与网络服务器进行网络连接,使得具有可程序化逻辑控制模块的每一台计算机数控装置都设定在相同的局域网络内。在此步骤中,每一台计算机数控装置10、11、12、13、14、15 (如图1所示)与网络服务器5(如图1所示)进行网络连接的方式可以是有线、WiFi、Zigbee或是内部局域网络,在本发明的实施例中并不限制,使得每一台计算机数控装置10、11、12、13、14、15在与网络服务器5连接之后,都在相同的局域网络20(如图1所示)内。Next, in step 32, use the local area network connection unit to connect each computer numerical control device configured with a programmable logic control module to the network server, so that each computer numerical control device with a programmable logic control module is set within the same LAN. In this step, each computer numerical control device 10, 11, 12, 13, 14, 15 (as shown in Figure 1) can be connected to the network server 5 (as shown in Figure 1) by wired or WiFi , Zigbee or internal local area network, is not limited in the embodiment of the present invention, makes every computer numerical control device 10,11,12,13,14,15 after being connected with network server 5, all in the same local area network network 20 (as shown in Figure 1).

步骤34,将每一台计算机数控装置的可程序化逻辑控制模块彼此通讯连接,使得每一台计算机数控装置利用所配置的可程序化逻辑控制模块彼此构成网络通讯模式。在此步骤中,每一台计算机数控装置10、11、12、13、14、15 (如图1所示)中的可程序化逻辑控制模块100、110、120、130、140、150都还包括有可程序化逻辑控制网络通讯单元1102(如图3所示)(仅以在图3中的计算机数控装置11中的可程序化逻辑控制网络通讯单元1102举例),利用可程序化逻辑控制模块110的可程序化逻辑控制网络通讯单元1102将欲要进行控制的可程序化逻辑控制模块100、110、120、130、140或150彼此网络联机,而使得在相同的局域网络20内,除了多台计算机数控装置10、11、12、13、14、15之间彼此网络联机之外,配置于每一台计算机数控装置10、11、12、13、14、15的可程序化逻辑控制模块100、110、120、130、140或150彼此之间也构成网络通讯模式,藉此,用户可以在某一台计算机数控装置10、11、12、13、14或15的显示设备上显示出除了本机计算机数控装置的可程序化逻辑控制模块100、110、120、130、140或150的状态之外,还可以同时显示出在网络联机的状态下,在相同的局域网络20中的每一台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的目前的操作状态,因此使用者可以选择任意一台计算机数控装置10、11、12、13、14或15来实时监控、控制在网络联机的状态下,相同的局域网络20的其他台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150,或是对于其他台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序进行同步或是非同步编辑。In step 34, the programmable logic control modules of each computer numerical control device are communicatively connected to each other, so that each computer numerical control device uses the configured programmable logic control modules to form a network communication mode with each other. In this step, the programmable logic control modules 100, 110, 120, 130, 140, 150 in each computer numerical control device 10, 11, 12, 13, 14, 15 (as shown in Figure 1) are also Including a programmable logic control network communication unit 1102 (as shown in Figure 3) (only the programmable logic control network communication unit 1102 in the computer numerical control device 11 in Figure 3 is an example), using programmable logic control The programmable logic control network communication unit 1102 of the module 110 connects the programmable logic control modules 100, 110, 120, 130, 140 or 150 to be controlled by the network to each other, so that in the same local area network 20, except In addition to network connection between multiple computer numerical control devices 10, 11, 12, 13, 14, 15, a programmable logic control module configured on each computer numerical control device 10, 11, 12, 13, 14, 15 100, 110, 120, 130, 140 or 150 also constitute a network communication mode among each other, whereby the user can display on the display equipment of a computer numerical control device 10, 11, 12, 13, 14 or 15 other than In addition to the state of the programmable logic control module 100, 110, 120, 130, 140 or 150 of the computer numerical control device of this machine, it can also display at the same time that in the state of network connection, each user in the same local area network 20 The current operating state of the programmable logic control module 100, 110, 120, 130, 140 or 150 of a computer numerical control device 10, 11, 12, 13, 14 or 15, so that the user can select any computer numerical control device 10, 11, 12, 13, 14 or 15 to monitor and control the programmable logic of other computer numerical control devices 10, 11, 12, 13, 14 or 15 in the same local area network 20 in the state of network connection in real time The control module 100, 110, 120, 130, 140 or 150, or the programmable logic control module 100, 110, 120, 130, 140 or 150 programs for synchronous or asynchronous editing.

步骤36,对于配置在其中一台或是每一台计算机数控装置的可程序化逻辑控制模块的程序进行编辑修改。在此步骤中,由于某一台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150可能需要进行修改,使用者可以直接在其中一台计算机数控装置10、11、12、13、14或15 (不一定是要被修改可程序化逻辑控制模块100、110、120、130、140或150的程序的那一台计算机数控装置10、11、12、13、14或15)直接将要编辑的可程序化逻辑控制模块100、110、120、130、140或150的程序呼叫(call)出来,然后进行编辑或是修改。此步骤的优点在于,使用者若察觉到某一台或者是某几台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的有异常状态发生,而这些计算机数控装置10、11、12、13、14或15彼此之间又有距离上的差异,利用本发明所揭露的数值控制方法,可以让用户就近的一台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块,针对异常状态的某一台或者是某几台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序进行编辑,而节省了使用者排除异常状态或是更改加工流程的时间。Step 36, editing and modifying the program of the programmable logic control module configured in one or each computer numerical control device. In this step, since the programmable logic control module 100, 110, 120, 130, 140 or 150 of a computer numerical control device 10, 11, 12, 13, 14 or 15 may need to be modified, the user can directly In one of the computer numerical control devices 10, 11, 12, 13, 14 or 15 (not necessarily the computer numerical control The device 10, 11, 12, 13, 14 or 15) directly calls out the program of the programmable logic control module 100, 110, 120, 130, 140 or 150 to be edited, and then edits or modifies it. The advantage of this step is that if the user notices that the programmable logic control module 100, 110, 120, 130, 140 or 150 has an abnormal state, and these computer numerical control devices 10, 11, 12, 13, 14 or 15 are different in distance from each other. Using the numerical control method disclosed in the present invention, the user can make the nearest one The programmable logic control module of the computer numerical control device 10, 11, 12, 13, 14 or 15 is aimed at the programmable logic control module of a certain computer numerical control device 10, 11, 12, 13, 14 or 15 in an abnormal state. The program of the programmed logic control module 100 , 110 , 120 , 130 , 140 or 150 is edited, which saves the time for users to troubleshoot abnormal states or change the processing flow.

要另外说明的是,在此编辑的步骤中,在某一台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序可以加入另一台计算机数控装置10、11、12、13、14或15所对应的可程序化逻辑控制模块100、110、120、130、140或150的状态,作为此计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序的判断条件,来触发另一台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150产生相对应的动作。It should be further explained that, in this editing step, in the programmable logic control module 100, 110, 120, 130, 140 or 150 of a certain computer numerical control device 10, 11, 12, 13, 14 or 15 The program can be added to the state of the programmable logic control module 100, 110, 120, 130, 140 or 150 corresponding to another computer numerical control device 10, 11, 12, 13, 14 or 15, as the computer numerical control device 10, 11, 12, 13, 14 or 15 can trigger the judgment condition of the program of the programmable logic control module 100, 110, 120, 130, 140 or 150 to trigger another computer numerical control device 10, 11, 12, 13, 14 The programmable logic control module 100, 110, 120, 130, 140 or 150 of or 15 generates corresponding actions.

步骤38,以同步或异步的方式将修改后的可程序化逻辑控制模块的程序复制在相同的局域网络内的其他欲进行编辑的计算机数控装置的可程序化逻辑控制模块。在此步骤中,使用者可以将编辑完成的可程序化逻辑控制模块100、110、120、130、140或150的程序利用可程序化逻辑控制更新单元来对欲进行编辑的计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序来更新。Step 38 , synchronously or asynchronously copying the modified program of the programmable logic control module to the programmable logic control modules of other computer numerical control devices to be edited in the same local area network. In this step, the user can use the programmable logic control updating unit to update the edited program of the programmable logic control module 100, 110, 120, 130, 140 or 150 to the computer numerical control device 10, 11, 12, 13, 14 or 15 of the programmable logic control module 100, 110, 120, 130, 140 or 150 program to update.

步骤40,在其中一台计算机数控装置的显示屏幕上可以远程监控在相同局域网络内的其他一台或是其他多台计算机数控装置的可程序化逻辑控制模块的目前操作状态。Step 40, on the display screen of one of the computer numerical control devices, the current operating status of the programmable logic control modules of one or more other computer numerical control devices in the same local area network can be remotely monitored.

另外,于本发明的另一实施例,还揭露了将多个计算机数控装置分组的控制方法的步骤流程图。如图5所示,步骤50,设定每一个计算机数控装置的具有可程序化逻辑控制模块的名称。In addition, in another embodiment of the present invention, a flow chart of steps of a control method for grouping a plurality of computer numerical control devices is also disclosed. As shown in FIG. 5 , step 50 , setting the name of each computer numerical control device having a programmable logic control module.

步骤52,利用网络连接单元将配置有可程序化逻辑控制模块的每一台计算机数控装置与网络服务器进行网络连接,使得具有可程序化逻辑控制模块的每一台计算机数值的控制装置在相同的局域网络内。于本实施例中,步骤50-52与前述步骤30-32的目的相同,在此不再多加陈述。Step 52, use the network connection unit to connect each computer numerical control device configured with a programmable logic control module to the network server, so that each computer numerical control device with a programmable logic control module is in the same within the LAN. In this embodiment, the purposes of steps 50-52 are the same as those of the aforementioned steps 30-32, and no further description is given here.

步骤54,对于具有可程序化逻辑控制模块的计算机数控装置进行分组。在此步骤中,由于在工具机加工工厂中执行加工的工具机非常多,将功能或是加工内容相似的工具机以群组来区分,使得某几台计算机数控装置10、11、12的可程序化逻辑控制模块100、110、120为一个群组,而另外几台计算机数控装置13、14、15的可程序化逻辑控制模块130、140、150则是为另外一个群组,以方便使用者来控制与管理。在此要说明的是,当对具有可程序化逻辑控制模块的多台计算机数控装置10、11、12、13、14、15进行分组时,用户利用人机接口显示与操作模块112或120)的通讯与可程序化逻辑控制模式设定单元1122针对具有可程序化逻辑控制模块100、110、120、130、140、150的多台计算机数控装置10、11、12、13、14、15进行分组,可以以操作功能的相似性或者是以加工流程的前段、后段来进行分组,让使用者藉由群组的方式更容易监控每一个群组中的计算机数控装置的可程序化逻辑控制模块的状态。举例来说,针对图1中所示,在本发明中,用户将具有可程序化逻辑控制模块100、110、120的计算机数控装置10、11、12、13设为一群组202,而具有可程序化逻辑控制模块130、140、150的计算机数控装置13、14、15为另一群组204,而两个群组202、204仍在相同的局域网络20中。Step 54, grouping the computer numerical control devices with programmable logic control modules. In this step, since there are many machine tools that perform processing in the machine tool processing factory, the machine tools with similar functions or processing content are divided into groups, so that certain computer numerical control devices 10, 11, 12 can be The programmable logic control modules 100, 110, 120 form a group, while the programmable logic control modules 130, 140, 150 of the other computer numerical control devices 13, 14, 15 form another group for convenience to control and manage. It should be explained here that when grouping multiple computer numerical control devices 10, 11, 12, 13, 14, 15 with programmable logic control modules, the user uses the man-machine interface display and operation module 112 or 120) The communication and programmable logic control mode setting unit 1122 is for multiple computer numerical control devices 10, 11, 12, 13, 14, 15 with programmable logic control modules 100, 110, 120, 130, 140, 150 Grouping can be based on the similarity of operating functions or the front and back stages of the processing flow, making it easier for users to monitor the programmable logic control of the computer numerical control devices in each group by means of groups The state of the module. For example, as shown in FIG. 1 , in the present invention, the user sets the computer numerical control devices 10, 11, 12, 13 with programmable logic control modules 100, 110, 120 into a group 202, and has The computer numerical control devices 13 , 14 , 15 of the PLC modules 130 , 140 , 150 are another group 204 , while the two groups 202 , 204 are still in the same local area network 20 .

步骤56,将每一台计算机数控装置的可程序化逻辑控制模块彼此通讯连接,使得每一台计算机数控装置利用所配置的可程序化逻辑控制模块彼此构成网络通讯模式。Step 56 , communicating and connecting the programmable logic control modules of each computer numerical control device to each other, so that each computer numerical control device uses the configured programmable logic control modules to form a network communication mode with each other.

步骤58,对于在相同或是不同群组内,配置在其中一台计算机数控装置的可程序化逻辑控制模块的程序进行编辑修改。同样的,在此编辑的步骤中,可以在某一台计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序加入另一台计算机数控装置10、11、12、13、14或15所对应的可程序化逻辑控制模块100、110、120、130、140或150的状态,作为此计算机数控装置10、11、12、13、14或15的可程序化逻辑控制模块100、110、120、130、140或150的程序的判断条件,来触发对应的动作。也就是说,以群组的概念举例来说,对于某一个群组中的某一台计算机数控装置的可程序化逻辑控制模块的程序中加入了另一台计算机数控装置所对应的可程序化逻辑控制模块的状态,作为计算机数控装置的可程序化逻辑控制模块的程序的判断条件,一旦符合此判断条件,则触发在另一群组中,具有相对应被触发条件的其中一台计算机数控装置的可程序化逻辑控制模块,而执行触发后对应的动作。Step 58, editing and modifying the program of the programmable logic control module configured in one of the computer numerical control devices in the same or different groups. Similarly, in this editing step, the program of the programmable logic control module 100, 110, 120, 130, 140 or 150 of a computer numerical control device 10, 11, 12, 13, 14 or 15 can be added The state of the programmable logic control module 100, 110, 120, 130, 140 or 150 corresponding to another computer numerical control device 10, 11, 12, 13, 14 or 15, as this computer numerical control device 10, 11, 12 , 13, 14 or 15 of the programmable logic control module 100, 110, 120, 130, 140 or 150 of the judgment condition of the program to trigger the corresponding action. That is to say, taking the concept of a group as an example, the program of the programmable logic control module of a certain computer numerical control device in a certain group has added the programmable logic control module corresponding to another computer numerical control device. The state of the logic control module is used as the judgment condition of the program of the programmable logic control module of the computer numerical control device. Once this judgment condition is met, it will be triggered in another group, and one of the computer numerical control modules with corresponding triggered conditions will be triggered. The programmable logic control module of the device executes the corresponding action after the trigger.

步骤60,以同步或异步的方式将修改后的可程序化逻辑控制模块的程序复制在相同的局域网络内的相同或是不同群组内的其他欲进行编辑的计算机数控装置的可程序化逻辑控制模块。Step 60, copy the program of the modified programmable logic control module to the programmable logic of other computer numerical control devices to be edited in the same or different groups in the same local area network in a synchronous or asynchronous manner control module.

步骤62,在其中一台计算机数控装置的显示屏幕上可以远程监控在相同的局域网络内的其他一台或是其他多台计算机数控装置的可程序化逻辑控制模块的目前操作状态。Step 62, on the display screen of one of the computer numerical control devices, the current operation status of the programmable logic control modules of one or more other computer numerical control devices in the same local area network can be remotely monitored.

因此,综合以上所述,根据本发明所揭露的数值控制系统及其控制方法,对于工具机加工工厂来说,利用整合的数值控制系统无需进行相关特殊配线的前置作业,有效地节省了生产成本。此外由于无需要特殊配线,所以也没有配线的线材,所导致的加工动作异常现象,使得加工工件的加工良率可以提高。另外透过本发明所揭露的数值控制系统及其控制方法,用户可以在单一计算机数控装置上同步编辑各个计算机数控装置的可程序化逻辑控制模块的程序,轻松的完成各个计算机数控装置的加工逻辑动作撰写,而节省了使用者需要到每一台计算机数控装置去进行编辑的时间,省时以及节省人力。Therefore, based on the above, according to the numerical control system and its control method disclosed in the present invention, for machine tool processing factories, the use of the integrated numerical control system does not require the pre-operation of related special wiring, which effectively saves Cost of production. In addition, since there is no need for special wiring, there is no wire for wiring, and the abnormal phenomenon of processing action caused by it can improve the processing yield of the processed workpiece. In addition, through the numerical control system and control method disclosed in the present invention, the user can simultaneously edit the program of the programmable logic control module of each computer numerical control device on a single computer numerical control device, and easily complete the processing logic of each computer numerical control device Motion writing saves the time for users to go to each computer numerical control device for editing, saving time and manpower.

根据本发明所揭露的数值控制系统及其控制方法,使用者可以直接在单一计算机数控装置上进行监视、控制多台计算机数控装置的可程序化逻辑控制模块的运行状态,而可以快速的掌握各个计算机数控装置的加工情形,而可以简易的完成各种加工的相关协同作业。According to the numerical control system and its control method disclosed in the present invention, the user can directly monitor and control the operating states of the programmable logic control modules of multiple computer numerical control devices on a single computer numerical control device, and can quickly grasp the various The processing situation of the computer numerical control device can easily complete various processing related collaborative operations.

Claims (10)

1. numerical control system, it is characterised in that the cluster networked system being made of multiple computer numerical control devices, wherein each The computer numerical control device includes:

There are one programmable logic control editor and state detecting interpretation are single for one programmable Logic control module, at least tool Member;

One network communication module, to by the programmable Logic control module communication with one another of each computer numerical control device Connection so that each computer numerical control device is in identical local area network;

And one man-machine interface show and operation module, show and monitor on the display screen of each computer numerical control device The operation of the programmable Logic control module of other each computer numerical control devices in the identical local area network State, and shown based on the man-machine interface and operation module, the programmable logic control editor and state detecting solution Unit is translated to synchronous compiling and controls this of each computer numerical control device in the identical local area network can program Change Logic control module.

2. numerical control system according to claim 1, it is characterised in that:The programmable Logic control module further includes The network communication unit and updating unit of programmable logic control.

3. numerical control system according to claim 1, it is characterised in that:The man-machine interface is shown to be equipped with operation module One communication and the setup unit of programmable logic control mode, the setup unit are every in the local area network to edit The program of the programmable Logic control module of one computer numerical control device.

4. numerical control system according to claim 3, it is characterised in that:The setup unit is intended to show and supervise to set More than one of control can procedure logical control system module.

5. numerical control system according to claim 3, it is characterised in that:The setup unit is identical to be set in this The title of those computer numerical control devices in local area network and the programmable in each computer numerical control device are patrolled Collect the title of control module.

6. the control method applied to numerical control system described in claim 1, it is characterised in that including step;

The title of each computer numerical control device and its programmable Logic control module is set separately;

By each computer numerical control device networking connectivity with programmable Logic control module in same local area network In;

The programmable Logic control module of each computer numerical control device is connected based on network communication unit communications, making can Programmable logical control module forms a network communication pattern each other;

To the programmable Logic control module in network communication pattern is configured into edlin, modification;

The modified programmable Logic control module is replicated in same local network network it in a manner of either synchronously or asynchronously Its programmable Logic control module that it is necessary to modify;

And its in local area network on the display screen of any computer numerical control device in remote monitoring same local network network The present operating state of its any or a part of programmable Logic control module.

7. numerical control method according to claim 6, it is characterised in that further include step:It is being intended to carry out online part Those computer numerical control devices it is online enter the local area network in after, to part those computer numerical control devices be grouped.

8. numerical control method according to claim 6, it is characterised in that:The networking mode of local area network include it is wired, WiFi, Zigbee or Intranet.

9. numerical control method according to claim 6, it is characterised in that:In each computer numerical control device can program Change in Logic control module and set the updating unit of a programmable logic control, and programmable is patrolled based on the updating unit It collects control module itself and carries out individually update, synchronized update or asynchronous update.

10. numerical control method according to claim 6, it is characterised in that wherein to be configured in network communication pattern can Programmable logical control module also adds in it into edlin, modification included in the processing program of programmable Logic control module The state of its programmable Logic control module generates corresponding move to trigger other programmable Logic control modules Make.

CN201611231834.9A 2016-12-28 2016-12-28 Numerical control system and control method thereof Pending CN108255135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611231834.9A CN108255135A (en) 2016-12-28 2016-12-28 Numerical control system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611231834.9A CN108255135A (en) 2016-12-28 2016-12-28 Numerical control system and control method thereof

Publications (1)

Publication Number Publication Date
CN108255135A true CN108255135A (en) 2018-07-06

Family

ID=62720211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611231834.9A Pending CN108255135A (en) 2016-12-28 2016-12-28 Numerical control system and control method thereof

Country Status (1)

Country Link
CN (1) CN108255135A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310232A (en) * 2005-11-14 2008-11-19 三菱电机株式会社 Network unit and programmable controller using the same
CN201278110Y (en) * 2008-08-29 2009-07-22 河南黄河实业集团股份有限公司 Multiple network connection apparatus
CN101592938A (en) * 2009-06-30 2009-12-02 刘文祥 Numerical control network and various system thereof
CN102799128A (en) * 2009-03-30 2012-11-28 洛克威尔自动控制技术股份有限公司 Method and apparatus for synchronizing configuration changes across multiple components of an industrial control system
CN105988450A (en) * 2015-03-16 2016-10-05 洛克威尔自动控制技术股份有限公司 Cloud-based industrial controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310232A (en) * 2005-11-14 2008-11-19 三菱电机株式会社 Network unit and programmable controller using the same
CN201278110Y (en) * 2008-08-29 2009-07-22 河南黄河实业集团股份有限公司 Multiple network connection apparatus
CN102799128A (en) * 2009-03-30 2012-11-28 洛克威尔自动控制技术股份有限公司 Method and apparatus for synchronizing configuration changes across multiple components of an industrial control system
CN101592938A (en) * 2009-06-30 2009-12-02 刘文祥 Numerical control network and various system thereof
CN105988450A (en) * 2015-03-16 2016-10-05 洛克威尔自动控制技术股份有限公司 Cloud-based industrial controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王永华: "《现代电气及可编程控制技术》", 30 September 2002, 北京:北京航空航天大学出版社 *

Similar Documents

Publication Publication Date Title
CN101984376B (en) 2012-09-05 Fault simulation device of numerical control machine
JP6127755B2 (en) 2017-05-17 Information processing apparatus, control method for information processing apparatus, and control program
US11392108B2 (en) 2022-07-19 Production module
CN109582397A (en) 2019-04-05 Control system and control device
CN101132328A (en) 2008-02-27 Real-time industrial Ethernet EtherCAT communication controller
CN104281086A (en) 2015-01-14 Soft PLC control system based on EtherCAT communication protocol and applied to automatic argon-welding device
CN104044148A (en) 2014-09-17 Robot system, method for controlling robot, and method for producing to-be-processed material
CN205959050U (en) 2017-02-15 All -in -one controlling means
US20140306643A1 (en) 2014-10-16 Motion controller and motor control system
CN102809948B (en) 2017-03-01 System and method for block instantiation
CN107942981B (en) 2020-02-21 Collaborative control method of multi-point servo drive for stage
CN107037795A (en) 2017-08-11 A kind of industrial stokehold technique guides system
TWI627518B (en) 2018-06-21 Computer Numerical Controlling System and Controlling Method Thereof
US20140306642A1 (en) 2014-10-16 Engineering tool
CN100475413C (en) 2009-04-08 Robot laser processing system
CN100420213C (en) 2008-09-17 Real-time Monitoring System of Distributed CNC Machine Tool in Workshop LAN
CN107505917A (en) 2017-12-22 Servo-driver and servo-drive system
CN101984375A (en) 2011-03-09 Fault simulation method of numerical control machine
JP2012099082A (en) 2012-05-24 Program conversion module and program conversion method for multiaxial synchronous operation machine
CN113671888A (en) 2021-11-19 Vulcanizer IO-Link bus control system and layout method thereof
CN201226103Y (en) 2009-04-22 Experiment debugging platform based on bus technology
CN108255135A (en) 2018-07-06 Numerical control system and control method thereof
KR101081935B1 (en) 2011-11-09 Apparatus for controlling multi-axis motion based on a plurality of channels network and method for the same
CN205219137U (en) 2016-05-11 Multi -axis motion control of bus type robot ware
CN109991924B (en) 2021-05-25 Communication method and system for real-time monitoring of remote client of numerical control system

Legal Events

Date Code Title Description
2018-07-06 PB01 Publication
2018-07-06 PB01 Publication
2018-07-31 SE01 Entry into force of request for substantive examination
2018-07-31 SE01 Entry into force of request for substantive examination
2021-12-17 RJ01 Rejection of invention patent application after publication
2021-12-17 RJ01 Rejection of invention patent application after publication

Application publication date: 20180706