Laser marking device and information processing method
The laser marking apparatus addresses the limitation of conventional devices by generating and transmitting image data to general-purpose control devices, facilitating image visualization and flexible user interfaces.
Patent Information
- Application Number
- JP2023223430
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-10
AI Technical Summary
Conventional laser marking devices do not support the output of printing images to general-purpose control devices such as PLCs or PCs without dedicated equipment, making it difficult for these devices to display printing images.
A laser marking apparatus equipped with a processor and communication device that acquires marking information, generates a printed image based on an image request from a general-purpose control device, and transmits image data in a text format to enable visualization on the control device.
Enables sharing and visualization of printing images on general-purpose control devices without the need for dedicated tools, allowing intuitive confirmation of marking results and flexible UI design.
Smart Images

Figure 2025105116000001_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a laser marking device and an information processing method.
Background Art
[0002] As a conventional laser marking device, there is known a device including a console having a setting unit for setting marking information regarding a printing pattern, and a control device that displays a printing image of the printing pattern in an image display column of a display screen based on the marking information set via the console (see Patent Document 1).
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] The laser marking device of Patent Document 1 does not support output of a printing image to a general-purpose control device (for example, a PLC (programmable logic controller) or a PC (Personal Computer)) that does not have dedicated equipment but only dedicated tools. Therefore, a general-purpose control device cannot share a printing image (printing picture), and it is difficult for the general-purpose control device to display the printing image.
[0005] The present disclosure provides a laser marking device and an information processing method capable of sharing a printing image of a printing pattern with a general-purpose control device and visualizing the printing image by the general-purpose control device.
Means for Solving the Problems
[0006] One aspect of the present disclosure is a laser marking apparatus that scans laser light emitted from a laser light source with a light scanning means to perform marking on a workpiece, comprising a processor and a communication device, wherein the processor acquires marking information including at least information regarding a printing pattern for performing marking on the workpiece and layout information regarding the layout of a processable area for marking, receives an image request as a command from a general-purpose control device via the communication device, generates a printed image of the printing pattern based on the marking information in response to the image request, generates image data in text format based on the printed image, and transmits the image data to the general-purpose control device as a response to the image request via the communication device.
[0007] One aspect of the present disclosure is an information processing method for a laser marking apparatus that scans laser light emitted from a laser light source with a light scanning means to perform marking on a workpiece, the method including at least: acquiring marking information including information regarding a printing pattern for performing marking on the workpiece and layout information regarding the layout of a processable area for marking; receiving an image request as a command from a general-purpose control device; generating a printed image of the printing pattern based on the marking information in response to the image request; generating image data in text format based on the printed image; and transmitting the image data to the general-purpose control device as a response to the image request.
Effect of the Invention
[0008] According to the present disclosure, a printed image of a printing pattern can be shared with a general-purpose control device, and the printed image can be visualized by the general-purpose control device.
Brief Description of the Drawings
[0009]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6A
Figure 6B
Figure 6C
Figure 6D
Figure 6E
Figure 7A
Figure 7B
Figure 7C
Figure 7D
Figure 7E
Figure 8A
Figure 8B
Embodiments for Carrying Out the Invention
[0010] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings as appropriate. However, a more detailed description than necessary may be omitted. For example, the detailed description of already well-known matters or the description of substantially the same configurations may be omitted. This is to avoid making the following description unnecessarily redundant and to facilitate the understanding of those skilled in the art. It should be noted that the accompanying drawings and the following description are provided for those skilled in the art to fully understand the present disclosure, and it is not intended to limit the subject matter described in the claims thereby.
[0011] In addition, the "part" or "device" in the embodiment is not limited to a physical configuration mechanically realized only by hardware, but also includes those in which the functions of the configuration are realized by software such as a program. Also, even if the functions of one configuration are realized by two or more physical configurations, or the functions of two or more configurations are realized by, for example, one physical configuration, it does not matter.
[0012] (The background for arriving at the embodiments of the present disclosure) In the laser marking device (laser marker) of Patent Document 1, a dedicated setting tool is used from a PC or an embedded console installed with dedicated equipment and dedicated software to display the set printing image on the display screen of the dedicated equipment. In this case, even if a printing image output request is made to the laser marker by general-purpose communication from a PLC or PC installed with dedicated equipment and dedicated software, the laser marker does not support the output of the printing image. Therefore, it is difficult for such a PLC or PC to display the printing image.
[0013] In the following embodiments, a laser marking device and an information processing method will be described in which a printing image of a printing pattern is shared with a general-purpose control device and the printing image can be visualized by the general-purpose control device.
[0014] (Embodiments) <Configuration of the laser marking system> FIG. 1 is a perspective view showing a schematic configuration example of a laser marking system 5 according to an embodiment of the present disclosure. FIG. 2 is a block diagram showing a schematic configuration example of the laser marking system 5. The laser marking system 5 includes a laser marker 100 and a control device 200.
[0015] The laser marker 100 irradiates a processing object such as resin or metal with laser light, and changes the state of the surface of the processing object, thereby performing a processing (marking processing) of marking (printing) various patterns (printing patterns) such as characters, symbols, two-dimensional codes, or figures.
[0016] The control device 200 is, for example, a general-purpose control device. The control device 200 may be a PLC (programmable logic controller), a PC (Personal Computer), or an HMI (Human Machine Interface), etc. The control device 200 performs various controls and processes, for example, various processes related to marking processing.
[0017] The laser marker 100 is disposed above a conveyance line TR that conveys a work W as a processing object. The control device 200 is connected to the laser marker 100 via, for example, a cable 3. The laser marker 100 and the control device 200 are communicably connected by wire or wirelessly.
[0018] The laser marking system 5 respectively marks (marking processing) printing patterns such as characters, symbols, or figures on the surfaces of a plurality of sequentially conveyed works W. The laser marker 100 includes a laser light source 11, a beam expander 12, a galvanometer scanner 13, and a camera 14 in a housing 10 of the laser marker 100 (see FIG. 2). Note that the camera 14 may be built in the laser marker 100, or may be installed outside the laser marker 100 and connected to the laser marker 100.
[0019] As shown in FIG. 2, the control device 200 includes a processor 210 and a memory 220. The processor 210 comprehensively controls the laser marking system 5 and controls each part within the control device 200. The memory 220 stores various information, data, programs, and the like.
[0020] The laser light source 11 of the laser marker 100 has its oscillation controlled by the processor 210 of the control device 200 and emits laser light L for marking. The beam expander 12 is disposed downstream of the laser light source 11 and temporarily expands the beam diameter of the laser light L emitted from the laser light source 11 at a predetermined magnification.
[0021] The galvanometer scanner 13 is disposed downstream of the beam expander 12 and includes a galvanometer mirror 13a and a galvanometer motor 13b that drives the galvanometer mirror 13a. The galvanometer mirror 13a reflects the laser light L whose diameter has been expanded by the beam expander 12 and can freely change the irradiation direction of the laser light L. The galvanometer mirror 13a is composed of, for example, a pair of an X-axis mirror and a Y-axis mirror. The galvanometer mirror 13a is angle-controlled by driving the galvanometer motor 13b based on the control of the processor 210 and two-dimensionally scans the laser light L based on the data of a set desired printing pattern. Therefore, the galvanometer scanner 13 operates as a light scanning means for scanning the laser light L.
[0022] The focusing lens (fθ lens) 17 is disposed downstream of the galvanometer mirror 13a and converges the laser light L until it has a predetermined spot diameter on the surface of the workpiece W, and increases the energy density suitable for marking. In this way, the laser marking system 5 performs marking on the workpiece W.
[0023] Further, the laser marker 100 includes a cold mirror 21 between the beam expander 12 and the galvanometer mirror 13a on the optical axis of the laser light L. The cold mirror 21 reflects light in the visible light range and transmits the laser light L.
[0024] The camera 14 is provided near the cold mirror 21, the optical axis of the camera 14 is bent by the cold mirror 21, and the optical axis of the camera 14 coincides with the optical axis of the laser beam L on the subsequent stage side (laser emission side) of the cold mirror 21. That is, the visible light taken in from the emission part (converging lens 17 part) of the laser beam L and reflected by the cold mirror 21 reaches the camera 14. Thereby, after the marking on the work W, the camera 14 can image the printed pattern marked on the work W. Further, before the marking on the work W, the camera 14 images the surface of the work W to be marked as an imaging image. The camera 14 outputs the data of the imaging image to the control device 200.
[0025] Further, the laser marker 100 includes a laser output measurement unit 22. The laser output measurement unit 22 is arranged between the laser light source 11 and the beam expander 12 and measures the output value of the laser beam L. The laser output measurement unit 22 includes an optical path branching unit 22a including a beam splitter or the like arranged between the laser light source 11 and the beam expander 12 on the optical axis of the laser beam L, and a light receiving element 22b provided in the housing 10. The optical path branching unit 22a reflects several percent of the laser beam L emitted from the laser light source 11 toward the light receiving element 22b. The light receiving element 22b receives the laser beam L reflected by the optical path branching unit 22a and outputs a detection signal based on the light receiving result to the control device 200.
[0026] Further, the laser marker 100 has a processor 110, a memory 120, and a console 150 (see FIG. 3). The console 150 includes a display screen having a touch panel function. The console 150 receives a desired printed pattern for marking the work W from the user. The processor 110 acquires the data of the printed pattern from the console 150, sets the printed pattern as a printing target, and stores the data of the set printed pattern in the memory 120.
[0027] Note that the printing pattern (printing content) may be determined by the control device 200. In this case, the processor 110 acquires the data of the printing pattern via the communication device 130, sets the printing pattern as the printing target, and stores the data of the set printing pattern in the memory 120.
[0028] The laser marker 100 can achieve a desired print by irradiating laser light based on the data of the printing pattern. When the marking process (printing) for one workpiece W is completed, the next workpiece W is conveyed below the laser marker 100 (marking area), and the same marking process is performed on that workpiece W. The laser marking system 5 can perform marking on a plurality of workpieces W by repeating the marking process.
[0029] FIG. 3 is a block diagram showing an example of the hardware of the laser marking system 5. In FIG. 3, the laser marker 100 and the control device 200 will be mainly described.
[0030] The laser marker 100 has a configuration including a processor 110, a memory 120, a communication device 130, and a console 150.
[0031] The processor 110 may be configured using, for example, a CPU (Central Processing Unit) or a DSP (Digital Signal Processor). The processor 110 may be configured using various integrated circuits (for example, LSI (Large Scale Integration) or FPGA (Field Programmable Gate Array). The processor 110 realizes various functions by executing the program held in the memory 120. The processor 110 comprehensively controls each part of the laser marker 100 and performs various processes.
[0032] The memory 120 includes at least a primary storage device (e.g., RAM (Random Access Memory) or ROM (Read Only Memory)). The memory 120 may include other storage devices. Also, the memory 120 may be an external storage medium and may be detachable from the laser marker 100. The memory 120 stores various data, information, programs, etc.
[0033] The communication device 130 communicates various data or information according to a wired or wireless communication method. The communication method by the communication device 130 may include communication methods such as LAN (Local Area Network), power line communication, etc. The communication device 130 may communicate using various communication commands.
[0034] The console 150 has the functions of both an operation device and a display device. The operation device may include various buttons, keys, keyboards, mice, touch panels, microphones, or other operation devices. The operation device receives inputs of various data or information, etc. The operation device is operable, for example, by a user who uses the laser marker 100. The display device is configured using a display such as an LCD (Liquid Crystal Display) or an organic EL (Electroluminescence) (organic EL). The display device 250 displays various data or information, etc. Note that the operation device and the display device in the console 150 may be configured separately. Note that at least one of the operation device and the display device may be provided independently of the laser marker 100.
[0035] The control device 200 has a configuration including a processor 210, a memory 220, a communication device 230, an operation device 240, and a display device 250. Note that the control device 200 may not include the operation device 240 and the display device 250, and at least one of the operation device 240 and the display device 250 may be a device independent of the control device 200.
[0036] Processor 210 may be configured using, for example, a CPU or a DSP. Processor 210 may also be configured using various integrated circuits (such as an LSI or an FPGA). By executing the program held in memory 220, processor 210 realizes various functions. Processor 210 comprehensively controls each part of control device 200 and performs various processes.
[0037] Memory 220 includes a primary storage device (such as a RAM or a ROM). Memory 220 may also include other storage devices. Further, memory 220 may be an external storage medium and may be detachable from control device 200. Memory 220 stores various data, information, programs, etc.
[0038] Communication device 230 communicates various data or information etc. according to a wired or wireless communication method. The communication method by the communication device may include communication methods such as LAN and power line communication.
[0039] Operation device 240 may include various buttons, keys, keyboards, mice, touch panels, microphones, or other input devices. Operation device receives input of various data or information etc. Operation device is operable, for example, by a user who uses control device 200.
[0040] Display device 250 is configured using a display such as an LCD or an organic EL. Display device 250 displays various data or information etc. Note that operation device 240 and display device 250 may be integrally configured such as a touch panel etc.
[0041] Figure 4 is a diagram showing an overview of the functions of laser marking system 5.
[0042] The user makes an image request to the laser marker 100 via the operation device 240 of the control device 200. That is, the operation device 240 receives an operation for making an image request from the user. An application (also referred to as a host control application) executed by the processor 210 transmits an image request to the laser marker 100 via the communication device 230.
[0043] The laser marker 100 receives the image request by the communication device 130. In the laser marker 100, the processor 110 generates a printed image to be printed by marking based on the data of the printing pattern held in the memory 120. The processor 110 may hold the printed image in the memory 120. The processor 110 acquires a captured image captured by the camera 14 from the camera 14. The processor 110 may hold the captured image in the memory 120. The processor 110 may generate a composite image by combining the acquired captured image and the printed image (printing pattern). The processor 110 may hold the composite image in the memory 120. The processor 110 generates and transmits image data indicating the generated printed image or composite image via the communication device 130. At this time, the image data may be divided as necessary, and the divided image data (image divided data) may be transmitted. The image data is, for example, a PNG (Portable Network Graphics) file. The image data is indicated by an image or text or the like. The processor 110 may hold the image data in the memory 120. The memory 120 may hold the captured image, the printed image, the composite image, or the image data or the like as a cache (image data cache) that holds at least temporarily.
[0044] In the laser marker 100, the communication device 130 transmits image data to the processor 210 (e.g., the upper control application) of the control device 200. The processor 210 (e.g., the upper control application) of the control device 200 sends the image data to the display device 250 and causes the display device 250 to display an image (e.g., a PNG image) based on the image data. In this case, the processor 210 (e.g., the upper control application) may combine the divided image data and display an image based on the combined image data.
[0045] Also, between the laser marker 100 and the control device 200, communication is performed using, for example, communication commands. The communication commands include an IMG command, an IMC command, etc. The IMC command is a command related to the setting of the printed image (print image setting), and is a command for instructing what kind of printed image to generate. The IMC command can specify the width, height, resolution, etc. of the printed image. Details of the IMG command and the IMC command will be described later. The IMG command can specify the position of the printed image (print pattern) with respect to the printing area (processing area) and the magnification of the printed image. The position of the print pattern is indicated by, for example, the X coordinate and the Y coordinate, and may be indicated by the position in the two-dimensional plane. The position of the printed image may be, for example, the position of the printed image with respect to the printing area (processing area). The printed image may include the entire print pattern or a part of it. Note that the IMC command does not need to be changed much once it is determined. Note that by specifying the resolution, an image without a sense of incongruity can be generated. Note that the IMG command includes, for example, an IMGR0 command, an IMGR1 command, an IMGR2 command, and an IMGR3 command. The IMGR0 command may function as a printed image generation command. The IMGR1 command, the IMGR2 command, and the IMGR3 command may each function as a printed image reading command.
[0046] In this way, in the laser marking system 5, the control device 200 transmits a communication command to the laser marker 100 via the host control application. The laser marker 100 has its processor 110 receive the communication command and split and transfer the image data including the printing pattern to the host control application of the control device 200. The host control application of the control device 200 reconstructs the split image data and causes it to be displayed on the display device 250. Note that the splitting of the image data may not be performed.
[0047] Here, the specific processing of the processor 110 of the laser marker 100 will be supplemented.
[0048] The processor 110 sets the marking information regarding the printing pattern. The set marking information is held in the memory 120. The processor 110 acquires the marking information from the memory 120 when necessary. The marking information includes at least the printing pattern information regarding the printing pattern for performing marking on the object to be processed and the layout information regarding the layout of the printable area where marking can be performed. The processor 110 receives an image request as an instruction from the control device 200 via the communication device 130. The processor 110 generates a printed image obtained by visualizing the printing pattern based on the marking information in response to the image request, and generates image data in text format based on the printed image. The processor 110 transmits the image data to the control device 200 as a response to the image request via the communication device 130. The control device 200 displays an image (printed image) based on the image data. That is, the processor 110 may cause the printed image to be displayed on the control device 200.
[0049] That is, in response to an instruction (image request) from a general-purpose control device (for example, the control device 200), the laser marker 100 generates and transmits image data in text format corresponding to a general-purpose communication (protocol) of an image of the setting information including the printing pattern and the layout information, without requiring dedicated (special) software or protocol-compatible image data.
[0050] In addition, the layout information may include a captured image captured by a camera 14 installed inside or outside the laser marker. In this case, the processor 110 can generate a composite image in which an image showing a printing pattern and the captured image are combined by generating a printing image based on the marking information.
[0051] In addition, the command may include an IMC command that specifies at least one of the width, height, and resolution of the printing image, and an IMG command that specifies at least one of the position of the printing pattern with respect to the printing image and the magnification of the printing image. The processor 110 may generate a printing image based on the IMC command and the IMG command.
[0052] In addition, the image data may include information on at least one of the width, height, and resolution of the printing image, and information on at least one of the position of the printing pattern with respect to the printing image and the magnification of the printing image.
[0053] In addition, the processor 110 may divide the image data in a form that can be coupled to the control device 200 to generate a plurality of image division data, and transmit the plurality of image division data in multiple times as a response via the communication device 130.
[0054] In addition, the layout information may include information on a scale for measuring the position of the printing pattern with respect to the printing area. In this case, the processor 110 can generate a printing image showing the printing pattern including the scale SL by generating a printing image based on the marking information.
[0055] Next, the operation of the laser marking system 5 will be described. FIG. 5 is a sequence diagram showing an operation example by the laser marking system 5.
[0056] First, the control device 200 instructs the laser marker 100 to perform settings (print image settings) for generating a print image in which the print pattern is visualized (S101). The print image settings include, for example, settings for the width, height, and resolution of the print image. The instruction for the print image settings is communicated, for example, using an IMC command.
[0057] FIG. 6A is a diagram showing an example of an IMC command.
[0058] The IMC command transmitted in step S101 is, for example, a setting request command. For example, it includes information regarding the width of the print image (width information), information regarding the height of the print image (height information), and information regarding the resolution of the print image (PPI: Pixels Per Inch) (resolution information), etc. The width information includes information specifying the width of the generated print image (e.g., the length in the X direction) in pixel units. The height information includes information specifying the height of the generated print image (e.g., the length in the Y direction) in pixel units. The width and height of the print image can each be specified by any value between, for example, 64 pixels and 1024 pixels. The resolution information includes information specifying the resolution of the generated print image (e.g., indicated in pixels per inch). The resolution of the print image can be specified by any value between, for example, 010.0 and 999.9 (pixels per inch).
[0059] The laser marker 100 receives the instruction for the print image settings and performs various settings for generating a print image based on the print image settings. The settings here include, for example, settings for the width, height, and resolution of the print image. The information set here may be held in the memory 120.
[0060] The laser marker 100 transmits a normal reception response indicating that the instruction for the print image settings has been received normally to the control device 200 (S102). The normal reception response is communicated, for example, using an IMGA command which is one of the IMC commands.
[0061] In this way, the laser marking system 5 can set the specifications of the printable image by means of the IMC command.
[0062] Return to FIG. 5. The control device 200 transmits an instruction to generate a printed image (printed image generation instruction) to the laser marker 100 (S103). The printed image generation instruction is communicated, for example, using the IMGR0 command which is one of the IMGR commands which is one of the IMG commands.
[0063] FIG. 6B is a diagram showing an example of the IMGR0 command.
[0064] The IMGR0 command transmitted in S103 is a read request command that requests a read. The read request command includes information regarding the instruction content (instruction content information), information regarding the X position of the printed image (X position information), information regarding the Y position of the printed image (Y position information), information regarding the magnification of the printed image (magnification information), and the like. The instruction content information includes, for example, information with a data length of 1 byte and specifying an image generation instruction or a block read instruction. For example, when the instruction content information is "0", it indicates an instruction to generate a printed image (printed image generation instruction). The X position information includes information specifying the X position (X coordinate) of the print pattern displayed at the center of the print area AR (printed image). The Y position information includes information specifying the Y position (Y coordinate) of the print pattern displayed at the center of the print area (printed image). The printed image is generated such that the specified X coordinate and Y coordinate in the print pattern are at the center of the print area AR. The magnification information includes, for example, information specifying the magnification of the printed image displayed in the print area, that is, the size of the printed image.
[0065] The IMGR0 command transmitted in step S103 includes information such as, for example, instruction content: "0", X position: 130 mm, Y position: -40 mm, magnification: 100%.
[0066] Return to FIG. 5. The laser marker 100 receives a print image generation instruction from the control device 200. The laser marker 100 causes the processor 110 to generate a print image according to the print image generation instruction and generate image data based on the print image. The laser marker 100 transmits a print image generation instruction response indicating that it has received the print image generation instruction to the control device 200 (S104). The print image generation instruction response is communicated, for example, using an IMGA command which is one of the IMG commands.
[0067] FIG. 6C is a diagram showing an example of the IMGA command.
[0068] The IMGA command transmitted in S104 includes information regarding the data size (data size information). The data size information includes information indicating the data size (e.g., file size) of the transferred image data (e.g., image file). This data size may be indicated, for example, in hexadecimal and indicate the data size before being encoded in Base64.
[0069] Return to FIG. 5. The control device 200 receives a print image generation instruction response from the laser marker 100. The control device 200 transmits an instruction to read the print image (print image read instruction) to the control device 200 (S105). The print image read instruction is communicated using an IMGR1 command which is one of the IMGR commands that is one of the IMG commands.
[0070] FIG. 6D is a diagram showing an example of the IMGR1 command.
[0071] The IMGR1 command transmitted in S105 is a read request command for requesting a read, and includes, for example, information regarding the instruction content (instruction content information) and information regarding the block size upper limit (block size upper limit information).
[0072] This instruction content information has a data length of, for example, 1 byte and includes information specifying the block to be read in the image data. For example, when the instruction content information is "1", it indicates the specification of reading the next block in the image data. In this case, the laser marker 100 reads from the continuation of the previously read data (block) in the image data. Also, for example, when the instruction content information is "2", it indicates the specification of rereading the block in the image data. In this case, the laser marker 100 reads from the previous read start position in the image data. That is, in the case of rereading the block, the block to be read in the image data does not move. Also, for example, when the instruction content information is "3", it indicates the specification of forcibly ending the reading of the block in the image data.
[0073] This block size upper limit information has a data length of, for example, 4 bytes and specifies the upper limit of the size of the block to be read when the instruction content information is "1" or "2". The block size upper limit is set to a value that is, for example, a multiple of 4. Note that the block size upper limit information may not be included in the IMGR1 command and is optional. When the block size upper limit information is omitted, the laser marker 100 operates as if the block size upper limit is a predetermined maximum value. When the instruction content information is "3", the information regarding the block size upper limit is omitted.
[0074] Return to FIG. 5. The laser marker 100 receives a print image read instruction from the control device 200. The control device 200 reads according to the print image read instruction and transmits a read response indicating that the reading has been performed to the control device 200 (S106). This read response is communicated using the IMGA command, which is one of the IMG commands.
[0075] FIG. 6E is a diagram showing an example of the IMGA command.
[0076] The IMGA command transmitted in S106 is a read response command that responds to a read request, and includes, for example, information regarding the block size (block size information) and information regarding the transfer data (transfer data information). The block size information includes, for example, information indicating the capacity of the data transferred in this block, with a data length of 4 bytes. The capacity of the data is indicated, for example, in hexadecimal. For example, the block size is any value between "0000" and "1000". For example, when the information regarding the block size is "FFFF", it indicates the end of the transfer.
[0077] The transfer data information has a variable data length, for example, between a minimum of 0 bytes and a maximum of 4096 bytes, and includes information indicating the transfer data. The transfer data is, for example, data encoded by Base64 compliant with RFC (Request for Comments) 4648. Note that in the IMGA command, when the block size is "FFFF", there is no transfer data.
[0078] FIG. 5 exemplifies that image data is divided into a plurality of blocks and transferred after being encoded by Base64 as necessary. In the laser marking system 5, the control device 200 repeatedly communicates the print image read instruction in step S105 and the read response in step S106 until it receives a read response from the laser marker 100 in which the information regarding the block size of the IMGA command is "FFFF".
[0079] In addition, when the size of the image data is 4096 bytes or less, the image data fits within the block size (4096 bytes) of one block in the laser marker 100. Therefore, the processor 110 transmits the image data to the control device 200 without dividing the image data. On the other hand, when the size of the image data is greater than 4096 bytes, the image data does not fit within the block size (4096 bytes) of one block in the laser marker 100. Thus, the processor 110 divides the image data to generate a plurality of image divided data and transmits the plurality of image divided data to the control device 200.
[0080] Then, the control device 200 receives a read response from the laser marker 100 via the communication device 230, and the processor 210 decodes the transfer data (image data) included in the read response. The control device 200 causes the processor 210 to decode the image data using, for example, Base64. When the image data is not divided, the control device 200 causes the display device 250 to display an image based on this image data. When the image data is divided, the control device 200 causes the processor 210 to combine the plurality of image divided data to restore one image data (e.g., a PNG image) and causes the display device 250 to display an image based on the image data.
[0081] Next, an example of the printed image to be generated will be described.
[0082] FIG. 7A is a diagram showing a first example of a printed image PI corresponding to the IMG command. In FIG. 7A, the X coordinate information of the IMGR0 command is "0", that is, the X coordinate of the printing pattern PT displayed at the center of the printing area AR (printed image PI) is "0". Also, the Y coordinate information of the IMGR0 command is "0", that is, the Y coordinate of the printing pattern PT displayed at the center of the printing area AR (printed image PI) is "0". Further, the magnification information of the IMGR0 command is "60%", that is, the printing pattern PT is reduced to 60% of its size to generate the printed image PI. The laser marker 100 has the processor 110 generate image data based on the printed image PI. The laser marking system 5 can display a printed image PI as shown in FIG. 7A by the laser marker 100 sending a response including the image data to the control device 200 for this IMG command.
[0083] In FIG. 7A, it is exemplified that by setting the display magnification of the printed image PI to 60%, the entire printed image PI fits within the printing area AR.
[0084] FIG. 7B is a diagram showing a second example of a printed image PI corresponding to the IMG command. In FIG. 7B, the X coordinate information of the IMGR0 command is "-30", that is, the X coordinate of the printing pattern PT displayed at the center of the printing area AR (printed image PI) is "-30". Also, the Y coordinate information of the IMGR0 command is "0". Further, the magnification information of the IMGR0 command is "60%". The laser marker 100 has the processor 110 generate image data based on the printed image PI. The laser marking system 5 can display a printed image PI as shown in FIG. 7B by the laser marker 100 sending a response including the image data to the control device 200 for this IMG command.
[0085] FIG. 7C is a diagram showing a third example of the printed image PI corresponding to the IMG command. In FIG. 7C, the X coordinate information of the IMGR0 command is "-30". Also, the Y coordinate information of the IMGR0 command is "-15", that is, the Y coordinate of the print pattern PT displayed at the center of the printing area AR (printed image PI) is "-15". Also, the magnification information of the IMGR0 command is "100%", that is, the printed image PI is generated without resizing the print pattern PT. The laser marker 100 has the processor 110 generate image data based on the printed image PI. The laser marking system 5 can display a printed image PI as shown in FIG. 7C by the laser marker 100 sending a response including the image data to the control device 200 for this IMG command.
[0086] FIG. 7D is a diagram showing a fourth example of the printed image PI corresponding to the IMG command. In FIG. 7D, the X coordinate information of the IMGR0 command is "-30". Also, the Y coordinate information of the IMGR0 command is "-15". Also, the magnification information of the IMGR0 command is "200%", that is, the print pattern PT is enlarged to twice the size and the printed image PI is generated. The laser marker 100 has the processor 110 generate image data based on the printed image PI. The laser marking system 5 can display a printed image PI as shown in FIG. 7D by the laser marker 100 sending a response including the image data to the control device 200 for this IMG command.
[0087] FIG. 7E is a diagram showing a fifth example of the printed image PI corresponding to the IMG command. In FIG. 7E, the X coordinate information of the IMGR0 command is "-30". Also, the Y coordinate information of the IMGR0 command is "-15". Also, the magnification information of the IMGR0 command is "300%", that is, the print pattern PT is enlarged to three times the size and the printed image PI is generated. The laser marker 100 has the processor 110 generate image data based on the printed image PI. The laser marking system 5 can display a printed image PI as shown in FIG. 7E by the laser marker 100 sending a response including the image data to the control device 200 for this IMG command.
[0088] Next, a general-purpose display application for displaying the printed image PI will be described.
[0089] Here, as an example, the general-purpose display application is a user tool (general-purpose tool). Examples of the user tool include, for example, a PC tool or a general-purpose built-in setting tool incorporated in a predetermined device.
[0090] FIGS. 8A and 8B are diagrams showing screen examples of the user tool.
[0091] As shown in FIG. 8A, the display device 250 displays an application screen G1 for displaying the printed image PI, displays a printing area AR within the application screen G1, and displays the printed image PI including the actual printing content (printing pattern) within the printing area AR. One or more printing objects PO may be displayed in the printing area AR as the printing pattern PT. Note that in FIG. 8A, it is exemplified that the printed image PI is the printed image shown in FIG. 7A, but it may be the printed image shown in FIGS. 7A to 7E or other printed images.
[0092] The printing object PO to be displayed is an object set to be printed. The printing object PO itself as the printing pattern PT is set in advance by the control device 200 or the console 150 of the laser marker 100 and is held in the memory 120 of the laser marker 100. The laser marker 100 causes the communication device 130 to transmit a read response including image data based on the printed image PI including the printing object PO to the control device 200 using the IMG command. The control device 200 causes the communication device 230 to acquire this read response, and the processor 210 causes the printed image PI to be displayed on the display device 250 based on the acquired image data.
[0093] As the printing object PO, one or more characters, symbols, codes (e.g., one-dimensional code, two-dimensional code), combinations thereof, and other printing data, etc. can be considered. In FIG. 8A, as an example, the printing object PO includes a printing object PO1 indicated by characters "ABCDE12345" of various sizes (e.g., 7 kinds of sizes) arranged linearly. Also, the printing object PO includes a printing object PO1 indicated by characters "VWXYZ" of various sizes (e.g., 4 kinds of sizes) arranged in an arc shape. Further, the printing object PO includes a printing object PO3 indicated by a Data Matrix code, a printing object PO4 indicated by a QR code (registered trademark), and a printing object PO5 indicated by a bar code. Each of the printing objects PO1 to PO5 is arranged at a predetermined position specified by an IMG command.
[0094] Also, in the application screen G1, a scale SL (memory) capable of measuring the size of the printing object PO is arranged around the printing area AR. The laser marker 100 may transmit the information of the scale SL to the control device 200 using an IMG command, or may transmit it to the control device 200 separately from the IMG command. Also, the control device 200 may independently hold the information of the scale SL in the memory 220. The control device 200 acquires the information of the scale SL and displays the scale SL within the printing area AR or around the printing area AR via the display device 250. Also, as shown in FIG. 8B, the display device 250 may also display specific numerical values (e.g., …, "-10 (mm)", "0 (mm)", "+10 (mm)", …) on the scale SL.
[0095] Next, an example of the utilization of the captured image by the camera 14 will be described.
[0096] In the laser marking system 5, the laser marker 100 may generate a composite image by the processor 110 synthesizing the printed image and the captured image captured by the camera 14. The processor 110 may generate image data based on the composite image and transmit the image data to the control device 200 via the communication device 130. The control device 200 may acquire the image data and display the composite image based on the image data.
[0097] By using the composite image, the user can observe not only the printing pattern by the printed image but also the workpiece (work W) to be processed. That is, the printing area in the real space is observable. Therefore, the user who checks the display device 250 can more realistically grasp the state when marking the printing pattern. Also, by using the composite image, it becomes easier for the user to align the printing pattern with respect to the workpiece. Further, by displaying the composite image, the control device 200 can allow the user to simultaneously check the real-space image and the virtual printed image.
[0098] In this way, the control device 200 can change the display position of the image by using the IMG command to specify the position (X coordinate information and Y coordinate information) and magnification (magnification information) of the printed image displayed at the center of the printing area AR to acquire the image data. Also, the laser marking system 5 can display the printed image by a display application as a user tool (general-purpose tool), that is, the printed image can be displayed by a general-purpose control device 200, and the printed image can be shared.
[0099] In this way, the laser marking system 5 of the present embodiment can provide a printed image showing the set printing pattern to a general-purpose control device 200 connected to the outside of the laser marker 100. That is, the laser marking system 5 can display image information (printed image) corresponding to the printing pattern set outside the laser marker 100 without using dedicated equipment or dedicated software.
[0100] In addition, the laser marking system 5 can provide image data including a printed image highly compatible with a user tool (upper control application) executed by the control device, and enables UI (user interface) design for flexible applications. Such flexible UI design increases the options for the control device 200 as an upper device. Also, since a device having a relatively inexpensive screen size can be selected as such a control device 200, the cost of the control device 200 can be reduced.
[0101] In addition, the laser marker 100 can respond to an image request command from a general-purpose control device 200. The laser marker 100 generates image data including a set printed image, and in response to the image request command, sends out the image data including it in the response. Thereby, a printed image printed by the laser marker 100 can be displayed on the display device 250 (UI) of the control device 200. Therefore, even if the control device 200 does not have a dedicated device but a dedicated setting tool (dedicated software for a console or a PC), the laser marker 100 can share the printed image with the control device 200 and visualize the printed image. Accordingly, the user can easily visually confirm the printing content before printing by the laser marker 100.
[0102] In addition, the printing content may include parameters (such as a date) that vary within the laser marker 100, and there is a desire to also confirm such printing content. When the control device 200 independently generates the printing content, it is difficult to visualize the parameters that vary within the laser marker 100. In contrast, in the present embodiment, since the control device 200 can acquire the printed image generated by the laser marker 100 by an image request and a response to the image request, the parameters that vary within the laser marker 100 can also be visualized.
[0103] In addition, the laser marking system 5 enables the laser marker 100 to transmit the whole or a part of a printed image corresponding to the printed pattern generated by the laser marker 100, rather than the setting screen of the laser marker 100 itself, to the control device 200. Thus, the control device 200 can obtain and display an image obtained by cutting out a part of the printed image or an image obtained by magnifying a part of the printed image.
[0104] Also, for example, in a factory, in addition to the laser marker 100, various FA (Factory Automation) devices are arranged, and each FA device is communicably connected. For example, the control device 200 may control various FA devices. In this case, the laser marking system 5 can display on a general-purpose application screen, in addition to the printed image by the laser marker 100, a large amount of information regarding various FA devices. In such a case, the partial display or enlarged display of the above-mentioned printed image is beneficial. Thereby, the laser marking system 5 can assist in generating a highly user-friendly unified UI for controlling various devices.
[0105] In addition, the control device 200 can specify the size (width, height) of the printed image and the fineness (resolution) of the printed image using IMC commands. Also, the control device 200 can specify the display range (X position, Y position) and display size (magnification) of the printed image using IMG commands.
[0106] As described above, various embodiments have been explained with reference to the drawings, but it goes without saying that the present invention is not limited to such examples. It is obvious that those skilled in the art can conceive of various modification examples or correction examples within the scope described in the claims, and it is naturally understood that those also belong to the technical scope of the present invention. Also, within the scope not departing from the gist of the invention, the constituent elements in the above embodiments may be arbitrarily combined.
[0107] <Summary of this Embodiment> As described above, the present disclosure describes at least the following matters. In the parentheses, corresponding components and the like in the above-described embodiments are exemplified, but the present disclosure is not limited thereto.
[0108] (Item 1) A laser marking device (laser marker 100) that performs marking on a workpiece (work W) by scanning laser light (laser light L) emitted from a laser light source (laser light source 11) with a light scanning means (galvanometer scanner 13), comprising a processor (processor 110) and a communication device (communication device 130), The processor, acquires marking information including at least information regarding a printing pattern (printing pattern PT) for performing marking on the workpiece and layout information regarding the layout of a processable area (printing area AR) where marking can be performed, receives an image request as a command from a general-purpose control device via the communication device, generates a printed image (printed image PI) of the printing pattern based on the marking information in response to the image request, and generates image data in text format based on the printed image, transmits the image data to the general-purpose control device as a response to the image request via the communication device. Laser marking device.
[0109] Accordingly, the laser marking device can share a printed image of a printing pattern with a general-purpose control device even if the general-purpose control device does not have dedicated equipment or dedicated tools, and the printed image can be visualized by the general-purpose control device.
[0110] (Item 2) The layout information includes a captured image captured by a camera (camera 14) installed inside or outside the laser marking device. The laser marking device according to Item 1.
[0111] As a result, the laser marking device can more intuitively confirm the marking result on the object to be processed.
[0112] (Item 3) The command includes a first command (IMC command) for specifying at least one of the width, height, and resolution of the printed image, and a second command (IMG command) for specifying at least one of the position of the printing pattern with respect to the printed image and the magnification of the printed image. Based on the first command and the second command, the processor generates the printed image. The laser marking device according to item 1 or 2.
[0113] As a result, the laser marking device can specify at least one of the size (width, height) and fineness (resolution) of the printed image, and can specify the display range (X position, Y position) and display size (magnification) of the printed image.
[0114] (Item 4) The image data includes information on at least one of the width, height, and resolution of the printed image, and information on at least one of the position of the printing pattern with respect to the printed image and the magnification of the printed image. The laser marking device according to any one of items 1 to 3.
[0115] As a result, the laser marking device can notify the general-purpose control device of the actual generation result of the printed image.
[0116] (Item 5) The processor divides the image data in a form that can be combined with the general-purpose control device to generate a plurality of image divided data, and transmits the plurality of image divided data in multiple times via the communication device as the response. The laser marking device according to any one of items 1 to 4.
[0117] As a result, even when the data size of the image data is large, the laser marking device can transmit the image data to a general-purpose control device.
[0118] (Item 6) The layout information includes information related to a scale for measuring the position of the printed image with respect to the processing area. The laser marking device according to any one of Items 1 to 5.
[0119] As a result, the laser marking device can provide scale information to a general-purpose control device, making it easier for the user to recognize the position of the printed image, the lengths in each direction of the two-dimensional plane, the size, etc.
[0120] (Item 7) An information processing method for a laser marking device that performs marking processing on a processing object by scanning laser light emitted from a laser light source with a light scanning means, obtaining marking information including at least information related to a printing pattern for performing marking processing on the processing object and layout information related to a layout of a processing area where marking processing can be performed; receiving an image request as a command from a general-purpose control device; generating a printed image of the printing pattern based on the marking information in response to the image request, and generating image data in text format based on the printed image; transmitting the image data to the general-purpose control device as a response to the image request; An information processing method having the above steps.
[0121] As a result, the information processing method can obtain the same effect as in Item 1.
Industrial Applicability
[0122] The present disclosure is useful for a laser marking device, an information processing method, etc. that can share a printed image of a printing pattern with a general-purpose control device and visualize the printed image by the general-purpose control device.
Explanation of Symbols
[0123] 5 Laser Marking System 11 Laser Light Source 13 Galvanometer Scanner 14 Camera 100 Laser Marker 110 Processor 120 Memory 130 Communication Device 200 Control Device 210 Processor 220 Memory 230 Communication Device 240 Operating Device 250 Display Device L Laser Light W Workpiece
Claims
1. A laser marking apparatus that performs marking on a workpiece by scanning laser light emitted from a laser light source with a light scanning means, comprising a processor and a communication device, wherein the processor, at least, acquires marking information including information regarding a printing pattern for performing marking on the workpiece and layout information regarding the layout of a processable area where marking can be performed, receives an image request as a command from a general-purpose control device via the communication device, generates a printed image of the printing pattern based on the marking information in response to the image request, generates image data in text format based on the printed image, and transmits the image data to the general-purpose control device as a response to the image request via the communication device. Laser marking apparatus.
2. The layout information includes a captured image captured by a camera installed inside or outside the laser marking apparatus. The laser marking apparatus according to claim 1.
3. The command includes a first command specifying at least one of the width, height, and resolution of the printed image, and a second command specifying at least one of the position of the printing pattern with respect to the printed image and the magnification of the printed image. The processor generates the printed image based on the first command and the second command. The laser marking apparatus according to claim 1 or 2.
4. The image data includes information on at least one of the width, height, and resolution of the printed image, and information on at least one of the position of the printing pattern with respect to the printed image and the magnification of the printed image. The laser marking apparatus according to claim 3.
5. The processor, divides the image data in a form that can be combined with the general-purpose control device to generate a plurality of image divided data, and transmits the plurality of image divided data in multiple times as the response via the communication device. The laser marking apparatus according to claim 1 or 2.
6. The layout information includes information regarding a scale for measuring the position of the printing pattern with respect to the processable area. The laser marking apparatus according to claim 1 or 2.
7. An information processing method for a laser marking apparatus that performs marking processing on a workpiece by scanning laser light emitted from a laser light source with a light scanning means, comprising at least a step of acquiring marking information including information regarding a printing pattern for performing marking processing on the workpiece and layout information regarding the layout of a process area where marking processing can be performed, a step of receiving an image request as an instruction from a general-purpose control device, a step of generating a printed image of the printing pattern based on the marking information in response to the image request, and generating image data in text format based on the printed image, and a step of transmitting the image data to the general-purpose control device as a response to the image request. An information processing method having the above steps.
Citation Information
Patent Citations
Laser marking apparatus, controller, and storage medium
JP2010149158A