PLC devices and industrial machinery systems

The PLC device facilitates remote status confirmation through general-purpose protocol communication, reducing costs by eliminating the need for dedicated hardware and advanced network protocols.

JP7538238B2Active Publication Date: 2024-08-21FANUC LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2022550509
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-09-16
Filing Date
2021-09-09
Publication Date
2024-08-21
Estimated Expiration
2041-09-09

AI Technical Summary

Technical Problem

Existing PLC systems face challenges in remote status confirmation due to the need for dedicated hardware and advanced network protocol design, leading to high installation and operation costs.

Method used

A PLC device with a text data output unit that determines whether text data should be output to a display or communication section based on predefined keywords, enabling general-purpose protocol communication like HTTP or SMTP without dedicated hardware.

Benefits of technology

Enables remote status checking with reduced installation and operation costs by using simple PLC programs for general-purpose protocol communication, eliminating the need for dedicated hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007538238000009
    Figure 0007538238000009
  • Figure 0007538238000015
    Figure 0007538238000015
  • Figure 0007538238000006
    Figure 0007538238000006
Patent Text Reader

Abstract

In order to output a given text string from a ladder program that has been analyzed, this PLC device is provided with a text data output unit for reading text data from a storage device, a display unit for outputting the given prescribed text string to a display device, and a communication unit for carrying out text communication with a network server by means of a prescribed command. In addition, the text data output unit is able to implement general-purpose protocol communication (HTTP communication) with a PLC program by determining, on the basis of a keyword included in the text data, whether the text data is to be output to the display unit or the communication unit, and outputting the output destination of the text data to the display unit or the communication unit, on the basis of the determination result.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a PLC device and an industrial machinery system. [Background technology]

[0002] In industrial machinery, a PLC (Programmable Logic Controller) is used to control the equipment through sequence control such as a ladder program. For example, when an abnormality is detected in the industrial machinery, the sequence control can display message data on a display device installed outside the industrial machinery, thereby notifying the user of the abnormality (for example, see Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 04-164552 Summary of the Invention [Problem to be solved by the invention]

[0004] However, when displaying message data using a display device, it is difficult to check the message data from a remote location. For this reason, it is possible to use the network communication function from the PLC sequence control program, but to use the network communication function, a dedicated protocol design and dedicated hardware such as a network server or gateway are required. To realize the dedicated protocol design, advanced network protocol design technology must be used. Furthermore, using dedicated hardware increases the introduction and operation costs.

[0005] There is a demand for technology that does not require dedicated hardware, has low implementation and operating costs, and enables remote status checks by implementing general-purpose protocol communication (such as HTTP communication, SMTP communication, etc.) using simple PLC programs. [Means for solving the problem]

[0006] (1) One aspect of the PLC device of the present disclosure is a Programmable Logic Controller (PLC) device that includes a text data output unit that reads text data from a storage device to output an arbitrary character string from an analyzed ladder program, a display unit that outputs a predetermined character string to a display device, and a communication unit that performs text communication with a network server using a predetermined command, wherein the text data output unit further determines whether the text data should be output to the display unit or the communication unit based on a keyword included in the text data, and outputs the output destination of the text data to either the display unit or the communication unit based on the determination result. (2) One aspect of the industrial machinery system of the present disclosure includes an industrial machine having the PLC device of (1) and an HTTP server, and when an alarm occurs in the industrial machine, the PLC device outputs the text data to the HTTP server. Effect of the Invention

[0007] According to one aspect, since no dedicated hardware is required, the introduction and operating costs are low, and by implementing general-purpose protocol communication (e.g. HTTP communication, SMTP communication, etc.) using a simple PLC program, it becomes possible to check the status remotely. [Brief description of the drawings]

[0008] [Figure 1] 1 is a configuration diagram of a PLC device 10 according to an embodiment, and a PLC system 1 including the PLC device 10. FIG. [Figure 2A] FIG. 13 is a diagram illustrating an example of a ladder program according to an embodiment. [Figure 2B]FIG. 1 is a diagram illustrating an example of an abnormality signal output system according to an embodiment. [Figure 3A] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3B] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3C] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3D] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3E] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3F] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3G] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 3H] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 4A] 5 is a flowchart showing the operation of a PLC device according to an embodiment. [Figure 4B] 5 is a flowchart showing the operation of a PLC device according to an embodiment. [Diagram 5] 1 is a configuration diagram of an industrial machinery system according to an embodiment. [Figure 6] 1 is a configuration diagram of an industrial machinery system according to an embodiment. [Figure 7A] FIG. 13 is a diagram illustrating an example of a ladder program according to an embodiment. [Figure 7B] FIG. 2 is a diagram illustrating an example of text data according to an embodiment. [Figure 7C] FIG. 11 is a diagram illustrating an example of a format of response data according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1 to 7C.

[0010] [Configuration of one embodiment] FIG. 1 is a configuration diagram of a PLC device 10 according to an embodiment of the present invention and a PLC system 1 including the PLC device 10. The PLC system 1 includes a PLC device 10, a storage device 20, an I / O device 30, a network 35, a network server 40, and a display device 50. Before describing the PLC device 10, the storage device 20, the I / O device 30, the network 35, the network server 40, and the display device 50 will first be described.

[0011] The storage device 20 is a device that stores various types of information, and in this embodiment, in particular, stores a PLC program 21, text data 22, and reply data 23. The storage device 20 may be a rewritable memory such as a hard disk drive (HDD) or a solid state drive (SDD).

[0012] The I / O device 30 is a device that outputs an output signal to the PLC device 10 (an input signal for the PLC device 10) and receives an input signal from the PLC device 10 (an output signal for the PLC device 10).

[0013] The network server 40 is a server provided on the network 35, and is communicatively connected to the PLC device 10 via the network 35. In particular, in this embodiment, the network server 40 executes protocol communication including text data 22 with the PLC device 10. The network server 40 may be, for example, an HTTP server, an SMTP server, or the like, but is not limited thereto.

[0014] The display device 50 is, for example, an image display device such as a display. In particular, in this embodiment, the display device 50 displays the text data 22 as message data acquired from the PLC device 10.

[0015] Next, the PLC device 10 will be described. The PLC device 10 is a device that executes a sequence control program such as a ladder program and performs various controls, calculations, input / output processing of signals, etc. in accordance with the ladder program, and the general functions of a PLC device are well known, so a detailed description will be omitted. In this embodiment, the functions according to the present invention will be described in detail.

[0016] As shown in FIG. 1, the PLC device 10 includes a PLC program execution unit 11, a text data output unit 12, a communication unit 13, a received data processing unit 14, and a display unit 15.

[0017] The PLC program execution unit 11 reads out the PLC program 21 stored in the storage device 20 from the storage device 20, analyzes and executes the PLC program 21, and controls I / O signals. In particular, in this embodiment, the PLC program execution unit 11 analyzes a ladder program as the PLC program 21 that issues a text data output command.

[0018] As will be described later, the text data output unit 12 reads out text data 22 from the storage device 20 in order to output an arbitrary character string stored in a specified location based on the analyzed ladder program. This text data 22 includes either a text communication command 221 or a message data display command 222. Here, the text communication command 221 means a text communication command (e.g., a command related to HTTP communication, a command related to SMTP communication, etc.) processed by a communication unit 13 described later. Also, the message data display command 222 is a command processed by a display unit 15 described later to display message data included in the text data 22 on a display device described later.

[0019] Specifically, text data output unit 12 includes text data determination unit 121 and output switching unit 122.

[0020] The text data determination unit 121 determines whether or not the text data 22 includes a text communication command 221. More specifically, if a predetermined keyword set in advance is included in the text data 22, the text data determination unit 121 determines that the text data 22 includes a text communication command 221. On the other hand, if the text data 22 does not include a predetermined keyword set in advance, the text data determination unit 121 determines that the text data 22 includes a message data display command 222.

[0021] If the text data 22 includes a text communication command 221 according to the determination result by the text data determination unit 121, the output switching unit 122 outputs the text data 22 to the communication unit 13, and otherwise outputs the text data 22 to the display unit 15. In this way, the output switching unit 122 switches the output destination of an arbitrary character string included in the PLC program 21 to either the display unit 15 or the communication unit 13.

[0022] FIG. 2A shows an example of a ladder program analyzed by PLC program executing unit 11 so that text data output unit 12 issues a text data output command.

[0023] As shown in the above example, when an abnormality signal is output by the anomaly detector and "X0001.0" is turned ON, the text data output unit 12 reads out the text data 22 stored in "A0000.0".

[0024] Furthermore, the text data output unit 12 judges whether or not the text data 22 stored in, for example, "A0000.0" includes a text communication command 221 (for example, a predetermined keyword set in advance), and if the text data 22 includes a keyword requesting, for example, HTTP communication, outputs the text data 22 to the communication unit 13, so that, for example, the communication unit 13 can execute HTTP communication with an HTTP server based on the text data 22. If the text data 22 stored in "A0000.0" does not include the text communication command 221 (for example, a predetermined keyword set in advance), the text data output unit 12 outputs it to the display unit 15 as in the conventional case, so that, for example, the display unit 15 can output a message to a display device based on the text data 22.

[0025] Fig. 2B shows an example of an abnormality signal output system in which an abnormality signal is output from machine tool 200 to input / output unit 110 of PLC controller 100. The ladder program shown in Fig. 2A is an example of a ladder program in which, for example, as shown in Fig. 2B, the abnormality signal output of machine tool 200 is connected to the input port of input / output unit 110, and a message is output when the abnormality signal of machine tool 200 turns "ON."

[0026] Next, the processing of the text data output unit 12 will be described with reference to an example of the text data 22.

[0027] 3A to 3H show examples of the text data 22. FIG.

[0028] As shown in FIG. 3A, if the text data 22 stored in “A0000.0” does not include a text communication command 221, that is, if the text data 22 is normal message data, the text data judgment unit 121 judges that the text data 22 does not include a text communication command, and the output switching unit 122 sets the output destination of the text data 22 to the display unit 15, thereby displaying the text data 22 as normal message data on the display device 50 described below.

[0029] As shown in FIG. 3B, if the text data 22 stored in "A0000.0" contains a text communication command 221 ("$curl" in the example shown in FIG. 3B), the text data judgment unit 121 judges that the text data 22 contains the text communication command 221, and the output switching unit 122 sets the output destination of the text data 22 to the communication unit 13, thereby transmitting an HTTP request to the network server 40 described below.

[0030] In addition, in Fig. 3B, an example is shown in which "$curl" is used as the text communication command 221, but the embodiment of the present invention is not limited to this. For example, a simplified unique command as exemplified in Fig. 3C may be used as a keyword.

[0031] In addition, in the examples shown in Fig. 3B and Fig. 3C, a command for transmitting an HTTP request is exemplified as the text communication command 221, but the embodiment of the present invention is not limited to this. For example, an e-mail communication (SMTP) function may be executed. For example, Gmail (registered trademark) may be sent in a curl command format by the text data 22 exemplified in Fig. 3D. Alternatively, an e-mail may be sent to a mail server in a telnet command format by the text data 22 exemplified in Fig. 3E. Alternatively, an e-mail communication function may be executed by a simplified unique command as exemplified in Fig. 3F. In these cases, the e-mail address, etc. may be written in advance in a setting file.

[0032] The text messages in Figures 3G and 3H will be described later.

[0033] The communication unit 13 performs protocol communication including text data with the network server 40. More specifically, the communication unit 13 transmits the text data acquired from the output switching unit 122 to the network server 40 via the network 35, and receives reply data as a response from the network server 40 via the network 35. Furthermore, the communication unit 13 outputs the received reply data to the received data processing unit 14 described below.

[0034] The received data processing unit 14 processes the reply data as received data acquired from the communication unit 13. More specifically, the received data processing unit 14 determines whether to store the reply data in the storage device 20 or display it on the display device 50 by identifying an optional keyword included in the text data caused by the reception of the reply data.

[0035] The processing contents of the received data processing unit 14 will be described with reference to the text messages shown in Figures 3G and 3H, where Figures 3G and 3H show examples of text data 22 including optional keywords.

[0036] 3G includes a character string "-o disp" as an optional keyword after "$curl -X GET" as a text communication command 221. In this case, the received data processing unit 14 obtains reply data from the URL "http: / / www.fan11105plc.com / update / notice.json" and stores it in the storage device 20.

[0037] 3H includes "-o disp" and a file name as optional keywords after "$curl -X GET" as a text communication command 221. In this case, the received data processing unit 14 obtains reply data from the URL "http: / / www.fan11105plc.com / notice.xml" and outputs the reply data as a message to the display device 50 via the display unit 15.

[0038] When the received data processing unit 14 stores the reply data in the storage device 20 , the display unit 15 may display the reply data stored in the storage device 20 on the display device 50 . The functional units of the PLC device 10 according to the present invention have been described above.

[0039] [Operation of the second embodiment] 4A and 4B are flowcharts showing the operation of the PLC device 10 according to this embodiment. More specifically, FIG. 4A is a flowchart showing the operation of the PLC device 10 when it outputs text data 22. Here, an HTTP command is shown as an example of the text communication command, but the text communication command is not limited to this. Any text communication command may be substituted for the HTTP command. FIG. 4B is a flowchart showing the operation of the PLC device 10 when it receives HTTP data as reply data.

[0040] [2.1 Operation when outputting text data] 4A, in step S1, when the PLC program execution unit 11 is analyzing and executing a ladder program as the PLC program 21, if there is a request to output text data (S1: Yes), the process proceeds to step S2. If there is no request to output text data (S1: No), the process returns to step S1.

[0041] In step S2, the text data output unit 12 reads the text data from the storage device 20.

[0042] In step S3, if the text data contains an HTTP request keyword (for example, "curl" as shown in FIG. 3B) as the text communication command 221 (S3: Yes), the process proceeds to step S4. If the HTTP request keyword is not contained (S3: No), the process proceeds to step S6.

[0043] In step S4, the text data output unit 12 outputs the HTTP transmission data to the communication unit 13.

[0044] In step S5, communication unit 13 transmits the HTTP transmission data acquired from text data output unit 12 to network server 40 via network 35.

[0045] In step S6, the text data output unit 12 outputs display character string data to the display unit 15 as message data.

[0046] In step S7, the display unit 15 executes a process of causing the display device 50 to display the display character string data as message data.

[0047] [2.2 Operation when receiving HTTP data] 4B, in step S11, the communication unit 13 executes a process of receiving reply data from the network server 40 via the network 35.

[0048] In step S12, if the text data includes an HTTP reply display specification (for example, "-o disp" as illustrated in FIG. 3G) (S12: YES), the process proceeds to step S13. If the text data does not include an HTTP reply display specification (S12: NO), the process proceeds to step S15.

[0049] In step S13, the received data processing unit 14 outputs to the display unit 15 the display character string data as message data included in the reply data.

[0050] In step S14, the display unit 15 executes a process of displaying the display character string data as message data on the display device 50.

[0051] In step S15, if the text data includes an HTTP save specification (for example, "-o any file name" as illustrated in FIG. 3H) (S15: Yes), the process proceeds to step S16. If the text data does not include an HTTP save specification (S15: No), the process ends.

[0052] In step S16, the received data processor 14 stores the reply data 23 in a specified storage area of ​​the storage device 20. The operation of the PLC device 10 according to this embodiment has been described above. Next, an example will be described in which a useful system can be easily configured by linking text communication commands of the PLC device 10 with a server that provides a predetermined service on the cloud.

[0053] [3 Examples] 3.1 First embodiment First, a chat system 70 and an issue management system 80 are illustrated as servers on which a predetermined service is provided on the cloud. Fig. 5 is a diagram showing a configuration of an industrial machinery system 2 as a first embodiment. The industrial machinery system 2 includes a machine tool 60 as an industrial machine, a chat system 70 installed online, and an issue management system 80.

[0054] Machine tool 60 is, for example, a numerically controlled machining machine, a robot operating in a factory, etc. Machine tool 60 also includes PLC device 10. In particular, in this embodiment, machine tool 60 issues an alarm when, for example, a consumable part needs to be replaced, and when machine tool 60 issues an alarm, PLC device 10 outputs an HTTP request to an online HTTP server in which chat system 70 is installed.

[0055] The chat system 70 is a chat system installed on an online HTTP server, and may be, for example, a chatbot such as Slack (registered trademark). When the chat system 70 receives an HTTP request from the PLC device 10, it transmits a new issue to the issue management system 80, in which an issue such as the need to replace a consumable part is described.

[0056] The issue management system 80 is a system for managing issues that occur in a plurality of industrial machines including the machine tool 60, and may be, for example, a system such as GitHub (registered trademark). When the issue management system 80 receives a new issue describing an issue from the chat system 70, it registers the new issue by setting a deadline and a person in charge of resolving the issue, and notifies the set person in charge that the new issue has been registered. A person in charge at a remote location away from the machine tool 60 checks the situation based on the new issue and resolves the issue. That is, in the above example, the person in charge at the remote location recognizes that it is necessary to replace the consumable part based on the new issue, and the person in charge, or the manager of the machine tool 60 who is contacted by the person in charge, replaces the consumable part.

[0057] It should be noted that this new issue can be registered on a Web page, but it can also be created by HTTP POST from outside.

[0058] That is, in the industrial machinery system 2, when an alarm occurs in the machine tool 60, a new issue can be registered in the issue management system 80 via the chat system 70, making it possible to notify the person in charge of the issue who is in a remote location away from the machine tool 60 and the administrator of the machine tool 60 that an alarm has occurred, along with its contents.

[0059] In addition, in the industrial machinery system 2, the format of the transmission data as the above-mentioned HTTP request and the program of the chat system 70 that receives it are provided as a package, thereby enabling managers and users of the machine tool 60 to support IoT.

[0060] The online HTTP server on which chat system 70 is installed may be, for example, a server (field server) in the manufacturer of machine tool 60 or in the factory where machine tool 60 is installed.

[0061] 3.2 Second Example Next, a WEB server 90 will be illustrated as an example of a server on which a predetermined service is provided on the cloud. Fig. 6 is a diagram showing a configuration of an industrial machinery system 3 as a second embodiment. The industrial machinery system 3 includes a machine tool 60 as an industrial machine, a display device 50, and the WEB server 90.

[0062] The machine tool 60 is, for example, a numerically controlled machining machine, a robot operating in a factory, etc. The machine tool 60 also includes a PLC device 10. In particular, in this embodiment, a ladder program executed by the PLC device 10 periodically implements a process for checking whether update data for the ladder program has been distributed based on reply data from the WEB server 90. In this process, the PLC device 10 transmits text data 22 including a text communication command 221 to the WEB server 90 as an HTTP request for checking the distribution of the update data.

[0063] Fig. 7A shows a ladder program executed by PLC device 10. For example, when a need arises for a ladder program to be replaced for improvement or defect correction after shipment of machine tool 60, the manufacturer of machine tool 60 implements a program that outputs text data every day, as shown in Fig. 7A, in order to replace the ladder program.

[0064] Fig. 7B shows an example of text data. The text communication command included in the text data shown in Fig. 7B is a communication command that instructs saving the response data when accessing a site called update_plc of PLC1 on the homepage of the above-mentioned machine tool manufacturer in the format of plc_update_check.json.

[0065] As described above, the URL to the service site of the user is registered in the text data, and when the time comes to update the data, the content of the reply data delivered from the Web server 90 is changed.

[0066] Figure 7C shows the format of plc_update_check.json.

[0067] By comparing the version of the ladder program executed by the PLC device 10 with the latest version information contained in plc_update_check.json, it is possible to confirm whether update data has been distributed from the WEB server 90, and if necessary, a notification message can be displayed on the display device 50, as shown in Figure 6.

[0068] [4. Effects of the embodiment] (1) The PLC device according to this embodiment (for example, the above-mentioned "PLC device 10") is a PLC (Programmable Logic In order to output an arbitrary character string from an analyzed ladder program, the device includes a text data output unit (e.g., the above-mentioned "text data output unit 12") that reads text data from a memory device (e.g., the above-mentioned "memory device 20"), a display unit (e.g., the above-mentioned "display unit 15") that outputs a predetermined character string to a display device (e.g., the above-mentioned "display device 50"), and a communication unit (e.g., the above-mentioned "communication unit 13") that performs text communication with a network server (e.g., the above-mentioned "network server 40") using a predetermined command, and the text data output unit (e.g., the above-mentioned "text data output unit 12") further determines whether the text data is to be output to the display unit (e.g., the above-mentioned "display unit 15") or the communication unit (e.g., the above-mentioned "communication unit 13") based on a keyword included in the text data, and outputs the output destination of the text data to the display unit (e.g., the above-mentioned "display unit 15") or the communication unit (e.g., the above-mentioned "communication unit 13") based on the determination result.

[0069] This means that there is no need for dedicated hardware, so the introduction and operating costs are low, and by implementing general-purpose protocol communication (HTTP communication) using a simple PLC program, it is possible to check the situation remotely.

[0070] In particular, by detecting keywords in command data, text data communication (HTTP communication and e-mail communication (SMTP)) functions can be realized without adding dedicated instruction codes for executing network communication functions to the PLC programming tool.

[0071] In addition, since advanced network protocol technology is not required, the learning costs for users are reduced.

[0072] Furthermore, since it uses a general-purpose protocol, it becomes easy to integrate with open services (SaaS) without using dedicated network equipment.

[0073] Furthermore, if the text data includes a text communication command, an arbitrary character string can be output to a communication unit (e.g., the above-mentioned "communication unit 13"), and if the text data does not include a text communication command, an arbitrary character string can be output to a display unit (e.g., the above-mentioned "display unit 15").

[0074] (2) The PLC device described in (1) (e.g., the above-mentioned "PLC device 10") may further include a received data processing unit (e.g., the above-mentioned "received data processing unit 14") that outputs reply data received from the network server (e.g., the above-mentioned "network server 40") by the communication unit (e.g., the above-mentioned "communication unit 13") to the display unit (e.g., the above-mentioned "display unit 15").

[0075] This makes it possible to display reply data returned from a network server (eg, the above-mentioned "network server 40") on a display device (eg, the above-mentioned "display device 50").

[0076] (3) In the PLC device described in (2) (e.g., the above-mentioned "PLC device 10"), the received data processing unit (e.g., the above-mentioned "received data processing unit 14") may store the reply data in the storage device (e.g., the above-mentioned "storage device 20"), and the display unit may output the reply data stored in the storage device (e.g., the above-mentioned "storage device 20") to the display device (e.g., the above-mentioned "display device 50").

[0077] This makes it possible for reply data returned from a network server (e.g., the above-mentioned "network server 40") to be temporarily stored in a storage device (e.g., the above-mentioned "storage device 20") and then displayed on a display device (e.g., the above-mentioned "display device 50").

[0078] (4) In the PLC device described in (3) (e.g., the above-mentioned "PLC device 10"), the ladder program may implement a process for periodically checking, based on the reply data, whether update data for the ladder program has been distributed. If the update data has been distributed, the display unit (e.g., the above-mentioned "display unit 15") may cause the display device (e.g., the above-mentioned "display device 50") to display a message prompting an update.

[0079] This allows a user of a PLC device (e.g., the above-mentioned "PLC device 10") to check whether update data for the ladder program executed by the PLC device (e.g., the above-mentioned "PLC device 10") has been distributed.

[0080] (5) The industrial machinery system of this embodiment (e.g., the above-mentioned “industrial machinery system 2”) includes an industrial machinery (e.g., the above-mentioned “machine tool 60”) equipped with a PLC device (e.g., the above-mentioned “PLC device 10”) described in (1) to (4), and an HTTP server, and when an alarm occurs in the industrial machinery (e.g., the above-mentioned “machine tool 60”), the PLC device (e.g., the above-mentioned “PLC device 10”) outputs the text data to the HTTP server.

[0081] This makes it possible to notify a person in charge of the task who is in a remote location away from the industrial machine (e.g., the above-mentioned "machine tool 60") or a manager of the industrial machine (e.g., the above-mentioned "machine tool 60") that an alarm has occurred.

[0082] Although the embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment. Furthermore, the effects described in the present embodiment are merely a list of the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the present embodiment.

[0083] The control method by the PLC device 10 is realized by software. When realized by software, the programs constituting this software are installed in a computer (the PLC device 10). These programs may be recorded on removable media and distributed to users, or may be distributed by being downloaded to the user's computer via a network. Furthermore, these programs may be provided to the user's computer (the PLC device 10) as a Web service via a network without being downloaded. [Explanation of symbols]

[0084] 1. PLC System 10 PLC equipment 11 PLC program execution unit 12 Text data output section 13. Communications Department 14 Received data processing unit 15 Display section 20 Storage device 30 I / O Input / Output Devices 35 Network 40 Network Server 50 Display device 121 Text data judgment unit 122 Output switching section

Claims

1. In a PLC (Programmable Logic Controller) device, a text data output unit that reads text data from a storage device in order to output an arbitrary character string from the analyzed ladder program; a display unit that outputs a predetermined character string to a display device; a communication unit that performs text communication with a network server in response to a predetermined command; the text data output unit further includes a text data determination unit and an output switching unit; The text data determination unit If the text data does not include a predetermined keyword, it is determined that the text data includes a message data display command; If a predetermined keyword is included in the text data, it is determined that the text data includes a text communication command; The output switching unit is If the text data does not include the predetermined keyword according to a result of the determination by the text data determination unit, outputting the text data to the display unit; If the text data includes the predetermined keyword, the PLC device outputs the text data to the communication unit.

2. 2. The PLC device according to claim 1, further comprising a received data processing unit that outputs reply data received from the network server by the communication unit to the display unit.

3. The received data processing unit stores the reply data in the storage device, The PLC device according to claim 2 , wherein the display unit outputs the reply data stored in the storage device to the display device.

4. the ladder program implements a process of periodically checking, based on the reply data, whether update data for the ladder program has been distributed; The PLC device according to claim 3 , wherein, when the update data has been distributed, the display unit causes the display device to display a message prompting the user to perform an update.

5. An industrial machine including the PLC device according to any one of claims 1 to 4; An HTTP server; When an alarm occurs in the industrial machine, the PLC device outputs the text data to the HTTP server.

Citation Information

Patent Citations

  • Alarm information display control unit for machine tool

    JP1992164552A

  • Monitor control system

    JP2002297206A

  • Information communication unit for programmable controller, and remote management system and method for factory automation apparatus

    JP2004213406A

  • Programmable logic controller, program editor device, their program, and recording medium

    JP2004302880A

  • Communication interface, network system and programmable controller

    JP2005174306A