TWI581081B - Programmable logic controller - Google Patents
Programmable logic controller Download PDFInfo
- Publication number
- TWI581081B TWI581081B TW104132676A TW104132676A TWI581081B TW I581081 B TWI581081 B TW I581081B TW 104132676 A TW104132676 A TW 104132676A TW 104132676 A TW104132676 A TW 104132676A TW I581081 B TWI581081 B TW I581081B
- Authority
- TW
- Taiwan
- Prior art keywords
- mail address
- destination
- address data
- destination mail
- data
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/107—Computer-aided management of electronic mailing [e-mailing]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/48—Message addressing, e.g. address format or anonymous messages, aliases
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Quality & Reliability (AREA)
- Automation & Control Theory (AREA)
- General Engineering & Computer Science (AREA)
- Operations Research (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Programmable Controllers (AREA)
Description
本發明係關於一種搭載了發送電子郵件(mail)之功能的可程式邏輯控制器。 The present invention relates to a programmable logic controller equipped with a function of transmitting an email.
以往,在用以控制工廠等所使用之產業用機器等被控制機器之可程式邏輯控制器(Programmable Logic Controller,以下稱為PLC)中,有一種搭載了對已指定的發送目的地發送電子郵件之功能者。在下述專利文獻中係揭示了下述技術:於PLC中定義了作為觸發(trigger)的事件(event),且在事件發生時,將顯示事件之內容的資料(data)或訊息(message)以電子郵件發送。 In the past, one of the Programmable Logic Controllers (hereinafter referred to as PLCs) for controlling a controlled device such as an industrial machine used in a factory or the like is equipped to send an e-mail to a designated destination. The function of the person. In the following patent documents, a technique is disclosed in which an event as a trigger is defined in a PLC, and when an event occurs, a data or a message indicating the content of the event is displayed. Email sent.
在搭載了發送電子郵件之功能的PLC中,係將用以暫時儲存關於PLC專用的命令的執行之資料、關於被控制機器之資料之被稱為內部裝置(device)而存在於PLC內部的記憶體(memory)之值的變化、以及PLC之運轉與停止等的狀態變化作為觸發,而以電子郵件發送顯示變化內容的資料或訊息。此時,藉由以參數(parameter)來設定發送目的地郵件位址(email address),而可對PLC指定發送目的地郵件位址。此外,在對PLC指定發送目的 地郵件位址之其他方法中,有一種從外部機器指定發送目的地郵件位址,並將發送目的地郵件位址的資料寫入內部裝置的方法。 In a PLC equipped with a function of transmitting an e-mail, a memory for temporarily storing a command for execution of a PLC-specific command and a device for a device to be controlled is called an internal device and is stored in the PLC. A change in the value of the memory and a change in the state of the PLC, such as operation and stop, are used as a trigger to send a message or message indicating the changed content by e-mail. At this time, the destination mail address can be specified to the PLC by setting the destination mail address (email address) with a parameter. In addition, in the purpose of specifying the transmission to the PLC Among other methods of the home mail address, there is a method of specifying a destination mail address from an external device and writing the data of the destination mail address to the internal device.
(專利文獻) (Patent Literature)
專利文獻1:日本特開2007-12045號公報 Patent Document 1: Japanese Laid-Open Patent Publication No. 2007-12045
然而,於以往的PLC中,在以參數設定發送目的地郵件位址時,無法在PLC運轉中變更參數。因此,會有下述問題:在變更發送目的地郵件位址時,必須暫時使PLC停止而再設定發送目的地郵件位址的參數,並使PLC再運轉而反應出參數。 However, in the conventional PLC, when the destination mail address is set by the parameter, the parameter cannot be changed during the PLC operation. Therefore, there is a problem in that when the destination mail address is changed, the PLC must be temporarily stopped and the parameters of the destination mail address must be set again, and the PLC can be operated again to reflect the parameters.
此外,在運轉中從外部機器輸入而指定發送目的地郵件位址時,由於從外部機器輸入之發送目的地郵件位址的資料係被寫入於內部裝置,因此,一旦電源OFF(關斷)時資料就會消除。因此,會有必須於再運轉後再度從外部機器輸入發送目的地郵件位址的問題。 In addition, when the destination mail address is specified from the external device during operation, the data of the destination mail address input from the external device is written to the internal device, so once the power is turned off (turned off) The data will be eliminated. Therefore, there is a problem that the destination mail address must be input again from the external device after the operation is resumed.
本發明係有鑑於上述問題而研創者,目的在於獲得一種於運轉中所變更之發送目的地郵件位址不需於再運轉後進行再設定即可使用的可程式邏輯控制器。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a programmable logic controller that can be used by resetting a destination mail address changed during operation without re-setting after re-operation.
為解決上述課題並達成目的,本發明係具 有:參數記憶部,係用以儲存經參數設定之發送目的地郵件位址資料(email address data);通信處理部,係從外部機器取得發送目的地郵件位址資料;內部裝置,係用以儲存前述通信處理部所取得之發送目的地郵件位址資料之記憶部;揮發性記憶部,係在前述內部裝置之發送目的地郵件位址資料為追加資料時,用以儲存前述內部裝置之發送目的地郵件位址資料;非揮發性記憶部,係用以儲存前述揮發性記憶部中儲存之發送目的地郵件位址資料的備份資料(backup data);及運算處理部,係進行將從前述外部機器所取得之發送目的地郵件位址資料備份(backup)至前述非揮發性記憶部之處理,並於再運轉時,進行將備份於前述非揮發性記憶部之發送目的地郵件位址資料寫入於前述揮發性記憶部之處理。 In order to solve the above problems and achieve the object, the present invention is provided There is: a parameter memory unit for storing a mail address data of a destination set by a parameter; a communication processing unit for obtaining a mail address data of a destination from an external device; and an internal device for a storage unit for storing the destination mail address data acquired by the communication processing unit; and the volatile memory unit for storing the internal device when the transmission destination mail address data of the internal device is additional data a destination mail address data; a non-volatile memory unit for storing backup data of a destination mail address data stored in the volatile memory unit; and an arithmetic processing unit The destination mail address data obtained by the external device is backed up to the non-volatile memory unit, and when it is re-run, the mail destination address data to be backed up in the non-volatile memory unit is performed. The processing is written in the aforementioned volatile memory unit.
本發明之可程式邏輯控制器可達成下述效果:於運轉中所變更之發送目的地郵件位址不需於再運轉後進行再設定即可使用。 The programmable logic controller of the present invention can achieve the effect that the destination mail address changed during the operation can be used without being reset after re-operation.
1‧‧‧可程式邏輯控制器 1‧‧‧Programmable Logic Controller
2‧‧‧運算處理部 2‧‧‧Operation Processing Department
3‧‧‧內部裝置 3‧‧‧Internal devices
4‧‧‧參數儲存唯讀記憶體 4‧‧‧Parameter storage read-only memory
5‧‧‧內部記憶體 5‧‧‧Internal memory
6‧‧‧快閃型唯讀記憶體 6‧‧‧Flash type read-only memory
7‧‧‧通信處理部 7‧‧‧Communication Processing Department
8‧‧‧通信纜線 8‧‧‧Communication cable
9‧‧‧外部機器 9‧‧‧External machines
第1圖係顯示PLC系統(system)之構成例的方塊(block)圖。 Fig. 1 is a block diagram showing a configuration example of a PLC system.
第2圖係顯示更新發送目的地郵件位址之處理的流程圖(flowchart)。 Fig. 2 is a flow chart (flowchart) showing the process of updating the destination mail address.
第3圖係顯示於PLC的再運轉中從電源ON(導通) 到郵件發送處理結束之處理的流程圖。 Figure 3 shows the ON from the power supply during the re-operation of the PLC. Flowchart to the processing of the end of the mail transmission process.
以下,根據圖式,詳細說明本發明實施形態之可程式邏輯控制器。惟,本發明不受此實施形態所限定。 Hereinafter, the programmable logic controller according to the embodiment of the present invention will be described in detail based on the drawings. However, the invention is not limited by the embodiment.
第1圖係顯示本發明實施形態的PLC系統之構成例的方塊圖。PLC系統係具備PLC1及外部機器9,且經由通信纜線(cable)8連接PLC1與外部機器9之系統。該PLC1係搭載了發送電子郵件之功能,且控制未圖示之被控制機器。該外部機器9係對於PLC1進行發送目的地郵件位址的追加、刪除等。 Fig. 1 is a block diagram showing a configuration example of a PLC system according to an embodiment of the present invention. The PLC system includes a PLC 1 and an external device 9, and the system of the PLC 1 and the external device 9 is connected via a communication cable (cable) 8. This PLC 1 is equipped with a function of transmitting an e-mail and controls a controlled device (not shown). The external device 9 adds or deletes a destination mail address to the PLC 1.
PLC1係具備:運算處理部2,藉由來自使用者(user)的操作,依從順序程式(sequence program)而進行運算處理;內部裝置3,屬於在運算處理中用以暫時儲存資料等之記憶部;參數儲存唯讀記憶體(Read Only Memory;ROM)4,屬於用以儲存順序程式、發送目的地郵件位址資料等經參數設定的資料之參數記憶部;內部記憶體5,屬於用以儲存使用於電子郵件發送時所追加的發送目的地郵件位址資料之揮發性記憶部;快閃型唯讀記憶體(FlashROM)6,屬於用以儲存所追加或更新之發送目的地郵件位址資料的備份資料(backup data)之非揮發性記憶部;及通信處理部7,經由通信纜線8與外部機器9 進行資料之傳送接收等通信。 The PLC 1 includes an arithmetic processing unit 2 that performs arithmetic processing in accordance with a sequence program by an operation from a user, and the internal device 3 belongs to a memory unit for temporarily storing data and the like in arithmetic processing. The parameter storage read only memory (ROM) 4 belongs to a parameter storage unit for storing the sequenced program, the destination mail address data and other parameter-set data; the internal memory 5 is for storing A volatile memory unit for transmitting destination mail address data added when an email is sent; a flash type read only memory (FlashROM) 6 for storing an added or updated destination mail address data Non-volatile memory unit of backup data; and communication processing unit 7 via communication cable 8 and external device 9 Communication such as transmission and reception of data is performed.
接著,針對在PLC1中,於運轉中更新發送目的地郵件位址資料並於再運轉後發送電子郵件之動作進行說明。所謂再運轉係指一旦於PLC中關斷電源而停止動作,而於其後導通電源而再度進行動作。 Next, an operation of updating the transmission destination mail address data during the operation in the PLC 1 and transmitting the email after the re-operation is described. The re-operation means that the operation is stopped once the power is turned off in the PLC, and the power is turned on thereafter to operate again.
第2圖係顯示更新發送目的地郵件位址之處理的流程圖。首先,於PLC1中,通信處理部7係經由通信纜線8而從外部機器9取得所輸入之發送目的地郵件位址資料(步驟(step)S1),並將所取得之發送目的地郵件位址資料寫入於內部裝置3(步驟S2)。此時,外部機器9係將發送目的地郵件位址之更新指示與發送目的地郵件位址資料一起發送至PLC1。在PLC1中,通信處理部7係將發送目的地郵件位址的更新指示輸出至運算處理部2。 Fig. 2 is a flow chart showing the process of updating the destination mail address. First, in the PLC 1, the communication processing unit 7 acquires the input destination mail address data from the external device 9 via the communication cable 8 (step S1), and obtains the obtained destination mail address. The address data is written in the internal device 3 (step S2). At this time, the external device 9 transmits an update instruction of the 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 an update instruction of the destination mail address to the arithmetic processing unit 2.
接著,運算處理部2係接受來自外部機器9之發送目的地郵件位址的更新指示,開始發送目的地郵件位址的更新處理(步驟S3)。在此,來自外部機器9之發送目的地郵件位址的更新指示中,設為附加有顯示發送目的地郵件位址資料之追加或刪除的追加刪除資訊、及顯示是否進行備份之可否實施備份資訊。藉此,可從外部機器9任意指定寫入於內部裝置3之發送目的地郵件位址資料之追加或刪除、及對於快閃型唯讀記憶體6之備份。 Next, the arithmetic processing unit 2 receives an update instruction from the destination mail address of the external device 9, and starts the update processing of the destination mail address (step S3). Here, in the update instruction of the destination mail address from the external device 9, it is assumed that additional deletion information indicating addition or deletion of the transmission destination mail address data is added, and whether or not backup is performed can be performed. . Thereby, the addition or deletion of the transmission destination mail address data written in the internal device 3 and the backup of the flash type read only memory 6 can be arbitrarily designated from the external device 9.
再者,所謂發送目的地郵件位址資料之追加,有新追加發送目的地郵件位址資料之情形、及將已在參數儲存唯讀記憶體4中進行參數設定之發送目的地郵件 位址資料的內容變更之情形。新追加發送目的地郵件位址資料之情形時,在PLC1內所保持之可使用的發送目的地郵件位址資料的數量會增加,但將已在參數儲存唯讀記憶體4中進行參數設定之發送目的地郵件位址資料的內容變更之情形時,在PLC1內所保持之可使用的發送目的地郵件位址資料的數量不會增加。 In addition, when the destination mail address data is added, there is a case where the destination mail address data is newly added, and a destination mail having parameters set in the parameter storage read-only memory 4 The situation in which the content of the address data is changed. When the destination mail address data is newly added, the number of available destination mail address data held in the PLC 1 is increased, but the parameters have been set in the parameter storage read-only memory 4. When the content of the destination mail address data is changed, the number of available destination mail address data held in the PLC 1 does not increase.
運算處理部2係確認由追加刪除資訊所下達之指定是追加或是刪除(步驟S4)。運算處理部2係在追加刪除資訊的指定為追加時(步驟S4:追加),將已寫入於內部裝置3之指定追加的發送目的地郵件位址資料追加至內部記憶體5(步驟S5)。此外,運算處理部2係在追加刪除資訊的指定為刪除時(步驟S4:刪除),將已由內部裝置3追加之指定刪除的發送目的地郵件位址資料,從內部記憶體5刪除(步驟S6)。 The arithmetic processing unit 2 confirms whether the designation by the additional deletion information is addition or deletion (step S4). When the designation of the additional deletion information is added (step S4: addition), the calculation processing unit 2 adds the destination mail address data added to the designation of the internal device 3 to the internal memory 5 (step S5). . In addition, when the designation of the additional deletion information is the deletion (step S4: deletion), the calculation processing unit 2 deletes the transmission destination mail address data that has been designated by the internal device 3 and deletes it from the internal memory 5 (step S6).
運算處理部2係從可否實施備份資訊確認是否實施備份(步驟S7)。運算處理部2在實施備份時(步驟S7:是),將屬於所追加或刪除之更新資料的內部記憶體5內之發送目的地郵件位址資料,寫入至快閃型唯讀記憶體6(步驟S8)。運算處理部2在不實施備份時(步驟S7:否),係不進行任何動作而結束處理。即使是PLC1具有可選擇可否實施備份之功能之情形,在本實施形態中也都假設為實施備份(步驟S7:是)。藉此,在PLC1中,即便在電源關斷時,亦可將屬於更新資料之內部記憶體5內的發送目的地郵件位址資料備份而保持在屬於非揮發性記 憶部之快閃型唯讀記憶體6。 The arithmetic processing unit 2 confirms whether or not the backup is performed from the availability of the backup information (step S7). When the backup processing is performed (step S7: YES), the arithmetic processing unit 2 writes the destination mail address data in the internal memory 5 belonging to the updated or deleted update data to the flash type read only memory 6 (Step S8). When the backup processing is not performed (step S7: No), the arithmetic processing unit 2 ends the processing without performing any operation. Even in the case where the PLC 1 has a function of selecting whether or not the backup can be performed, in the present embodiment, it is assumed that the backup is performed (step S7: YES). Thereby, in the PLC 1, even when the power is turned off, the destination mail address data in the internal memory 5 belonging to the update data can be backed up and kept in the non-volatile memory. Recalling the flash-type read-only memory 6.
第3圖係顯示於PLC的再運轉中從電源導通到郵件發送處理結束之處理的流程圖。首先,運算處理部2係在電源導通後,確認於快閃型唯讀記憶體6是否存在有發送目的地郵件位址資料的備份資料(步驟S11)。運算處理部2係在有備份資料存在時(步驟11:是),將快閃型唯讀記憶體6內的發送目的地郵件位址資料寫入至內部記憶體5(步驟S12)。運算處理部2係在沒有備份資料存在時(步驟11:否),不進行任何動作而前進到下個處理。藉此,在PLC1中,可使到前次為止的運轉中藉由追加等而更新的發送目的地郵件位址資料復原至內部記憶體5。 Fig. 3 is a flow chart showing the process from the power-on to the end of the mail transmission process during the re-operation of the PLC. First, the arithmetic processing unit 2 confirms whether or not the backup data of the destination mail address data exists in the flash type read only memory 6 after the power is turned on (step S11). When the backup data exists (step 11: YES), the arithmetic processing unit 2 writes the destination mail address data in the flash type read only memory 6 to the internal memory 5 (step S12). The arithmetic processing unit 2 advances to the next process without performing any operation when there is no backup data (step 11: NO). As a result, in the PLC 1, the destination mail address data updated by the addition or the like in the previous operation can be restored to the internal memory 5.
運算處理部2係確認是否有基於從外部機器9或PLC1內部所發生的觸發之郵件發送指示(步驟S13)。運算處理部2係在沒有郵件發送指示時(步驟S13:否),待機至有郵件發送指示。運算處理部2係在有郵件發送指示時(步驟S13:是),實施郵件發送處理(步驟S14)。郵件發送指示係從發生了下述事件之外部機器9或PLC1內部的構成所發送,其中,該事件係為所發生之觸發之對象的事件。 The arithmetic processing unit 2 confirms whether or not there is an email transmission instruction based on a trigger generated from the external device 9 or the PLC 1 (step S13). The arithmetic processing unit 2 waits until there is a mail transmission instruction when there is no mail transmission instruction (step S13: NO). When there is a mail transmission instruction (step S13: YES), the arithmetic processing unit 2 performs mail transmission processing (step S14). The mail transmission instruction is transmitted from the configuration of the external device 9 or the PLC 1 in which the event is the event of the occurrence of the trigger.
此時,在郵件發送指示中,針對使用於發送目的地郵件位址的資料附加:要使用參數儲存唯讀記憶體4上之參數設定的發送目的地郵件位址資料,或是要使用內部記憶體5上之更新過的發送目的地郵件位址資料之 資訊。藉此,可任意選擇要使用哪一個發送目的地郵件位址資料。在外部機器9中,由於從本身機器下達有發送目的地郵件位址的更新指示,因此,可掌握在內部記憶體5上是否有已更新的發送目的地郵件位址資料。此外,在PLC1中,由於運算處理部2係從外部機器9接受發送目的地郵件位址的更新指示而進行發送目的地郵件位址的更新處理,因此,亦可掌握在內部記憶體5上是否有已更新的發送目的地郵件位址資料。 At this time, in the mail transmission instruction, the data to be used for the mail address of the transmission destination is attached: the destination mail address data to be set using the parameter storage parameter on the read-only memory 4, or the internal memory to be used. Updated destination mail address data on body 5 News. Thereby, it is possible to arbitrarily select which destination mail address data to use. In the external device 9, since the update instruction of the destination mail address is issued from the own device, it is possible to grasp whether or not the updated destination mail address data is present in the internal memory 5. Further, in the PLC 1, the arithmetic processing unit 2 receives the update instruction of the transmission destination mail address from the external device 9 and performs the update processing of the transmission destination mail address. Therefore, it is also possible to grasp whether or not the internal memory 5 is present. There is an updated destination mail address data.
運算處理部2係確認發送目的地郵件位址中所使用的資料是參數儲存唯讀記憶體4上的參數設定資料或是內部記憶體5上的更新資料(步驟S15)。運算處理部2係在所使用的資料為參數設定資料時(步驟S15:參數設定資料),取得參數儲存唯讀記憶體4上的發送目的地郵件位址資料(步驟S16)。運算處理部2係在所使用的資料為更新資料時(步驟S15:更新資料),取得內部記憶體5上的發送目的地郵件位址資料(步驟S17)。運算處理部2係對於通信處理部7下達使用所取得之發送目的地郵件位址來發送之指示。 The arithmetic processing unit 2 confirms that the data used in the destination mail address is the parameter setting data stored in the parameter-only read-only memory 4 or the update data on the internal memory 5 (step S15). When the data to be used is parameter setting data (step S15: parameter setting data), the arithmetic processing unit 2 acquires the transmission destination mail address data stored in the parameter read-only memory 4 (step S16). The arithmetic processing unit 2 acquires the destination mail address data on the internal memory 5 when the data to be used is the update data (step S15: update data) (step S17). The arithmetic processing unit 2 issues an instruction to the communication processing unit 7 to transmit using the acquired destination mail address.
然後,通信處理部7係使用在運算處理部2所取得之發送目的地郵件位址的資料來發送電子郵件(步驟S18)。 Then, the communication processing unit 7 transmits an email using the data of the destination mail address acquired by the arithmetic processing unit 2 (step S18).
如以上所說明,根據本實施形態,為了防止了在運轉中從外部機器9所變更之發送目的地郵件位址資料因電源關斷而被消除,PLC1係將變更後之發送目的地 郵件位址資料寫入於快閃型唯讀記憶體6而取得備份,而於再運轉時,使寫入於快閃型唯讀記憶體6的發送目的地郵件位址資料復原。藉此,在PLC1中,不需於再運轉後從外部機器9再設定發送目的地郵件位址,即可使用再運轉前從外部機器9輸入並在順序程式上經變更之發送目的地郵件位址。 As described above, according to the present embodiment, in order to prevent the transmission destination mail address data changed from the external device 9 during operation from being erased by the power supply, the PLC 1 changes the transmission destination. The mail address data is written in the flash type read only memory 6 to obtain a backup, and in the rerun operation, the destination mail address data written in the flash type read only memory 6 is restored. In this way, in the PLC 1, it is possible to re-set the destination mail address from the external device 9 without re-operation, and then use the destination mail address that is input from the external device 9 and changed in the sequence program before the re-operation. site.
此外,在PLC1中,依據是要使用從外部機器9輸入之發送目的地郵件位址資料,或是要使用以參數所設定之發送目的地郵件位址資料之資訊,而可任意選擇要使用哪一個發送目的地郵件位址資料。藉此,即使在來自外部機器9的發送目的地郵件位址輸入後,欲使用以參數所設定之發送目的地郵件位址時,也不需進行參數的再設定而即可使用以參數所設定的發送目的地郵件位址。 Further, in the PLC 1, it is possible to use the destination mail address data input from the external device 9 or to use the information of the destination mail address data set by the parameter, and it is possible to arbitrarily select which one to use. A destination email address. Thereby, even if the destination mail address set by the parameter is used after the input destination mail address from the external device 9, the parameter destination setting is not required to be reset. The destination mail address.
本實施形態之PLC1可適用於:在外部機器9或順序程式上變更及刪除所設定之發送目的地郵件位址之系統。 The PLC 1 of the present embodiment is applicable to a system for changing and deleting the set destination mail address in the external device 9 or the sequential program.
以上之實施形態所示之構成係顯示本發明內容的一例,其可與其他公知技術組合,也可在不脫離本發明之要旨的範圍內省略或變更構成的一部分。 The configuration shown in the above embodiments shows an example of the present invention, and may be combined with other known techniques, and a part of the configuration may be omitted or changed without departing from the gist of the invention.
1‧‧‧可程式邏輯控制器 1‧‧‧Programmable Logic Controller
2‧‧‧運算處理部 2‧‧‧Operation Processing Department
3‧‧‧內部裝置 3‧‧‧Internal devices
4‧‧‧參數儲存唯讀記憶體 4‧‧‧Parameter storage read-only memory
5‧‧‧內部記憶體 5‧‧‧Internal memory
6‧‧‧快閃型唯讀記憶體 6‧‧‧Flash type read-only memory
7‧‧‧通信處理部 7‧‧‧Communication Processing Department
8‧‧‧通信纜線 8‧‧‧Communication cable
9‧‧‧外部機器 9‧‧‧External machines
Claims (3)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/077181 WO2016056121A1 (en) | 2014-10-10 | 2014-10-10 | Programmable logic controller |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201624158A TW201624158A (en) | 2016-07-01 |
TWI581081B true TWI581081B (en) | 2017-05-01 |
Family
ID=55301045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104132676A TWI581081B (en) | 2014-10-10 | 2015-10-05 | Programmable logic controller |
Country Status (7)
Country | Link |
---|---|
US (1) | US10175674B2 (en) |
JP (1) | JP5859176B1 (en) |
KR (1) | KR101779752B1 (en) |
CN (1) | CN106796422B (en) |
DE (1) | DE112014006946T5 (en) |
TW (1) | TWI581081B (en) |
WO (1) | WO2016056121A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6856048B2 (en) * | 2018-04-03 | 2021-04-07 | オムロン株式会社 | Control system and control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378370A (en) * | 2007-08-29 | 2009-03-04 | 台达电子工业股份有限公司 | Automatic control system with network gateway and operation method thereof |
TW201020706A (en) * | 2008-11-21 | 2010-06-01 | Moxa Inc | Programmable remote control system and method thereof |
CN101840216A (en) * | 2009-03-17 | 2010-09-22 | 鸿富锦精密工业(深圳)有限公司 | Programmable logical controller parameter setting system and method thereof |
CN102339031A (en) * | 2010-07-27 | 2012-02-01 | 深圳市合信自动化技术有限公司 | Method and device for calling subprogram and PLC (Programmable Logic Controller) control system |
TW201435527A (en) * | 2013-03-06 | 2014-09-16 | Mitsubishi Electric Corp | Programmable logic controller, programmable logic controller system and method for creating execution error information |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01220002A (en) | 1988-02-29 | 1989-09-01 | Fanuc Ltd | Parameter setting system for pc |
JPH07319518A (en) * | 1994-05-20 | 1995-12-08 | Koyo Electron Ind Co Ltd | Positioning controller |
JPH08185208A (en) | 1994-12-28 | 1996-07-16 | Toshiba Syst Technol Kk | Plant controller |
JP3310561B2 (en) | 1996-11-28 | 2002-08-05 | 株式会社ハーマンプロ | Dishwasher |
JP3543534B2 (en) | 1997-03-27 | 2004-07-14 | 松下電工株式会社 | Programmable controller |
JP3690144B2 (en) * | 1998-11-02 | 2005-08-31 | オムロン株式会社 | Programmable controller |
JP3709338B2 (en) * | 2000-11-22 | 2005-10-26 | 日本電気株式会社 | Mobile phone user setting information management method and user setting information management system |
US6725104B2 (en) | 2001-09-21 | 2004-04-20 | Siemens Aktiengesellschaft | Method and apparatus for E-mail based communication with automated facilities and devices |
JP2003141041A (en) * | 2001-10-31 | 2003-05-16 | Canon Inc | Image processor, image processing method, address editing method, storage medium and program |
JP2003162466A (en) * | 2001-11-26 | 2003-06-06 | Yamatake Sangyo Systems Co Ltd | Programmable controller |
JP2005010836A (en) | 2003-06-16 | 2005-01-13 | Canon Inc | Mail terminal |
US7904181B2 (en) | 2004-06-01 | 2011-03-08 | Ils Technology Llc | Model for communication between manufacturing and enterprise levels |
JP2006231591A (en) | 2005-02-23 | 2006-09-07 | Canon Inc | Image forming device and image forming system |
US7698242B2 (en) | 2006-08-16 | 2010-04-13 | Fisher-Rosemount Systems, Inc. | Systems and methods to maintain process control systems using information retrieved from a database storing general-type information and specific-type information |
US8359357B2 (en) * | 2008-07-21 | 2013-01-22 | Raytheon Company | Secure E-mail messaging system |
JP2010026948A (en) * | 2008-07-23 | 2010-02-04 | Panasonic Electric Works Co Ltd | Communication equipment |
ES2399574T3 (en) | 2009-10-29 | 2013-04-02 | Vega Grieshaber Kg | Device and procedure for the operation of a field device with a module for integrated image processing |
KR101395154B1 (en) * | 2009-12-24 | 2014-05-15 | 교세라 가부시키가이샤 | Mobile phone apparatus, confirmation information displaying program, confirmation information displaying method and transmitting method of mobile phone apparatus |
JP2012027795A (en) * | 2010-07-26 | 2012-02-09 | Canon Inc | Document data sharing system and user device |
WO2012143993A1 (en) * | 2011-04-18 | 2012-10-26 | 三菱電機株式会社 | Programmable logic controller |
JP6163748B2 (en) | 2012-12-14 | 2017-07-19 | オムロン株式会社 | Communication coupler, communication system, control method, and program |
-
2014
- 2014-10-10 WO PCT/JP2014/077181 patent/WO2016056121A1/en active Application Filing
- 2014-10-10 KR KR1020177008652A patent/KR101779752B1/en active IP Right Grant
- 2014-10-10 CN CN201480082581.6A patent/CN106796422B/en active Active
- 2014-10-10 US US15/515,903 patent/US10175674B2/en active Active
- 2014-10-10 DE DE112014006946.9T patent/DE112014006946T5/en active Pending
- 2014-10-10 JP JP2015534307A patent/JP5859176B1/en active Active
-
2015
- 2015-10-05 TW TW104132676A patent/TWI581081B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378370A (en) * | 2007-08-29 | 2009-03-04 | 台达电子工业股份有限公司 | Automatic control system with network gateway and operation method thereof |
TW201020706A (en) * | 2008-11-21 | 2010-06-01 | Moxa Inc | Programmable remote control system and method thereof |
CN101840216A (en) * | 2009-03-17 | 2010-09-22 | 鸿富锦精密工业(深圳)有限公司 | Programmable logical controller parameter setting system and method thereof |
CN102339031A (en) * | 2010-07-27 | 2012-02-01 | 深圳市合信自动化技术有限公司 | Method and device for calling subprogram and PLC (Programmable Logic Controller) control system |
TW201435527A (en) * | 2013-03-06 | 2014-09-16 | Mitsubishi Electric Corp | Programmable logic controller, programmable logic controller system and method for creating execution error information |
Also Published As
Publication number | Publication date |
---|---|
CN106796422A (en) | 2017-05-31 |
US20170308051A1 (en) | 2017-10-26 |
DE112014006946T5 (en) | 2017-06-14 |
US10175674B2 (en) | 2019-01-08 |
JP5859176B1 (en) | 2016-02-10 |
KR101779752B1 (en) | 2017-09-18 |
JPWO2016056121A1 (en) | 2017-04-27 |
WO2016056121A1 (en) | 2016-04-14 |
CN106796422B (en) | 2019-06-04 |
KR20170041918A (en) | 2017-04-17 |
TW201624158A (en) | 2016-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6357770B2 (en) | Control device and communication control method | |
TWI520067B (en) | Engineering tool program product and network system | |
JP2014174616A (en) | Fa system and control device | |
TWI581081B (en) | Programmable logic controller | |
JPWO2014174546A1 (en) | Programmable logic controller system and programmable logic controller | |
JP6813381B2 (en) | Programmable logic controller | |
JP6575157B2 (en) | Firmware download method and firmware embedded device | |
JP6641233B2 (en) | Robot controller | |
WO2016071974A1 (en) | Remote control device and control system | |
JP6843823B2 (en) | PLC program processing device | |
JP6680313B2 (en) | Control device and communication control method | |
JP6907929B2 (en) | Data equivalence method, programmable controller and duplex system | |
JP5832710B1 (en) | Programmable logic controller | |
JP2016157245A (en) | Information processing apparatus, system setting method, and computer program | |
JP2015162179A (en) | Sequence program replacement method of programmable controller | |
JP5951041B2 (en) | Programmable display | |
JPWO2019207679A1 (en) | Monitor support device, monitor support method, and monitor support program | |
JP6357769B2 (en) | Control device and communication control method | |
WO2017208365A1 (en) | Control device | |
JP6002021B2 (en) | Slave device | |
JP2018067354A5 (en) | ||
JP2018022367A (en) | Controller and control system | |
JP2017084127A (en) | Control system and server | |
JP2016212712A (en) | Storage device using nand type flash memory and method for using nand type flash memory | |
JP2011123632A (en) | Control system |