[go: up one dir, main page]

CN100445909C - Machine Tool Control Device and Processing Method Using Programs for PLC Interface Processing - Google Patents

Machine Tool Control Device and Processing Method Using Programs for PLC Interface Processing Download PDF

Info

Publication number
CN100445909C
CN100445909C CNB2005101356279A CN200510135627A CN100445909C CN 100445909 C CN100445909 C CN 100445909C CN B2005101356279 A CNB2005101356279 A CN B2005101356279A CN 200510135627 A CN200510135627 A CN 200510135627A CN 100445909 C CN100445909 C CN 100445909C
Authority
CN
China
Prior art keywords
mentioned
interface
plc
control unit
user
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.)
Expired - Fee Related
Application number
CNB2005101356279A
Other languages
Chinese (zh)
Other versions
CN1797249A (en
Inventor
成大重
金宗兑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dean Machine Tool Co ltd
Original Assignee
Doosan Infracore 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 Doosan Infracore Co Ltd filed Critical Doosan Infracore Co Ltd
Publication of CN1797249A publication Critical patent/CN1797249A/en
Application granted granted Critical
Publication of CN100445909C publication Critical patent/CN100445909C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13032Different menus on screen, softkeys

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Numerical Control (AREA)
  • Programmable Controllers (AREA)

Abstract

本发明涉及一种可用程序进行PLC接口处理的机床控制装置及接口处理方法,尤其是对机床用主操作板的PLC上的I/O手段,不使用接口或指示灯,而是通过使用程序方式进行处理,可省去布线,从而便于用户操作,设计容易,并提高了系统稳定性。本发明中的可用程序进行PLC接口处理的机床控制装置及接口处理方法,对在PLC中处理的非顺序控制命令,不使用通常的PLC输入接口进行传送,而是通过主操作板及数控单元直接输入到PLC用存储器中,而其控制结果也不使用通常的PLC输出接口,而是通过预设的特定方法传送给数控单元。

Figure 200510135627

The invention relates to a machine tool control device and an interface processing method that can process PLC interfaces with programs, especially for the I/O means on the PLC of the main operating panel of the machine tool, without using interfaces or indicator lights, but by using program methods Processing can save wiring, thereby facilitating user operation, easy design, and improved system stability. In the present invention, the machine tool control device and interface processing method that can be used to process the PLC interface through the program do not use the usual PLC input interface to transmit the non-sequential control commands processed in the PLC, but directly through the main operation panel and the numerical control unit. It is input into the memory for PLC, and the control result does not use the usual PLC output interface, but is transmitted to the numerical control unit through a preset specific method.

Figure 200510135627

Description

可用程序进行PLC接口处理的机床控制装置及处理方法 Machine Tool Control Device and Processing Method Using Programs for PLC Interface Processing

技术领域 technical field

本发明涉及可用程序进行PLC接口处理的机床控制装置及接口处理方法,尤其是对机床用主操作板(Operation Panel)的可编程逻辑控制器(Programmable Logic Controller:以下简称PLC)上的I/O手段,不使用接口或指示灯,而是通过使用程序方式进行处理,从而构成不需要布线的可用程序进行PLC接口处理的机床控制装置及处理方法。The invention relates to a machine tool control device and an interface processing method that can be used for PLC interface processing with a program, especially for the I/O on the Programmable Logic Controller (Programmable Logic Controller: hereinafter referred to as PLC) of the main operation panel (Operation Panel) of the machine tool. The method does not use an interface or an indicator light, but uses a program to process, thereby forming a machine tool control device and a processing method that can perform PLC interface processing with a program that does not require wiring.

背景技术 Background technique

目前使用的CNC(Computer Numerical Control:计算机数值控制)机床是指,通过数控程序控制的自动操作,对加工物进行切削等加工作业的设备。Currently used CNC (Computer Numerical Control: Computer Numerical Control) machine tools refer to equipment that performs machining operations such as cutting on workpieces through automatic operations controlled by NC programs.

图1为现有的CNC机床用控制装置的框图。FIG. 1 is a block diagram of a conventional CNC machine tool control device.

图1中的控制装置100对与其连接的机床(未图示)的整个动作进行控制,并根据数控程序中预先设定的命令,控制机床的动作。另外,接受来自用户的相关命令,并传递相关的信息。The control device 100 in FIG. 1 controls the entire movement of the machine tool (not shown) connected to it, and controls the movement of the machine tool according to the preset command in the numerical control program. In addition, accept related commands from the user and pass related information.

现有的控制装置100中为了输入用户有关机床动作的命令,包括由输入输出板11、键盘12以及显示单元13组成的主操作板10。而且,还包括:数控单元20,识别主操作板10的命令,并通过程序储存单元(未图示)中程序,输出一系列的顺序控制命令;PLC30,接受来自数控单元20的顺序控制命令,并通过相应的方法对机床的输入输出进行顺序控制(Sequential Control);机械输入输出单元40,输入和输出PLC30的命令或信息,并将命令传送到机床;伺服控制单元50,根据上述数控单元20的顺序控制命令,对伺服马达或主轴马达等马达60进行控制。The conventional control device 100 includes a main operation panel 10 composed of an input and output panel 11 , a keyboard 12 , and a display unit 13 for inputting user commands related to machine tool operations. Moreover, it also includes: the numerical control unit 20, which recognizes the command of the main operation panel 10, and outputs a series of sequential control commands through the program in the program storage unit (not shown); PLC30, which accepts the sequential control commands from the numerical control unit 20, And carry out sequential control (Sequential Control) to the input and output of machine tool by corresponding method; Mechanical input and output unit 40, input and output the order or information of PLC30, and order is transmitted to machine tool; Servo control unit 50, according to above-mentioned numerical control unit 20 The sequence control commands are used to control the motor 60 such as a servo motor or a spindle motor.

这里,顺序控制指的是,按照预定的顺序,依次进行一系列控制步骤的自动控制。例如,假设NC车床(NC Turning Machine)加工一外径为50mm,内径上形成有M20的螺纹的部件,首先,NC车床将圆形材料固定在卡盘上并开始加工。装在刀架上的各种刀具中选择粗削用的刀具进行粗削加工。完成粗削加工后卡盘停止旋转,而刀架则选择精削用车刀。完成工具选择后,主轴带动卡盘旋转,并通过位于刀架加工位置上的精削车刀,进行精削加工,完成外径50mm的加工。完成外径加工后,在刀架中选择钻头对加工物的内径中心进行钻孔。完成钻孔加工后,再选择适合于内径加工的车刀并使其进入加工位置,然后对内径进行加工,以供形成M20的螺纹。完成内径加工后,刀架选择M20螺纹加工用的螺丝攻(Tap),进行攻螺丝(tapping)加工,形成螺纹。上述动作按顺序自动进行,这就是顺序控制。即,控制装置100根据一系列的控制命令,依次对机床进行控制,对任何复杂零件,均按照作业程序进行加工。Here, sequential control refers to the automatic control of sequentially performing a series of control steps according to a predetermined sequence. For example, assuming that an NC lathe (NC Turning Machine) processes a component with an outer diameter of 50mm and an M20 thread formed on the inner diameter, first, the NC lathe fixes the circular material on the chuck and starts processing. A tool for rough cutting is selected from various tools mounted on the tool post for rough cutting. After the rough machining is completed, the chuck stops rotating, and the tool holder selects the turning tool for fine machining. After the tool selection is completed, the spindle drives the chuck to rotate, and the finishing turning tool located on the machining position of the tool holder is used for finishing machining to complete the machining of an outer diameter of 50mm. After finishing the outer diameter machining, select the drill bit in the tool holder to drill the center of the inner diameter of the workpiece. After the drilling process is completed, select a turning tool suitable for inner diameter processing and make it enter the processing position, and then process the inner diameter to form M20 threads. After the inner diameter processing is completed, the tool holder selects the M20 screw tap for thread processing, and performs tapping processing to form threads. The above actions are carried out automatically in order, which is sequence control. That is, the control device 100 controls the machine tool sequentially according to a series of control commands, and processes any complicated parts according to the operation program.

图1中A部分显示输入输出板11和PLC30之间的连接关系,上述输入输出板11中包括,机床操作用的各种输入开关,和显示机床或PLC30的输出的指示灯。Part A of FIG. 1 shows the connection relationship between the I/O board 11 and the PLC 30. The I/O board 11 includes various input switches for machine tool operation and indicator lights for displaying the output of the machine tool or PLC 30.

输入输出板11上设有拨动开关(Toggle)等输入装置,其连接于PLC30的输入接口和输出接口,并接受用户通过开关操作进行的PLC30控制命令。另外,输入输出板11上设有指示灯,可显示通过PLC30输出接口的输出,以显示机床的动作情况。The input-output board 11 is provided with input devices such as a toggle switch (Toggle), which is connected to the input interface and output interface of the PLC30, and accepts the PLC30 control command performed by the user through switch operation. In addition, an indicator light is provided on the input and output board 11, which can display the output through the output interface of the PLC30, so as to display the operation of the machine tool.

图2为现有机床控制装置的主操作板示意图。Fig. 2 is a schematic diagram of the main operation panel of the existing machine tool control device.

如图2所示,主操作板包括,显示画面2a、英文/数字输入键2b、功能键2c以及操作板2d。其中,显示画面2a对应于显示单元13,英文/数字输入键2b和功能键2c对应于键盘12。操作板2d对应于输入输出板11,而对输入到PLC30的各种控制用接口的输入,通过操作板2d上的开关操作来进行。As shown in FIG. 2 , the main operation panel includes a display screen 2 a, English/numeric input keys 2 b, function keys 2 c and an operation panel 2 d. Wherein, the display screen 2 a corresponds to the display unit 13 , and the English/numeric input key 2 b and the function key 2 c correspond to the keyboard 12 . The operation panel 2d corresponds to the input/output panel 11, and inputs to various control interfaces of the PLC 30 are performed by operating switches on the operation panel 2d.

这种开关包括,用于机床操作、电源的开/关、紧急停机(emergencystop)以及超越控制开关(Override)等操作的开关,使主轴以时针方向及逆时针方向旋转的手动操作开关,开/关切削油用的开关,手动移送操作开关。而PLC30输出的输出接口,通过操作板2d上的指示灯等显示元件来显示。Such switches include switches used for machine tool operation, power on/off, emergency stop (emergency stop), and override switch (Override), manual operation switches that make the spindle rotate clockwise and counterclockwise, on/off Turn off the switch for cutting oil and manually transfer the operation switch. The output interface output by the PLC 30 is displayed through display elements such as indicator lights on the operation panel 2d.

通过上述开关进行的机床动作,并不是通过顺序控制,在机床进行诸如螺栓中形成螺纹的一系列机械加工,而是在一系列的顺序控制中,根据需要,用户发出的非顺序控制命令。The action of the machine tool through the above switches is not a series of mechanical processing such as thread formation in the machine tool through sequential control, but a non-sequential control command issued by the user in a series of sequential control according to needs.

例如,在机械加工中,按照预定顺序,当前不是喷射切削油的时间,但用户根据加工状况判断需要喷射切削油时,就通过开关操作喷射切削油。另外,当根据加工状态判断主轴以逆时针方向旋转更加有利于加工时,用户可暂停加工并调整旋转方向,此操作与加工顺序无关。这些操作与预先设定的加工顺序无关,由用户进行实时操作。即,顺序控制中,用户通过键盘或触摸屏输入加工顺序,这样,通过数控单元20,而伺服控制通过伺服控制单元50对伺服马达或主轴马达等马达进行控制。另外,由数控单元20向PLC30下达控制机床各装置的命令,这样,通过PLC30,由机械输入输出单元40向机床传递命令。即,顺序控制中,通过数控单元20向伺服控制单元50或PLC30下达命令。但是现有机床控制装置的控制命令中,非顺序命令是由用户直接通过PLC专用I/O输入输出接口输入。即,由用户操作操作板上的各种开关,通过直接连接操作板和PLC30的布线,向PLC30传递非顺序控制命令。For example, in mechanical processing, according to the predetermined sequence, it is not the time to spray cutting oil, but when the user judges that cutting oil needs to be sprayed according to the processing status, the cutting oil is sprayed through the switch operation. In addition, when it is judged that the counterclockwise rotation of the spindle is more conducive to processing according to the processing status, the user can pause processing and adjust the rotation direction, which has nothing to do with the processing sequence. These operations have nothing to do with the preset processing sequence, and are operated by the user in real time. That is, in sequential control, the user inputs the processing sequence through the keyboard or touch screen, so that the numerical control unit 20 controls the servo motor or the spindle motor and other motors through the servo control unit 50 in the servo control. In addition, the numerical control unit 20 issues commands to the PLC 30 to control various devices of the machine tool, so that the mechanical input and output unit 40 transmits commands to the machine tool through the PLC 30 . That is, in the sequence control, the numerical control unit 20 gives commands to the servo control unit 50 or the PLC 30 . However, in the control commands of the existing machine tool control device, the non-sequential commands are directly input by the user through the PLC dedicated I/O input and output interface. That is, the user operates various switches on the operation panel, and transmits non-sequential control commands to PLC 30 through wiring directly connecting the operation panel and PLC 30 .

通常,主操作板10上的输入输出板11中包括,16个至32个用于PLC30输入输出的接口。输入输出板11和PLC30之间布设有相当于接口数量的布线,这种布线长度可达数米。这种布线有时可起到机床及其控制装置中所发生杂波的传送路径或天线的作用,从而降低机床性能,而且布线处理制约了机床设计。Usually, the I/O board 11 on the main operation board 10 includes 16 to 32 interfaces for input and output of the PLC 30 . Between the input-output board 11 and the PLC 30, there are wires corresponding to the number of interfaces, and the length of such wires can reach several meters. Such wiring can sometimes act as a transmission path or antenna for clutter occurring in the machine tool and its controls, thereby degrading machine tool performance, and the wiring process constrains the machine tool design.

另外,最近随着I/O接口的价格上升,各种机床控制用开关元件安装越来越昂贵。而且,将这种开关元件安装在主操作板上,使主操作板越来越大,主操作板外观设计上也受到这些开关和指示灯的限制。In addition, with the recent increase in the price of I/O interfaces, the installation of various switching elements for machine tool control has become more and more expensive. Moreover, installing such switch elements on the main operating panel makes the main operating panel larger and larger, and the appearance design of the main operating panel is also limited by these switches and indicator lights.

发明内容 Contents of the invention

本发明旨在解决上述问题,其目的在于提供一种,对设置在机床控制装置的主操作板上的PLC用I/O,使用程序方式进行处理而不通过接口,从而省去PLC接口用的布线,并提高系统可靠性的可用程序进行PLC接口处理的机床控制装置及处理方法。The present invention aims to solve the above problems, and its purpose is to provide a method for processing the I/O for PLC on the main operation panel of the machine tool control device without using the interface, thereby saving the I/O used for the PLC interface. Wiring, and a machine tool control device and processing method for PLC interface processing with programs available to improve system reliability.

另外,本发明的另一目的为,提供一种设置有用户界面的主操作板结构,该用户界面用于程序处理的PLC接口,从而便于用户进行操作的可用程序进行PLC接口处理的机床控制装置及处理方法。In addition, another object of the present invention is to provide a main operation panel structure provided with a user interface, the user interface is used for the PLC interface of program processing, so that the machine tool control device that can be used for PLC interface processing by the user to operate is convenient and processing methods.

本发明中的根据相关控制命令控制机床的机床控制装置,包括:PLC、主操作板、数控单元。The machine tool control device for controlling the machine tool according to relevant control commands in the present invention includes: PLC, main operation panel, and numerical control unit.

PLC根据在执行包括顺序控制命令的上述相关控制命令中所接受的,并对应于用户非顺序控制命令的相关接口对应命令,对上述机床进行控制。主操作板在上述机床进行动作时,接受来自用户的至少一个上述非顺序控制命令,并输出相应的特定接口输入信息。The PLC controls the above-mentioned machine tool according to the relevant interface corresponding commands accepted during the execution of the above-mentioned related control commands including sequential control commands and corresponding to the user's non-sequential control commands. The main operation panel accepts at least one non-sequential control command from the user when the machine tool is operating, and outputs corresponding specific interface input information.

另外,数控单元将上述接口输入信息转换为上述接口对应命令,并传送到上述PLC。In addition, the numerical control unit converts the above-mentioned interface input information into the above-mentioned interface corresponding commands, and transmits them to the above-mentioned PLC.

上述非顺序控制命令包括,上述机床的紧急停机,对显示上述机床处于运行状态的运行指示灯的控制,对自动门的开关控制,超越控制中的至少一种。The above-mentioned non-sequential control commands include at least one of emergency shutdown of the above-mentioned machine tool, control of a running indicator light showing that the above-mentioned machine tool is in a running state, switch control of an automatic door, and override control.

上述PLC从上述机床中接受并输出对上述非顺序控制命令的至少一种控制结果,上述主操作板接受对应于上述接口输出信息并可向用户显示。这时,上述数控单元将上述控制结果转换为上述接口输出信息并输出到上述主操作板。The above-mentioned PLC receives and outputs at least one control result of the above-mentioned non-sequential control command from the above-mentioned machine tool, and the above-mentioned main operation panel receives and outputs information corresponding to the above-mentioned interface and can display it to the user. At this time, the above-mentioned numerical control unit converts the above-mentioned control result into the above-mentioned interface output information and outputs it to the above-mentioned main operation panel.

另外,上述数控单元以及上述PLC最好包括可输入和输出相关数据的存储器。这样,当上述数控单元将上述接口对应命令传送到上述PLC,以及上述PLC将上述控制结果传送到上述数控单元时,在上述存储器中,对上述接口对应命令和控制结果,通过预设的标志(Flag)标示。In addition, the above-mentioned numerical control unit and the above-mentioned PLC preferably include a memory capable of inputting and outputting relevant data. In this way, when the above-mentioned numerical control unit transmits the command corresponding to the above-mentioned interface to the above-mentioned PLC, and when the above-mentioned PLC transmits the above-mentioned control result to the above-mentioned numerical control unit, in the above-mentioned memory, the corresponding command and control result of the above-mentioned interface are passed. Flag) mark.

上述PLC根据来自上述数控单元的可由程序实施的梯形图(LadderDiagram)运行,上述梯形图包括上述接口对应命令以及控制结果处理有关的信息。The above-mentioned PLC operates according to a ladder diagram (LadderDiagram) that can be implemented by a program from the above-mentioned numerical control unit, and the above-mentioned ladder diagram includes the corresponding commands of the above-mentioned interface and information related to the processing of control results.

上述主操作板包括,输入单元、显示单元、操作板控制单元。The above-mentioned main operation panel includes an input unit, a display unit, and an operation panel control unit.

输入单元通过特定输入方法,接受用户的上述非顺序命令;显示单元向用户显示上述接口输出信息。操作板控制单元将通过上述输入单元输入的用户非顺序控制命令,转换为上述接口输入信息并输出至上述数控单元,还将对应于接受的上述接口输出信息的信息,输出到上述显示单元。The input unit accepts the above-mentioned non-sequential commands from the user through a specific input method; the display unit displays the above-mentioned interface output information to the user. The operation panel control unit converts user non-sequential control commands input through the input unit into the interface input information and outputs to the numerical control unit, and outputs information corresponding to the received interface output information to the display unit.

上述显示单元可使用视觉或听觉中至少一种方法,向用户进行显示。The above-mentioned display unit may display to the user by at least one method of vision or hearing.

上述输入单元可包括,键盘,以及可通过视觉辨认并设置在上述输入单元上的触摸屏中的至少一种。The above-mentioned input unit may include at least one of a keyboard and a visually identifiable touch screen provided on the above-mentioned input unit.

上述操作板控制单元通过上述显示单元显示帮助用户设定的指南(Guide),上述指南为,接受上述用户非顺序命令的上述输入方法以及上述接口输出信息的显示方法中的至少一个,然后可通过上述输入单元,接受用户根据上述指南进行的设定。The above-mentioned operation panel control unit displays a guide (Guide) to help the user to set through the above-mentioned display unit. The above-mentioned input unit accepts settings made by the user according to the above-mentioned guidance.

另外,本发明中,机床安装有上述机床控制装置,可省去用于传送上述非顺序控制命令的上述PLC输入输出接口用布线。In addition, in the present invention, the machine tool is equipped with the above-mentioned machine tool control device, so that the wiring for the above-mentioned PLC input/output interface for transmitting the above-mentioned non-sequential control commands can be omitted.

作为本发明之另一实施例,机床控制装置中的PLC接口处理方法,用于PLC根据通过数控单元传送的相关顺序控制命令,控制机床,并通过主操作板提供用户界面,其特征在于,包括:在执行含有顺序控制命令的上述特定控制命令过程中,通过上述主操作板接受来自用户的特定非顺序控制命令的步骤;上述主操作板输出对应于上述非顺序控制命令的相关接口输入信息的步骤;上述数控单元输出对应于所接受上述接口输入信息的相关接口对应命令的步骤;上述PLC接受上述接口对应命令,并对上述机床进行控制的步骤。As another embodiment of the present invention, the PLC interface processing method in the machine tool control device is used for PLC to control the machine tool according to the relevant sequence control commands transmitted by the numerical control unit, and to provide a user interface through the main operation panel, which is characterized in that it includes : In the process of executing the above-mentioned specific control commands containing sequential control commands, the step of accepting specific non-sequential control commands from the user through the above-mentioned main operation panel; the above-mentioned main operation panel outputs the relevant interface input information corresponding to the above-mentioned non-sequential control commands Steps: the step of the above numerical control unit outputting the relevant interface corresponding command corresponding to the received input information of the above interface; the step of the above PLC receiving the corresponding command of the above interface and controlling the above machine tool.

本发明中的机床控制装置具有如下优点:Machine tool control device among the present invention has following advantage:

第一,不使用PLC的输入输出用接口的状态下,可执行用户的非顺序控制命令。First, the user's non-sequential control commands can be executed without using the I/O interface of the PLC.

第二,可继续使用现有的PLC,并可省掉主操作板上的PLC接口用开关,指示灯等显示部件,还可省掉连接主操作板和PLC的布线。这样,可消除布线处理带来的设计上的诸多限制,而且通过去除布线,消除了杂波的传递路径,从而可提高系统的可靠性。Second, the existing PLC can continue to be used, and display components such as a switch for the PLC interface on the main operation panel, an indicator light, and the like can be omitted, and wiring for connecting the main operation panel and the PLC can also be omitted. In this way, many restrictions on design due to wiring processing can be eliminated, and by eliminating wiring, noise transmission paths can be eliminated, thereby improving system reliability.

第三,在用程序对PLC进行处理时,可通过用户操作来进行设定,这样,可简便构成主操作板,以反映用户的操作习惯以及形式。而且,不同于现有PLC输出的单调显示,在显示时可对其内容进行定义,这样,用户使用起来很方便。Third, when processing the PLC with a program, it can be set through user operations. In this way, the main operation panel can be easily constructed to reflect the user's operating habits and forms. Moreover, it is different from the monotonous display of the existing PLC output, and its content can be defined when it is displayed, so that it is very convenient for users to use.

另外,主操作板的变更以及各种PLC控制用接口的增加,均可通过软件的升级简单实现,而且可做到,在保留主操作板上的供用户实际操作的按钮及/或指示灯的前提下,不使用现有PLC接口。In addition, the change of the main operation panel and the addition of various PLC control interfaces can be easily realized through software upgrades, and it can be achieved while retaining the buttons and/or indicator lights on the main operation panel for users to actually operate. Under the premise, the existing PLC interface is not used.

附图说明 Description of drawings

图1为现有CNC机床控制装置的框图;Fig. 1 is the block diagram of existing CNC machine tool control device;

图2为现有机床控制装置的主操作板示意图;Fig. 2 is a schematic diagram of the main operation panel of the existing machine tool control device;

图3为本发明之机床控制装置的框图;Fig. 3 is the block diagram of machine tool control device of the present invention;

图4为本发明之一实施例中的机床控制装置的主操作板示意图;Fig. 4 is a schematic diagram of the main operation panel of the machine tool control device in one embodiment of the present invention;

图5为图4之主操作板中的显示画面示意图;Fig. 5 is a schematic diagram of the display screen in the main operation panel of Fig. 4;

图6为本发明之机床控制装置的动作流程图;Fig. 6 is the action flowchart of the machine tool control device of the present invention;

图7为本发明之机床控制装置的另一动作流程图。Fig. 7 is another flow chart of the operation of the machine tool control device of the present invention.

附图符号说明:Explanation of reference symbols:

310:主操作板          311:操作板控制单元310: Main operation panel 311: Operation panel control unit

313:显示单元          315:输入键313: display unit 315: input key

320:数控单元          330:PLC320: CNC unit 330: PLC

340:机械动作输入输出单元340: Mechanical action input and output unit

350:伺服控制单元      360:伺服马达350: Servo control unit 360: Servo motor

具体实施方式 Detailed ways

以下,参照附图对本发明中的较佳实施例进行详细说明。Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

本发明中的机床控制装置包括PLC,在执行含有顺序控制命令的相关控制命令过程中,接受来自用户的非顺序控制命令,并对机床进行控制。这种非顺序控制命令指的是,在机床为了达到其目的,而根据一系列顺序控制命令进行设备运行的过程中,使用户任意地对机床进行控制所需要的各种命令,其包括,机床运行中对运行指示灯的控制;手动移送控制;对主轴以时针方向或逆时针方向旋转进行手动控制;设备的紧急停机;运行指示灯的开启或关闭;切削油的喷射开始或中断;中心架的夹紧或松开;尾座的止动或开放;固定门的开闭控制及紧急停止等。The machine tool control device in the present invention includes a PLC, which accepts non-sequential control commands from users and controls the machine tool during the execution of related control commands including sequential control commands. This non-sequential control command refers to the various commands required for the user to control the machine tool arbitrarily during the process of machine tool operation according to a series of sequential control commands in order to achieve its purpose, including, machine tool Control of running indicator light during operation; manual transfer control; manual control of spindle rotation in clockwise or counterclockwise direction; emergency stop of equipment; turning on or off of running indicator light; start or stop of cutting oil injection; steady rest The clamping or loosening of the tailstock; the stop or release of the tailstock; the opening and closing control and emergency stop of the fixed door, etc.

另外,对上述非顺序控制命令的控制结果,不使用现有技术中的PLC输出接口,而用程序进行控制并显示给用户。In addition, the control results of the above non-sequential control commands do not use the PLC output interface in the prior art, but are controlled by a program and displayed to the user.

本发明中的机床控制装置使用现有的PLC,以对控制机床所需的大量输入输出信号进行处理,而且上述作业中也使用PLC。但是,本发明的PLC控制命令中,对非顺序控制命令的输入输出方式,用程序进行处理,而不使用直接连接到开关的接口,这样,本发明中的机床控制装置可获得降低成本,提高可靠性以及设计简单等各种效果。The machine tool control device in the present invention uses an existing PLC to process a large number of input and output signals required to control the machine tool, and the PLC is also used in the above-mentioned operations. However, in the PLC control command of the present invention, the input and output modes of the non-sequential control command are processed with a program instead of using an interface directly connected to the switch. Like this, the machine tool control device in the present invention can reduce costs and improve Various effects such as reliability and simplicity of design.

首先,本发明中的机床控制装置,通过主操作板上的显示单元和键盘,接受关于PLC输入及输出接口状态(Status)之程序方面的设定的用户命令。First of all, the machine tool control device in the present invention accepts user commands for setting program aspects of PLC input and output interface status (Status) through the display unit and keyboard on the main operation panel.

当发现这种根据用户设定的特定键盘输入时,本发明中的控制装置代替PLC用的输入接口,将输入信息通过特定方法传送到PLC,即,可代替现有的PLC输入接口用开关。When such a specific keyboard input according to the user setting is found, the control device in the present invention replaces the input interface used by the PLC, and transmits the input information to the PLC through a specific method, that is, it can replace the switch for the existing PLC input interface.

另外,本发明中的控制装置,将非顺序控制命令的PLC控制结果,通过通信手段显示在主操作板的显示画面上,而不使用PLC接口控制的指示灯等其他显示元件。In addition, the control device in the present invention displays the PLC control results of non-sequential control commands on the display screen of the main operation panel through communication means, without using other display elements such as indicator lights controlled by the PLC interface.

这样,本发明中的机床控制装置,使用原先的PLC,并可省去或减少PLC的输入及输出接口。In this way, the machine tool control device in the present invention uses the original PLC, and can save or reduce the input and output interfaces of the PLC.

在以下说明中,将本发明中的控制装置通过程序生成的接口信息,分别称为『接口输入信息』以及『接口输出信息』,以对应于作为PLC输入及输出接口并由开关、指示灯、LED生成的接口输入及输出。接口输入信息对应于用户的非顺序控制命令,而接口输出信息则是非顺序控制命令的结果信息。这里,将通过接口输入信息和接口输出信息处理的命令及其过程称为『程序-接口对应命令』。In the following description, the interface information generated by the control device in the present invention through the program is respectively referred to as "interface input information" and "interface output information", so as to correspond to the input and output interfaces of the PLC and are composed of switches, indicator lights, Interface input and output generated by LED. The interface input information corresponds to the user's non-sequential control command, while the interface output information is the result information of the non-sequential control command. Here, the command and its process that are processed through the interface input information and interface output information are referred to as "program-interface corresponding command".

图3为本发明中的机床控制装置的框图。Fig. 3 is a block diagram of a machine tool control device in the present invention.

如图3所示,本发明中的机床控制装置300包括:主操作板310、数控单元320、PLC330、机械动作输入输出单元340、伺服(Servo)控制单元350以及伺服马达(Servomotor)360。As shown in FIG. 3 , the machine tool control device 300 of the present invention includes: a main operation panel 310 , a numerical control unit 320 , a PLC 330 , a mechanical action input and output unit 340 , a servo (Servo) control unit 350 and a servo motor (Servomotor) 360 .

主操作板310可通过相关通讯协议,与数控单元320进行通讯,接受用户的控制命令并传送到数控单元320。另外,主操作板310接受数控单元320的输出,并将与其对应的图像显示给用户,从而可使用户实时监控机床的状态。The main operation panel 310 can communicate with the numerical control unit 320 through relevant communication protocols, and receive the user's control commands and send them to the numerical control unit 320 . In addition, the main operation panel 310 receives the output of the numerical control unit 320 and displays the corresponding image to the user, so that the user can monitor the state of the machine tool in real time.

主操作板310接受用户关于直接控制PLC330而使用的程序-接口对应命令的设定,当输入设定时,将其传送给数控单元320。The main operation panel 310 accepts the setting of the program-interface correspondence command used by the user for directly controlling the PLC 330 , and transmits the setting to the numerical control unit 320 when the setting is input.

主操作板310包括操作板控制单元311、显示单元313、键盘315。根据具体实施例,还可包括输入输出板(未图示)。The main operation panel 310 includes an operation panel control unit 311 , a display unit 313 , and a keyboard 315 . According to specific embodiments, an input output board (not shown) may also be included.

显示单元310可使用阴极射线管(CRT)、普及型LCD、薄膜晶体管(TFT)LCD以及有机发光二极管(Organic Light Emitting Diodes:OLED)等显示器,并接受操作板控制单元311的输出并进行显示,以供用户确认。The display unit 310 can use displays such as a cathode ray tube (CRT), a popular LCD, a thin film transistor (TFT) LCD, and an organic light emitting diode (Organic Light Emitting Diodes: OLED), and accepts the output of the operation panel control unit 311 and displays it. for user confirmation.

另外,显示单元313可包括触摸屏(Touch screen)功能。In addition, the display unit 313 may include a touch screen function.

通过显示单元313显示的内容包括对机床各种控制状态的监控信息,当用户要设定及输入相关的控制命令以及程序-接口对应命令时,显示各种指南信息,帮助用户。The content displayed by the display unit 313 includes monitoring information on various control states of the machine tool. When the user wants to set and input related control commands and program-interface corresponding commands, various guide information is displayed to help the user.

操作板控制单元311将用户通过键盘315输入的各种控制命令,传送给数控单元320。The operation panel control unit 311 transmits various control commands input by the user through the keyboard 315 to the numerical control unit 320 .

当用户需要设定程序-接口对应命令时,操作板控制单元311通过显示单元313输出帮助用户操作的指南信息,以帮助用户进行程序-接口对应命令的设定。When the user needs to set a program-interface corresponding command, the operation panel control unit 311 outputs guide information to help the user operate through the display unit 313, so as to help the user set the program-interface corresponding command.

操作板控制单元311为了进行非顺序命令的程序接口输入信息的处理,使特定键输入与接口输入信息对应。这样,当操作该键时,将对应于上述键的接口输入信息传送给数控单元320。这种被指定为非顺序控制命令的键,最好使用键盘315中的单独功能键。The operation panel control unit 311 associates the specific key input with the interface input information in order to process the program interface input information of the non-sequential command. Thus, when the key is operated, the interface input information corresponding to the above-mentioned key is transmitted to the numerical control unit 320 . Such keys designated as non-sequential control commands preferably use individual function keys in the keyboard 315.

另外,操作板控制单元311从数控单元320接受PLC330关于非顺序控制命令的控制结果,即接口输出信息,并通过显示单元313显示给用户。这时,操作板控制单元311不仅显示接口,还具体显示各种信息。In addition, the operation panel control unit 311 receives the control results of the non-sequential control commands of the PLC 330 from the numerical control unit 320 , that is, interface output information, and displays them to the user through the display unit 313 . At this time, the operation panel control unit 311 not only displays the interface but also specifically displays various information.

键盘315作为接受来自用户的包括非顺序控制命令在内的各种控制命令的装置,可包括一定数量的功能键(Function Key)。The keyboard 315, as a device for receiving various control commands including non-sequential control commands from the user, may include a certain number of function keys (Function Key).

本发明之一实施例中,以键盘315为例进行了说明,但本发明不限定于此,可使用鼠标、操控旋钮(Jog shuttle)、其他有/无线界面,只要能连接操作板控制单元311和用户即可。In one embodiment of the present invention, the keyboard 315 is taken as an example for illustration, but the present invention is not limited thereto, a mouse, a jog knob (Jog shuttle), and other wired/wireless interfaces can be used, as long as the operation panel control unit 311 can be connected and users.

本发明中的机床控制装置300可对PLC330的输入输出接口中,由用户通过键盘315或触摸屏直接控制的非顺序控制命令和其结果,均使用程序-接口对应命令进行处理。但是,根据具体实施例,这种PLC输入输出接口中的特定接口可使用现有方式。这时,主操作板310可包括输入输出板。The machine tool control device 300 in the present invention can process the non-sequential control commands and their results directly controlled by the user through the keyboard 315 or the touch screen in the input and output interfaces of the PLC 330 by using the program-interface corresponding commands. However, according to specific embodiments, specific interfaces among such PLC input and output interfaces can use existing methods. At this time, the main operation board 310 may include an input and output board.

对PLC330那些接口通过程序-接口对应命令进行处理,或使用现有方式进行处理,可根据用户的操作方便性以及习惯而定。The interfaces of the PLC330 are processed through program-interface corresponding commands, or using existing methods, which can be determined according to the user's operation convenience and habits.

数控单元320根据预设的数控程序,通过PLC330以及伺服控制单元350对机床的整个动作进行控制,并使用相关通讯协议进行与主操作板310间的通讯,以接受及发送相关命令。另外,通过包括通常通讯方法在内的特定方法,进行与PLC330之间的数据交换。The numerical control unit 320 controls the entire movement of the machine tool through the PLC 330 and the servo control unit 350 according to the preset numerical control program, and communicates with the main operation panel 310 by using relevant communication protocols to receive and send relevant commands. In addition, data exchange with PLC330 is performed by a specific method including a normal communication method.

数控单元320根据相关数控程序,向PLC330发送顺序控制命令,从PLC330接受与该控制相关的控制结果并进行处理,然后输出至显示单元313。而且数控单元320向伺服控制单元350输出相关控制命令,从而对伺服马达进行控制。The numerical control unit 320 sends sequential control commands to the PLC 330 according to the relevant numerical control programs, receives and processes the control results related to the control from the PLC 330 , and outputs them to the display unit 313 . Moreover, the numerical control unit 320 outputs related control commands to the servo control unit 350 to control the servo motor.

当数控单元320为了进行程序-接口对应命令的处理,通过用户操作,从操作板控制单元311接受接口输入信息时,通过已设定的非顺序控制命令进行确认,并将对应的接口对应命令向PLC330输出。When the numerical control unit 320 receives the interface input information from the operation panel control unit 311 through the user operation in order to process the program-interface corresponding command, it confirms through the set non-sequential control command, and sends the corresponding interface corresponding command to PLC330 output.

另外,数控单元320根据接口对应命令,接受由PLC330控制机床(未图示)的相关控制结果,并生成对应的接口输出信息并发送到主操作板310。In addition, the numerical control unit 320 receives relevant control results of the machine tool (not shown) controlled by the PLC 330 according to the interface corresponding command, generates corresponding interface output information and sends it to the main operation panel 310 .

为了使数控单元320向PLC330发送接口对应命令并从PLC330接受控制结果,数控单元320和PLC330可使用共用存储器(未图示)。In order for the numerical control unit 320 to send interface corresponding commands to the PLC 330 and to receive control results from the PLC 330 , the numerical control unit 320 and the PLC 330 may use a shared memory (not shown).

数控单元320和PLC330将共用存储器(未图示)中的相关位置分配给接口对应命令以及控制结果的显示,对该存储器值(以下称标志(Flag))进行管理,从而可发送和接受有关程序-接口对应命令的信息。Numerical control unit 320 and PLC330 allocate relevant positions in the shared memory (not shown) to the display of corresponding commands and control results of the interface, and manage the memory value (hereinafter referred to as flag (Flag)), so that relevant programs can be sent and accepted - Information about the command corresponding to the interface.

根据另一实施例,数控单元320可通过一般通讯向PLC330发送接口对应命令,而PLC330将其存储到特定的内部存储器(未图示)中,从而作为已设定的接口输入进行处理。同样,将对于接口对应命令的控制结果,通过通讯手段传送给数控单元320,可对本发明中的程序-接口对应命令进行处理。According to another embodiment, the numerical control unit 320 can send an interface corresponding command to the PLC 330 through general communication, and the PLC 330 stores it in a specific internal memory (not shown), so as to process it as a set interface input. Similarly, the control result of the command corresponding to the interface is transmitted to the numerical control unit 320 through communication means, and the command corresponding to the program-interface in the present invention can be processed.

PLC330内部包括输入输出接口用分存储器(未图示)以及共用存储器(未图示),并通过机械动作输入输出单元340对机床(未图示)的动作进行实际控制。为了进行控制,PLC330与数控单元320通过特定通讯协议进行通讯,并从数控单元320接受相关顺序控制命令。The PLC 330 includes sub-memory (not shown) and common memory (not shown) for input/output interface, and actually controls the motion of the machine tool (not shown) through the mechanical motion input/output unit 340 . In order to perform control, the PLC 330 communicates with the numerical control unit 320 through a specific communication protocol, and receives relevant sequential control commands from the numerical control unit 320 .

另外,PLC330通过主操作板310实时接受用户的非顺序控制命令,并对机床(未图示)进行控制。这时,PLC330读出共用存储器(未图示)中的标志,将对应于数控单元320中的接口对应命令的控制命令发送至机械动作输入输出单元340。In addition, the PLC 330 receives non-sequential control commands from the user in real time through the main operation panel 310, and controls the machine tool (not shown). At this time, the PLC 330 reads the flag in the shared memory (not shown), and sends the control command corresponding to the interface corresponding command in the numerical control unit 320 to the mechanical operation input and output unit 340 .

PLC330在所要执行的控制命令中,对通过程序-接口对应命令处理的操作(例如紧急停机),不读出通常的输入输出接口用的存储值,而是读出数控单元320传送的标志并执行。这样,编制PLC330执行的梯形图时,用户设定成,PLC330读出标志,而不是内部的输入输出接口用存储值,使其处理程序-接口对应命令对应的操作。Among the control commands to be executed, the PLC330 does not read out the stored value of the usual input and output interface for the operation (such as emergency stop) corresponding to the command processing through the program-interface, but reads out the sign transmitted by the numerical control unit 320 and executes it. . In this way, when compiling the ladder diagram executed by the PLC330, the user sets it so that the PLC330 reads the flag instead of the stored value for the internal input and output interface, so that it can process the operation corresponding to the command corresponding to the program-interface.

机械动作输入输出单元340包括,机械动作输入单元341和机械动作输出单元343。The mechanical action input and output unit 340 includes a mechanical action input unit 341 and a mechanical action output unit 343 .

机械动作输入单元341接受机床(未图示)的控制结果并发送至PLC330。Mechanical motion input unit 341 receives a control result of a machine tool (not shown) and sends it to PLC 330 .

机械动作输出单元343接受PLC330的控制命令并控制机床(未图示)进行相应的动作。The mechanical action output unit 343 receives control commands from the PLC 330 and controls the machine tool (not shown) to perform corresponding actions.

伺服控制单元350与伺服马达360相连,并根据数控单元320的控制,对伺服马达360进行控制。The servo control unit 350 is connected to the servo motor 360 and controls the servo motor 360 according to the control of the numerical control unit 320 .

在上述实施例中,分别设置主操作板310中的操作板控制单元311和数控单元320,也可以将操作板控制单元311的功能包含在数控单元320中。In the above-mentioned embodiments, the operation panel control unit 311 and the numerical control unit 320 in the main operation panel 310 are provided separately, but the functions of the operation panel control unit 311 may also be included in the numerical control unit 320 .

具有上述构成的本发明中的机床控制装置,其数控装置320识别主操作板310的命令,并根据程序内容,执行机床动作命令,而PLC330根据数控单元320的程序-接口对应命令,执行非顺序控制命令。In the machine tool control device of the present invention having the above-mentioned structure, its numerical control device 320 recognizes the command of the main operation panel 310, and executes the machine tool action command according to the program content, and the PLC330 executes the non-sequential command according to the program-interface corresponding command of the numerical control unit 320 control commands.

在程序-接口对应命令中,对于控制命令的输入,用户通过键盘315上的键进行输入。作为另一实施例,主操作板310之显示单元313中显示的图像和键盘315上的输入键可使用。In the program-interface corresponding command, the user inputs the control command through the keys on the keyboard 315 . As another example, an image displayed in the display unit 313 of the main operation panel 310 and an input key on the keyboard 315 may be used.

在程序-接口对应命令中,现有的用于显示控制结果的指示灯或其他显示元件对应于显示单元313上的图形。In the program-interface correspondence command, existing indicator lights or other display elements for displaying control results correspond to graphics on the display unit 313 .

用户可使用主操作板310,对相当于非顺序控制命令的程序-接口对应命令进行用户设定。用户设定内容中包括,在键盘315上对相关程序-接口对应命令进行相关键指定,以及显示单元313的显示方法等。这种设定可使用预设的默认设定,或根据用户的操作模式或习惯随时设定。The user can use the main operation panel 310 to perform user settings for program-interface correspondence commands corresponding to non-sequential control commands. The content of the user setting includes relevant key designation on the keyboard 315 for the relevant program-interface corresponding command, and the display method of the display unit 313 . This setting can use the preset default setting, or set it at any time according to the user's operation mode or habit.

完成设定后,用户不需要用现有的开关进行操作,取而代之的是,通过操作键盘315上的键进行操作,或利用键盘315对显示单元313上的光标(Cursor)进行移动操作来完成控制。After the setting is completed, the user does not need to use the existing switches to operate. Instead, the user operates the keys on the keyboard 315, or uses the keyboard 315 to move the cursor (Cursor) on the display unit 313 to complete the control. .

这种设定程序-接口对应命令并执行与其对应的非顺序控制命令的方法,只要是本发明所属技术领域的专业人员,都可以对其进行各种各样的变形。在本发明实施例中使用了标志,也可通过各种通讯方法,对数控单元320和PLC330之间的周期性信息进行确认,执行对应的程序-接口对应命令。This method of setting program-interface corresponding commands and executing the corresponding non-sequential control commands can be modified in various ways as long as it is a professional in the technical field to which the present invention belongs. In the embodiment of the present invention, signs are used, and periodic information between the numerical control unit 320 and the PLC 330 can also be confirmed through various communication methods, and corresponding program-interface corresponding commands can be executed.

以下,参照图4对程序-接口对应命令的用户界面连接方法进行详细说明。Hereinafter, the user interface connection method of the program-interface corresponding command will be described in detail with reference to FIG. 4 .

图4为本发明之一实施例中的机床控制装置的主操作板示意图。Fig. 4 is a schematic diagram of the main operation panel of the machine tool control device in one embodiment of the present invention.

图4中的主操作板310可提供多种用户界面,其用于对机床的平常控制和监控手段,以及在设定程序-接口对应命令并进行操作时,提供方便。图4中的主操作板310对应于图3中的机床控制装置300的主操作板310,这里以图3为基础进行说明。The main operation panel 310 in FIG. 4 can provide various user interfaces, which are used for ordinary control and monitoring of the machine tool, and provide convenience when setting program-interface corresponding commands and performing operations. The main operation panel 310 in FIG. 4 corresponds to the main operation panel 310 of the machine tool control device 300 in FIG. 3 , and will be described here based on FIG. 3 .

图4中的显示画面4a对应于显示单元313,而输入键4b、功能键4c及操作板4d对应于键盘315。The display screen 4 a in FIG. 4 corresponds to the display unit 313 , and the input key 4 b , function key 4 c and operation panel 4 d correspond to the keyboard 315 .

如图4所示,设有单独的操作板4d时,也可省略大部分开关和显示部件。只是,为了使用户便于操作,在操作板4d中可留下最低限度的开关。As shown in FIG. 4, when a separate operation panel 4d is provided, most of the switches and display parts can be omitted. However, a minimum number of switches may be left on the operation panel 4d for the convenience of the user.

这种操作板4d上的开关可通过程序-接口对应命令进行处理,也可使用现有的接口。可将电源开关、紧急停机开关以及超越控制开关等设置于操作板4d上。The switches on the operation panel 4d can be processed through program-interface corresponding commands, and existing interfaces can also be used. A power switch, an emergency stop switch, an override control switch, etc. can be arranged on the operation panel 4d.

本发明中的显示画面4a显示,对应于图2中现有操作板2d上各种开关及指示灯的开关(以下称『软件开关』)以及指示灯的图形。可使用这种软件开关的有,作业指示灯开关、自动门开闭控制开关、中心架控制开关、刀具修正开关等。The display screen 4a display among the present invention corresponds to the switch (hereinafter referred to as "software switch") and the figure of the indicator lamp of various switches and indicator lights on the existing operating panel 2d in Fig. 2 . The switches that can use this software include the operation indicator switch, the automatic door opening and closing control switch, the steady rest control switch, the tool correction switch, etc.

操作板控制单元311将各功能键4和软件开关形成对应,使用户一边观察显示画面4a上的软件开关图像,一边进行功能键操作。但是显示画面4a上显示软件开关图像并不是必须的。The operation panel control unit 311 associates each function key 4 with a software switch, and enables the user to operate the function key while viewing the software switch image on the display screen 4a. However, it is not essential to display the software switch image on the display screen 4a.

根据另一实施例,如果无法使各软件开关和功能键4c一一对应时,部分软件开关可使用输入键4b移动显示画面4a上的光标进行操作。According to another embodiment, if there is no one-to-one correspondence between each software switch and the function key 4c, some software switches can be operated by using the input key 4b to move the cursor on the display screen 4a.

根据另一实施例,显示画面4a具有触摸屏功能,替代功能键4c,起到开关作用。According to another embodiment, the display screen 4a has a touch screen function, which replaces the function key 4c and acts as a switch.

另外,图2中的现有操作板2d上的各种LED或指示灯,在图4的本发明之主操作板310中显示在显示画面4a上。而且显示画面4a可构成,不同于通常的显示内容的程序PLC接口专用画面。In addition, various LEDs or indicator lights on the conventional operation panel 2d in FIG. 2 are displayed on the display screen 4a in the main operation panel 310 of the present invention in FIG. 4 . Moreover, the display screen 4a can be configured as a program PLC interface dedicated screen different from the usual display content.

如图4所示,包括软件开关和功能键4c对应关系在内的程序-接口对应命令,可通过显示单元313上的相关指南进行设定。As shown in FIG. 4 , the corresponding program-interface commands including the corresponding relationship between the software switch and the function key 4c can be set through the relevant guide on the display unit 313 .

图5为图4之主操作板的显示画面示意图。FIG. 5 is a schematic diagram of the display screen of the main operation panel in FIG. 4 .

显示画面中5a表示,用户将功能键‘F1’设定为运行指示灯的开闭控制开关,而将‘F2’设定为自动门控制开关。这样,用户可通过F1键开启和关闭运行指示灯,还通过反复按下F2键,控制自动门。当然,用户可随时变更这种键设定。5a in the display screen shows that the user sets the function key 'F1' as the on-off control switch of the running indicator light, and sets 'F2' as the automatic door control switch. In this way, the user can turn on and off the running indicator light through the F1 key, and also control the automatic door by pressing the F2 key repeatedly. Of course, the user can change this key setting at any time.

另外,显示画面上的5b表示,对卡盘夹具(Chuck clamp)以及下端齿轮(Gear)不指定单独的键,而是通过显示画面上的光标进行调节。In addition, 5b on the display screen indicates that the chuck clamp (Chuck clamp) and the lower end gear (Gear) are not assigned individual keys, but are adjusted by the cursor on the display screen.

另外,这种用户控制的控制结果通过PLC330传送至主操作板310的显示单元313,如显示画面上的5c,表示相关状态的部分通过颜色变化或闪烁等方法进行提示。In addition, the control result of this user control is transmitted to the display unit 313 of the main operation panel 310 through the PLC 330, such as 5c on the display screen, and the part indicating the relevant status is prompted by methods such as color change or flickering.

图6为本发明中的机床控制装置的动作流程图,显示非顺序控制命令的执行过程。Fig. 6 is an action flowchart of the machine tool control device in the present invention, showing the execution process of non-sequential control commands.

以下,参照图3至图6,对本发明中的机床控制装置的动作进行说明。Hereinafter, the operation of the machine tool control device according to the present invention will be described with reference to FIGS. 3 to 6 .

在机床运行过程中,主操作板310上的操作板控制单元311通过键盘315接受用户的非顺序控制命令。在接受非顺序控制命令之前,用户可设定用于输入非顺序控制命令的用户界面。另外,操作板控制单元311可通过显示单元313显示帮助用户设定界面的相关指南(Guide)。During the operation of the machine tool, the operation panel control unit 311 on the main operation panel 310 accepts non-sequential control commands from the user through the keyboard 315 . Before accepting the non-sequential control command, the user may set the user interface for inputting the non-sequential control command. In addition, the operation panel control unit 311 can display a related guide (Guide) to help the user set the interface through the display unit 313 .

操作板控制单元311向数控单元320发送已设定的对应于非顺序控制命令的接口输入信息(S603)。The operation panel control unit 311 sends the set interface input information corresponding to the non-sequential control command to the numerical control unit 320 (S603).

数控单元320接受接口输入信息后,通过对相关接口输入信息进行分析,识别出用户的非顺序控制命令,并向PLC330输出接口对应命令。接口对应命令的输出通过对共用存储器(未图示)上的相关标志进行标示的方法来进行(S605)。After receiving the interface input information, the numerical control unit 320 identifies the user's non-sequential control commands by analyzing the relevant interface input information, and outputs the corresponding interface commands to the PLC 330 . The output of the interface-compatible command is performed by marking a related flag on a shared memory (not shown) (S605).

PLC330在包括一系列顺序控制命令在内的相关控制命令的执行过程中,读出共用存储器内容,以确认有无接口对应命令。确认结果,如存在接口对应命令,PLC330将与其对应的控制命令发送到机械动作输出单元343中,从而执行与用户非顺序控制命令相关的动作(S607)。During the execution of relevant control commands including a series of sequence control commands, PLC330 reads out the content of the shared memory to confirm whether there is an interface corresponding command. As a result of the confirmation, if there is an interface corresponding command, the PLC 330 sends the corresponding control command to the mechanical action output unit 343, so as to execute actions related to the user's non-sequential control command (S607).

这样,在PLC330执行用户的非顺序控制命令。In this way, PLC330 executes the user's non-sequential control command.

图7为本发明中的机床控制装置的另一动作流程图,是对于非顺序控制命令的控制结果显示过程。Fig. 7 is another action flow chart of the machine tool control device in the present invention, which is the process of displaying control results for non-sequential control commands.

通过图6之方法,用户的相关非顺序控制命令在机床执行后,PLC330通过机械动作输入单元341接受控制结果,并向数控单元传送上述控制结果。控制结果的传送通过对共用存储器上的相关标志进行标示的方法来进行(S701)。Through the method in Fig. 6, after the user's related non-sequential control commands are executed on the machine tool, the PLC330 receives the control results through the mechanical action input unit 341, and transmits the above control results to the numerical control unit. The transfer of the control result is performed by marking the relevant flag on the shared memory (S701).

数控单元320读出共用存储器内容,以确认控制结果是否标示。确认结果,如存在控制结果,数控单元320向主操作板310输出对应的接口输出信息(S703)。The numerical control unit 320 reads out the content of the shared memory to confirm whether the control result is marked. Confirm the result, if there is a control result, the numerical control unit 320 outputs the corresponding interface output information to the main operation panel 310 (S703).

主操作板310的操作板控制单元311通过显示单元313对接受的接口输出信息相对应的预设特定控制结果进行显示(S705)。The operation panel control unit 311 of the main operation panel 310 displays the preset specific control result corresponding to the received interface output information through the display unit 313 (S705).

通过上述方法,本发明中的机床控制装置进行动作,并对用户的非顺序控制命令的结果进行显示。Through the above-mentioned method, the machine tool control device in the present invention operates and displays the result of the user's non-sequential control command.

在以上的说明中,对本发明之较佳实施例进行了说明,但本发明并不仅限于上述特定实施例,本领域专业人员在本发明技术思想范围内,可对其进行各种各样的变形。In the above description, the preferred embodiments of the present invention have been described, but the present invention is not limited to the above-mentioned specific embodiments, and those skilled in the art can carry out various deformations to it within the scope of the technical thought of the present invention .

Claims (14)

1, a kind of machine control unit comprises: import the main operation plate of various machinings with setting value for the user; According to the setting value of accepting from above-mentioned main operation plate, export a series of numerical control units that are used for the sequential control order of machining; Accept the sequential control order from above-mentioned numerical control unit, and motor is carried out servo-controlled servo control unit by corresponding method; Accept the sequential control order from above-mentioned numerical control unit, and the PLC that the input and output of lathe is controlled by corresponding method; The order of the above-mentioned PLC of input and output or information, and transmit the mechanical input-output unit of order to lathe, described machine control unit is characterized in that:
Above-mentioned main operation plate is accepted at least one non-sequential control order from the user in above-mentioned lathe operational process, and the special interface input information of correspondence is sent to above-mentioned numerical control unit;
Above-mentioned numerical control unit is converted to the corresponding order of specific interface with above-mentioned interface input information, and is sent to above-mentioned PLC;
Above-mentioned PLC accepts the corresponding order of above-mentioned interface, and above-mentioned lathe is controlled.
2, machine control unit according to claim 1 is characterized in that above-mentioned non-sequential control order comprises:
The emergency stop of above-mentioned lathe; Control to the run indicator that shows above-mentioned lathe running status; To the open and close controlling of fixed gate and surmount control; Manually transfer movement control; The injection beginning of cutting oil or interruption; The clamping of centre frame or unclamp; The stop of tailstock or opening; The open and close controlling of fixed gate reaches and promptly stops.
3, machine control unit according to claim 1 is characterized in that:
Above-mentioned PLC from above-mentioned lathe accept and output at least a control result of above-mentioned non-sequential control order;
Above-mentioned numerical control unit is accepted the control result from above-mentioned PLC, and is converted into corresponding interface output information and outputs to above-mentioned main operation plate;
Above-mentioned main operation plate is accepted above-mentioned interface output information, and is shown to the user.
4, as machine control unit as described in the claim 3, it is characterized in that:
Above-mentioned numerical control unit and above-mentioned PLC further comprise can the input and output related data storer;
Above-mentioned numerical control unit is sent to above-mentioned PLC with the corresponding order of above-mentioned interface, and above-mentioned PLC with the process that above-mentioned control result is sent to above-mentioned numerical control unit is, in above-mentioned storer,, indicate by the sign of having set to corresponding order of above-mentioned interface and control result.
5, as machine control unit as described in the claim 3, it is characterized in that:
Above-mentioned PLC is according to can moving by the particular trapezium figure that program is implemented of accepting from above-mentioned numerical control unit;
Above-mentioned ladder diagram comprises corresponding order of above-mentioned interface and control result treatment information.
6, as machine control unit as described in the claim 3, it is characterized in that above-mentioned main operation plate comprises:
Input block is accepted user's above-mentioned non-sequential control order by specific input method;
Display unit shows the above-mentioned interface output information of acceptance to the user;
The operation panel control module, to be converted to above-mentioned interface input information and export above-mentioned numerical control unit to by the non-sequential control order of user of above-mentioned input block input, and, will with the pairing information of accepting of above-mentioned interface output information, output to above-mentioned display unit.
7, as machine control unit as described in the claim 6, it is characterized in that:
Above-mentioned display unit uses at least a method in the vision or the sense of hearing, shows to the user.
8, as machine control unit as described in the claim 6, it is characterized in that above-mentioned input block comprises:
Keyboard and can and be arranged at least a in the touch-screen on the above-mentioned input block by visuognosis.
9, as machine control unit as described in the claim 6, it is characterized in that:
Aforesaid operations plate control module shows the guide that helps the user to set by above-mentioned display unit, and described guide is to accept the above-mentioned input method of above-mentioned user's nonsequenced command and at least one in the above-mentioned interface output information display packing;
By above-mentioned input block, accept the setting that the user carries out according to above-mentioned guide.
10, a kind of lathe is characterized in that:
Claim 1 or 3 described machine control units are installed, and remove the wiring that the above-mentioned PLC IO interface be used to carry out above-mentioned non-sequential control order is used.
11, a kind of PLC interface disposal route of machine control unit, is controlled lathe, and is provided user interface by the main operation plate by the sequential control order that numerical control unit transmits according to PLC, it is characterized in that, may further comprise the steps:
Contain in the specific control command process of sequential control order in execution, by the step of above-mentioned main operation plate acceptance from user's specific non-sequential control order;
Above-mentioned main operation plate output is corresponding to the step of the special interface input information of above-mentioned non-sequential control order;
Above-mentioned numerical control unit is exported the step with the corresponding order of being accepted of the corresponding special interface of above-mentioned interface input information;
Above-mentioned PLC accepts the corresponding order of above-mentioned interface, and the step that above-mentioned lathe is controlled.
12, as the PLC interface disposal route of machine control unit as described in the claim 11, it is characterized in that, further comprising the steps of:
Above-mentioned PLC from above-mentioned lathe accept and output at least a control result's of above-mentioned non-sequential control order step;
Above-mentioned numerical control unit is accepted the control result from above-mentioned PLC, and the step of output corresponding interface output information;
Above-mentioned main operation plate is accepted above-mentioned interface output information, and will be shown to user's step corresponding to above-mentioned control result's content.
13, as the PLC interface disposal route of machine control unit as described in the claim 12, it is characterized in that:
Above-mentioned numerical control unit is exported the step of the corresponding order of above-mentioned interface, and at least one step that above-mentioned PLC exports in above-mentioned control result's the step is, in specific memory,, use the sign of having set to indicate to corresponding order of above-mentioned interface and control result.
14, as the PLC interface disposal route of machine control unit as described in the claim 12, it is characterized in that, further comprising the steps of:
Show that to the user step of guide, described guide are about at least one the setting the method for accepting above-mentioned nonsequenced command from the user and the above-mentioned interface output information display packing;
The step that the user sets according to above-mentioned guide input.
CNB2005101356279A 2004-12-29 2005-12-27 Machine Tool Control Device and Processing Method Using Programs for PLC Interface Processing Expired - Fee Related CN100445909C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020040115503A KR20060076884A (en) 2004-12-29 2004-12-29 Software PLC contact processing device and method of numerical control device
KR1020040115503 2004-12-29

Publications (2)

Publication Number Publication Date
CN1797249A CN1797249A (en) 2006-07-05
CN100445909C true CN100445909C (en) 2008-12-24

Family

ID=36797376

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101356279A Expired - Fee Related CN100445909C (en) 2004-12-29 2005-12-27 Machine Tool Control Device and Processing Method Using Programs for PLC Interface Processing

Country Status (3)

Country Link
JP (1) JP4302100B2 (en)
KR (1) KR20060076884A (en)
CN (1) CN100445909C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4328352B2 (en) * 2006-12-18 2009-09-09 ファナック株式会社 Diagnostic method and system for external signal input / output unit
KR101500748B1 (en) * 2008-12-15 2015-03-09 두산인프라코어 주식회사 Numerical control system
CN101819419B (en) * 2009-02-27 2011-12-07 郑州紫辰科技开发有限公司 Active plc intelligent liquid crystal display
CN101846980B (en) * 2009-09-01 2013-11-13 中广核工程有限公司 Method and system for converting logic diagram into sequence diagram
CN102350421B (en) * 2011-07-15 2013-11-20 北方工业大学 Force position servo control system for automatically cleaning carbon bowl of anode carbon block for aluminum electrolysis
CN102402197B (en) * 2011-07-22 2013-06-12 江俊逢 Reconfigurable numerical control system and reconfiguration method
JP5073850B1 (en) * 2011-07-26 2012-11-14 ファナック株式会社 Numerical control device for machine tool with sound converter
CN103116307B (en) * 2013-01-08 2016-05-04 株洲中航动科南方燃气轮机成套制造安装有限公司 Unit pump valve control circuit
DE102013216740A1 (en) * 2013-08-23 2015-02-26 Robert Bosch Gmbh Operating device, control device and installation of automation technology
CN105022349A (en) * 2015-08-26 2015-11-04 武汉华中数控股份有限公司 Bus type numerical control apparatus with touch panel
CN105807723A (en) * 2016-05-19 2016-07-27 广州亿图自动控制系统有限公司 Multi-channel lathe control system
KR102453367B1 (en) * 2018-03-08 2022-10-07 주식회사 디엔솔루션즈 Machine tool and method for controlling the same
CN110667170A (en) * 2019-09-27 2020-01-10 天津市天锻压力机有限公司 Intelligent eccentric torque detection system and method of servo press
CN114488954A (en) * 2021-12-20 2022-05-13 安徽环球传动科技有限公司 Flexible Machine Tool Control System

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046987A (en) * 1989-04-24 1990-11-14 横河电机株式会社 Programmable Logic Controller
CN1105760A (en) * 1994-01-06 1995-07-26 上海机械高等专科学校 Non-programming sequence controller
JPH08249024A (en) * 1995-03-14 1996-09-27 Omron Corp Programmable controller
JPH08339220A (en) * 1995-06-14 1996-12-24 Sekisui Chem Co Ltd Nc controller for machine tool
JPH11259117A (en) * 1998-03-10 1999-09-24 Mitsubishi Electric Corp Method and device for numerical control
JPH11338515A (en) * 1998-05-26 1999-12-10 Matsushita Electric Works Ltd Programmable controller and programmable controller system using the same
US20040138774A1 (en) * 2002-12-26 2004-07-15 Fanuc Ltd. Numerical controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046987A (en) * 1989-04-24 1990-11-14 横河电机株式会社 Programmable Logic Controller
CN1105760A (en) * 1994-01-06 1995-07-26 上海机械高等专科学校 Non-programming sequence controller
JPH08249024A (en) * 1995-03-14 1996-09-27 Omron Corp Programmable controller
JPH08339220A (en) * 1995-06-14 1996-12-24 Sekisui Chem Co Ltd Nc controller for machine tool
JPH11259117A (en) * 1998-03-10 1999-09-24 Mitsubishi Electric Corp Method and device for numerical control
JPH11338515A (en) * 1998-05-26 1999-12-10 Matsushita Electric Works Ltd Programmable controller and programmable controller system using the same
US20040138774A1 (en) * 2002-12-26 2004-07-15 Fanuc Ltd. Numerical controller

Also Published As

Publication number Publication date
JP4302100B2 (en) 2009-07-22
KR20060076884A (en) 2006-07-05
JP2006190284A (en) 2006-07-20
CN1797249A (en) 2006-07-05

Similar Documents

Publication Publication Date Title
CN100445909C (en) Machine Tool Control Device and Processing Method Using Programs for PLC Interface Processing
CN104440120B (en) The operation device of NC toolroom machines
WO2001016657A1 (en) Editor device and recorded medium on which editor program is recorded
US7102622B2 (en) Production equipment monitoring device
US20090037025A1 (en) Controller for robot having robot body and additional mechanism providing additional operation axes
TWI588633B (en) A CNC Machine Tool for Generating? G Code Files to Save and Process
CN101342601A (en) NC-plain compatible lathe with multiple operation modes
CN100357054C (en) Man machine alternating system of full digitalization hidder arc wolding
CN103231197B (en) NC (numerical control) welding positioner system
CN202951982U (en) Intelligent shifting system matched with robot
JP2002166335A (en) Console panel of numerical control device for machine tool with tool changing function
CN201926895U (en) Digital control system for special-shaped turning-milling combined machine tool
US20240152113A1 (en) CNC lathe control system based on graphic interaction and control method thereof
TWI684903B (en) Intelligent control panel
CN105965052A (en) Automatic drilling machine
CN201055914Y (en) NC-plain compatible lathe with multiple operation modes
CN101344774B (en) Method for setting feed amount of multi-level code disc used for NC-plain compatible machine tool with multiple operation modes
CN106802633A (en) A kind of complex milling machine tool digital control system
CN203350683U (en) CNC machine operation panel
TW202129610A (en) CNC numerical control operation simulation working device
TWM634541U (en) User interface machine control system and user interface thereof
JPS60179803A (en) Method for editing and correcting program in numerical control device
JP2018129066A (en) Control system for controlling the operation of numerically controlled machine tools, and backend and frontend control devices for use in such a system
CN116166348A (en) Man-machine interface machine control system and man-machine interface thereof
KR20060075316A (en) Manual control panel input device and method of machine tool using software switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160712

Address after: Gyeongnam, South Korea

Patentee after: DOOSAN MACHINE TOOLS CO.,LTD.

Address before: Inchon

Patentee before: DOOSAN INFRACORE Co.,Ltd.

CP01 Change in the name or title of a patent holder

Address after: Gyeongnam, South Korea

Patentee after: Dean Machine Tool Co.,Ltd.

Address before: Gyeongnam, South Korea

Patentee before: DOOSAN MACHINE TOOLS CO.,LTD.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081224

CF01 Termination of patent right due to non-payment of annual fee