Abstract: In the present invention, a programmable logic controller is provided with the following: a parameter storage ROM 4 for storing destination email address data for which parameters have been set; a communication processing unit 7 that acquires the destination email address data from an external device 9; an internal device 3 that is a memory unit for storing the destination email address data acquired by the communication processing unit 7; an internal memory 5 for storing the destination email address data of the internal device 3, if the destination email address data of the internal device 3 is added data; a flash ROM 6 for storing backup data of the destination email address data stored in the internal memory 5; and an arithmetic processing unit 2 that backs up the destination email address data acquired from the external device 9 to the flash ROM 6, and when rebooting, writes to the internal memory 5 the destination email address data backed up in the flash ROM 6.
FORM 2
THE PATENTS ACT, 1970 (39 of 1970)
& THE PATENTS RULES, 2003
COMPLETE SPECIFICATION
[See section 10, Rule 13]
PROGRAMMABLE LOGIC
CONTROLLER;
MITSUBISHI ELECTRIC
CORPORATION, A CORPORATION ORGANISED AND EXISTING UNDER THE LAWS OF JAPAN, WHOSE ADDRESS IS 7-3, MARUNOUCHI 2-CHOME, CHIYODA-KU, TOKYO 1008310, JAPAN
THE FOLLOWING SPECIFICATION
PARTICULARLY DESCRIBES THE
INVENTION AND THE MANNER IN
WHICH IT IS TO BE PERFORMED.
DESCRIPTION
Field
[0001] The present invention relates to a programmable logic controller equipped with a function of transmitting an electronic mail.
Background
[0002] As a programmable logic controller (hereinafter referred to as PLC) that controls a controlled apparatus such as an industrial machine used in a factory or the., like, there has been a programmable logic controller equipped with a function of transmitting an electronic mail to a •designated transmission destination. Patent Literature 1 described below discloses a technology for defining, in a PLC, an event serving as a trigger and, when the event occurs, transmitting, by an electronic mail, data or a message indicating contents of the event. [0003] The PLC equipped with the function of transmitting an electronic mail is triggered by a change in a value of a memory present inside the PLC called an internal device that temporarily stores data concerning execution of a command exclusive for the PLC or data concerning the controlled apparatus or a state change such as operation or stop of the PLC and transmits, by an electronic mail, data or a message indicating contents of the change. At this point, by setting a transmission destination mail address as a parameter, it is possible to designate the transmission destination mail address to the PLC. As an alternative method of designating the transmission destination mail address to the PLC, there is
a method of designating a transmission destination mail address from an external apparatus and writing data of the transmission destination mail address in the internal device.
Citation List
Patent Literature
[0004] Patent Literature. 1: Japanese Patent Application
Laid-Open No. 2007-12045
Summary
Technical Problem
[0005] However, in the conventional PLC, when the transmission destination mail address is set by the parameter, the parameter cannot be changed during the operation of the PLC. Therefore, when setting of the transmission destination mail address is changed, there is a problem in that it is necessary to once stop the PLC, reset the parameter of the transmission destination mail address, operate the PLC again, and reflect the parameter. [0006] When the transmission destination mail address is input and designated from the external apparatus during the operation, the data of the transmission destination mail address input from the external apparatus is written in the internal device. Therefore, when a power supply of the PLC is turned off once, the data is erased. Therefore, there is a problem in that it is necessary to input the transmission destination mail address again from the external apparatus after the reoperation.
[0007] The present invention has been devised in view of the above and an object of the present invention is to obtain a programmable logic controller that can use a transmission destination mail address changed during
operation without resetting the transmission destination mail address after reoperation.
Solution to Problem
[0008] To solve the above-described problem, a programmable logic controller according to the present -invention includes: a parameter storing unit for storing transmission destination mail address data set as a parameter; a communication processing unit to acquire the transmission destination mail address data from an external apparatus; an internal device, which is a storing unit for storing the transmission destination mail address data acquired by the communication processing unit; a volatile storing unit for storing the transmission destination mail address data in the internal device when the transmission destination mail address data in the internal device is addition data; a nonvolatile storing unit for storing backup data of the transmission destination mail address data stored in the volatile storing unit; and an arithmetic processing unit to perform processing for backing up, in the nonvolatile storing unit, the transmission destination mail address data acquired from the external apparatus and perform, in reoperation, processing for writing, in the volatile storing unit, the transmission destination mail address data backed up in the nonvolatile storing unit.
Advantageous Effects of Invention
[0009] The programmable logic controller according to the present invention achieves an effect that it is possible to use a transmission destination mail address changed during operation without resetting the transmission destination mail address after reoperation.
Brief Description of Drawings
[0010] FIG. 1 is a block diagram depicting a
configuration example of a PLC system.
FIG. 2 is a.flowchart depicting processing for updating a transmission destination mail address.
FIG. 3 is.a flowchart depicting processing from turn-on of.a power supply to a mail transmission processing end . in reoperation of a PLC.
Description of Embodiments
[0011] A programmable logic controller according to an embodiment of the present invention is explained in detail below with reference to the drawings. Note that the. present invention is not limited by the embodiment.
[0012] Embodiment.
FIG. 1 is a block diagram depicting a configuration example of a PLC system according to an embodiment of the present invention. The PLC system is a system equipped with a function of transmitting an electronic mail and including a PLC 1 that controls a not-shown controlled apparatus and an external apparatus 9 that performs, for example, addition and deletion of a transmission destination mail address to and from the PLC 1. The PLC 1 and the external apparatus 9 are connected via a communication cable 8.
[0013] The PLC 1 includes: an arithmetic processing unit 2 that performs arithmetic processing according to a sequence program according to operation from a user; an internal device 3, which is a storing unit used for temporarily storing data and the like in the arithmetic processing; a parameter storage ROM (Read Only Memory) 4, which is a parameter storing unit for storing the sequence program and data in which parameters such as transmission
destination mail address data are set; an internal memory 5, which is a volatile storing unit for storing added transmission destination mail address data used during electronic mail transmission; a Flash ROM 6, which is a nonvolatile storing unit for storing backup data of added or updated transmission destination mail address data; and a communication processing unit 7 that performs communication such as transmission and reception of data with the external apparatus 9 via the communication cable 8. [0014] Subsequently, operation for updating transmission destination mail address data during operation and .' transmitting an electronic mail after reoperation in the PLC 1 is explained. The reoperation means turning off a power supply once to stop operation and thereafter turning on the power supply to perform the operation again in the PLC 1.
[0015] FIG. 2 is a flowchart depicting processing for updating a transmission destination mail address. First, in the PLC 1, the communication processing unit 7 acquires, via the communication cable 8, transmission destination mail address data input from the external apparatus 9 (step SI) and writes the acquired transmission destination mail address data in the internal device 3 (step S2). At this point, the external apparatus 9 transmits an update instruction for a transmission destination mail address to the PLC 1 together with the transmission destination mail address data. In the PLC 1, the communication processing unit 7 outputs the update instruction for the transmission destination mail address to the arithmetic processing unit 2.
[0016] Subsequently, the arithmetic processing unit 2 receives the update instruction for the transmission destination mail address from the external apparatus 9 and
starts, update processing for the transmission destination mail address (step S3). It is assumed that addition and deletion information indicating addition or deletion of transmission destination mail address data and backup implementation propriety information indicating whether backup is performed are added to the update instruction for the transmission destination- mail address. Consequently, it is. possible to optionally designate, from the external apparatus. 9, addition or deletion of the transmission destination mail address data written.in the internal device 3 and backup in the Flash ROM 6. [0017] Note that, the addition of the transmission destination mail address data includes: addition of transmission destination mail address anew; and change of contents of transmission destination mail address set as a parameter in the parameter storage ROM 4. When transmission destination mail address data is added anew, the number of usable transmission destination mail address data retained in the PLC 1 increases. However, when the-contents of the transmission destination mail address data set as the parameter in the parameter storage ROM 4 are changed, the number of usable transmission destination mail address data retained in the PLC 1 does not increase. [0018] The arithmetic processing unit 2 checks whether the designation by the addition and deletion information is addition or deletion (step S4). When the designation of the addition and deletion information is addition (addition at step S4), the arithmetic processing unit 2 adds the transmission destination mail address data of the addition designation written in the internal device 3 to the internal memory 5 (step S5). When the designation of the addition and deletion information is deletion (deletion at step S4), the arithmetic processing unit 2 deletes, from
the internal memory 5, the transmission destination mail address data of the deletion designation added from the internal device 3 (step S6).
[0019] The arithmetic processing unit 2 checks, from the backup implementation propriety information, whether backup is implemented (step S7). When the backup is implemented
(Yes at step S7), the arithmetic processing unit 2 writes the transmission destination mail address data in the internal memory 5, which is added or deleted updated data, in the Flash ROM 6 (step S8). When the backup is not implemented (No at step S7), the arithmetic processing unit 2 ends the processing without doing anything. Even when the PLC 1 has a function capable of selecting implementation propriety of backup, in this embodiment, it is assumed that the backup is implemented (Yes at step S7). Consequently, in the PLC 1, even when the power supply is turned off, it is possible to back up and retain, in the Flash ROM 6 as the nonvolatile storing unit, the transmission destination mail address data as the updated data in the internal memory 5.
[0020] FIG. 3 is a flowchart depicting processing from turn-on of the power supply until a mail transmission processing end in the reoperation of the PLC 1. First, the arithmetic processing unit 2 checks whether backup data of transmission destination mail address data is present in the Flash ROM 6 after the power supply is turned on (step Sll). When the backup data is present (Yes at step Sll), the arithmetic processing .unit 2 writes, in the internal memory 5, the transmission mail address data in the Flash ROM 6 (step S12). When the backup data is absent (No at step Sll), the arithmetic processing unit 2 proceeds to the next processing without performing anything. Consequently, in the PLC 1, it is possible to restore, in the internal
memory 5, transmission destination mail address data updated by addition or the like during operation up to the
.last time. [0021] The arithmetic processing unit 2 checks whether a mail transmission instruction based on a trigger generated from the external apparatus 9 or the inside-of the PLC 1 is given (step S13). When the mail transmission instruction is not given (No at step S13), the arithmetic processing unit 2 stays on standby until the mail transmission instruction is given. When the mail transmission instruction is given (Yes at step S13), the arithmetic
. processing unit 2 implements the mail transmission processing (step S14). The mail transmission instruction is transmitted from the external apparatus 9 or a component inside the PLC 1 in which an event serving as a target of the generated trigger occurs.
[0022] At this point, concerning data used for the transmission destination mail address, information concerning whether the transmission destination mail address data set as the parameter on the parameter storage ROM 4 is used; or the updated transmission destination mail address data on the internal memory 5 is used; is added to the mail transmission instruction. Consequently, it is possible to optionally select which of the transmission destination mail address mail data is used. In the external apparatus 9, the update instruction for the transmission destination mail address is given from the own apparatus. Therefore, it is possible to grasp whether the updated transmission destination mail address data is present on the internal memory 5. In the PLC 1, the arithmetic processing unit 2 receives the update instruction for the transmission destination mail address from the external apparatus 9 and performs the update
processing for the transmission destination mail address. Therefore, it is possible to grasp whether the updated transmission destination mail address data is present on the internal memory 5 in the PLC 1, too.
[0023] The arithmetic processing unit 2 checks whether the data used for the transmission destination mail address is the parameter setting data on the parameter storage ROM 4 or the updated data on the internal memory 5 (step S15). When the data to be used is the parameter setting data (parameter setting data at step S15), the arithmetic processing unit 2 acquires the transmission destination mail address data on the parameter storage ROM 4 (step S16). When trie data to be used is the updated data (updated data at step S15), the arithmetic processing unit 2 acquires the transmission destination mail address data on the internal memory 5 (step S17). The arithmetic processing unit 2 instructs the communication processing unit 7 to transmit an electronic mail using the acquired transmission destination mail address.
[0024] The communication processing unit 7 transmits an electronic mail using the data of the transmission destination mail address acquired by the arithmetic processing unit 2 (step S18) .
[0025] As explained above, according to the present embodiment, to prevent the transmission destination mail address data changed from the external apparatus 9 during the operation from being erased by turn-off of the power supply, the PLC 1 writes the changed transmission destination mail address data in the Flash ROM 6, backs up the changed transmission destination mail address data, and restores the transmission destination mail address data written in the Flash ROM 6 during the reoperation. Consequently, in the PLC 1, it is unnecessary to reset the
transmission destination mail address from the external apparatus 9 after the reoperation. It is possible to use the transmission destination mail address input from the external apparatus 9 before the reoperation and changed on the sequence program.
[0026] In the PLC 1, it is optionally selectable, according to the information concerning whether the transmission destination mail address data input from the external apparatus 9 is used or the transmission destination mail address data set as the parameter is used/ which of the transmission destination mail address data is used. Consequently, even after the transmission destination mail address input from the external apparatus 9, it is possible to use the transmission destination mail address data set as the parameter without performing resetting of the parameter when it is desired to use the transmission destination mail address set as the parameter.
[0027] The PLC 1 in this embodiment is applicable to a system that performs, on the external apparatus 9 or the sequence program, change and deletion of a set transmission destination mail address.
[0028] The configuration explained in the embodiment above indicates an example of the contents of the present invention and can be combined with another publicly-known technology or a part of the configuration can be omitted or changed in a range not departing from the spirit of the present invention.
Reference Signs List
[0029] 1 programmable logic controller
2 arithmetic processing unit
3 internal device
4 parameter storage ROM
5 internal memory
6 Flash ROM
7 communication processing unit
8 communication cable
9 external apparatus
We Claim :
1. A programmable logic■controller comprising:
a parameter storing unit for storing transmission destination mail address data set as a parameter;
a communication processing unit to acquire the transmission .destination mail address data from an external apparatus;
an internal device, which is a storing unit for storing the transmission destination mail address data acquired by the communication processing unit;
a volatile storing unit for storing the transmission destination mail address data in the internal device when the transmission destination mail address data in the internal device is data of addition designation;
a nonvolatile storing unit for storing backup data of the transmission destination mail address data stored in the volatile storing unit; and
an arithmetic processing unit to perform processing for backing up, in the nonvolatile storing unit, the transmission destination mail address data stored in the volatile storing unit and perform, in reoperation, processing for writing, in the volatile storing unit, the transmission destination mail address data backed up in the nonvolatile storing unit.
2. The programmable logic controller according to claim 1,
wherein, when the transmission destination mail address
data in the internal device is data of deletion designation,
the arithmetic processing unit deletes the transmission
destination mail address data designated as a target of
deletion from the volatile storing unit.
3. The programmable logic controller according to claim 1
or 2, wherein, when a mail transmission instruction is acquired, the arithmetic processing unit acquires, on the basis of information concerning the transmission destination mail address data acquired together with the mail transmission instruction, the transmission destination mail address data from the parameter storing unit or the volatile storing unit and performs mail transmission processing.
| # | Name | Date |
|---|---|---|
| 1 | Translated Copy of Priority Document [16-03-2017(online)].pdf | 2017-03-16 |
| 2 | Power of Attorney [16-03-2017(online)].pdf | 2017-03-16 |
| 3 | Form 5 [16-03-2017(online)].pdf | 2017-03-16 |
| 4 | Form 3 [16-03-2017(online)].pdf | 2017-03-16 |
| 5 | Form 20 [16-03-2017(online)].pdf | 2017-03-16 |
| 6 | Form 18 [16-03-2017(online)].pdf | 2017-03-16 |
| 7 | Drawing [16-03-2017(online)].pdf | 2017-03-16 |
| 8 | Description(Complete) [16-03-2017(online)].pdf_169.pdf | 2017-03-16 |
| 9 | Description(Complete) [16-03-2017(online)].pdf | 2017-03-16 |
| 10 | Marked Copy [20-03-2017(online)].pdf | 2017-03-20 |
| 11 | Form 13 [20-03-2017(online)].pdf | 2017-03-20 |
| 12 | Description(Complete) [20-03-2017(online)].pdf_74.pdf | 2017-03-20 |
| 13 | Description(Complete) [20-03-2017(online)].pdf | 2017-03-20 |
| 14 | Form 26 [23-05-2017(online)].pdf | 2017-05-23 |
| 15 | 201727009184-ORIGINAL UNDER RULE 6 (1A)-29-05-2017.pdf | 2017-05-29 |
| 16 | 201727009184-FORM 3 [08-08-2017(online)].pdf | 2017-08-08 |
| 17 | 201727009184-Proof of Right (MANDATORY) [18-08-2017(online)].pdf | 2017-08-18 |
| 18 | ABSTRACT1.jpg | 2018-08-11 |
| 19 | 201727009184.pdf | 2018-08-11 |
| 20 | 201727009184-ORIGINAL UNDER RULE 6 (1A)-210817.pdf | 2018-08-11 |
| 21 | 201727009184-FORM 3 [24-07-2019(online)].pdf | 2019-07-24 |
| 22 | 201727009184-FORM 3 [18-09-2019(online)].pdf | 2019-09-18 |
| 23 | 201727009184-FORM 3 [07-10-2019(online)].pdf | 2019-10-07 |
| 24 | 201727009184-FER.pdf | 2020-03-17 |
| 25 | 201727009184-OTHERS [22-06-2020(online)].pdf | 2020-06-22 |
| 26 | 201727009184-FER_SER_REPLY [22-06-2020(online)].pdf | 2020-06-22 |
| 27 | 201727009184-DRAWING [22-06-2020(online)].pdf | 2020-06-22 |
| 28 | 201727009184-COMPLETE SPECIFICATION [22-06-2020(online)].pdf | 2020-06-22 |
| 29 | 201727009184-CLAIMS [22-06-2020(online)].pdf | 2020-06-22 |
| 30 | 201727009184-ABSTRACT [22-06-2020(online)].pdf | 2020-06-22 |
| 31 | 201727009184-PatentCertificate10-06-2022.pdf | 2022-06-10 |
| 32 | 201727009184-IntimationOfGrant10-06-2022.pdf | 2022-06-10 |
| 1 | 2020-03-1217-41-36E_12-03-2020.pdf |