WO2024004046A1 - Machining control device and program - Google Patents

Machining control device and program Download PDF

Info

Publication number
WO2024004046A1
WO2024004046A1 PCT/JP2022/025819 JP2022025819W WO2024004046A1 WO 2024004046 A1 WO2024004046 A1 WO 2024004046A1 JP 2022025819 W JP2022025819 W JP 2022025819W WO 2024004046 A1 WO2024004046 A1 WO 2024004046A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
workpiece
cylinder
value
control device
Prior art date
Application number
PCT/JP2022/025819
Other languages
French (fr)
Japanese (ja)
Inventor
東錫 金
Original Assignee
ファナック株式会社
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 ファナック株式会社 filed Critical ファナック株式会社
Priority to PCT/JP2022/025819 priority Critical patent/WO2024004046A1/en
Publication of WO2024004046A1 publication Critical patent/WO2024004046A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B5/00Turning-machines or devices specially adapted for particular work; Accessories specially adapted therefor
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image

Definitions

  • the present invention relates to a processing control device and a program.
  • a method of milling a two-dimensional code onto a workpiece is known.
  • the problem to be solved by the embodiments of the present invention is to provide a processing control device and a program that can process a code by turning.
  • the processing control device of the embodiment includes a processing control section.
  • the machining control unit brings a tool into contact with a cutting target area of the rotating workpiece corresponding to the first value, and converts the binary image consisting of a first value and a second value into the cutting target area of the rotating workpiece.
  • the cutting area corresponding to the second value is formed on the workpiece by controlling the machine tool so that the tool does not come into contact with it.
  • the cord can be processed by turning.
  • FIG. 1 is a block diagram illustrating an example of a control system according to an embodiment and a main configuration of components included in the control system.
  • FIG. 2 is a perspective view showing an example of a workpiece on which a cord is formed.
  • FIG. 2 is a plan view showing an example of a workpiece on which a cord is formed, viewed from the front.
  • FIG. 4 is a cross-sectional view taken along line AA of the workpiece in FIG. 3.
  • 2 is a flowchart showing an example of processing by the processor in FIG. 1.
  • FIG. 1 is a block diagram showing an example of a main configuration of a control system 1 and components included in the control system 1 according to an embodiment.
  • the control system 1 is a system that controls the industrial machine 200.
  • the control system 1 processes a code such as a one-dimensional code or a two-dimensional code on the surface of a workpiece.
  • One-dimensional codes are also called barcodes.
  • the two-dimensional code is, for example, a QR code (registered trademark), DataMatrix, PDF417, or other two-dimensional code.
  • the control system 1 includes, as an example, a control device 100 and an industrial machine 200.
  • the control device 100 is a device that controls industrial machinery 200 and the like.
  • the control device 100 controls the industrial machine 200 using a method such as NC (numerical control), CNC (computerized numerical control), or PLC (programmable logic controller).
  • the control device 100 controls the industrial machine 200 to process and form a code, such as a one-dimensional code or a two-dimensional code, on the surface of a workpiece by cutting.
  • the material of the workpiece is a material that can be turned, such as metal or resin.
  • the control device 100 includes, for example, a processor 110, a ROM (read-only memory) 120, a RAM (random-access memory) 130, an auxiliary storage device 140, a control interface 150, an input device 160, and a display device 170.
  • a bus 180 or the like connects these parts.
  • the control device 100 is an example of a processing control device.
  • the processor 110 is a central part of a computer that performs processing such as calculations and control necessary for the operation of the control device 100, and performs various calculations and processing.
  • the processor 110 is, for example, a CPU (central processing unit), MPU (micro processing unit), SoC (system on a chip), DSP (digital signal processor), GPU (graphics processing unit), ASIC (application specific integrated circuit), These include a PLD (programmable logic device) or an FPGA (field-programmable gate array).
  • processor 110 is a combination of more than one of these.
  • the processor 110 may be a combination of these and a hardware accelerator.
  • the processor 110 controls each part to realize various functions of the control device 100 based on programs such as firmware, system software, and application software stored in the ROM 120 or the auxiliary storage device 140. Furthermore, the processor 110 executes processing to be described later based on the program. Note that part or all of the program may be incorporated into the circuit of the processor 110.
  • ROM 120 and RAM 130 are main storage devices of a computer with processor 110 at its core.
  • the ROM 120 is a nonvolatile memory used exclusively for reading data.
  • the ROM 120 stores, for example, firmware among the above programs.
  • the ROM 120 also stores data used by the processor 110 to perform various processes.
  • the RAM 130 is a memory used for reading and writing data.
  • the RAM 130 is used as a work area for storing data temporarily used by the processor 110 to perform various processes.
  • RAM 130 is typically volatile memory.
  • the auxiliary storage device 140 is an auxiliary storage device of a computer with the processor 110 at its core.
  • the auxiliary storage device 140 is, for example, an EEPROM (electric erasable programmable read-only memory), an HDD (hard disk drive), or a flash memory.
  • the auxiliary storage device 140 stores, for example, system software and application software among the above programs. Further, the auxiliary storage device 140 stores data used by the processor 110 to perform various types of processing, data generated by processing in the processor 110, various setting values, and the like.
  • the control interface 150 is an interface for the control device 100 to communicate with the industrial machine 200 and the like.
  • Control device 100 controls industrial machine 200 and the like via control interface 150.
  • the input device 160 accepts operations by the operator of the control device 100.
  • Input device 160 is, for example, a keyboard, keypad, touch pad, mouse, or controller.
  • the input device 160 may be a device for voice input.
  • the display device 170 displays a screen for notifying the operator of the control device 100 of various information.
  • the display device 170 is, for example, a display such as a liquid crystal display or an organic EL (electro-luminescence) display.
  • a touch panel can also be used as the input device 160 and the display device 170. That is, the display panel included in the touch panel can be used as the display device 170, and the pointing device provided in the touch panel for touch input can be used as the input device 160.
  • the display device 170 is an example of a display section.
  • the bus 180 includes a control bus, an address bus, a data bus, etc., and transmits signals sent and received by each part of the control device 100.
  • the industrial machine 200 is a machine that can turn the outer periphery of a workpiece.
  • the industrial machine 200 is, for example, a lathe or a turning center.
  • Industrial machine 200 includes, for example, a cutting tool 210.
  • the cutting tool 210 is a tool for cutting the workpiece 300.
  • the industrial machine 200 brings the cutting tool 210 into contact with the rotating workpiece 300, and performs turning on the abutted portion.
  • FIG. 2 is a perspective view showing an example of a workpiece 300 on which a cord 400 is formed.
  • FIG. 3 is a plan view showing an example of the workpiece 300 on which the cord 400 is formed, viewed from the front.
  • FIG. 4 is a cross-sectional view taken along the line AA, showing an example of the workpiece 300 on which the cord 400 is formed. Note that FIG. 4 also shows a code 500.
  • a code 500 indicates a code formed on the workpiece 300.
  • the control system 1 forms the cord 400 on the workpiece 300 by turning. At least a portion of the workpiece 300 is a cylinder 310. However, the workpiece 300 shown in FIGS. 2 to 4 and the like is entirely a cylinder 310. Note that at least a portion of the cylinder 310 may be hollow.
  • the control system 1 forms a cord 400 on the side of the cylinder 310.
  • the code 400 is a code that stores information, such as a two-dimensional code or a barcode. The information stored in the code can be read using a code reader or the like. Note that the code 400 may be inverted in brightness and darkness. Further, the code 400 may be reversed (left and right).
  • the control system 1 forms the cord 400 so that a portion of the cord 400 is not stretched or compressed when the workpiece 300 is viewed from the front.
  • the control system 1 cuts a portion where the dark portion of the code 500 is projected onto the surface of the cylinder 310, as shown in FIG.
  • the portion of the code 500 that is painted black is the dark portion.
  • the white part is the bright part.
  • Code 500 is a binary image consisting of dark and bright parts. Note that the front direction will be described later.
  • the color of the dark part of the code 500 is an example of the first value.
  • the color of the bright portion of code 500 is an example of the second value.
  • FIG. 5 is a flowchart illustrating an example of processing by the processor 110 of the control device 100.
  • the processor 110 executes the process shown in FIG. 5 based on a program stored in, for example, the ROM 120 or the auxiliary storage device 140.
  • step ST11 of FIG. 5 the processor 110 of the control device 100 acquires data to be encoded (hereinafter referred to as "original data").
  • Original data data to be encoded
  • the processor 110 acquires original data according to an operation input to the input device 160, for example.
  • Processor 110 obtains original data according to information input from other devices, for example.
  • the processor 110 generates the code 500 using the original data.
  • the generated code 500 is a code that stores original data.
  • step ST12 the processor 110 determines cutting parameters for forming the cord 400 on the cylinder 310 by cutting.
  • Processor 110 determines cutting parameters according to operational input to input device 160, for example.
  • Processor 110 determines cutting parameters according to information input from other devices, for example.
  • the cutting parameters include various parameters such as code direction, code size, code position, cutting depth, and reference direction.
  • the cord direction is a parameter that determines whether the vertical direction of the cord 500 is aligned with the z-axis direction or the horizontal direction of the cord 500 is aligned with the z-axis direction.
  • the code size is a parameter that determines the size of the code 400 and code 500.
  • the cord size determines the size of the cord 400 and the cord 500, for example, by the vertical length and the horizontal length of the cord 500.
  • the cord size determines the size of the cord 400 and the cord 500 based on the length of the cord 500 in the z-axis direction and the length in the y-axis direction, for example.
  • the length of the cord 500 in the y-axis direction is within 2R.
  • R is the radius of the cylinder 310.
  • the length of the cord 500 in the z-axis direction is equal to or less than the height of the cylinder 310.
  • the origin of the orthogonal coordinate system (x, y, z) used in the description of this embodiment is a point on a straight line that coincides with the central axis of the cylinder 310.
  • the central axis of the cylinder 310 and the z-axis coincide.
  • the code position is a parameter that determines which part of the cylinder 310 the code 400 is cut into.
  • the code position is determined by the yz coordinates of the code 500, for example. Note that the code 500 is assumed to be parallel to the yz coordinate plane.
  • code position defines the position of code 400 by the coordinates of the center of code 500. Let the coordinates of the center of the code 500 be (y0, z0).
  • the cutting depth is a parameter indicating how deep from the surface of the cylinder 310 the cutting is to be performed.
  • the industrial machine 200 cuts the cord 400 on the cylinder 310 so that the depth from the surface of the cylinder 310 is the depth indicated by the cutting depth.
  • the reference direction is a parameter that determines the surface direction of the workpiece 310.
  • the direction in which the front direction is viewed from the central axis of the cylinder of the workpiece 300 is the reference direction.
  • step ST13 the processor 110 determines which part of the surface of the cylinder 310 is to be cut. To this end, the processor 110 projects the code 500 parallel to the yz coordinate plane onto the surface of the cylinder 310, defined by the code position.
  • the rotational position of the cylinder 310 is assumed to be a position where the reference direction and the x direction coincide. Furthermore, it is assumed that the projection is performed on the surface of the cylinder 310 within a range of ⁇ (2/ ⁇ ) [rad] from the reference direction.
  • Processor 110 also projects code 500 in the x-axis direction. As a result, the coordinates (Y, Z) on the code 500 are projected onto the coordinates (R, ⁇ , Z) of the cylindrical coordinate system (r, ⁇ , z).
  • the processor 110 determines that the area where the dark part of the code 500 is projected onto the surface of the cylinder 310 is to be cut out of the area where the code 500 is projected onto the surface of the cylinder 310 as described above.
  • the area where the dark part of the code 500 is projected onto the surface of the cylinder 310 is an example of the cutting target area corresponding to the first value.
  • the region in which the bright portion of the code 500 is projected onto the surface of the cylinder 310 is an example of a non-cutting region corresponding to the second value.
  • step ST14 the processor 110 controls the industrial machine 200 to turn the cord 400 into the cylinder 310 based on the cutting parameters determined in step ST12 and the area determined in step ST14. That is, the processor 110 controls the industrial machine 200 to cut the area determined in step ST13 on the surface of the cylinder 310 to the depth indicated by the cutting depth by turning. Based on the control, the industrial machine 200 forms the cord 400 on the cylinder 310 by turning.
  • FIGS. 6 and 7 are diagrams for explaining a method of forming the cord 400 into the cylinder 310 by turning.
  • a method of forming the cord 400 into the cylinder 310 by turning will be described with reference to FIGS. 6 and 7. Note that here, it is assumed that the rotation direction of the cylinder 310 is the D direction (clockwise) shown in FIGS. 6 and 7. Also, consider turning a portion of the first line of the code 500 whose y coordinate is from Y1 to Y2 into a cylinder 310. Note that the first line of the code 500 is the bottom line of the code 500 shown in FIGS. 6 and 7.
  • the coordinates (Y1, Z1) on the code 500 are projected onto the coordinates (R, ⁇ 1, Z1) of the cylindrical coordinate system (r, ⁇ , z) by the process of step ST13.
  • Z1 is the z coordinate of the first line of the code 500.
  • ⁇ 1 is as follows.
  • ⁇ 2 is as follows.
  • ⁇ w shown in FIGS. 6 and 7 indicates the ⁇ coordinate of the contact position of the cutting tool 210. That is, ⁇ w indicates the angle of the contact position of the cutting tool 210 from the reference direction.
  • the portion whose y coordinate is from Y1 to Y2 is formed into the cylinder 310 by turning.
  • the processor 110 similarly performs turning on the parts other than Y1 to Y2 on the first line of the code 500. Note that the processor 110 may turn one line of the code 500 into the cylinder 310 while rotating the cylinder 310 once, or may turn one line of the code 500 into the cylinder while rotating the cylinder 310 multiple times. 310 may be turned. Furthermore, the processor 110 may perform the turning process on one line of the code 500 in one time, or may perform the turning process in multiple times.
  • the processor 110 moves at least either the workpiece 300 or the cutting tool 210 in the z-axis direction to perform the turning process on the next line. Processor 110 repeats this to turn all rows of code 500 into cylinder 310 to form code 400 on cylinder 310. After the process of step ST14, the processor 110 ends the process shown in FIG.
  • the processor 110 converts the binary image consisting of the first value and the second value into the cutting target area corresponding to the first value of the rotating workpiece. It functions as an example of a processing control unit formed on the workpiece by controlling the machine tool so that the tool does not come into contact with the tool in the non-cutting area corresponding to the second value of the workpiece.
  • control device 100 brings the processing tool into contact with the region to be cut of the rotating workpiece 300. Then, the control device 100 moves the processing tool away from the workpiece 300 outside the cutting target area. Thereby, the control system 1 of the embodiment can form the cord by turning.
  • the control device 100 sets the region where the dark portion of the code 500 is projected onto the workpiece 300 as the region to be cut.
  • the cord 400 formed using such a cutting target area is formed on the curved surface of the side surface of the cylinder 310, but as shown in FIG. I haven't done that. Therefore, the reading accuracy and visibility of the code 400 are improved.
  • the control device 100 forms the code 400 on the workpiece 300.
  • the code 400 is an image in which a plurality of cells (modules) are arranged in a matrix or in a line. Therefore, this image is suitable for the turning process of this embodiment.
  • the above embodiment can also be modified as follows.
  • the processor 110 of the control device 100 generated the code in step ST11.
  • a device other than the control device 100 may generate the code.
  • the processor 110 obtains the code from the device or the like.
  • control system 1 cut the cord into the cylinder 310.
  • control system 1 may cut a binary image other than the code into the cylinder 310 instead of the code.
  • the workpiece 310 may include a column with a fan-shaped bottom, such as a semicircle.
  • the control system 1 lathes the cord on the side surface of the column.
  • the cord is rectangular.
  • the cord may have a shape other than a rectangle.
  • the processor 110 may implement part or all of the processing implemented by the program in the above embodiments using a circuit hardware configuration.
  • the program that implements the processing of the embodiment is transferred, for example, while being stored in the device. However, the device may be transferred without the program stored therein. Then, the program may be separately transferred and written into the device. Transfer of the program at this time can be realized, for example, by recording it on a removable storage medium or by downloading it via a network such as the Internet or a LAN (local area network).
  • a network such as the Internet or a LAN (local area network).
  • Control System 100 Control Device 110 Processor 120 ROM 130 RAM 140 Auxiliary storage device 150 Control interface 160 Input device 170 Display device 180 Bus 200 Industrial machine 210 Cutting tool 300 Workpiece 310 Cylinder 400,500 Code

Abstract

Provided is a machining control device and program whereby a cord can be machined by turning. The machining control device according to one embodiment comprises a machining control unit. The machining control unit forms a binary image composed of a first value and a second value into a workpiece by controlling a machine tool such that a tool is brought into contact with a region to be cut of the workpiece while the workpiece is being rotated, the region to be cut corresponding to the first value, and the tool is not brought into contact with a non-cutting region of the workpiece corresponding to the second value.

Description

加工制御装置及びプログラムProcessing control device and program
 本発明は、加工制御装置及びプログラムに関する。 The present invention relates to a processing control device and a program.
 二次元コードを加工対象物(ワーク)にミリング加工する方法が知られている。 A method of milling a two-dimensional code onto a workpiece is known.
特許第6650646号公報Patent No. 6650646
 従来の方法では、二次元コード又はバーコードなどのコードを旋削加工によって加工対象物に加工することはできない。旋削加工機を用いて従来の方法でコードを加工対象物に加工する場合、加工対象物の回転を一旦止めてからミリング加工する必要がある。このため、加工時間が長くなってしまう。 With conventional methods, codes such as two-dimensional codes or barcodes cannot be processed into workpieces by turning. When processing a cord into a workpiece using a conventional method using a turning machine, it is necessary to once stop the rotation of the workpiece before milling. Therefore, the processing time becomes long.
 本発明の実施形態が解決しようとする課題は、旋削加工でコードを加工可能な加工制御装置及びプログラムを提供することである。 The problem to be solved by the embodiments of the present invention is to provide a processing control device and a program that can process a code by turning.
 実施形態の加工制御装置は、加工制御部を備える。加工制御部は、第1値及び第2値からなる二値画像を、回転している加工対象物の前記第1値に対応する切削対象領域に工具を当接させ、前記加工対象物の前記第2値に対応する切削外領域では工具を当接させないように工作機械を制御することで、前記加工対象物に形成する。 The processing control device of the embodiment includes a processing control section. The machining control unit brings a tool into contact with a cutting target area of the rotating workpiece corresponding to the first value, and converts the binary image consisting of a first value and a second value into the cutting target area of the rotating workpiece. The cutting area corresponding to the second value is formed on the workpiece by controlling the machine tool so that the tool does not come into contact with it.
 本発明は、旋削加工でコードを加工可能である。 According to the present invention, the cord can be processed by turning.
実施形態に係る制御システム及び当該制御システムに含まれる構成要素の要部構成の一例を示すブロック図。FIG. 1 is a block diagram illustrating an example of a control system according to an embodiment and a main configuration of components included in the control system. コードが形成された加工対象物の一例を示す斜視図。FIG. 2 is a perspective view showing an example of a workpiece on which a cord is formed. コードが形成された加工対象物を正面方向から見た一例を示す平面図。FIG. 2 is a plan view showing an example of a workpiece on which a cord is formed, viewed from the front. 図3中の加工対象物のA-A線断面図。FIG. 4 is a cross-sectional view taken along line AA of the workpiece in FIG. 3. 図1中のプロセッサーによる処理の一例を示すフローチャート。2 is a flowchart showing an example of processing by the processor in FIG. 1. 旋削加工によってコードを円柱に形成する方法について説明するための図。The figure for explaining the method of forming a cord into a cylinder by turning processing. 旋削加工によってコードを円柱に形成する方法について説明するための図。The figure for explaining the method of forming a cord into a cylinder by turning processing.
 以下、実施形態に係る数値制御システムについて図面を用いて説明する。なお、以下の実施形態の説明に用いる各図面は、各部の縮尺を適宜変更している場合がある。また、以下の実施形態の説明に用いる各図面は、説明のため、構成を省略して示している場合がある。また、各図面及び本明細書中において、同一の符号は同様の要素を示す。
 図1は、実施形態に係る制御システム1及び制御システム1に含まれる構成要素の要部構成の一例を示すブロック図である。制御システム1は、産業機械200を制御するシステムである。制御システム1は、一次元コード又は二次元コードなどのコードを加工対象物の表面などに加工する。一次元コードは、バーコードとも呼ばれる。二次元コードは、例えば、QRコード(登録商標)、DataMatrix、PDF417又はその他の二次元コードである。制御システム1は、一例として、制御装置100及び産業機械200を含む。
A numerical control system according to an embodiment will be described below with reference to the drawings. Note that in each of the drawings used to describe the embodiments below, the scale of each part may be changed as appropriate. Further, each drawing used in the description of the embodiments below may omit the configuration for the sake of explanation. Also, the same reference numerals indicate similar elements in each drawing and this specification.
FIG. 1 is a block diagram showing an example of a main configuration of a control system 1 and components included in the control system 1 according to an embodiment. The control system 1 is a system that controls the industrial machine 200. The control system 1 processes a code such as a one-dimensional code or a two-dimensional code on the surface of a workpiece. One-dimensional codes are also called barcodes. The two-dimensional code is, for example, a QR code (registered trademark), DataMatrix, PDF417, or other two-dimensional code. The control system 1 includes, as an example, a control device 100 and an industrial machine 200.
 制御装置100は、産業機械200などを制御する装置である。制御装置100は、例えば、NC(numerical control)、CNC(computerized numerical control)又はPLC(programmable logic controller)などの方式を用いて産業機械200を制御する。制御装置100は、産業機械200を制御して1次元コード又は二次元コードなどのコードを、切削加工によって加工対象物の表面に加工形成する。加工対象物の素材は、金属又は樹脂などの旋削加工可能な素材である。制御装置100は、一例として、プロセッサー110、ROM(read-only memory)120、RAM(random-access memory)130、補助記憶装置140、制御インターフェース150、入力デバイス160及び表示デバイス170を含む。そして、バス180などが、これら各部を接続する。
 なお、制御装置100は、加工制御装置の一例である。
The control device 100 is a device that controls industrial machinery 200 and the like. The control device 100 controls the industrial machine 200 using a method such as NC (numerical control), CNC (computerized numerical control), or PLC (programmable logic controller). The control device 100 controls the industrial machine 200 to process and form a code, such as a one-dimensional code or a two-dimensional code, on the surface of a workpiece by cutting. The material of the workpiece is a material that can be turned, such as metal or resin. The control device 100 includes, for example, a processor 110, a ROM (read-only memory) 120, a RAM (random-access memory) 130, an auxiliary storage device 140, a control interface 150, an input device 160, and a display device 170. A bus 180 or the like connects these parts.
Note that the control device 100 is an example of a processing control device.
 プロセッサー110は、制御装置100の動作に必要な演算及び制御などの処理を行うコンピューターの中枢部分であり、各種演算及び処理などを行う。プロセッサー110は、例えば、CPU(central processing unit)、MPU(micro processing unit)、SoC(system on a chip)、DSP(digital signal processor)、GPU(graphics processing unit)、ASIC(application specific integrated circuit)、PLD(programmable logic device)又はFPGA(field-programmable gate array)などである。あるいは、プロセッサー110は、これらのうちの複数を組み合わせたものである。また、プロセッサー110は、これらにハードウェアアクセラレーターなどを組み合わせたものであっても良い。プロセッサー110は、ROM120又は補助記憶装置140などに記憶されたファームウェア、システムソフトウェア及びアプリケーションソフトウェアなどのプログラムに基づいて、制御装置100の各種の機能を実現するべく各部を制御する。また、プロセッサー110は、当該プログラムに基づいて後述する処理を実行する。なお、当該プログラムの一部又は全部は、プロセッサー110の回路内に組み込まれていても良い。 The processor 110 is a central part of a computer that performs processing such as calculations and control necessary for the operation of the control device 100, and performs various calculations and processing. The processor 110 is, for example, a CPU (central processing unit), MPU (micro processing unit), SoC (system on a chip), DSP (digital signal processor), GPU (graphics processing unit), ASIC (application specific integrated circuit), These include a PLD (programmable logic device) or an FPGA (field-programmable gate array). Alternatively, processor 110 is a combination of more than one of these. Further, the processor 110 may be a combination of these and a hardware accelerator. The processor 110 controls each part to realize various functions of the control device 100 based on programs such as firmware, system software, and application software stored in the ROM 120 or the auxiliary storage device 140. Furthermore, the processor 110 executes processing to be described later based on the program. Note that part or all of the program may be incorporated into the circuit of the processor 110.
 ROM120及びRAM130は、プロセッサー110を中枢としたコンピューターの主記憶装置である。
 ROM120は、専らデータの読み出しに用いられる不揮発性メモリである。ROM120は、上記のプログラムのうち、例えばファームウェアなどを記憶する。また、ROM120は、プロセッサー110が各種の処理を行う上で使用するデータなども記憶する。
 RAM130は、データの読み書きに用いられるメモリである。RAM130は、プロセッサー110が各種の処理を行う上で一時的に使用するデータを記憶するワークエリアなどとして利用される。RAM130は、典型的には揮発性メモリである。
ROM 120 and RAM 130 are main storage devices of a computer with processor 110 at its core.
The ROM 120 is a nonvolatile memory used exclusively for reading data. The ROM 120 stores, for example, firmware among the above programs. The ROM 120 also stores data used by the processor 110 to perform various processes.
The RAM 130 is a memory used for reading and writing data. The RAM 130 is used as a work area for storing data temporarily used by the processor 110 to perform various processes. RAM 130 is typically volatile memory.
 補助記憶装置140は、プロセッサー110を中枢としたコンピューターの補助記憶装置である。補助記憶装置140は、例えばEEPROM(electric erasable programmable read-only memory)、HDD(hard disk drive)又はフラッシュメモリなどである。補助記憶装置140は、上記のプログラムのうち、例えば、システムソフトウェア及びアプリケーションソフトウェアなどを記憶する。また、補助記憶装置140は、プロセッサー110が各種の処理を行う上で使用するデータ、プロセッサー110での処理によって生成されたデータ及び各種の設定値などを記憶する。 The auxiliary storage device 140 is an auxiliary storage device of a computer with the processor 110 at its core. The auxiliary storage device 140 is, for example, an EEPROM (electric erasable programmable read-only memory), an HDD (hard disk drive), or a flash memory. The auxiliary storage device 140 stores, for example, system software and application software among the above programs. Further, the auxiliary storage device 140 stores data used by the processor 110 to perform various types of processing, data generated by processing in the processor 110, various setting values, and the like.
 制御インターフェース150は、制御装置100が産業機械200などと通信するためのインターフェースである。制御装置100は、制御インターフェース150を介して産業機械200などを制御する。 The control interface 150 is an interface for the control device 100 to communicate with the industrial machine 200 and the like. Control device 100 controls industrial machine 200 and the like via control interface 150.
 入力デバイス160は、制御装置100の操作者による操作を受け付ける。入力デバイス160は、例えば、キーボード、キーパッド、タッチパッド、マウス又はコントローラーなどである。また、入力デバイス160は、音声入力用のデバイスであっても良い。 The input device 160 accepts operations by the operator of the control device 100. Input device 160 is, for example, a keyboard, keypad, touch pad, mouse, or controller. Moreover, the input device 160 may be a device for voice input.
 表示デバイス170は、制御装置100の操作者に各種情報を通知するための画面を表示する。表示デバイス170は、例えば、液晶ディスプレイ又は有機EL(electro-luminescence)ディスプレイなどのディスプレイである。また、入力デバイス160及び表示デバイス170としては、タッチパネルを用いることもできる。すなわち、タッチパネルが備える表示パネルを表示デバイス170として、タッチパネルが備える、タッチ入力によるポインティングデバイスを入力デバイス160として用いることができる。
 なお、表示デバイス170は、表示部の一例である。
The display device 170 displays a screen for notifying the operator of the control device 100 of various information. The display device 170 is, for example, a display such as a liquid crystal display or an organic EL (electro-luminescence) display. Further, a touch panel can also be used as the input device 160 and the display device 170. That is, the display panel included in the touch panel can be used as the display device 170, and the pointing device provided in the touch panel for touch input can be used as the input device 160.
Note that the display device 170 is an example of a display section.
 バス180は、コントロールバス、アドレスバス及びデータバスなどを含み、制御装置100の各部で授受される信号を伝送する。 The bus 180 includes a control bus, an address bus, a data bus, etc., and transmits signals sent and received by each part of the control device 100.
 産業機械200は、加工対象物の外周を旋削加工することが可能な機械である。産業機械200は、例えば、旋盤又はターニングセンタなどである。産業機械200は、例えば、切削工具210を備える。 The industrial machine 200 is a machine that can turn the outer periphery of a workpiece. The industrial machine 200 is, for example, a lathe or a turning center. Industrial machine 200 includes, for example, a cutting tool 210.
 切削工具210は、加工対象物300を切削するための工具である。産業機械200は、切削工具210を回転中の加工対象物300に当接させることで、当接させた部分を旋削加工する。 The cutting tool 210 is a tool for cutting the workpiece 300. The industrial machine 200 brings the cutting tool 210 into contact with the rotating workpiece 300, and performs turning on the abutted portion.
 図2は、コード400が形成された加工対象物300の一例を示す斜視図である。
 図3は、コード400が形成された加工対象物300を正面方向から見た一例を示す平面図である。
 図4は、コード400が形成された加工対象物300の一例を示すA-A線断面図である。なお、図4には、コード500も示している。コード500は、加工対象物300に形成したコードを示す。
FIG. 2 is a perspective view showing an example of a workpiece 300 on which a cord 400 is formed.
FIG. 3 is a plan view showing an example of the workpiece 300 on which the cord 400 is formed, viewed from the front.
FIG. 4 is a cross-sectional view taken along the line AA, showing an example of the workpiece 300 on which the cord 400 is formed. Note that FIG. 4 also shows a code 500. A code 500 indicates a code formed on the workpiece 300.
 制御システム1は、加工対象物300にコード400を旋削加工によって形成する。加工対象物300は、少なくとも一部が円柱310である。ただし、図2~図4などに示す加工対象物300は、全体が円柱310である。なお、円柱310は、少なくとも一部が中空であっても良い。制御システム1は、円柱310の側面にコード400を形成する。コード400は、二次元コード又はバーコードなどの、情報を記憶したコードである。コードに記憶された情報は、コードリーダーなどを用いて読み取ることができる。なお、コード400は、明暗反転したものであっても良い。また、コード400は、表裏反転(左右反転)したものであっても良い。 The control system 1 forms the cord 400 on the workpiece 300 by turning. At least a portion of the workpiece 300 is a cylinder 310. However, the workpiece 300 shown in FIGS. 2 to 4 and the like is entirely a cylinder 310. Note that at least a portion of the cylinder 310 may be hollow. The control system 1 forms a cord 400 on the side of the cylinder 310. The code 400 is a code that stores information, such as a two-dimensional code or a barcode. The information stored in the code can be read using a code reader or the like. Note that the code 400 may be inverted in brightness and darkness. Further, the code 400 may be reversed (left and right).
 また、制御システム1は、図3に示すように、加工対象物300を正面方向から見た場合に、コード400の一部が引き伸ばされたり圧縮されたりしないようにコード400を形成する。このために、制御システム1は、図4に示すようにコード500の暗部分を円柱310の表面に投影した部分を切削する。なお、コード500のうち黒く塗りつぶした部分が暗部分である。そして、白い部分が明部分である。コード500は、暗部分と明部分からなる二値画像である。なお、正面方向については後述する。 Furthermore, as shown in FIG. 3, the control system 1 forms the cord 400 so that a portion of the cord 400 is not stretched or compressed when the workpiece 300 is viewed from the front. For this purpose, the control system 1 cuts a portion where the dark portion of the code 500 is projected onto the surface of the cylinder 310, as shown in FIG. Note that the portion of the code 500 that is painted black is the dark portion. The white part is the bright part. Code 500 is a binary image consisting of dark and bright parts. Note that the front direction will be described later.
 なお、コード500の暗部分の色は、第1値の一例である。コード500の明部分の色は第2値の一例である。 Note that the color of the dark part of the code 500 is an example of the first value. The color of the bright portion of code 500 is an example of the second value.
 以下、実施形態に係る制御システム1の動作を図5などに基づいて説明する。なお、以下の動作説明における処理の内容は一例であって、同様な結果を得ることが可能な様々な処理を適宜に利用できる。図5は、制御装置100のプロセッサー110による処理の一例を示すフローチャートである。プロセッサー110は、例えば、ROM120又は補助記憶装置140などに記憶されたプログラムに基づいて図5の処理を実行する。 Hereinafter, the operation of the control system 1 according to the embodiment will be explained based on FIG. 5 and the like. Note that the contents of the processing in the following operation description are merely examples, and various processing that can obtain similar results can be used as appropriate. FIG. 5 is a flowchart illustrating an example of processing by the processor 110 of the control device 100. The processor 110 executes the process shown in FIG. 5 based on a program stored in, for example, the ROM 120 or the auxiliary storage device 140.
 図5のステップST11において制御装置100のプロセッサー110は、コード化を行う対象のデータ(以下「元データ」という。)を取得する。プロセッサー110は、例えば、入力デバイス160に対する操作入力に従って元データを取得する。プロセッサー110は、例えば、他の装置から入力される情報に従って元データを取得する。 In step ST11 of FIG. 5, the processor 110 of the control device 100 acquires data to be encoded (hereinafter referred to as "original data"). The processor 110 acquires original data according to an operation input to the input device 160, for example. Processor 110 obtains original data according to information input from other devices, for example.
 そして、プロセッサー110は、元データを用いてコード500を生成する。生成されたコード500は、元データを記憶したコードである。 Then, the processor 110 generates the code 500 using the original data. The generated code 500 is a code that stores original data.
 ステップST12においてプロセッサー110は、円柱310にコード400を切削加工によって形成するための切削パラメーターを決定する。プロセッサー110は、例えば、入力デバイス160に対する操作入力に従って切削パラメーターを決定する。プロセッサー110は、例えば、他の装置から入力される情報に従って切削パラメーターを決定する。切削パラメーターは、コード方向、コード大きさ、コード位置、切削深さ、及び基準方向などの各種パラメーターを含む。 In step ST12, the processor 110 determines cutting parameters for forming the cord 400 on the cylinder 310 by cutting. Processor 110 determines cutting parameters according to operational input to input device 160, for example. Processor 110 determines cutting parameters according to information input from other devices, for example. The cutting parameters include various parameters such as code direction, code size, code position, cutting depth, and reference direction.
 コード方向は、コード500の縦方向をz軸方向と合わせるか、コード500の横方向をz軸方向と合わせるかを定めるパラメーターである。 The cord direction is a parameter that determines whether the vertical direction of the cord 500 is aligned with the z-axis direction or the horizontal direction of the cord 500 is aligned with the z-axis direction.
 コード大きさは、コード400及びコード500の大きさを定めるパラメーターである。コード大きさは、例えばコード500の縦の長さ及び横の長さによってコード400及びコード500の大きさを定める。あるいは、コード大きさは、例えば、コード500のz軸方向の長さ及びy軸方向の長さによってコード400及びコード500の大きさを定める。なお、コード500のy軸方向の長さは、2R以内である。ここで、Rは、円柱310の半径である。また、コード500のz軸方向の長さは、円柱310の高さ以下である。 The code size is a parameter that determines the size of the code 400 and code 500. The cord size determines the size of the cord 400 and the cord 500, for example, by the vertical length and the horizontal length of the cord 500. Alternatively, the cord size determines the size of the cord 400 and the cord 500 based on the length of the cord 500 in the z-axis direction and the length in the y-axis direction, for example. Note that the length of the cord 500 in the y-axis direction is within 2R. Here, R is the radius of the cylinder 310. Further, the length of the cord 500 in the z-axis direction is equal to or less than the height of the cylinder 310.
 なお、本実施形態の説明に用いる直交座標系(x,y,z)は、円柱310の中心軸と一致する直線上の点が原点である。換言すると、円柱310の中心軸とz軸は一致する。 Note that the origin of the orthogonal coordinate system (x, y, z) used in the description of this embodiment is a point on a straight line that coincides with the central axis of the cylinder 310. In other words, the central axis of the cylinder 310 and the z-axis coincide.
 コード位置は、コード400を円柱310のどの部分に切削加工するかを定めるパラメーターである。コード位置は、例えば、コード500のyz座標によってコード位置を定める。なお、コード500は、yz座標平面と平行であるとする。
 例えば、コード位置は、コード500の中心の座標によってコード400の位置を定義する。コード500の中心の座標を(y0,z0)とする。コード500のz軸方向の長さを2Lz、コード500のy軸方向の長さを2Lyとすると、コード500の4つの頂点の座標は、(y1,z1)=(y0-Ly,z0-Lz)、(y2,z1)=(y0+Ly,z0-Lz)、(y2,z2)=(y0+Ly,z0+Lz)、(y1,z2)=(y0-Ly,z0-Lz)となる。
The code position is a parameter that determines which part of the cylinder 310 the code 400 is cut into. The code position is determined by the yz coordinates of the code 500, for example. Note that the code 500 is assumed to be parallel to the yz coordinate plane.
For example, code position defines the position of code 400 by the coordinates of the center of code 500. Let the coordinates of the center of the code 500 be (y0, z0). If the length of the code 500 in the z-axis direction is 2Lz and the length of the code 500 in the y-axis direction is 2Ly, the coordinates of the four vertices of the code 500 are (y1, z1) = (y0-Ly, z0-Lz ), (y2, z1) = (y0 + Ly, z0 - Lz), (y2, z2) = (y0 + Ly, z0 + Lz), (y1, z2) = (y0 - Ly, z0 - Lz).
 なお、コード位置は、-R≦y1、y2≦R、Zb≦z1、z2≦Zuを満たすものとする。ここで、Zb及びZuは、それぞれ円柱310の底面のz座標である。ただし、Zb<Zuとする。 Note that the code position satisfies -R≦y1, y2≦R, Zb≦z1, and z2≦Zu. Here, Zb and Zu are the z coordinates of the bottom surface of the cylinder 310, respectively. However, Zb<Zu.
 また、y0=0であることが好ましい。y0=0であると、正面方向から円柱310を見た場合に円柱310の中央にコード400が位置するように、コード400が形成されるためである。なお、この場合の中央とは、正面方向及びz軸と垂直な方向における中央である。 Furthermore, it is preferable that y0=0. This is because when y0=0, the cord 400 is formed so that the cord 400 is located at the center of the cylinder 310 when the cylinder 310 is viewed from the front. Note that the center in this case is the center in the front direction and the direction perpendicular to the z-axis.
 切削深さは、円柱310の表面からどれだけの深さまで切削するかを示すパラメーターである。産業機械200は、円柱310表面からの深さが切削深さの示す深さとなるように円柱310にコード400を切削加工する。 The cutting depth is a parameter indicating how deep from the surface of the cylinder 310 the cutting is to be performed. The industrial machine 200 cuts the cord 400 on the cylinder 310 so that the depth from the surface of the cylinder 310 is the depth indicated by the cutting depth.
 基準方向は、加工対象物310の表面方向を定めるパラメーターである。加工対象物300の円柱の中心軸から正面方向を見る方向が基準方向である。 The reference direction is a parameter that determines the surface direction of the workpiece 310. The direction in which the front direction is viewed from the central axis of the cylinder of the workpiece 300 is the reference direction.
 ステップST13においてプロセッサー110は、円柱310の表面のうち、どの部分を切削するかを決定する。このために、プロセッサー110は、コード位置によって定められた、yz座標平面と並行なコード500を円柱310の表面に投影する。ただし、円柱310の回転位置は、基準方向とx方向が一致している位置であるとする。また、円柱310の表面のうち、基準方向から±(2/π)[rad]の範囲の表面に投影するものとする。また、プロセッサー110は、コード500をx軸方向に投影する。これにより、コード500上の座標(Y,Z)は、円筒座標系(r,θ,z)の座標(R,Θ,Z)に投影される。なお、本実施形態の説明に用いる円筒座標系(r,θ,z)は、直交座標系(x,y,z)と原点が同一である。また、円筒座標系(r,θ,z)のz軸と直交座標系(x,y,z)のz軸は同一である。また、基準方向は、θ=0となる方向である。したがって、基準方向とx方向が一致している場合、x軸上の点は、θ=0である。基準方向とx方向が一致している場合、Θは、以下のようになる。
Figure JPOXMLDOC01-appb-M000001
In step ST13, the processor 110 determines which part of the surface of the cylinder 310 is to be cut. To this end, the processor 110 projects the code 500 parallel to the yz coordinate plane onto the surface of the cylinder 310, defined by the code position. However, the rotational position of the cylinder 310 is assumed to be a position where the reference direction and the x direction coincide. Furthermore, it is assumed that the projection is performed on the surface of the cylinder 310 within a range of ±(2/π) [rad] from the reference direction. Processor 110 also projects code 500 in the x-axis direction. As a result, the coordinates (Y, Z) on the code 500 are projected onto the coordinates (R, Θ, Z) of the cylindrical coordinate system (r, θ, z). Note that the cylindrical coordinate system (r, θ, z) used in the description of this embodiment has the same origin as the orthogonal coordinate system (x, y, z). Further, the z-axis of the cylindrical coordinate system (r, θ, z) and the z-axis of the orthogonal coordinate system (x, y, z) are the same. Further, the reference direction is a direction in which θ=0. Therefore, when the reference direction and the x direction match, the point on the x axis is θ=0. When the reference direction and the x direction match, Θ is as follows.
Figure JPOXMLDOC01-appb-M000001
 プロセッサー110は、コード500を上記のように円柱310の表面に投影した領域のうち、コード500の暗部分を円柱310の表面に投影した領域を切削すると決定する。コード500の暗部分を円柱310の表面に投影した領域は、第1値に対応する切削対象領域の一例である。また、コード500を上記のように円柱310の表面に投影した領域のうち、コード500の明部分を円柱310の表面に投影した領域は、第2値に対応する切削外領域の一例である。 The processor 110 determines that the area where the dark part of the code 500 is projected onto the surface of the cylinder 310 is to be cut out of the area where the code 500 is projected onto the surface of the cylinder 310 as described above. The area where the dark part of the code 500 is projected onto the surface of the cylinder 310 is an example of the cutting target area corresponding to the first value. Further, among the regions in which the code 500 is projected onto the surface of the cylinder 310 as described above, the region in which the bright portion of the code 500 is projected onto the surface of the cylinder 310 is an example of a non-cutting region corresponding to the second value.
 ステップST14においてプロセッサー110は、ステップST12で決定した切削パラメーター及びステップST14で決定した領域に基づき、コード400を円柱310に旋削加工するよう産業機械200を制御する。すなわち、プロセッサー110は、円柱310の表面のうち、ステップST13で決定した領域を、切削深さの示す深さまで、旋削加工によって切削するよう産業機械200を制御する。当該制御に基づき、産業機械200は、旋削加工によって円柱310にコード400を形成する。 In step ST14, the processor 110 controls the industrial machine 200 to turn the cord 400 into the cylinder 310 based on the cutting parameters determined in step ST12 and the area determined in step ST14. That is, the processor 110 controls the industrial machine 200 to cut the area determined in step ST13 on the surface of the cylinder 310 to the depth indicated by the cutting depth by turning. Based on the control, the industrial machine 200 forms the cord 400 on the cylinder 310 by turning.
 図6及び図7は、旋削加工によってコード400を円柱310に形成する方法について説明するための図である。
 旋削加工によってコード400を円柱310に形成する方法について図6及び図7を用いて説明する。なお、ここでは、円柱310の回転方向は、図6及び図7に示すD方向(時計回り)であるとする。また、コード500の1行目のうち、y座標がY1からY2の部分を円柱310に旋削加工することを考える。なお、コード500の1行目とは、図6及び図7に示すコード500のうち、一番下の行である。
6 and 7 are diagrams for explaining a method of forming the cord 400 into the cylinder 310 by turning.
A method of forming the cord 400 into the cylinder 310 by turning will be described with reference to FIGS. 6 and 7. Note that here, it is assumed that the rotation direction of the cylinder 310 is the D direction (clockwise) shown in FIGS. 6 and 7. Also, consider turning a portion of the first line of the code 500 whose y coordinate is from Y1 to Y2 into a cylinder 310. Note that the first line of the code 500 is the bottom line of the code 500 shown in FIGS. 6 and 7.
 コード500上の座標(Y1,Z1)は、ステップST13の処理によって円筒座標系(r,θ,z)の座標(R,Θ1,Z1)に投影される。なお、Z1は、コード500の1行目のz座標である。Θ1は、以下のようになる。
Figure JPOXMLDOC01-appb-M000002
The coordinates (Y1, Z1) on the code 500 are projected onto the coordinates (R, Θ1, Z1) of the cylindrical coordinate system (r, θ, z) by the process of step ST13. Note that Z1 is the z coordinate of the first line of the code 500. Θ1 is as follows.
Figure JPOXMLDOC01-appb-M000002
 また、コード500上の座標(Y2,Z1)は、ステップST13の処理によって円筒座標系(r,θ,z)の座標(R,Θ2,Z1)に投影される。Θ2は、以下のようになる。
Figure JPOXMLDOC01-appb-M000003
Further, the coordinates (Y2, Z1) on the code 500 are projected onto the coordinates (R, Θ2, Z1) of the cylindrical coordinate system (r, θ, z) by the process of step ST13. Θ2 is as follows.
Figure JPOXMLDOC01-appb-M000003
 また、図6及び図7に示すθwは、切削工具210の当接位置のθ座標を示す。すなわち、θwは、切削工具210の当接位置の基準方向からの角度を示す。 Further, θw shown in FIGS. 6 and 7 indicates the θ coordinate of the contact position of the cutting tool 210. That is, θw indicates the angle of the contact position of the cutting tool 210 from the reference direction.
 プロセッサー110は、図6に示すようにθw=Θ1、z=Z1となる位置で切削工具210を円柱310に当接させる。 The processor 110 brings the cutting tool 210 into contact with the cylinder 310 at a position where θw=Θ1 and z=Z1 as shown in FIG.
 そして、プロセッサー110は、図7に示すようにθw=Θ2、z=Z1となる位置まで切削工具210を当接させたままとする。そして、プロセッサー110は、θw=Θ2となる位置で切削工具210を円柱310から離す。これにより、円柱310のθ=Θ1からθ=Θ2の範囲が切削される。 Then, the processor 110 keeps the cutting tool 210 in contact with the cutting tool 210 until the position where θw=Θ2 and z=Z1 as shown in FIG. Then, the processor 110 moves the cutting tool 210 away from the cylinder 310 at a position where θw=Θ2. As a result, the range of θ=Θ1 to θ=Θ2 of the cylinder 310 is cut.
 このようにして、コード500の1行目のうち、y座標がY1からY2の部分が旋削加工によって円柱310に形成される。 In this way, in the first line of the code 500, the portion whose y coordinate is from Y1 to Y2 is formed into the cylinder 310 by turning.
 プロセッサー110は、コード500の1行目のY1からY2以外の部分も同様にして、旋削加工を行う。なお、プロセッサー110は、円柱310を1周回転させる間にコード500の1行分を円柱310に旋削加工しても良いし、円柱310を複数周回転させる間にコード500の1行分を円柱310に旋削加工しても良い。また、プロセッサー110は、コード500の1行分を1回で旋削加工しても良いし、複数回に分けて旋削加工しても良い。 The processor 110 similarly performs turning on the parts other than Y1 to Y2 on the first line of the code 500. Note that the processor 110 may turn one line of the code 500 into the cylinder 310 while rotating the cylinder 310 once, or may turn one line of the code 500 into the cylinder while rotating the cylinder 310 multiple times. 310 may be turned. Furthermore, the processor 110 may perform the turning process on one line of the code 500 in one time, or may perform the turning process in multiple times.
 プロセッサー110は、1行分の旋削加工が終わったならば、加工対象物300又は切削工具210の少なくともいずれかをz軸方向に移動させて次の行の旋削加工を行う。プロセッサー110は、これを繰り返して、コード500の全行を円柱310に旋削加工して、円柱310にコード400を形成する。
 プロセッサー110は、ステップST14の処理の後、図5に示す処理を終了する。
When the turning process for one line is completed, the processor 110 moves at least either the workpiece 300 or the cutting tool 210 in the z-axis direction to perform the turning process on the next line. Processor 110 repeats this to turn all rows of code 500 into cylinder 310 to form code 400 on cylinder 310.
After the process of step ST14, the processor 110 ends the process shown in FIG.
 以上より、プロセッサー110は、ステップST14の処理を行うことで、第1値及び第2値からなる二値画像を、回転している加工対象物の第1値に対応する切削対象領域に工具を当接させ、加工対象物の第2値に対応する切削外領域では工具を当接させないように工作機械を制御することで、加工対象物に形成する加工制御部の一例として機能する。 As described above, by performing the processing in step ST14, the processor 110 converts the binary image consisting of the first value and the second value into the cutting target area corresponding to the first value of the rotating workpiece. It functions as an example of a processing control unit formed on the workpiece by controlling the machine tool so that the tool does not come into contact with the tool in the non-cutting area corresponding to the second value of the workpiece.
 実施形態の制御システム1によれば、制御装置100は、回転している加工対象物300の切削対象領域に加工工具を当接させる。そして、制御装置100は、切削対象領域外では、加工工具を加工対象物300から離す。これにより、実施形態の制御システム1は、旋削加工によってコードを形成することができる。 According to the control system 1 of the embodiment, the control device 100 brings the processing tool into contact with the region to be cut of the rotating workpiece 300. Then, the control device 100 moves the processing tool away from the workpiece 300 outside the cutting target area. Thereby, the control system 1 of the embodiment can form the cord by turning.
 実施形態の制御システム1によれば、制御装置100は、コード500の暗部分を加工対象物300に投影した領域を切削対象領域とする。このような切削対象領域を用いて形成されたコード400は、円柱310の側面という曲面に形成されているが、図3に示すように、正面方向から見ると、一部が引き伸ばされたり圧縮されたりしていない。このため、コード400の読取精度及び視認性が向上する。 According to the control system 1 of the embodiment, the control device 100 sets the region where the dark portion of the code 500 is projected onto the workpiece 300 as the region to be cut. The cord 400 formed using such a cutting target area is formed on the curved surface of the side surface of the cylinder 310, but as shown in FIG. I haven't done that. Therefore, the reading accuracy and visibility of the code 400 are improved.
 実施形態の制御システム1によれば、制御装置100は、コード400を加工対象物300に形成する。コード400は、複数のセル(モジュール)がマトリクス状または1列に並んでいる画像である。このため、本実施形態の旋削加工に適した画像である。 According to the control system 1 of the embodiment, the control device 100 forms the code 400 on the workpiece 300. The code 400 is an image in which a plurality of cells (modules) are arranged in a matrix or in a line. Therefore, this image is suitable for the turning process of this embodiment.
 上記の実施形態は、以下のような変形も可能である。
 上記の実施形態では、制御装置100のプロセッサー110は、ステップST11においてコードを生成した。しかしながら、制御装置100以外の装置がコードを生成しても良い。この場合、プロセッサー110は、当該装置などからコードを取得する。
The above embodiment can also be modified as follows.
In the above embodiment, the processor 110 of the control device 100 generated the code in step ST11. However, a device other than the control device 100 may generate the code. In this case, the processor 110 obtains the code from the device or the like.
 上記の実施形態では、制御システム1は、コードを円柱310に切削加工した。しかしながら、制御システム1は、コードに代えて、コード以外の二値画像を円柱310に切削加工しても良い。 In the above embodiment, the control system 1 cut the cord into the cylinder 310. However, the control system 1 may cut a binary image other than the code into the cylinder 310 instead of the code.
 加工対象物310は、円柱310に代えて半円柱などの、底面が扇形の柱体を備えていても良い。この場合、制御システム1は、当該柱体の側面にコードを旋削加工する。 Instead of the cylinder 310, the workpiece 310 may include a column with a fan-shaped bottom, such as a semicircle. In this case, the control system 1 lathes the cord on the side surface of the column.
 上記の実施形態では、コードは長方形である。しかしながら、コードは長方形以外の形状であっても良い。 In the embodiments described above, the cord is rectangular. However, the cord may have a shape other than a rectangle.
 プロセッサー110は、上記実施形態においてプログラムによって実現する処理の一部又は全部を、回路のハードウェア構成によって実現するものであっても良い。 The processor 110 may implement part or all of the processing implemented by the program in the above embodiments using a circuit hardware configuration.
 実施形態の処理を実現するプログラムは、例えば装置に記憶された状態で譲渡される。しかしながら、当該装置は、当該プログラムが記憶されない状態で譲渡されても良い。そして、当該プログラムが別途に譲渡され、当該装置へと書き込まれても良い。このときのプログラムの譲渡は、例えば、リムーバブルな記憶媒体に記録して、あるいはインターネット又はLAN(local area network)などのネットワークを介したダウンロードによって実現できる。 The program that implements the processing of the embodiment is transferred, for example, while being stored in the device. However, the device may be transferred without the program stored therein. Then, the program may be separately transferred and written into the device. Transfer of the program at this time can be realized, for example, by recording it on a removable storage medium or by downloading it via a network such as the Internet or a LAN (local area network).
 以上、本発明の実施形態を説明したが、例として示したものであり、本発明の範囲を限定するものではない。本発明の実施形態は、本発明の要旨を逸脱しない範囲において種々の態様で実施可能である。 Although the embodiments of the present invention have been described above, they are shown as examples and do not limit the scope of the present invention. Embodiments of the present invention can be implemented in various ways without departing from the gist of the present invention.
 1 制御システム
 100 制御装置
 110 プロセッサー
 120 ROM
 130 RAM
 140 補助記憶装置
 150 制御インターフェース
 160 入力デバイス
 170 表示デバイス
 180 バス
 200 産業機械
 210 切削工具
 300 加工対象物
 310 円柱
 400,500 コード
 
1 Control System 100 Control Device 110 Processor 120 ROM
130 RAM
140 Auxiliary storage device 150 Control interface 160 Input device 170 Display device 180 Bus 200 Industrial machine 210 Cutting tool 300 Workpiece 310 Cylinder 400,500 Code

Claims (4)

  1.  第1値及び第2値からなる二値画像を、回転している加工対象物の前記第1値に対応する切削対象領域に工具を当接させ、前記加工対象物の前記第2値に対応する切削外領域では工具を当接させないように工作機械を制御することで、前記加工対象物に形成する加工制御部を備える加工制御装置。 A binary image consisting of a first value and a second value is made to correspond to the second value of the rotating workpiece by bringing a tool into contact with a cutting target area corresponding to the first value of the rotating workpiece. A machining control device comprising a machining control unit that controls a machine tool so that a tool does not come into contact with the workpiece in an area outside of cutting.
  2.  前記切削対象領域は、前記二値画像の前記第1値を前記加工対象物の表面に投影した領域であり、
     前記切削外領域は前記二値画像の前記第2値を前記加工対象物の表面に投影した領域である、請求項1に記載の加工制御装置。
    The cutting target area is an area in which the first value of the binary image is projected onto the surface of the workpiece,
    The processing control device according to claim 1, wherein the non-cutting area is an area in which the second value of the binary image is projected onto the surface of the workpiece.
  3.  前記二値画像は二次元コード又はバーコードである、請求項1又は請求項2に記載の加工制御装置。 The processing control device according to claim 1 or 2, wherein the binary image is a two-dimensional code or a barcode.
  4.  加工制御装置が備えるプロセッサーを、
     第1値及び第2値からなる二値画像を、回転している加工対象物の前記第1値に対応する切削対象領域に工具を当接させ、前記加工対象物の前記第2値に対応する切削外領域では工具を当接させないように工作機械を制御することで、前記加工対象物に形成する加工制御部として機能させるプログラム。
     
    The processor included in the processing control device,
    A binary image consisting of a first value and a second value is made to correspond to the second value of the rotating workpiece by bringing a tool into contact with a cutting target area corresponding to the first value of the rotating workpiece. A program that functions as a machining control unit to form on the workpiece by controlling the machine tool so that the tool does not come into contact with the outside of the cutting area.
PCT/JP2022/025819 2022-06-28 2022-06-28 Machining control device and program WO2024004046A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/025819 WO2024004046A1 (en) 2022-06-28 2022-06-28 Machining control device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/025819 WO2024004046A1 (en) 2022-06-28 2022-06-28 Machining control device and program

Publications (1)

Publication Number Publication Date
WO2024004046A1 true WO2024004046A1 (en) 2024-01-04

Family

ID=89382116

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/025819 WO2024004046A1 (en) 2022-06-28 2022-06-28 Machining control device and program

Country Status (1)

Country Link
WO (1) WO2024004046A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06179303A (en) * 1991-08-10 1994-06-28 Asahi Tec Corp Wheel for vehicle
JPH0929922A (en) * 1995-07-14 1997-02-04 Dainippon Screen Mfg Co Ltd Gravure carving apparatus
JP2006151113A (en) * 2004-11-26 2006-06-15 Jtekt Corp Wheel bearing device and grinding device for bearing member
US20160042261A1 (en) * 2014-08-11 2016-02-11 Brian Kieser Structurally encoded component and method of manufacturing structurally encoded component
CN105374008A (en) * 2015-12-11 2016-03-02 北京印刷学院 Prep-deformation method for two-dimensional code on cylindrical surface
JP6650646B2 (en) * 2015-04-14 2020-02-19 株式会社Kmc NC control program, NC control device, NC processing system, NC control method, and two-dimensional code manufacturing method
JP6752398B1 (en) * 2020-01-15 2020-09-09 三菱電機株式会社 Numerical control device and numerical control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06179303A (en) * 1991-08-10 1994-06-28 Asahi Tec Corp Wheel for vehicle
JPH0929922A (en) * 1995-07-14 1997-02-04 Dainippon Screen Mfg Co Ltd Gravure carving apparatus
JP2006151113A (en) * 2004-11-26 2006-06-15 Jtekt Corp Wheel bearing device and grinding device for bearing member
US20160042261A1 (en) * 2014-08-11 2016-02-11 Brian Kieser Structurally encoded component and method of manufacturing structurally encoded component
JP6650646B2 (en) * 2015-04-14 2020-02-19 株式会社Kmc NC control program, NC control device, NC processing system, NC control method, and two-dimensional code manufacturing method
CN105374008A (en) * 2015-12-11 2016-03-02 北京印刷学院 Prep-deformation method for two-dimensional code on cylindrical surface
JP6752398B1 (en) * 2020-01-15 2020-09-09 三菱電機株式会社 Numerical control device and numerical control method

Similar Documents

Publication Publication Date Title
JP2001009603A (en) Cutting method and tool for inner corner
US5282143A (en) Method and system for machining a sculptured surface
JP5957070B2 (en) Workpiece machining surface display method, workpiece machining surface display device, tool path generation device, and workpiece machining surface display program
KR20020000511A (en) Machine tool
CN210848792U (en) Three-dimensional five-axis laser cutting machine tool
US20020071732A1 (en) Corner cutting method and NC controller
WO2024004046A1 (en) Machining control device and program
JP2005319531A (en) Numerical control machine tool and method for checking machining program
JP2005288563A (en) Method and device for creating working program
JP4531297B2 (en) 6-axis control NC program generation method and generation apparatus, 6-axis control NC program generation program, and computer-readable recording medium storing the program
JP3148108B2 (en) How to check 5-axis NC data
CN108778579A (en) Method for manufacture machine component, the equipment for manufacture machine component, the method for processing rotationally symmetrical surf, recording medium and program
JP3701317B2 (en) A device that creates operational data for the machine
JP2013196130A (en) Processing work support method and processing work support device
JPH10118889A (en) Method for determining cutting condition
JPH0683422A (en) Numerical control method
JP4784767B2 (en) 3-axis NC woodworking lathe system, tool path generation method, tool path generation program and recording medium
JPH10124129A (en) Numerical control data producing device, producing method, and recording medium for cutting work machine
JPH0981221A (en) Nc data preparing device and its correction data preparing method
WO2024047698A1 (en) Processing device, program, and processing method
JP2006190048A (en) Numerical control device for composite working machine
JP2002154034A (en) Method of setting blade edge position of tool in machine tool
JP2746162B2 (en) Tool placement method to board material figure data
JPH04271406A (en) Working data generation method for five-axis machining center
CN117762088A (en) Method of generating tool paths for engraving on various forming surfaces

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22949322

Country of ref document: EP

Kind code of ref document: A1