This application claims priority under 35 U.S.C. § 119 and/or § 365 to Japanese Application No. 2013-014337 filed Jan. 29, 2013, the entire contents is incorporated herein by reference.
1. Field of the Invention
The present invention relates to a controller such as a numerical controller that controls a machine tool or an industrial machine, a robot controller, or a programmable logic controller. In particular, the present invention relates to a controller that transmits information on a machine or a controller via an e-mail.
2. Description of the Related Art
A remote monitoring system is used for the purpose of monitoring events (for example, alarm information, operating information, or the like of manufacturing equipment) that an operator who controls manufacturing equipment (a machine tool, a robot, or an industrial machine) which is a control target of a controller (including a numerical controller that controls a machine tool or an industrial machine, a robot controller, or a programmable logic controller) should know.
This remote monitoring system allows the operator of the manufacturing equipment to know the occurrence of an event that the operator of the manufacturing equipment should know when an e-mail that contains the event arrives at a mobile terminal (for example, a portable phone, a portable PC, or the like) or a desktop PC which is possessed by the operator of the manufacturing equipment and is located at a distance from the field where the manufacturing equipment is installed. In the manufacturing equipment, a mail client operates on an e-mail transmission PC which is a device separate from the controller, and a mail server operates on a device (for example, a mail server PC) separate from the manufacturing equipment or the mobile terminal.
A basic flow of e-mail in an e-mail system will be described with reference to
A transmission-side-mail client 10 includes an MDA 11, an MTA 12, and an MUA 13. A reception-side-mail client 40 includes an MUA 41. A transmission-side-mail server 20 includes an MTA 21 and an MDA 22. A reception-side-mail server 30 includes an MTA 31, an MDA 32, a mailbox 33, and an MRA 34.
The transmission-side-mail client 10 transmits an e-mail composed by a sender of the e-mail to the transmission-side-mail server 20 according to a simple mail transfer protocol (SMTP). The transmission-side-mail server 20 delivers the e-mail received from the transmission-side-mail client 10 to the reception-side-mail server 30 according to the SMTP. The reception-side-mail server 30 stores the e-mail delivered from the transmission-side-mail server 20 in the mailbox 33. The reception-side-mail client 40 retrieves the e-mail from the mailbox 33 of the reception-side-mail server 30 according to a post office protocol (POP) or an Internet mail access protocol (IMAP).
As a conventional technique, for example, Japanese Patent Application Laid-Open No. 2000-75907 discloses a technique of incorporating an e-mail transmission/reception device into a machine tool to allow a production control PC to collect e-mails that contain alarm information of the machine tool and to allow the production control PC to issue machining instructions to the machine tool. Moreover, Japanese Patent Application Laid-Open No. 2003-22112 discloses a technique of allowing a PC controlling a machine tool to transmit an e-mail that contains machining result information or alarm information of the machine tool to a mobile terminal or a PC located at a distance from the machine tool via a mail server.
Even when manufacturing equipment 50 transmits an e-mail that contains alarm information to be sent to an operator of the manufacturing equipment 50, located immediately close to the manufacturing equipment 50, from the location where the manufacturing equipment 50 (for example, a robot 51, a machine tool 52, or an e-mail transmission PC 53) is installed, an e-mail reception mobile terminal 71 possessed by the operator of the manufacturing equipment 50 receives an e-mail that contains alarm information via an e-mail system that uses a public network (for example, an Internet network 63 or a mobile communication network) (see e-mail reception 70).
In a small-scale network that does not use a public network, even when an e-mail reception mobile terminal 72 (for example, a smartphone or a tablet) equipped with a wireless LAN function is used, it is necessary to prepare a transmission/reception mail server 74 for delivering e-mails in order to allow the e-mail reception mobile terminal 72 to receive an e-mail that contains alarm information from the manufacturing equipment 50 (see e-mail reception 70).
As described above, the use of the public network incurs additional labor for connecting to the public network and the cost for using the public network, whereas the use of a small-scale network that does not use the public network incurs labor for preparing a transmission/reception mail server and the cost for purchasing the transmission/reception mail server.
Moreover, an e-mail is transmitted from the e-mail transmission PC 53 whenever an alarm is generated in the manufacturing equipment 50. Thus, when the alarm is cleared immediately after the alarm is generated in the manufacturing equipment 50, the transmitted e-mail cannot be canceled but an unnecessary alarm notification is received by the operator of the manufacturing equipment 50.
Moreover, when an alarm is continuously generated in the manufacturing equipment 50, a plurality of e-mails (see e-mail transmission 62) is continuously transmitted from the e-mail transmission PC 53, and the e-mail reception mobile terminal 71 or 72 receives a plurality of e-mails (see e-mail reception 70). Thus, the operator of the manufacturing equipment 50 cannot immediately understand an alarm generation state of the manufacturing equipment 50.
The present invention has been made in view of the problems of the conventional technique and an object of the present invention is to provide a controller that transmits information on a machine or the controller via an e-mail.
A controller of the present invention has a function of transmitting information on the controller or a machine controlled by the controller from the controller to a terminal located at a distance from the controller via an e-mail.
According to a first aspect, the controller includes: an event detector that detects an event that has occurred in the controller or the machine; an event information composer that composes event information containing at least one event that has occurred in the controller or the machine; an event information memory that stores the event information composed by the event information composer; an e-mail acquisition request receiver that receives an e-mail acquisition request from the terminal; an e-mail composer that acquires the event information stored in the event information memory based on the received e-mail acquisition request and composes an e-mail that contains the event information; and an e-mail transmitter that transmits the e-mail containing the event information and composed by the e-mail composer, directly to the terminal.
The controller may further include at least one of: an event information adder that, when a new event occurs after the event information is composed, adds the event to the event information stored in the event information memory; an event information updater that updates the event contained in the event information stored in the event information memory when the event contained in the event information stored in the event information memory is changed after the event information is composed; and an event information deleter that deletes the event from the event information stored in the event information memory when the event is canceled after the event information is composed.
The e-mail acquisition request receiver and the e-mail transmitter may include a post office protocol (POP) server processor for transmitting the e-mail to a POP client based on a POP communication protocol.
The e-mail acquisition request receiver and the e-mail transmitter may include an Internet mail access protocol (IMAP) server processor for transmitting the e-mail to an IMAP client based on an IMAP communication protocol.
The event information may be any one of alarm information of the controller, alarm information of the machine, operating information of the controller, and operating information of the machine.
According to a second aspect, the controller includes: an event detector that detects an event that has occurred in the controller or the machine; an event information composer that composes event information containing at least one event that has occurred in the controller or the machine; an event information memory that stores the event information composed by the event information composer; an event information change detector that detects a change in the event information stored in the event information memory; an e-mail composer that, when the event information change detector has detected a change in the event information, acquires the event information stored in the event information memory and composes an e-mail that contains the event information; an e-mail memory that stores the e-mail composed by the e-mail composer; an e-mail acquisition request receiver that receives an e-mail acquisition request from the terminal; and an e-mail transmitter that transmits the e-mail that contains the event information stored in the e-mail memory directly to the terminal based on the received e-mail acquisition request.
The controller may further include at least one of: an event information adder that, when a new event occurs after the event information is composed, adds the event to the event information stored in the event information memory; an event information updater that, when the event contained in the event information stored in the event information memory is changed after the event information is composed, updates the event contained in the event information stored in the event information memory; and an event information deleter that deletes the event from the event information stored in the event information memory when the event is canceled after the event information is composed.
The controller may further include at least one of: an event information adder that, when a new event occurs after the event information is composed, adds the new event to the event information stored in the event information memory; an event information updater that updates the event contained in the event information stored in the event information memory when the event contained in the event information stored in the event information memory is changed after the event information is composed; and an event information deleter that, when the event is canceled after the event information is composed, deletes the canceled event from the event information stored in the event information memory. The controller may further include at least one of: an e-mail updater that updates the event information contained in the e-mail composed by the e-mail composer, when a new event occurs after the event information is composed and the event information change detector has detected that the event is added to the event information, or when the event information change detector has detected a change in the event contained in the event information after the event information is composed; and an e-mail deleter that, when the event information change detector has detected that at least one event has been canceled after the event information is composed, deletes this event of the event information contained in the e-mail composed by the e-mail composer, and that, when the event information change detector has detected that all events have been canceled after the event information is composed, deletes the e-mail composed by the e-mail composer.
The e-mail acquisition request receiver and the e-mail transmitter may include a post office protocol (POP) server processor for transmitting the e-mail to a POP client based on a POP communication protocol.
The e-mail acquisition request receiver and the e-mail transmitter may include an Internet mail access protocol (IMAP) server processor for transmitting the e-mail to an IMAP client based on an IMAP communication protocol.
The event information may be any one of alarm information of the controller, alarm information of the machine, operating information of the controller, and operating information of the machine.
According to the present invention, it is possible to provide a controller having a function of transmitting information on the controller or a machine controlled by the controller from the controller to a terminal located at a distance from the controller via an e-mail.
The forgoing and other objects and feature of the invention will be apparent from the following description of preferred embodiments of the invention with reference to the accompanying drawings, in which:
A schematic configuration of a system according to the present invention will be described with reference to
A controller (not illustrated) that controls a machine tool 80 has a function of transmitting information on the machine tool 80 or the controller to an e-mail reception mobile terminal 83 located at a distance from the controller via an e-mail. A router 81 has a function of determining a route through which an e-mail is to be transmitted.
The controller of the machine tool 80 composes an e-mail that contains event information such as alarm information (see
The controller of the machine tool 80 transmits an e-mail to the e-mail reception mobile terminal 86 in response to an e-mail acquisition request 87 from the second e-mail reception mobile terminal 86. In this manner, the system of the present invention can transmit an e-mail to at least two e-mail reception mobile terminals in response to the e-mail acquisition requests from the e-mail reception mobile terminals.
In
In
A MUA 91 of the e-mail reception mobile terminal 83 of
Here, in the system according to the present invention, the e-mail transmitted from the controller that controls a machine to a terminal (for example, the e-mail reception mobile terminals 83 and 86) will be described with reference to
An e-mail 95 contains a header 96 that specifies a sender, a title of a mail, and a receiver and event information 97 such as alarm information. The event information 97 contains events 98a, 98b, and 98c that have occurred. In
Hereinafter, embodiments of the controller according to the present invention will be described.
The controller 100 has a function of transmitting information on the controller 100 or a machine controlled by the controller 100 to a terminal (the e-mail reception mobile terminals 83 and 86 illustrated in
The e-mail illustrated in
The controller 100 has a function of transmitting information on the controller 100 or a machine controlled by the controller 100 to a terminal (the e-mail reception mobile terminals 83 and 86 illustrated in
The controller 100 has a function of transmitting information on the controller 100 or a machine controlled by the controller 100 to a terminal (the e-mail reception mobile terminals 83 and 86 illustrated in
The controller 100 of this embodiment may include at least one of the event information adder 112, the event information updater 113, and the event information deleter 114 rather than including all of these components.
The controller 100 has a function of transmitting information on the controller 100 or a machine controlled by the controller 100 to a terminal (the e-mail reception mobile terminals 83 and 86 illustrated in
The controller 100 of this embodiment may include at least one of the event information adder 112, the event information updater 113, and the event information deleter 114 rather than including all of these components.
The controller 100 further includes an e-mail updater 115 that updates the event information contained in the e-mail composed by the e-mail composer 107 when a new event occurs after the event information is composed and the event information change detector 106 has detected that the event is added to the event information or when the event information change detector 106 has detected a change in the event contained in the event information after the event information is composed, and an e-mail deleter 116 that, when the event information change detector 106 has detected that at least one event has been canceled after the event information is composed, deletes this event of the event information contained in the e-mail composed by the e-mail composer 107, and that deletes the e-mail composed by the e-mail composer 107 when the event information change detector 106 has detected that all events have been canceled after the event information is composed.
The controller 100 of this embodiment may include at least one of the e-mail updater 115 and the e-mail deleter 116 rather than including both of these components.
In the respective embodiments, the controller 100 transmits an e-mail to a terminal according to the protocol (POP or IMAP) as illustrated in
Hereinafter, the processes executed by the respective embodiments of the controller will be described with reference to flowcharts.
In step SA01, the controller determines whether an event has occurred or not. When an event has occurred (YES), the flow proceeds to step SA02. When an event has not occurred (NO), this process ends.
In step SA02, new event information is composed.
In step SA03, the event information that contains an event is stored in the event information memory, and this process ends.
In step SB01, the controller determines whether an event has occurred or not. When an event has occurred (YES), the flow proceeds to step SB02. When an event has not occurred (NO), this process ends.
In step SB02, it is determined whether or not event information is present in the event information memory. When the event information is present (YES), the flow proceeds to step SB03. When the event information is not present (NO), the flow proceeds to step SB04.
In step SB03, an event is added to the composed event information, and this process ends.
In step SB04, new event information is composed.
In step SB05, the event information containing an event is stored in the event information memory, and this process ends.
In step SC01, the controller determines whether an event has occurred or not. When an event has occurred (YES), the flow proceeds to step SC02. When an event has not occurred (NO), this process ends.
In step SC02, it is determined whether or not event information that contains a changed event is present in the event information memory. When the event information is present (YES), the flow proceeds to step SC03. When the event information is not present (NO), the flow proceeds to step SC04.
In step SC03, the event information containing the changed event is updated, and this process ends.
In step SC04, new event information is composed.
In step SC05, the event information containing an event is stored in the event information memory, and this process ends.
In step SD01, the controller determines whether an event is canceled or not. When the event is canceled (YES), the flow proceeds to step SD02. When the event is not canceled (NO), this process ends.
In step SD02, it is determined whether or not event information that contains a canceled event is present in the event information memory. When the event information is present (YES), the flow proceeds to step SD03. When the event information is not present (NO), this process ends.
In step SD03, it is determined whether or not the event information is event information that contains only an event corresponding to the canceled event. When the event information is event information that contains only the event corresponding to the canceled event (YES), the flow proceeds to step SD04. When the event information is not the event information that contains only the event corresponding to the canceled event (NO), the flow proceeds to step SD05.
In step SD04, the event information is deleted from the event information memory, and this process ends.
In step SD05, the event corresponding to the canceled event is deleted from the event information, and this process ends.
In step SE01, it is determined whether or not an e-mail acquisition request is received from a terminal. When the e-mail acquisition request is received (YES), the flow proceeds to step SE02. When the e-mail acquisition request is not received (NO), this process ends.
In step SE02, it is determined whether or not it is necessary to transmit an e-mail to a terminal. When it is necessary to transmit the e-mail (YES), the flow proceeds to step SE03. When it is not necessary to transmit the e-mail (YES), this process ends.
In step SE03, it is determined whether or not the event information is present in the event information memory. When the event information is present (YES), the flow proceeds to step SE04. When the event information is not present (NO), this process ends.
In step SE04, the event information is retrieved from the event information memory and an e-mail is composed.
In step SE05, the e-mail is transmitted to the terminal, and this process ends.
In step SF01, it is determined whether or not an event contained in the event information in the event information memory is updated. When the event is updated (YES), the flow proceeds to step SF02. When the event is not updated (NO), this process ends.
In step SF02, it is determined whether or not an e-mail that contains the event information is present in the e-mail memory. When the e-mail is present (YES), the flow proceeds to step SF03. When the e-mail is not present (NO), the flow proceeds to step SF04.
In step SF03, the event information of the composed e-mail is updated, and this process ends.
In step SF04, a new e-mail that contains the event information is composed.
In step SF05, the e-mail that contains the event information is stored in the e-mail memory, and this process ends.
In step SG01, it is determined whether or not an event contained in the event information in the event information memory is deleted. When the event is deleted (YES), the flow proceeds to step SG02. When the event is not deleted (NO), this process ends.
In step SG02, it is determined whether or not the event information is event information that contains only a deleted event. When the event information is the event information that contains only the deleted event (YES), the flow proceeds to step SG03. When the event information is not the event information that contains only the deleted event (NO), the flow proceeds to step SG04.
In step SG03, the e-mail that contains the event information is deleted from the e-mail memory, and this process ends.
In step SG04, the deleted event is deleted from the event information that is contained in the e-mail, and this process ends.
In step SH01, it is determined whether or not an e-mail acquisition request is received from a terminal. When the e-mail acquisition request is received (YES), the flow proceeds to step SH02. When the e-mail acquisition request is not received (NO), this process ends.
In step SH02, it is determined whether or not it is necessary to transmit an e-mail to a terminal. When it is necessary to transmit the e-mail (YES), the flow proceeds to step SH03. When it is not necessary to transmit the e-mail (NO), this process ends.
In step SH03, it is determined whether or not an e-mail is present in the e-mail memory. When the e-mail is present (YES), the flow proceeds to step SH04. When the e-mail is not present (NO), this process ends.
In step SH04, the e-mail is retrieved from the e-mail memory.
In step SH05, the e-mail is transmitted to the terminal, and this process ends.
Number | Date | Country | Kind |
---|---|---|---|
JP2013-014337 | Jan 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5127087 | Kasiraj | Jun 1992 | A |
6510454 | Walukiewicz | Jan 2003 | B1 |
6954720 | Oya | Oct 2005 | B2 |
20030002634 | Gupta | Jan 2003 | A1 |
20030060900 | Lo | Mar 2003 | A1 |
20030140133 | Huntley et al. | Jul 2003 | A1 |
20030229414 | Nakazawa | Dec 2003 | A1 |
20040152449 | Koshihara | Aug 2004 | A1 |
20040205140 | Ikeno | Oct 2004 | A1 |
20050197142 | Major | Sep 2005 | A1 |
20050289190 | Powell | Dec 2005 | A1 |
20060121889 | Contreras Alvarez | Jun 2006 | A1 |
20090254748 | Mochizuki | Oct 2009 | A1 |
20100023156 | Trepina | Jan 2010 | A1 |
20100228830 | Uchida | Sep 2010 | A1 |
20100229182 | Ito | Sep 2010 | A1 |
20110167041 | Fu | Jul 2011 | A1 |
20120154138 | Cohn | Jun 2012 | A1 |
Number | Date | Country |
---|---|---|
1504940 | Jun 2004 | CN |
101552743 | Oct 2009 | CN |
101753484 | Jun 2010 | CN |
101878473 | Nov 2010 | CN |
10301955 | Jul 2003 | DE |
2000-075907 | Mar 2000 | JP |
2000-244556 | Sep 2000 | JP |
2001-306140 | Nov 2001 | JP |
2002-312011 | Oct 2002 | JP |
2003-022112 | Jan 2003 | JP |
2005-005798 | Jan 2005 | JP |
2005-107788 | Apr 2005 | JP |
2005-284711 | Oct 2005 | JP |
4881516 | Feb 2012 | JP |
Entry |
---|
Y. Li, M. Zhang and J. Gu, “An Email Server Optimized for Storage Issues,” 2011IEEE 10th International Conference on Trust, Security and Privacy in Computing and Communications, Changsha, 2011, pp. 1437-1443. (Year: 2011). |
Notification of Reasons for Refusal dated Nov. 10, 2015 in Japanese Patent Application No. 2013-14337 (4 pages) with an English Translation (4 pages). |
Office Action dated Jul. 12, 2017 in German Patent Application No. 10 2014 000 787 (7 pages) with an English translation (7 pages). |
The Notification of the First Office Action dated Jul. 7, 2017 in Chinese Patent Application No. 2014100433243 (9 pages) with an English translation (11 pages). |
Number | Date | Country | |
---|---|---|---|
20140214985 A1 | Jul 2014 | US |