US20050288802A1 - Programmable logic controller, graphic logic controller, control program creation device, program, and storage medium - Google Patents
Programmable logic controller, graphic logic controller, control program creation device, program, and storage medium Download PDFInfo
- Publication number
- US20050288802A1 US20050288802A1 US11/158,360 US15836005A US2005288802A1 US 20050288802 A1 US20050288802 A1 US 20050288802A1 US 15836005 A US15836005 A US 15836005A US 2005288802 A1 US2005288802 A1 US 2005288802A1
- Authority
- US
- United States
- Prior art keywords
- command
- control
- section
- program
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
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
Definitions
- the present invention relates to a programmable logic controller, a graphic logic controller, a control program creation device for creating a control program used therein, a program, and a storage medium.
- a programmable logic controller (hereinafter referred to as a PLC) which controls various devices.
- the PLC is a control device in which a control program can be written.
- the PLC follows the control program so as to control various devices, such as sensors, which are connected to the PLC.
- the PLC is provided with a programmable indicator (graphic control panel or panel computer).
- the programmable indicator (hereinafter referred to as an indicator) indicates a state of the PLC.
- the indicator can also transmit, to the PLC, instructions for changing various set values concerning control of various devices.
- the indicator can display a setting image for enabling change of the various set values. More specifically, a user uses a personal computer (hereinafter referred to as a computer) to create setting image data in accordance with a device, and the data is downloaded to the indicator, so that the indicator can display the setting image.
- a personal computer hereinafter referred to as a computer
- control system 90 which causes a computer to execute a predetermined process in response to input from a device into a PLC.
- FIG. 7 An arrangement of such a control system is shown in FIG. 7 .
- the control system 90 includes a device 91 , a PLC 92 , an indicator 93 , and a computer 94 .
- the PLC 92 includes a control device 92 a and a storage section 92 b.
- the PLC 92 controls operation of the device 91 . More particularly, the control device 92 a executes a control program called a ladder program (a program created in a ladder-diagram programming language) stored in the storage section 92 b , so that the PLC 92 controls operation of the device 91 . Further, the control device 92 a periodically monitors a state of the device 91 . Moreover, when there is a change in a state of the device 91 , information in accordance with the contents of the change is stored temporarily in the control device 92 a . This means that when a state of the device 91 changes, a state of the control device 92 a also changes. Note that a change in a state of the device 91 can be displayed in the indicator 93 through the PLC 92 .
- a ladder program a program created in a ladder-diagram programming language
- the computer 94 is provided in advance with a program (hereinafter referred to as a change detection program) for detecting a change in a state of the control device 92 a . Moreover, the computer 94 executes the change detection program so as to detect a change in a state of the control device 92 a .
- the computer 94 detects a change in a state of the control device 92 a
- the computer 94 executes a predetermined process in accordance with the contents of the change. Note that, as the predetermined process, activation of an application program, retrieval of a file managed by the application program, and the like are exemplified. Note that when the predetermined process has been executed, a display screen image in accordance with the program is displayed in a display device (not shown) of the computer 94 .
- control system 90 is arranged so that the computer 94 monitors a change in a state of the control device 92 a so as to execute a predetermined program.
- control system 90 can be arranged as follows so as to cause a computer to execute a predetermined process in response to input from a device into a PLC. An arrangement of this control system is shown in FIG. 8 . Note that members having the same functions as those of the control system 90 are given the same reference numerals, and explanations thereof are omitted here.
- the control system 90 ′ includes a device 91 , a PLC 92 , an indicator 93 and a computer 94 ′.
- the computer 94 ′ includes a control device 94 a.
- the control device 94 a acquires, from the PLC 92 , information on the execution contents of a ladder program (control program). That is, in the control system 90 ′, information on the same contents as an instruction given to the device 91 is sent from the PLC 92 to the control device 94 a of the computer 94 .
- the computer 94 ′ is provided in advance with a change detection program for detecting a change in a state of the control device 94 a . Moreover, the computer 94 ′ executes the change detection program so as to detect a change in a state of the control device 94 a of the computer 94 ′. When the computer 94 ′ detects a change in a state of the control device 94 a , the computer 94 ′ executes a predetermined process in accordance with the contents of the change.
- the computer 94 ′ not only acquires from the PLC 92 the information on the execution contents but also monitors a change in the control device 94 a so as to execute a predetermined process.
- Patent Document 1 Japanese Patent Publication No. 2965407; registered on Aug. 13, 1999 discloses an arrangement, relating to the control system 90 , which, upon request from an indicator to a PLC, makes it possible to acquire, on the side of the indicator, information on a state of the PLC.
- Patent Document 2 Japanese Publication of Examined Application 19282/1994 (Tokukouhei 6-19282; published on Mar. 16, 1994 discloses an arrangement, relating to the control system 90 ′, which matches a memory area of a PLC to that of an indicator.
- the change detection program for detecting a change in a state of the control device 92 a of the PLC 92 needs to be stored in the computer 94 .
- the computer 94 ′ needs to be provided with the control device 94 a , and the change detection program for detecting a change in a state of the control device 94 a needs to be stored in the computer 94 . Note that neither the arrangement of Patent Document 1 nor that of Patent Document 2 is free from the same problems.
- the present invention has been completed in consideration of the foregoing problems and has as an object to provide a programmable logic controller, a graphic logic controller, a control program creation device, a program, and a storage medium all of which enables a computer to execute a predetermined process by simply creating a control program.
- a programmable logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network. Further, the control section can be used to transmit through the communication section to the terminal a command based on the command in the control program.
- a graphic logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; a display section for showing a state of the device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- the graphic logic controller includes the members of the programmable logic controller.
- the graphic logic controller brings about an effect of obtaining the same effect as the programmable logic controller.
- a control program creation device is a control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network, the control program creation device including a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- the command creation section can be used to create, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- the terminal control command is stored, as a command in the control program, in the programmable logic controller or the graphic logic controller, and this brings about an effect of making it possible to control the terminal from the programmable logic controller or the graphic logic controller.
- a program according to the present invention allows a computer to function as the control section of the programmable logic controller.
- Loading of the program into a computer brings about an effect of making it possible to provide the programmable logic controller.
- a program according to the present invention allows a computer to function as the control section of the graphic logic controller.
- Loading of the program into a computer brings about an effect of making it possible to provide the graphic logic controller.
- a program according to the present invention allows a computer to function as the command creation section of the control program creation device.
- Loading of the program into a computer brings about an effect of making it possible to provide the control program creation device.
- a storage medium stores any one of the programs.
- FIG. 1 is a diagram showing a schematic arrangement of a control system according to an embodiment of the present invention.
- FIG. 2 is a ladder diagram concerning a ladder program stored in a PLC.
- FIG. 3 is a diagram showing a specific arrangement of a command indicated by a ladder symbol I ⁇ .
- FIG. 4 is a diagram showing, by another description method, the command indicated by the ladder symbol I ⁇ .
- FIG. 5 is a functional block diagram of a control program creation device.
- FIG. 6 is a diagram showing a schematic arrangement of a graphic logic controller.
- FIG. 7 is a diagram showing an example arrangement of a conventional control system.
- FIG. 8 is a diagram showing an example arrangement of another conventional control system.
- FIGS. 1 to 6 One embodiment of the present invention will be described below with reference to FIGS. 1 to 6 .
- FIG. 1 shows a schematic arrangement of a control system 1 according to one embodiment of the present invention.
- the control system 1 includes a PLC (programmable logic controller) 2 , a target system 3 , an indicator (programmable indicator) 4 , and a computer (terminal) 5 .
- PLC programmable logic controller
- the PLC 2 includes an IF section 21 , an IF section (communication section) 22 , a storage section 23 , and a control section 24 .
- the storage section 23 includes a device state storage section 61 , a control program storage section 62 , a computer control command storage section 63 , and a transmission permission information storage section 64 .
- the control section 24 includes a device state acquisition section 71 , a control program execution section 72 , a device state reference section 73 , a device control section 74 , and a computer control section 75 .
- the control program execution section 72 includes a command separation section 72 a .
- the control program storage section 62 corresponds to the storage section as set forth in claims.
- the members ( 24 , 72 , 72 a , 73 , 74 , and 75 ) are functional blocks which are achieved when a CPU executes a program stored in a storage device such as the storage section 23 so as to control a peripheral circuitry (not shown) such as an I/O (input/output) circuitry. Operation of the functional blocks will be described later.
- the target system 3 is a target to be controlled by the PLC 2 and includes at least one device 3 a . Moreover, the device 3 a is communicably connected to the IF section 21 of the PLC 2 .
- the indicator 4 indicates a state of the PLC 2 .
- the indicator 4 can also transmit, to the PLC 2 , instructions for changing various set values concerning control of the device 3 a .
- the indicator 4 can display a setting image for changing the various set values.
- the indicator 4 is communicably connected to the control section 24 of the PLC 2 through the IF section 22 of the PLC 2 .
- the computer 5 includes an IF section 51 , a storage section 52 , a control section 53 , and an indicator 54 . Further, the computer 5 is communicably connected through the IF section 51 to the IF section 22 of the PLC 2 over a network. Further, the storage section 52 includes a communication program storage section 52 a and a control target program storage section 52 b . Furthermore, the storage section 52 stores an operating system (OS). As the operating system, for example, a Windows (trademark) system can be used.
- OS operating system
- the members ( 53 and 54 ) are functional blocks which are achieved when a CPU executes a program stored in a storage device such as the storage section 52 so as to control a peripheral circuitry (not shown) such as an I/O circuitry. Operation of the functional blocks will be described later.
- a personal computer and the like are exemplified.
- the IF section 21 is an interface designed to perform communication with the device 3 a of the target system 3 . Further, the IF section 21 is connected to the device state acquisition section 71 and the device control section 74 of the control section 24 .
- the IF section 22 is an interface designed to perform communication with the indicator 4 and the computer 5 . Further, the IF section 22 is connected to the control section 24 . Note in FIG. 1 that, for the sake of convenience in description, the IF section 22 is connected to the computer control section 75 of the control section 24 .
- the device state storage section 61 is a storage area which stores information concerning a state of the device 3 a . Further, as the information concerning a state of the device 3 a , for example, information which indicates a state of a device and information which indicates a state of a device serving as a control target (i.e., a state of a control target) are exemplified.
- the control program storage section 62 is a storage area which prestores a program (hereinafter referred to as a control program) for controlling the device 3 a and the computer 5 . Further, the control program includes a command (hereinafter referred to as a device control command) for changing a state of the device 3 a and a command (hereinafter referred to as a computer control command) for controlling the computer 5 .
- a command hereinafter referred to as a device control command
- a command hereinafter referred to as a computer control command
- the computer control command includes at least an operation code (operator) indicating the command and an operand corresponding to a command (hereinafter referred to as a computer transmission command) which is actually transmitted to the computer 5 . Further, the computer control command may include another operand. Note that the computer transmission command corresponds to a command based on the terminal control command as set forth in claims.
- the computer control command storage section 63 is a storage area for temporarily storing the computer control command.
- the transmission permission information storage section 64 is a storage area which stores information on whether or not the computer control section 75 is permitted to transmit the computer transmission command to the computer 5 . In a default state, the transmission permission information storage section 64 stores information which permits transmission of the computer transmission command.
- the device state acquisition section 71 periodically acquires, through the IF section 21 , information on a state of the device 3 a (the information is hereinafter referred to as state information). Furthermore, the device state acquisition section 71 stores the acquired state information in the device state storage section 61 . In this way, the state information is stored in the device state storage section 61 . Further, when the device state acquisition section 71 causes the device state storage section 61 to store the state information, the device state acquisition section 71 sends, to the control program execution section 72 , notification (e.g., a signal telling) that the state information has been stored in the device state storage section 61 .
- notification e.g., a signal telling
- control program execution section 72 When the control program execution section 72 receives the signal from the device state acquisition section 71 , the control program execution section 72 reads out a control program from the control program storage section 62 . Moreover, the control program execution section 72 executes the control program read out.
- state information on the predetermined device 3 a may be needed in the process of execution.
- the control program execution section 72 sends a predetermined signal to the device state reference section 73 .
- the device state reference section 73 receives the predetermined signal from the control program execution section 72
- the device state reference section 73 accesses the device state storage section 61 so as to acquire state information on the predetermined device 3 a .
- the device state reference section 73 sends the state information to the control program execution section 72 . This enables the control program execution section 72 to acquire state information on the predetermined device 3 a.
- control program contains the device control command and the computer control command. Accordingly, the command separation section 72 a separates, sequentially into a device control command and a computer control command, a command obtained in the process of execution.
- the control program execution section 72 sends the device control command to the device control section 74 .
- the device control section 74 receives the device control command from the control program execution section 72 , the device control section 74 rewrites device state information stored in the device state information storage section 61 so that the device state information matches the contents indicated by the device control command.
- control program execution section 72 causes the computer control command storage section 60 to temporarily store the obtained computer control command.
- control program execution section 72 sends a predetermined signal to the device control section 74 and the computer control section 75 .
- the device control section 74 When the device control section 74 receives the predetermined signal from the control program execution section 72 , the device control section 74 reads out device state information from the device state storage section 61 . Moreover, the device control section 74 transmits a command to the device 3 a through the IF section 21 so that the device 3 a matches a state indicated by the state information read out. This changes a state of the device 3 a.
- the computer control section 75 when the computer control section 75 receives the predetermined signal from the control program execution section 72 , the computer control section 75 acquires a computer control command from the computer control command storage section 63 . Furthermore, the computer control section 75 interprets (translates) the computer control command so as to acquire the computer transmission command. Further, the computer control section 75 accesses the transmission permission information storage section 64 so as to determine whether or not the transmission permission information storage section 64 stores information which permits transmission of the computer transmission command. When the computer control section 75 determines that the transmission permission information storage section 64 stores information which permits transmission of the computer transmission command, the computer control section 75 transmits the computer transmission command through the IF section 22 to the computer 5 .
- the computer control section 75 converts information, stored in the transmission permission information storage section 64 , which permits transmission of the computer transmission command, once into information which prohibits transmission of the computer transmission command. Note that an arrangement in which the prohibition information is converted again into the permission information will be described later.
- the IF section 51 is an interface designed to perform communication with the PLC 2 and the indicator 4 . Further, the IF section 51 is connected to the control section 53 .
- the communication program storage section 52 a is a storage area which prestores a program for performing communication with the PLC 2 .
- the control target program storage section 52 b is a storage area which prestores software programs (control target programs and application programs) such as a document creation software program, a spreadsheet software program, and a WWW browser (World Wide Web browser).
- the WWW browser is a software program which retrieves a WWW server and displays an HTML file. That is, the WWW browser is a software program for browsing a WWW page on the Internet.
- a software program stored in the control target program storage section 52 b is not limited to those described above. Further, in the following description, it is assumed that the computer 5 is connected to the Internet.
- an operating system to be stored in the storage section 52 b only needs to be an operating system which can receive a computer transmission command transmitted from the PLC 2 so as to execute the computer transmission command.
- the control section 53 first reads out a communication program from the communication program storage section 52 a and executes the communication program so as to communicably connect the computer 5 to the PLC 2 . Note that reading out and execution of the communication program are processed through input from a control section (not shown) of the computer 5 . Note that further specific operation of the control section 53 will be described later in a First Example and a Second Example.
- control section 53 when the control section 53 receives a computer transmission command from the PLC 2 through the IF section 51 , the control section 53 reads out a control target program so as to execute a process in accordance with the acquired computer transmission command. When the executed process can be displayed on a screen, the control section 53 causes the display section 54 to show a result of the execution.
- the PLC 2 includes: the control program storage section (storage section) 62 for controlling a control program; the control section 24 , executing a command in the control program, which controls the device 3 a ; and the IF section (communication section) 22 for enabling connection with a network, wherein: the control program storage section 62 is capable of storing, as the command in the control program, a computer control command (terminal control command) for controlling the computer (terminal) 5 connected to the network, and when the control program storage section stores the computer control command, the control section 24 transmits through the IF section 22 to the computer 5 a computer transmission command (command based on the computer control command).
- the control program storage section 62 is capable of storing, as the command in the control program, a computer control command (terminal control command) for controlling the computer (terminal) 5 connected to the network
- the control program storage section 24 transmits through the IF section 22 to the computer 5 a computer transmission command (command based on the computer control command).
- control program storage section 62 is capable of storing, as the command in the control program, a computer control command for controlling the computer 5 connected to the network. Further, it is possible to use the control section 24 to transmit a computer transmission command through the IF section 22 to the computer 5 .
- the PLC 2 includes the command separation 72 a for separating a computer control command from the command in the control program.
- the command separation 72 a can be used to separate a computer control command from the command in the control program.
- control system 1 is arranged so that the single computer 5 is connected to the PLC 2 , but the control system 1 is not so limited.
- the control system 1 may be arranged so that a plurality of computers, each of which is the computer 5 , are connected to the PLC 2 .
- control program it is only necessary to allow the control program to contain, in addition to the computer control command, identification information for identifying the computer 5 serving as a control target. Further, in this case, an arrangement only needs to be such that the computer control section 75 transmits a computer transmission command to the computer 5 indicated by the identification information. This makes it possible to transmit a predetermined computer transmission command to the predetermined computer 5 .
- a ladder program will be described as an example of a control program stored in a control program storage section 62 of the PLC 2 .
- a case will be described for example in which a plurality of computers, each of which is the computer 5 , are connected to the PLC 2 .
- FIG. 2 shows one example of a ladder diagram concerning a ladder program according to the present Example.
- the ladder diagram includes a left generating line (La) and a right generating line (Lb).
- the left and right generating lines are connected by one or more networks (L 1 and L 2 ).
- the networks L 1 and L 2 include ladder symbols (I ⁇ , I ⁇ , I ⁇ , I ⁇ , and I ⁇ ) and their related labels.
- the ladder symbols serve as functional blocks, such as a contact point, a coil, and a counter, which are represented by figures and other forms.
- the ladder diagram illustrates a control procedure according to types of the ladder symbols disposed therein and a way in which the generating lines, the networks, and the ladder symbols are connected to one another.
- the ladder symbol I ⁇ which indicates a load connected to the generating line La
- the ladder symbol I ⁇ which indicates an AND
- the ladder symbol I ⁇ which indicates an increment.
- the ladder symbol I ⁇ which indicates a trigger connected to the generating line La
- the ladder symbol I ⁇ which indicates activation of a control target program.
- the computer 5 when the predetermined computer 5 receives the activation command, the computer 5 follows the activation command so as to activate the predetermined program. This allows a command contained in a ladder program to activate a program of the computer 5 .
- the command indicated by the ladder symbol I ⁇ contains one operation code and three operands.
- the operation code is “PC_FORK”, and the operands are “D 50 ”, “Activation Target Program Name”, and “Activation Option”.
- “D 50 ” is an operand indicative of a leading address, concerning information on the computer 5 serving as a control target, which is located in a storage section 23 .
- “Activation Target Program Name” is an operand which indicates the name of a program serving as an activation target. For example, when a spreadsheet software program is an activation target, the name of the software program is shown as a character string in a column of “Activation Target Program Name”. Note that the same applies also when a WWW browser is an activation target.
- “Activation Option” is an operand which indicates, as a character string, the name of a file in case of a spreadsheet software program or the name of a URL (uniform resource locator) in case of a WWW browser. Note that “Activation Option” is an option setting item, and when there is no need to open a predetermined file (i.e., when only a program is activated), a column of “Activation Option” may be left blank.
- PC_FORK is an operation code, predefined in the PLC 2 , which activates that predetermined program in a predetermined computer which is identified by the three operands.
- PC_FORK is an operation code which, based on the three operands, sets a predetermined program activation command (i.e., a computer transmission command) for a predetermined computer and notifies the computer of the command.
- FIG. 4 is a diagram showing, by another description method, the command indicated by the ladder symbol I ⁇ .
- FIG. 4 describes a leading address (D 100 ) and an address score ( 40 ) (i.e., information which indicates how many addresses there are).
- the leading address D 100 serving as “Activation Target Program Name”, is located in the storage section 23 which stores the name of a program to be activated. That is, FIG. 4 shows, instead of the name of a program serving as an activation target, a storage area (from address 100 to address 139 ) which stores the name of the program serving as an activation target. Further, FIG. 4 describes a leading address (D 300 ) and an address score ( 40 ).
- the first address D 300 serving as “Activation Option”, is located in the storage section 23 which stores the name of a predetermined file or the name of a URL.
- the PLC 2 is arranged so that: the computer control command contains an operand which indicates a program to be activated in the computer 5 , and when the control section 24 receives an instruction to execute the computer control command, the control section 24 instructs the computer 5 to activate the program indicated by the operand of the command.
- a user registers in the computer 5 a predetermined name of a combination of a command for activating a program and a command for specifying an option at the time of activating the program.
- the PLC 2 is arranged so that the predetermined name is transmitted as a computer transmission command to the computer 5 .
- the computer 5 is arranged so that when the computer 5 receives the predetermined name from the PLC 2 , the computer 5 determines by the name a command for activating a program and a command for specifying an option at the time of activating the program and activates the program in accordance with the commands. Also with this arrangement, it is possible to activate from the PLC 2 a predetermined program of the computer 5 . Further, by shortening the data length of the predetermined name, the predetermined name can be transmitted to a terminal in a shorter period of time.
- a case will be described in which a control target program stored in a control target program storage section 52 b is operated upon an instruction from a PLC 2 (under such conditions that the control target program is activated). That is, a case will be described in which a control target program in a computer 5 is instructed to operate. Further, a ladder program is described as an example of a control program stored in a control program storage section 62 .
- a control section 53 of the computer 5 gives a name to information on a destination of a computer transmission command.
- the information (hereinafter referred to as the information on the destination) contains a window handle concerning the control target program, a function address of a callback destination, and the like.
- the information on the destination is stored in the control section 52 .
- the window handle is a number used to refer to a window in which the control target program is open.
- an API application program interface
- an operating system can be used to store the destination information.
- the API is a configuration for using various functions of an operating system from an application program. In other words, it is a configuration for calling up various functions prepared by the operating system.
- the computer 5 stores the information on the destination of the computer transmission command, so that the name can be coordinated with the information on the destination of the computer transmission command. Therefore, the computer 5 can identify, according to the name, the information on the destination of the computer transmission command.
- the PLC 2 when the PLC 2 is arranged so as to transmit to the computer 5 the name and the computer transmission command, it becomes possible to instruct the control target program to operate. That is, the name is used also in the PLC 2 . In this case, it is only necessary to describe a computer control program in a command indicated by a ladder symbol (e.g., I ⁇ ) so that when the command is interpreted in the PLC 2 , the name and the computer transmission command can be set and sent to the computer 5 .
- a ladder symbol e.g., I ⁇
- control system 1 allows, in the computer 5 , file operation of a control target program (opening and closing of a file, enlarging and reducing of a window size, and the like) and image display based on a new URL (i.e., display image switching).
- the PLC 2 is arranged so that: the computer control command contains an operand which indicates a file to be read out in the computer 5 , and when the control section 24 receives an instruction to execute the computer control command, the control section 24 instructs the computer 5 to read out the file indicated by the operand of the command. Further, the PLC 2 is also arranged so that: the computer control command includes an operand which indicates a display image to be changed in the computer 5 , and when the control section 24 receives an instruction to execute the computer control command, the control section 24 instructs the computer 5 to change the display image indicated by the operand of the command.
- communications from the PLC 2 to the computer 5 in the control system 1 are described including the First and Second Examples.
- communications from the computer 5 to the PLC 2 in the control system 1 will be described.
- the control section 53 of the computer 5 transmits, through the IF section 51 to the PLC 2 , notification that the process based on the command is completed (hereinafter, the notification is referred to as process completion notification).
- process completion notification the notification that the process based on the command is completed.
- a computer control section 75 of the PLC 2 rewrites information, stored in a transmission permission information storage section 64 , which prohibits transmission of the computer transmission command, into information which permits transmission of the computer transmission command. This enables the PLC 2 to transmit the computer transmission command to the computer 5 .
- the PLC 2 cannot transmit the computer transmission command to the computer 5 until the PLC 2 receives the process completion notification from the computer 5 .
- the foregoing arrangement is effective.
- control system 1 may be arranged so as to include a control program creation device for creating the control program.
- control program creation device 81 includes a program creation section 82 and an IF section (communication section) 83 .
- the program creation section 82 includes a command creation section 82 a.
- the program creation section 82 receives a predetermined operation from a user so as to create a control program used in the PLC 2 . Further, the command creation section 82 a creates, as a command in the control program, the computer control command for controlling the computer 5 .
- the IF section 83 is an interface for enabling communication with the PLC 2 and transmits to the PLC 2 a control program which contains the computer control command.
- control program creation device 81 may be arranged so as to be connected directly to the PLC 2 through the IF section 83 or may be arranged so as to be connected indirectly to the PLC 2 through the IF section 83 and the indicator 4 . At least, an arrangement only needs to be such that the control program created in the control program creation section 81 can be transmitted to the PLC 2 and the transmitted control program can be executed in the PLC 2 .
- control program creation device 81 is a control program creation device creating a control program used in the PLC 2 which includes the IF section (communication section) 83 for enabling connection to a network, the control program creation device including the command creation section 82 a for creating, as a command in the control program, a computer control command (terminal control command) for controlling the computer (terminal) 5 connected to the network.
- the command creation section 82 a can be used to create, as a command in the control program, a computer control command for controlling the computer 5 connected to the network.
- control program creation device 81 is arranged so that the PLC 2 instructs activation of a program of the computer 5 .
- the command creation section 82 a of the program creation section 82 can receive input for identifying the program to be activated in the computer 5 , and upon receipt of the input, the command creation section 82 a creates a computer control command that contains an operand indicating activation of the program.
- control program creation device 81 is arranged so that the PLC 2 instructs reading out of a file of the computer 5 .
- the command creation section 82 a of the program creation section 82 can receive input for identifying the file to be read out in the computer 5 , and upon receipt of the input, the command creation section 82 a creates a computer control command that contains an operand indicating reading out of the file.
- control program creation device 81 is arranged so that the PLC 2 instructs change of a display image of the computer 5 .
- the command creation section 82 a of the program creation section 82 can receive input for identifying the display image to be changed in the computer 5 , and upon receipt of the input, the command creation section 82 a creates a computer control command that contains an operand indicating change of the display image.
- the GLC includes: a storage section 23 ′ for storing a control program; a control section 24 ′, executing a command in the control program, which control a device; a display section 25 for showing a state of the device: an IF section (communication section) 22 ′ for enabling connection to a network; and an IF section 21 ′ for enabling communication with a target system device. Therefore, the GLC may be used instead of the PLC 2 and the indicator 4 of the control system 1 .
- a “Windows (trademark) system is exemplified as an operating system of the computer 5 .
- this is not the purpose of limitation. That is, an operating system only needs to receive from outside a command of a predetermined format so as to execute a process based on the command.
- control program is activated upon an instruction from the PLC 2
- the control program is operated upon an instruction from the PLC 2 .
- this is not for the purpose of limitation.
- an arrangement may be such that the control program is both activated (activation of an application program) and operated (reading out of a file managed by the application program, and change of a display image in the computer 5 ).
- an arrangement may be such that a plurality of operations of the control program (reading out of the file and change of the display screen image) are executed.
- a programmable logic controller is a programmable logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- the programmable logic controller further include a command separation section for separating the terminal control command from the command in the control program.
- the command separation section can be used to separate the terminal control command from the command in the control program.
- the programmable logic controller be arranged so that the command based on the terminal control command is a command for executing a predetermined program stored in the terminal.
- the command based on the terminal control command is a command for executing a predetermined program stored in the terminal.
- the programmable logic controller according to the present invention be arranged so that: the terminal stores a predetermined name corresponding to message data which instructs execution of the predetermined program; and the control section transmits the predetermined name as the command based on the terminal control command.
- the terminal stores a predetermined name corresponding to message data which instructs execution of the predetermined program. Further, the control section transmits the predetermined name as the command based on the terminal control command.
- the terminal can be controlled. Furthermore, by causing the data length of the predetermined name to be shorter than that of the message data, the predetermined name can be transmitted to the terminal in a shorter period of time.
- the programmable logic controller according to the present invention be arranged so that the execution of the predetermined program includes at least one of activation of an application program, retrieval of a file managed by the application program, and change of a display screen image in the terminal.
- the execution of the predetermined program includes at least one of (i) activation of an application program, (ii) reading out of a file managed by the application program, and (iii) change of a display image in the terminal.
- the programmable logic controller can be used to activate the application program in the terminal. Further, when the execution of the predetermined program includes reading out of a file managed by the application program, the programmable logic controller can be used to read out the file managed by the application program in the terminal. Furthermore, when the execution of the predetermined program includes change of a display image in the terminal, the programmable logic controller can be used to change the display image in the terminal.
- the programmable logic controller according to the present invention be arranged so that the control program contains identification information for identifying the terminal in accordance with the terminal control command.
- the control program contains identification information for identifying the terminal in accordance with the terminal control command. That is, each terminal control command is provided with identification information for identifying a terminal.
- the programmable logic controller based on the identification information, identifies a destination of a command based on the terminal control command. This brings about an effect of making it possible to transmit to a predetermined terminal a command based on a predetermined terminal control command.
- the programmable logic controller be arranged so that the terminal control command includes an operation code and an operand, and the control section transmits, as a command based on the terminal control command, a command corresponding to the operand.
- a graphic logic controller is a graphic logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; a display section for showing a state of the device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- a control program creation device is a control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network, the control program creation device including a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- the command creation section can be used to create, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- the programmable logic controller or the graphic logic controller can be used to control the terminal.
- a program according to the present invention allows a computer to function as the control section of the programmable logic controller.
- a program according to the present invention allows a computer to function as the control section of the graphic logic controller.
- a program according to the present invention allows a computer to function as the command creation section of the control program creation device.
- a storage medium stores any one of the programs.
- a programmable logic controller or a graphic logic controller can be used to control a terminal connected to a network. Therefore, the present invention can be applied to a control system including these controllers and the terminal.
- Operating means such as a CPU executes a program stored in storage means such as a ROM (read only memory) and a RAM (random access memory) so as to control input means (e.g., a keyboard), output means (e.g., a display), or communication means (e.g., an interface circuit).
- storage means such as a ROM (read only memory) and a RAM (random access memory) so as to control input means (e.g., a keyboard), output means (e.g., a display), or communication means (e.g., an interface circuit).
- storage means such as a ROM (read only memory) and a RAM (random access memory) so as to control input means (e.g., a keyboard), output means (e.g., a display), or communication means (e.g., an interface circuit).
- input means e.g., a keyboard
- output means e.g., a display
- communication means e.g., an interface circuit
- the storage medium may be a memory (not shown; e.g., a ROM) for performing a process on a microcomputer.
- the storage medium may be a storage medium which can be read by being inserted into a program reading device (not shown) serving as an external storage device.
- the stored program be arranged so as to be accessed and executed by a microprocessor. Furthermore, it is preferable that the program is read out and then downloaded into a program storage area of a microcomputer so as to be executed. Note that the download program is prestored in the PLC 2 (or GLC).
- the storage medium is arranged so as to be separated from the PLC 2 .
- a tape-type storage medium e.g., a magnetic tape or a cassette tape
- a disk-type storage medium e.g., a magnetic disk such a flexible disk or a hard disk or CD/MO/MD/DVD disk
- a card-type storage medium e.g., an IC card such as a memory card
- a semiconductor memory e.g., a mask ROM, an EPROM (erasable programmable read only memory), an EEPROM (electrically erasable programmable read only memory), and a flash ROM).
- the program medium be a storage medium which stores a program for downloading a program from a communication network.
- a download program be prestored in the PLC 2 (or GLC) or installed from another storage medium.
Abstract
The present invention includes: a control program storage section for storing a control program; a control section, executing a command in the control program, which controls a device; and an IF section for enabling connection to a network. The control program storage section is capable of storing, as a command in the control program, a computer control command for controlling a computer connected to the network. When the control program storage section stores a computer control command, the control section transmits through the IF section to the computer a command based on the computer control command.
Description
- This Nonprovisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No. 2004/189091 filed in Japan on Jun. 28, 2004, the entire contents of which are hereby incorporated by reference.
- The present invention relates to a programmable logic controller, a graphic logic controller, a control program creation device for creating a control program used therein, a program, and a storage medium.
- Conventionally, there has been known a programmable logic controller (hereinafter referred to as a PLC) which controls various devices. The PLC is a control device in which a control program can be written. The PLC follows the control program so as to control various devices, such as sensors, which are connected to the PLC.
- Further, the PLC is provided with a programmable indicator (graphic control panel or panel computer). The programmable indicator (hereinafter referred to as an indicator) indicates a state of the PLC. The indicator can also transmit, to the PLC, instructions for changing various set values concerning control of various devices.
- Moreover, in order to change the various set values, the indicator can display a setting image for enabling change of the various set values. More specifically, a user uses a personal computer (hereinafter referred to as a computer) to create setting image data in accordance with a device, and the data is downloaded to the indicator, so that the indicator can display the setting image.
- Incidentally, there has recently been known a control system which causes a computer to execute a predetermined process in response to input from a device into a PLC. An arrangement of such a control system is shown in
FIG. 7 . As shown inFIG. 7 , thecontrol system 90 includes adevice 91, aPLC 92, anindicator 93, and acomputer 94. Further, thePLC 92 includes acontrol device 92 a and astorage section 92 b. - In the
control system 90, as described above, thePLC 92 controls operation of thedevice 91. More particularly, thecontrol device 92 a executes a control program called a ladder program (a program created in a ladder-diagram programming language) stored in thestorage section 92 b, so that thePLC 92 controls operation of thedevice 91. Further, thecontrol device 92 a periodically monitors a state of thedevice 91. Moreover, when there is a change in a state of thedevice 91, information in accordance with the contents of the change is stored temporarily in thecontrol device 92 a. This means that when a state of thedevice 91 changes, a state of thecontrol device 92 a also changes. Note that a change in a state of thedevice 91 can be displayed in theindicator 93 through thePLC 92. - Meanwhile, the
computer 94 is provided in advance with a program (hereinafter referred to as a change detection program) for detecting a change in a state of thecontrol device 92 a. Moreover, thecomputer 94 executes the change detection program so as to detect a change in a state of thecontrol device 92 a. When thecomputer 94 detects a change in a state of thecontrol device 92 a, thecomputer 94 executes a predetermined process in accordance with the contents of the change. Note that, as the predetermined process, activation of an application program, retrieval of a file managed by the application program, and the like are exemplified. Note that when the predetermined process has been executed, a display screen image in accordance with the program is displayed in a display device (not shown) of thecomputer 94. - That is, the
control system 90 is arranged so that thecomputer 94 monitors a change in a state of thecontrol device 92 a so as to execute a predetermined program. - Further, the
control system 90 can be arranged as follows so as to cause a computer to execute a predetermined process in response to input from a device into a PLC. An arrangement of this control system is shown inFIG. 8 . Note that members having the same functions as those of thecontrol system 90 are given the same reference numerals, and explanations thereof are omitted here. - As shown in
FIG. 8 , thecontrol system 90′ includes adevice 91, aPLC 92, anindicator 93 and acomputer 94′. Thecomputer 94′ includes acontrol device 94 a. - The
control device 94 a acquires, from thePLC 92, information on the execution contents of a ladder program (control program). That is, in thecontrol system 90′, information on the same contents as an instruction given to thedevice 91 is sent from thePLC 92 to thecontrol device 94 a of thecomputer 94. - Further, the
computer 94′ is provided in advance with a change detection program for detecting a change in a state of thecontrol device 94 a. Moreover, thecomputer 94′ executes the change detection program so as to detect a change in a state of thecontrol device 94 a of thecomputer 94′. When thecomputer 94′ detects a change in a state of thecontrol device 94 a, thecomputer 94′ executes a predetermined process in accordance with the contents of the change. - That is, in the
control system 90′, thecomputer 94′ not only acquires from thePLC 92 the information on the execution contents but also monitors a change in thecontrol device 94 a so as to execute a predetermined process. - Further, Patent Document 1 (Japanese Patent Publication No. 2965407; registered on Aug. 13, 1999) discloses an arrangement, relating to the
control system 90, which, upon request from an indicator to a PLC, makes it possible to acquire, on the side of the indicator, information on a state of the PLC. Further, Patent Document 2 (Japanese Publication of Examined Application 19282/1994 (Tokukouhei 6-19282; published on Mar. 16, 1994) discloses an arrangement, relating to thecontrol system 90′, which matches a memory area of a PLC to that of an indicator. - However, according to the foregoing arrangement of the
control system 90, the change detection program for detecting a change in a state of thecontrol device 92 a of the PLC 92 needs to be stored in thecomputer 94. Further, according to the foregoing arrangement of thecontrol system 90′, thecomputer 94′ needs to be provided with thecontrol device 94 a, and the change detection program for detecting a change in a state of thecontrol device 94 a needs to be stored in thecomputer 94. Note that neither the arrangement ofPatent Document 1 nor that ofPatent Document 2 is free from the same problems. - The present invention has been completed in consideration of the foregoing problems and has as an object to provide a programmable logic controller, a graphic logic controller, a control program creation device, a program, and a storage medium all of which enables a computer to execute a predetermined process by simply creating a control program.
- In order to solve the foregoing problems, a programmable logic controller according to the present invention is a programmable logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- According to the foregoing arrangement, the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network. Further, the control section can be used to transmit through the communication section to the terminal a command based on the command in the control program.
- Therefore, it is possible to control the terminal based on the command in the control program.
- This brings about an effect of making it possible to control the terminal from the programmable logic controller by simply creating a control program. Further, this eliminates the need for monitoring the programmable logic controller from the side of the terminal when the terminal is controlled.
- Further, in order to solve the foregoing problems, a graphic logic controller according to the present invention is a graphic logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; a display section for showing a state of the device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- According to the foregoing arrangement, the graphic logic controller includes the members of the programmable logic controller.
- Therefore, the graphic logic controller brings about an effect of obtaining the same effect as the programmable logic controller.
- Further, in order to solve the foregoing problems, a control program creation device according to the present invention is a control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network, the control program creation device including a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- According to the foregoing arrangement, the command creation section can be used to create, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- Therefore, the terminal control command is stored, as a command in the control program, in the programmable logic controller or the graphic logic controller, and this brings about an effect of making it possible to control the terminal from the programmable logic controller or the graphic logic controller.
- In order to solve the foregoing problems, a program according to the present invention allows a computer to function as the control section of the programmable logic controller.
- Loading of the program into a computer brings about an effect of making it possible to provide the programmable logic controller.
- In order to solve the foregoing problems, a program according to the present invention allows a computer to function as the control section of the graphic logic controller.
- Loading of the program into a computer brings about an effect of making it possible to provide the graphic logic controller.
- In order to solve the foregoing problems, a program according to the present invention allows a computer to function as the command creation section of the control program creation device.
- Loading of the program into a computer brings about an effect of making it possible to provide the control program creation device.
- In order to solve the foregoing problems, a storage medium according to the present invention stores any one of the programs.
- Loading into a computer the program stored in the storage medium brings about an effect of making it possible to provide the programmable logic controller, the graphic logic controller, or the control program creation device.
- For a fuller understanding of the nature and advantages of the invention, reference should be made to the ensuing detailed description taken in conjunction with the accompanying drawings.
-
FIG. 1 is a diagram showing a schematic arrangement of a control system according to an embodiment of the present invention. -
FIG. 2 is a ladder diagram concerning a ladder program stored in a PLC. -
FIG. 3 is a diagram showing a specific arrangement of a command indicated by a ladder symbol Iε. -
FIG. 4 is a diagram showing, by another description method, the command indicated by the ladder symbol Iε. -
FIG. 5 is a functional block diagram of a control program creation device. -
FIG. 6 is a diagram showing a schematic arrangement of a graphic logic controller. -
FIG. 7 is a diagram showing an example arrangement of a conventional control system. -
FIG. 8 is a diagram showing an example arrangement of another conventional control system. - One embodiment of the present invention will be described below with reference to FIGS. 1 to 6.
-
FIG. 1 shows a schematic arrangement of acontrol system 1 according to one embodiment of the present invention. As shown inFIG. 1 , thecontrol system 1 includes a PLC (programmable logic controller) 2, atarget system 3, an indicator (programmable indicator) 4, and a computer (terminal) 5. - The
PLC 2 includes anIF section 21, an IF section (communication section) 22, astorage section 23, and acontrol section 24. Further, thestorage section 23 includes a devicestate storage section 61, a controlprogram storage section 62, a computer controlcommand storage section 63, and a transmission permissioninformation storage section 64. Furthermore, thecontrol section 24 includes a devicestate acquisition section 71, a controlprogram execution section 72, a devicestate reference section 73, adevice control section 74, and acomputer control section 75. Furthermore, the controlprogram execution section 72 includes acommand separation section 72 a. Note that the controlprogram storage section 62 corresponds to the storage section as set forth in claims. - Note that the members (24, 72, 72 a, 73, 74, and 75) are functional blocks which are achieved when a CPU executes a program stored in a storage device such as the
storage section 23 so as to control a peripheral circuitry (not shown) such as an I/O (input/output) circuitry. Operation of the functional blocks will be described later. - The
target system 3 is a target to be controlled by thePLC 2 and includes at least onedevice 3 a. Moreover, thedevice 3 a is communicably connected to theIF section 21 of thePLC 2. - The
indicator 4 indicates a state of thePLC 2. Theindicator 4 can also transmit, to thePLC 2, instructions for changing various set values concerning control of thedevice 3 a. Moreover, in order to change the various set values, theindicator 4 can display a setting image for changing the various set values. Further, theindicator 4 is communicably connected to thecontrol section 24 of thePLC 2 through theIF section 22 of thePLC 2. - The
computer 5 includes anIF section 51, astorage section 52, acontrol section 53, and anindicator 54. Further, thecomputer 5 is communicably connected through theIF section 51 to theIF section 22 of thePLC 2 over a network. Further, thestorage section 52 includes a communicationprogram storage section 52 a and a control targetprogram storage section 52 b. Furthermore, thestorage section 52 stores an operating system (OS). As the operating system, for example, a Windows (trademark) system can be used. - Note that the members (53 and 54) are functional blocks which are achieved when a CPU executes a program stored in a storage device such as the
storage section 52 so as to control a peripheral circuitry (not shown) such as an I/O circuitry. Operation of the functional blocks will be described later. Note that, as thecomputer 5, for example, a personal computer and the like are exemplified. - In the following, each of the functional blocks of the
PLC 2 will be described. - The
IF section 21 is an interface designed to perform communication with thedevice 3 a of thetarget system 3. Further, theIF section 21 is connected to the devicestate acquisition section 71 and thedevice control section 74 of thecontrol section 24. - The
IF section 22 is an interface designed to perform communication with theindicator 4 and thecomputer 5. Further, theIF section 22 is connected to thecontrol section 24. Note inFIG. 1 that, for the sake of convenience in description, theIF section 22 is connected to thecomputer control section 75 of thecontrol section 24. - The device
state storage section 61 is a storage area which stores information concerning a state of thedevice 3 a. Further, as the information concerning a state of thedevice 3 a, for example, information which indicates a state of a device and information which indicates a state of a device serving as a control target (i.e., a state of a control target) are exemplified. - The control
program storage section 62 is a storage area which prestores a program (hereinafter referred to as a control program) for controlling thedevice 3 a and thecomputer 5. Further, the control program includes a command (hereinafter referred to as a device control command) for changing a state of thedevice 3 a and a command (hereinafter referred to as a computer control command) for controlling thecomputer 5. - The computer control command includes at least an operation code (operator) indicating the command and an operand corresponding to a command (hereinafter referred to as a computer transmission command) which is actually transmitted to the
computer 5. Further, the computer control command may include another operand. Note that the computer transmission command corresponds to a command based on the terminal control command as set forth in claims. - The computer control
command storage section 63 is a storage area for temporarily storing the computer control command. - The transmission permission
information storage section 64 is a storage area which stores information on whether or not thecomputer control section 75 is permitted to transmit the computer transmission command to thecomputer 5. In a default state, the transmission permissioninformation storage section 64 stores information which permits transmission of the computer transmission command. - The device
state acquisition section 71 periodically acquires, through theIF section 21, information on a state of thedevice 3 a (the information is hereinafter referred to as state information). Furthermore, the devicestate acquisition section 71 stores the acquired state information in the devicestate storage section 61. In this way, the state information is stored in the devicestate storage section 61. Further, when the devicestate acquisition section 71 causes the devicestate storage section 61 to store the state information, the devicestate acquisition section 71 sends, to the controlprogram execution section 72, notification (e.g., a signal telling) that the state information has been stored in the devicestate storage section 61. - When the control
program execution section 72 receives the signal from the devicestate acquisition section 71, the controlprogram execution section 72 reads out a control program from the controlprogram storage section 62. Moreover, the controlprogram execution section 72 executes the control program read out. - Incidentally, when the control program is executed, state information on the
predetermined device 3 a may be needed in the process of execution. In this case, the controlprogram execution section 72 sends a predetermined signal to the devicestate reference section 73. When the devicestate reference section 73 receives the predetermined signal from the controlprogram execution section 72, the devicestate reference section 73 accesses the devicestate storage section 61 so as to acquire state information on thepredetermined device 3 a. Moreover, the devicestate reference section 73 sends the state information to the controlprogram execution section 72. This enables the controlprogram execution section 72 to acquire state information on thepredetermined device 3 a. - Further, the control program contains the device control command and the computer control command. Accordingly, the
command separation section 72 a separates, sequentially into a device control command and a computer control command, a command obtained in the process of execution. - When a device control command is obtained as a result of separation by the
command separation section 72 a, the controlprogram execution section 72 sends the device control command to thedevice control section 74. When thedevice control section 74 receives the device control command from the controlprogram execution section 72, thedevice control section 74 rewrites device state information stored in the device stateinformation storage section 61 so that the device state information matches the contents indicated by the device control command. - Meanwhile, when a computer control command is obtained as a result of separation by the
command separation section 72 a, the controlprogram execution section 72 causes the computer control command storage section 60 to temporarily store the obtained computer control command. - Further, when execution of a predetermined number of times of control programs is completed, the control
program execution section 72 sends a predetermined signal to thedevice control section 74 and thecomputer control section 75. - When the
device control section 74 receives the predetermined signal from the controlprogram execution section 72, thedevice control section 74 reads out device state information from the devicestate storage section 61. Moreover, thedevice control section 74 transmits a command to thedevice 3 a through theIF section 21 so that thedevice 3 a matches a state indicated by the state information read out. This changes a state of thedevice 3 a. - Further, when the
computer control section 75 receives the predetermined signal from the controlprogram execution section 72, thecomputer control section 75 acquires a computer control command from the computer controlcommand storage section 63. Furthermore, thecomputer control section 75 interprets (translates) the computer control command so as to acquire the computer transmission command. Further, thecomputer control section 75 accesses the transmission permissioninformation storage section 64 so as to determine whether or not the transmission permissioninformation storage section 64 stores information which permits transmission of the computer transmission command. When thecomputer control section 75 determines that the transmission permissioninformation storage section 64 stores information which permits transmission of the computer transmission command, thecomputer control section 75 transmits the computer transmission command through theIF section 22 to thecomputer 5. Furthermore, when transmission of the computer transmission command is completed, thecomputer control section 75 converts information, stored in the transmission permissioninformation storage section 64, which permits transmission of the computer transmission command, once into information which prohibits transmission of the computer transmission command. Note that an arrangement in which the prohibition information is converted again into the permission information will be described later. - In the following, operation of each of the functional blocks of the
computer 5 will be described. - The
IF section 51 is an interface designed to perform communication with thePLC 2 and theindicator 4. Further, theIF section 51 is connected to thecontrol section 53. - The communication
program storage section 52 a is a storage area which prestores a program for performing communication with thePLC 2. Further, the control targetprogram storage section 52 b is a storage area which prestores software programs (control target programs and application programs) such as a document creation software program, a spreadsheet software program, and a WWW browser (World Wide Web browser). Note that the WWW browser is a software program which retrieves a WWW server and displays an HTML file. That is, the WWW browser is a software program for browsing a WWW page on the Internet. Note that a software program stored in the control targetprogram storage section 52 b is not limited to those described above. Further, in the following description, it is assumed that thecomputer 5 is connected to the Internet. - Further, an operating system to be stored in the
storage section 52 b only needs to be an operating system which can receive a computer transmission command transmitted from the PLC2 so as to execute the computer transmission command. - The
control section 53 first reads out a communication program from the communicationprogram storage section 52 a and executes the communication program so as to communicably connect thecomputer 5 to thePLC 2. Note that reading out and execution of the communication program are processed through input from a control section (not shown) of thecomputer 5. Note that further specific operation of thecontrol section 53 will be described later in a First Example and a Second Example. - Moreover, when the
control section 53 receives a computer transmission command from thePLC 2 through theIF section 51, thecontrol section 53 reads out a control target program so as to execute a process in accordance with the acquired computer transmission command. When the executed process can be displayed on a screen, thecontrol section 53 causes thedisplay section 54 to show a result of the execution. - As described above, the
PLC 2 according to the present embodiment includes: the control program storage section (storage section) 62 for controlling a control program; thecontrol section 24, executing a command in the control program, which controls thedevice 3 a; and the IF section (communication section) 22 for enabling connection with a network, wherein: the controlprogram storage section 62 is capable of storing, as the command in the control program, a computer control command (terminal control command) for controlling the computer (terminal) 5 connected to the network, and when the control program storage section stores the computer control command, thecontrol section 24 transmits through theIF section 22 to the computer 5 a computer transmission command (command based on the computer control command). - According to the foregoing arrangement, the control
program storage section 62 is capable of storing, as the command in the control program, a computer control command for controlling thecomputer 5 connected to the network. Further, it is possible to use thecontrol section 24 to transmit a computer transmission command through theIF section 22 to thecomputer 5. - Therefore, it is possible to control the
computer 5 based on the command in the control program. This brings about an effect of making it possible to control thecomputer 5 from thePLC 2 by simply creating a control program. Further, this eliminates the need for monitoring thePLC 2 from the side of thecomputer 5 when thecomputer 5 is controlled. - Further, the
PLC 2 includes thecommand separation 72 a for separating a computer control command from the command in the control program. - According to the foregoing arrangement, the
command separation 72 a can be used to separate a computer control command from the command in the control program. - Therefore, this brings about an effect of making it possible to transmit to the
computer 5 only a computer transmission command (command based on the computer control command). - Further, the
control system 1 is arranged so that thesingle computer 5 is connected to thePLC 2, but thecontrol system 1 is not so limited. Thecontrol system 1 may be arranged so that a plurality of computers, each of which is thecomputer 5, are connected to thePLC 2. - In case of this arrangement, it is only necessary to allow the control program to contain, in addition to the computer control command, identification information for identifying the
computer 5 serving as a control target. Further, in this case, an arrangement only needs to be such that thecomputer control section 75 transmits a computer transmission command to thecomputer 5 indicated by the identification information. This makes it possible to transmit a predetermined computer transmission command to thepredetermined computer 5. - In the following, a specific example of the computer control command and an example arrangement of a control program containing the computer control command will be described with reference to the First and Second Examples.
- In the present Example, a case will be described in which a control target program stored in a control target
program storage section 52 a is activated upon an instruction from aPLC 2. That is, a case will be described in which an operating system of acomputer 5 is instructed to activate the control target program. - Further, for the sake of convenience in description, a ladder program will be described as an example of a control program stored in a control
program storage section 62 of thePLC 2. Furthermore, in the following description, a case will be described for example in which a plurality of computers, each of which is thecomputer 5, are connected to thePLC 2. -
FIG. 2 shows one example of a ladder diagram concerning a ladder program according to the present Example. As shown inFIG. 2 , the ladder diagram includes a left generating line (La) and a right generating line (Lb). The left and right generating lines are connected by one or more networks (L1 and L2). The networks L1 and L2 include ladder symbols (Iα, Iβ, Iγ, Iδ, and Iε) and their related labels. The ladder symbols serve as functional blocks, such as a contact point, a coil, and a counter, which are represented by figures and other forms. In this way, the ladder diagram illustrates a control procedure according to types of the ladder symbols disposed therein and a way in which the generating lines, the networks, and the ladder symbols are connected to one another. - Moreover, in
FIG. 2 , the ladder symbol Iα, which indicates a load connected to the generating line La, is connected to the generating line Lb through the ladder symbol Iβ, which indicates an AND, the ladder symbol Iγ, which indicates an increment. Further, the ladder symbol Iδ, which indicates a trigger connected to the generating line La, is connected to the generating line Lb through the ladder symbol Iε, which indicates activation of a control target program. When a first contact point corresponding to the ladder symbol Iα and a second contact point corresponding to the ladder symbol Iβ are both turned on, a numeric value of the counter is incremented. Further, a contact point corresponding to the ladder symbol Iδ is turned on when a predetermined event occurs, so that thepredetermined computer 5 is notified of an activation command concerning the predetermined control program. - Moreover, when the
predetermined computer 5 receives the activation command, thecomputer 5 follows the activation command so as to activate the predetermined program. This allows a command contained in a ladder program to activate a program of thecomputer 5. - In the following, a specific arrangement of a command indicated by the ladder symbol Iε will be described with reference to
FIG. 3 . As shown inFIG. 3 , the command (i.e., a computer control command) indicated by the ladder symbol Iε contains one operation code and three operands. The operation code is “PC_FORK”, and the operands are “D50”, “Activation Target Program Name”, and “Activation Option”. - “D50” is an operand indicative of a leading address, concerning information on the
computer 5 serving as a control target, which is located in astorage section 23. Further, “Activation Target Program Name” is an operand which indicates the name of a program serving as an activation target. For example, when a spreadsheet software program is an activation target, the name of the software program is shown as a character string in a column of “Activation Target Program Name”. Note that the same applies also when a WWW browser is an activation target. “Activation Option” is an operand which indicates, as a character string, the name of a file in case of a spreadsheet software program or the name of a URL (uniform resource locator) in case of a WWW browser. Note that “Activation Option” is an option setting item, and when there is no need to open a predetermined file (i.e., when only a program is activated), a column of “Activation Option” may be left blank. - “PC_FORK” is an operation code, predefined in the
PLC 2, which activates that predetermined program in a predetermined computer which is identified by the three operands. Specifically, “PC_FORK” is an operation code which, based on the three operands, sets a predetermined program activation command (i.e., a computer transmission command) for a predetermined computer and notifies the computer of the command. - Therefore, by transmitting to the predetermined computer 5 a program activation command (computer transmission command) interpreted (translated) by the
PLC 2 from a command indicated by the ladder symbol Iε, it is possible at least to activate a predetermined program in thecomputer 5. - Further, in the foregoing, the name of a software program is described directly in an operand called “Activation Target Program Name”. However, the present invention is not necessarily so limited. Further, although the name of a file is described directly in an operand called “Activation Option”, this is not for the purpose of limitation. For example, as shown in
FIG. 4 , the operands of “Activation Target Program Name” and “Activation Option” may be described indirectly. Note thatFIG. 4 is a diagram showing, by another description method, the command indicated by the ladder symbol Iε. -
FIG. 4 describes a leading address (D100) and an address score (40) (i.e., information which indicates how many addresses there are). The leading address D100, serving as “Activation Target Program Name”, is located in thestorage section 23 which stores the name of a program to be activated. That is,FIG. 4 shows, instead of the name of a program serving as an activation target, a storage area (from address 100 to address 139) which stores the name of the program serving as an activation target. Further,FIG. 4 describes a leading address (D300) and an address score (40). The first address D300, serving as “Activation Option”, is located in thestorage section 23 which stores the name of a predetermined file or the name of a URL. - Also with such description, the same effect can be obtained as in the case where the name of the software program and the like are described directly in the operands of “Activation Target Program Name” and “Activation Option”. Note that, the operands only need to have information (flags) to determine whether the command indicated by the ladder symbol Iε is described directly or indirectly as described above.
- Note in the foregoing that the operands of “Activation Target Program Name” and “Activation Option” correspond to “message data which instructs execution of the predetermined program” as set forth in claims.
- As described above, the
PLC 2 is arranged so that: the computer control command contains an operand which indicates a program to be activated in thecomputer 5, and when thecontrol section 24 receives an instruction to execute the computer control command, thecontrol section 24 instructs thecomputer 5 to activate the program indicated by the operand of the command. - Further, the following arrangement is also possible. First, a user registers in the computer 5 a predetermined name of a combination of a command for activating a program and a command for specifying an option at the time of activating the program. Meanwhile, the
PLC 2 is arranged so that the predetermined name is transmitted as a computer transmission command to thecomputer 5. Further, in such an arrangement, thecomputer 5 is arranged so that when thecomputer 5 receives the predetermined name from thePLC 2, thecomputer 5 determines by the name a command for activating a program and a command for specifying an option at the time of activating the program and activates the program in accordance with the commands. Also with this arrangement, it is possible to activate from the PLC 2 a predetermined program of thecomputer 5. Further, by shortening the data length of the predetermined name, the predetermined name can be transmitted to a terminal in a shorter period of time. - In the present embodiment, a case will be described in which a control target program stored in a control target
program storage section 52 b is operated upon an instruction from a PLC 2 (under such conditions that the control target program is activated). That is, a case will be described in which a control target program in acomputer 5 is instructed to operate. Further, a ladder program is described as an example of a control program stored in a controlprogram storage section 62. - First, a
control section 53 of thecomputer 5 gives a name to information on a destination of a computer transmission command. The information (hereinafter referred to as the information on the destination) contains a window handle concerning the control target program, a function address of a callback destination, and the like. Then, the information on the destination is stored in thecontrol section 52. Note that the window handle is a number used to refer to a window in which the control target program is open. - Further, an API (application program interface) provided in an operating system can be used to store the destination information. Note that the API is a configuration for using various functions of an operating system from an application program. In other words, it is a configuration for calling up various functions prepared by the operating system.
- As described above, the
computer 5 stores the information on the destination of the computer transmission command, so that the name can be coordinated with the information on the destination of the computer transmission command. Therefore, thecomputer 5 can identify, according to the name, the information on the destination of the computer transmission command. - Accordingly, when the
PLC 2 is arranged so as to transmit to thecomputer 5 the name and the computer transmission command, it becomes possible to instruct the control target program to operate. That is, the name is used also in thePLC 2. In this case, it is only necessary to describe a computer control program in a command indicated by a ladder symbol (e.g., Iε) so that when the command is interpreted in thePLC 2, the name and the computer transmission command can be set and sent to thecomputer 5. - The foregoing arrangement of the
control system 1 allows, in thecomputer 5, file operation of a control target program (opening and closing of a file, enlarging and reducing of a window size, and the like) and image display based on a new URL (i.e., display image switching). - As described above, the
PLC 2 is arranged so that: the computer control command contains an operand which indicates a file to be read out in thecomputer 5, and when thecontrol section 24 receives an instruction to execute the computer control command, thecontrol section 24 instructs thecomputer 5 to read out the file indicated by the operand of the command. Further, thePLC 2 is also arranged so that: the computer control command includes an operand which indicates a display image to be changed in thecomputer 5, and when thecontrol section 24 receives an instruction to execute the computer control command, thecontrol section 24 instructs thecomputer 5 to change the display image indicated by the operand of the command. - Incidentally, in the foregoing, communications from the
PLC 2 to thecomputer 5 in thecontrol system 1 are described including the First and Second Examples. In the following, communications from thecomputer 5 to thePLC 2 in thecontrol system 1 will be described. - After the
PLC 2 transmits the computer transmission command to thecomputer 5 and thecomputer 5 executes a process based on the computer transmission command received from thePLC 2, thecontrol section 53 of thecomputer 5 transmits, through theIF section 51 to thePLC 2, notification that the process based on the command is completed (hereinafter, the notification is referred to as process completion notification). When thePLC 2 receives the process completion notification, acomputer control section 75 of thePLC 2 rewrites information, stored in a transmission permissioninformation storage section 64, which prohibits transmission of the computer transmission command, into information which permits transmission of the computer transmission command. This enables thePLC 2 to transmit the computer transmission command to thecomputer 5. - Further, with the foregoing arrangement, the
PLC 2 cannot transmit the computer transmission command to thecomputer 5 until thePLC 2 receives the process completion notification from thecomputer 5. This eliminates such a problem that a new computer transmission command is sent to thecomputer 5 before the process of execution of the command is completed. That is, it is possible in thecomputer 5 to prevent plural processes based on the computer transmission command from being executed. Especially, because there is a time difference between a period during which thePLC 2 acquires device information and time required in executing a process based on the computer transmission command, the foregoing arrangement is effective. - Incidentally, the
control system 1 may be arranged so as to include a control program creation device for creating the control program. As shown inFIG. 5 , the controlprogram creation device 81 includes aprogram creation section 82 and an IF section (communication section) 83. Furthermore, theprogram creation section 82 includes acommand creation section 82 a. - The
program creation section 82 receives a predetermined operation from a user so as to create a control program used in thePLC 2. Further, thecommand creation section 82 a creates, as a command in the control program, the computer control command for controlling thecomputer 5. - The
IF section 83 is an interface for enabling communication with thePLC 2 and transmits to the PLC 2 a control program which contains the computer control command. - Note that the control
program creation device 81 may be arranged so as to be connected directly to thePLC 2 through theIF section 83 or may be arranged so as to be connected indirectly to thePLC 2 through theIF section 83 and theindicator 4. At least, an arrangement only needs to be such that the control program created in the controlprogram creation section 81 can be transmitted to thePLC 2 and the transmitted control program can be executed in thePLC 2. - Thus, the control
program creation device 81 is a control program creation device creating a control program used in thePLC 2 which includes the IF section (communication section) 83 for enabling connection to a network, the control program creation device including thecommand creation section 82 a for creating, as a command in the control program, a computer control command (terminal control command) for controlling the computer (terminal) 5 connected to the network. - According to the foregoing arrangement, the
command creation section 82 a can be used to create, as a command in the control program, a computer control command for controlling thecomputer 5 connected to the network. - Therefore, by allowing the
PLC 2 to store the computer control command as a command in the control program, it becomes possible to control thecomputer 5 from thePLC 2. - Further, the control
program creation device 81 is arranged so that thePLC 2 instructs activation of a program of thecomputer 5. In this arrangement, thecommand creation section 82 a of theprogram creation section 82 can receive input for identifying the program to be activated in thecomputer 5, and upon receipt of the input, thecommand creation section 82 a creates a computer control command that contains an operand indicating activation of the program. - Furthermore, the control
program creation device 81 is arranged so that thePLC 2 instructs reading out of a file of thecomputer 5. In this arrangement, thecommand creation section 82 a of theprogram creation section 82 can receive input for identifying the file to be read out in thecomputer 5, and upon receipt of the input, thecommand creation section 82 a creates a computer control command that contains an operand indicating reading out of the file. - Further, the control
program creation device 81 is arranged so that thePLC 2 instructs change of a display image of thecomputer 5. In this arrangement, thecommand creation section 82 a of theprogram creation section 82 can receive input for identifying the display image to be changed in thecomputer 5, and upon receipt of the input, thecommand creation section 82 a creates a computer control command that contains an operand indicating change of the display image. - Incidentally, there is also known an indicator arranged so as to have a function of a PLC. Such an indicator having a function of a PLC is called a GLC (graphic logic controller). As shown in
FIG. 6 , the GLC includes: astorage section 23′ for storing a control program; acontrol section 24′, executing a command in the control program, which control a device; adisplay section 25 for showing a state of the device: an IF section (communication section) 22′ for enabling connection to a network; and anIF section 21′ for enabling communication with a target system device. Therefore, the GLC may be used instead of thePLC 2 and theindicator 4 of thecontrol system 1. - Further, in the foregoing, a “Windows (trademark) system is exemplified as an operating system of the
computer 5. However, this is not the purpose of limitation. That is, an operating system only needs to receive from outside a command of a predetermined format so as to execute a process based on the command. - Further, in each of the foregoing Examples, a case in which a control program is activated upon an instruction from the
PLC 2 is described separately from a case in which the control program is operated upon an instruction from thePLC 2. However, this is not for the purpose of limitation. For example, an arrangement may be such that the control program is both activated (activation of an application program) and operated (reading out of a file managed by the application program, and change of a display image in the computer 5). Furthermore, an arrangement may be such that a plurality of operations of the control program (reading out of the file and change of the display screen image) are executed. - As described above, a programmable logic controller according to the present invention is a programmable logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- Further, it is preferable that the programmable logic controller further include a command separation section for separating the terminal control command from the command in the control program.
- According to the foregoing arrangement, the command separation section can be used to separate the terminal control command from the command in the control program.
- This brings about an effect of making it possible to transmit to the terminal only the command based on the terminal control command.
- Further, it is preferable that the programmable logic controller be arranged so that the command based on the terminal control command is a command for executing a predetermined program stored in the terminal.
- According to the foregoing arrangement, the command based on the terminal control command is a command for executing a predetermined program stored in the terminal.
- This brings about an effect of making it possible to execute the predetermined program in the terminal.
- Further, it is preferable that the programmable logic controller according to the present invention be arranged so that: the terminal stores a predetermined name corresponding to message data which instructs execution of the predetermined program; and the control section transmits the predetermined name as the command based on the terminal control command.
- According to the foregoing arrangement, the terminal stores a predetermined name corresponding to message data which instructs execution of the predetermined program. Further, the control section transmits the predetermined name as the command based on the terminal control command.
- Therefore, by transmitting the predetermined name, the terminal can be controlled. Furthermore, by causing the data length of the predetermined name to be shorter than that of the message data, the predetermined name can be transmitted to the terminal in a shorter period of time.
- Further, it is preferable that the programmable logic controller according to the present invention be arranged so that the execution of the predetermined program includes at least one of activation of an application program, retrieval of a file managed by the application program, and change of a display screen image in the terminal.
- According to the foregoing arrangement, the execution of the predetermined program includes at least one of (i) activation of an application program, (ii) reading out of a file managed by the application program, and (iii) change of a display image in the terminal.
- Therefore, when the execution of the predetermined program includes activation of an application program, the programmable logic controller can be used to activate the application program in the terminal. Further, when the execution of the predetermined program includes reading out of a file managed by the application program, the programmable logic controller can be used to read out the file managed by the application program in the terminal. Furthermore, when the execution of the predetermined program includes change of a display image in the terminal, the programmable logic controller can be used to change the display image in the terminal.
- Further, it is preferable that the programmable logic controller according to the present invention be arranged so that the control program contains identification information for identifying the terminal in accordance with the terminal control command.
- According to the foregoing arrangement, the control program contains identification information for identifying the terminal in accordance with the terminal control command. That is, each terminal control command is provided with identification information for identifying a terminal.
- Therefore, the programmable logic controller, based on the identification information, identifies a destination of a command based on the terminal control command. This brings about an effect of making it possible to transmit to a predetermined terminal a command based on a predetermined terminal control command.
- Further, it is preferable that the programmable logic controller be arranged so that the terminal control command includes an operation code and an operand, and the control section transmits, as a command based on the terminal control command, a command corresponding to the operand.
- Further, as described above, a graphic logic controller according to the present invention is a graphic logic controller including: a storage section for storing a control program; a control section, executing a command in the control program, which controls a device; a display section for showing a state of the device; and a communication section for enabling connection to a network, wherein: the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the command in the control program.
- Further, a control program creation device is a control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network, the control program creation device including a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- According to the foregoing arrangement, the command creation section can be used to create, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
- Therefore, by allowing the programmable logic controller or the graphic logic controller to store the terminal control command as a command in the control program, the programmable logic controller or the graphic logic controller can be used to control the terminal.
- As described above, a program according to the present invention allows a computer to function as the control section of the programmable logic controller.
- As described above, a program according to the present invention allows a computer to function as the control section of the graphic logic controller.
- As described above, a program according to the present invention allows a computer to function as the command creation section of the control program creation device.
- As described above, a storage medium according to the present invention stores any one of the programs.
- Further, according to the present invention, a programmable logic controller or a graphic logic controller can be used to control a terminal connected to a network. Therefore, the present invention can be applied to a control system including these controllers and the terminal.
- The present invention is not to be limited to the foregoing embodiments and varied in many ways within the scope of the claims. That is, also embodiments obtained by combining the technical means respectively disclosed in different embodiments are included in the technical scope of the present invention.
- Operating means such as a CPU executes a program stored in storage means such as a ROM (read only memory) and a RAM (random access memory) so as to control input means (e.g., a keyboard), output means (e.g., a display), or communication means (e.g., an interface circuit). In this way, the members and processes of the foregoing
embodiment PLC 2 are achieved and executed. Therefore, various functions and processes of the present embodiment PLC2 can be achieved by simply causing a computer having these means to read and execute the program stored in a storage medium. Further, by storing the program in a removable storage medium, the various functions and processes can be achieved on any computer. - The storage medium may be a memory (not shown; e.g., a ROM) for performing a process on a microcomputer. Alternatively, the storage medium may be a storage medium which can be read by being inserted into a program reading device (not shown) serving as an external storage device.
- Further, in either case, it is preferable that the stored program be arranged so as to be accessed and executed by a microprocessor. Furthermore, it is preferable that the program is read out and then downloaded into a program storage area of a microcomputer so as to be executed. Note that the download program is prestored in the PLC 2 (or GLC).
- Further, the storage medium is arranged so as to be separated from the
PLC 2. Exemplified as the storage medium are a tape-type storage medium (e.g., a magnetic tape or a cassette tape), a disk-type storage medium (e.g., a magnetic disk such a flexible disk or a hard disk or CD/MO/MD/DVD disk), a card-type storage medium (e.g., an IC card such as a memory card), or a semiconductor memory (e.g., a mask ROM, an EPROM (erasable programmable read only memory), an EEPROM (electrically erasable programmable read only memory), and a flash ROM). - Further, when the system is arranged so as to be connected to a communication network including the Internet, it is preferable that the program medium be a storage medium which stores a program for downloading a program from a communication network.
- Furthermore, when a program is downloaded from a communication network, it is preferable that a download program be prestored in the PLC 2 (or GLC) or installed from another storage medium.
- The invention being thus described, it will be obvious that the same way may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.
Claims (19)
1. A programmable logic controller, comprising:
a storage section for storing a control program;
a control section, executing a command in the control program, which controls a device; and
a communication section for enabling connection to a network, wherein:
the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and
when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the terminal control command.
2. The programmable logic controller according to claim 1 , further comprising a command separation section for separating the terminal control command from the command in the control program.
3. The programmable logic controller according to claim 1 , wherein the command based on the terminal control command is a command for executing a predetermined program stored in the terminal.
4. The programmable logic controller according to claim 2 , wherein the command based on the terminal control command is a command for executing a predetermined program stored in the terminal.
5. The programmable logic controller according to claim 3 , wherein:
the terminal stores a predetermined name corresponding to message data which instructs execution of the predetermined program, and
the control section transmits the predetermined name as the command based on the terminal control command.
6. The programmable logic controller according to claim 4 , wherein:
the terminal stores a predetermined name corresponding to message data which instructs execution of the predetermined program, and
the control section transmits the predetermined name as the command based on the terminal control command.
7. The programmable logic controller according to claim 3 , wherein the execution of the predetermined program includes at least one of (i) activation of an application program, (ii) reading out of a file managed by the application program, and (iii) change of a display screen image in the terminal.
8. The programmable logic controller according to claim 4 , wherein the execution of the predetermined program includes at least one of (i) activation of an application program, (ii) reading out of a file managed by the application program, and (iii) change of a display screen image in the terminal.
9. The programmable logic controller according to claim 5 , wherein the execution of the predetermined program includes at least one of (i) activation of an application program, (ii) reading out of a file managed by the application program, and (iii) change of a display screen image in the terminal.
10. The programmable logic controller according to claim 6 , wherein the execution of the predetermined program includes at least one of (i) activation of an application program, (ii) reading out of a file managed by the application program, and (iii) change of a display screen image in the terminal.
11. The programmable logic controller according to claim 2 , wherein the control program contains identification information for identifying the terminal in accordance with the terminal control command.
12. A graphic logic controller, comprising:
a storage section for storing a control program;
a control section, executing a command in the control program, which controls a device;
a display section for showing a state of the device; and
a communication section for enabling connection to a network, wherein:
the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and
when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the terminal control command.
13. A control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network,
the control program creation device comprising a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
14. A program, causing a computer to function as a control section of a programmable logic controller which includes:
a storage section for storing a control program;
the control section, executing a command in the control program, which controls a device; and
a communication section for enabling connection to a network, wherein:
the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and
when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the terminal control command.
15. A program, causing a computer to function as a control section of a graphic logic controller which includes:
a storage section for storing a control program;
the control section, executing a command in the control program, which controls a device;
a display section for showing a state of the device; and
a communication section for enabling connection to a network, wherein:
the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and
when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the terminal control command.
16. A program, causing a computer to function as a command creation section of a control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network, wherein
the control program creation device includes a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
17. A storage medium, storing a program causing a computer to function as a control section of a programmable logic controller which includes:
a storage section for storing a control program;
the control section, executing a command in the control program, which controls a device; and
a communication section for enabling connection to a network, wherein:
the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and
when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the terminal control command.
18. A storage medium, storing a program causing a computer to function as a control section of a graphic logic controller which includes:
a storage section for storing a control program;
the control section, executing a command in the control program, which controls a device;
a display section for showing a state of the device; and
a communication section for enabling connection to a network, wherein:
the storage section is capable of storing, as the command in the control program, a terminal control command for controlling a terminal connected to the network, and
when the storage section stores the terminal control command, the control section transmits through the communication section to the terminal a command based on the terminal control command.
19. A storage medium, storing a program causing a computer to function as a command creation section of a control program creation device creating a control program used in a programmable logic controller or a graphic logic controller which includes a communication section for enabling connection to a network, wherein
the control program creation device includes a command creation section for creating, as a command in the control program, a terminal control command for controlling a terminal connected to the network.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004189091A JP2006011887A (en) | 2004-06-28 | 2004-06-28 | Programmable logic controller, graphic logic controller, control program creation apparatus, program, and recording medium |
JP2004-189091 | 2004-06-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
US20050288802A1 true US20050288802A1 (en) | 2005-12-29 |
Family
ID=35507076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/158,360 Abandoned US20050288802A1 (en) | 2004-06-28 | 2005-06-22 | Programmable logic controller, graphic logic controller, control program creation device, program, and storage medium |
Country Status (2)
Country | Link |
---|---|
US (1) | US20050288802A1 (en) |
JP (1) | JP2006011887A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080250391A1 (en) * | 2007-04-04 | 2008-10-09 | Ntt Docomo, Inc. | Communication terminal apparatus |
US7860614B1 (en) * | 2005-09-13 | 2010-12-28 | The United States Of America As Represented By The Secretary Of The Army | Trainer for robotic vehicle |
CN102091731A (en) * | 2010-11-30 | 2011-06-15 | 大连三高重工设备有限公司 | Hole shape regulating and controlling system of steel tube empty curving forming unit and control method thereof |
US20130096878A1 (en) * | 2010-06-24 | 2013-04-18 | Valtion Teknillinen Tutkimuskeskus | State inference in a heterogeneous system |
US20150227128A1 (en) * | 2013-12-26 | 2015-08-13 | Omron Corporation | Control device and communication control method |
US10459415B2 (en) * | 2015-09-14 | 2019-10-29 | Mitsubishi Electric Corporation | Control program automatic creation system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6443190B2 (en) * | 2015-04-06 | 2018-12-26 | オムロン株式会社 | Programmable logic controller, control method of programmable logic controller, and control program |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5805442A (en) * | 1996-05-30 | 1998-09-08 | Control Technology Corporation | Distributed interface architecture for programmable industrial control systems |
US6061603A (en) * | 1997-09-10 | 2000-05-09 | Schneider Automation Inc. | System for remotely accessing an industrial control system over a commercial communications network |
US6201996B1 (en) * | 1998-05-29 | 2001-03-13 | Control Technology Corporationa | Object-oriented programmable industrial controller with distributed interface architecture |
US20020040437A1 (en) * | 2000-09-29 | 2002-04-04 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor memory device internally provided with logic circuit which can be readily controlled and controlling method thereof |
US6518980B1 (en) * | 1999-11-19 | 2003-02-11 | Fanuc Robotics North America, Inc. | Method and system for allowing a programmable controller to communicate with a remote computer |
US6721607B2 (en) * | 2000-01-26 | 2004-04-13 | Schneider Electric Industries Sa | Programmable logic controller provided with communication functions in a client-server architecture |
US6788980B1 (en) * | 1999-06-11 | 2004-09-07 | Invensys Systems, Inc. | Methods and apparatus for control using control devices that provide a virtual machine environment and that communicate via an IP network |
US20050021156A1 (en) * | 2001-07-30 | 2005-01-27 | Rockwell Automation Technologies, Inc. | Method for consistent storage of data in an industrial controller |
US7062335B2 (en) * | 1998-12-30 | 2006-06-13 | Schneider Automation Inc. | Interface to a programmable logic controller |
US7080137B2 (en) * | 2000-02-21 | 2006-07-18 | Schneider Automation | Communication system between a programmable logic controller server and a client machine |
US20060190264A1 (en) * | 2005-02-22 | 2006-08-24 | International Business Machines Corporation | Verifying a user using speaker verification and a multimodal web-based interface |
US7114155B2 (en) * | 1996-01-17 | 2006-09-26 | Siemens Aktiengesellschaft | Programmable controller |
US7130704B2 (en) * | 2001-08-13 | 2006-10-31 | Rockwell Automation Technologies, Inc. | Industrial controller automation interface |
-
2004
- 2004-06-28 JP JP2004189091A patent/JP2006011887A/en active Pending
-
2005
- 2005-06-22 US US11/158,360 patent/US20050288802A1/en not_active Abandoned
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7114155B2 (en) * | 1996-01-17 | 2006-09-26 | Siemens Aktiengesellschaft | Programmable controller |
US5805442A (en) * | 1996-05-30 | 1998-09-08 | Control Technology Corporation | Distributed interface architecture for programmable industrial control systems |
US6061603A (en) * | 1997-09-10 | 2000-05-09 | Schneider Automation Inc. | System for remotely accessing an industrial control system over a commercial communications network |
US6201996B1 (en) * | 1998-05-29 | 2001-03-13 | Control Technology Corporationa | Object-oriented programmable industrial controller with distributed interface architecture |
US7062335B2 (en) * | 1998-12-30 | 2006-06-13 | Schneider Automation Inc. | Interface to a programmable logic controller |
US6788980B1 (en) * | 1999-06-11 | 2004-09-07 | Invensys Systems, Inc. | Methods and apparatus for control using control devices that provide a virtual machine environment and that communicate via an IP network |
US6518980B1 (en) * | 1999-11-19 | 2003-02-11 | Fanuc Robotics North America, Inc. | Method and system for allowing a programmable controller to communicate with a remote computer |
US6721607B2 (en) * | 2000-01-26 | 2004-04-13 | Schneider Electric Industries Sa | Programmable logic controller provided with communication functions in a client-server architecture |
US7080137B2 (en) * | 2000-02-21 | 2006-07-18 | Schneider Automation | Communication system between a programmable logic controller server and a client machine |
US20020040437A1 (en) * | 2000-09-29 | 2002-04-04 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor memory device internally provided with logic circuit which can be readily controlled and controlling method thereof |
US20050021156A1 (en) * | 2001-07-30 | 2005-01-27 | Rockwell Automation Technologies, Inc. | Method for consistent storage of data in an industrial controller |
US7130704B2 (en) * | 2001-08-13 | 2006-10-31 | Rockwell Automation Technologies, Inc. | Industrial controller automation interface |
US20060190264A1 (en) * | 2005-02-22 | 2006-08-24 | International Business Machines Corporation | Verifying a user using speaker verification and a multimodal web-based interface |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7860614B1 (en) * | 2005-09-13 | 2010-12-28 | The United States Of America As Represented By The Secretary Of The Army | Trainer for robotic vehicle |
US20080250391A1 (en) * | 2007-04-04 | 2008-10-09 | Ntt Docomo, Inc. | Communication terminal apparatus |
US20130096878A1 (en) * | 2010-06-24 | 2013-04-18 | Valtion Teknillinen Tutkimuskeskus | State inference in a heterogeneous system |
US10372786B2 (en) | 2010-06-24 | 2019-08-06 | Combinostics Oy | State inference in a heterogeneous system |
CN102091731A (en) * | 2010-11-30 | 2011-06-15 | 大连三高重工设备有限公司 | Hole shape regulating and controlling system of steel tube empty curving forming unit and control method thereof |
US20150227128A1 (en) * | 2013-12-26 | 2015-08-13 | Omron Corporation | Control device and communication control method |
US10459415B2 (en) * | 2015-09-14 | 2019-10-29 | Mitsubishi Electric Corporation | Control program automatic creation system |
Also Published As
Publication number | Publication date |
---|---|
JP2006011887A (en) | 2006-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050288802A1 (en) | Programmable logic controller, graphic logic controller, control program creation device, program, and storage medium | |
US6965953B2 (en) | Information processing apparatus, method for controlling information processing apparatus, and storage medium storing program for realizing the method | |
KR101505660B1 (en) | Label printer api using program scripting language | |
KR20040101304A (en) | Previewing documents on a computer system | |
JP4554570B2 (en) | Programmable display, control program and recording medium recording the same, and control system, client program and recording medium recording the same | |
WO2010030676A1 (en) | Method and apparatus for remotely displaying screen files and efficiently handling remote operator input | |
US7886025B2 (en) | Information processing unit, system, remote control method, and storage medium | |
JP4426492B2 (en) | Programmable terminal system | |
US20140281914A1 (en) | Information processing system, information processing device, and information processing method | |
KR101682455B1 (en) | System and method for injecting run-time programming code in a printing device | |
EP3540593A2 (en) | Program development assist system, program development assist method, and program development assist program | |
JP2006139675A (en) | Data processing device, print setting processing method, storage medium for storing computer readable program, and program | |
JP2002251674A (en) | Control method for pos terminal and pos device | |
JP2003044108A (en) | Registering device for editor, registering program, and recording medium where the same is recorded | |
JPH10175353A (en) | Output system | |
JP2001043051A (en) | Information processor, control method thereof, and storage medium | |
JPH06314202A (en) | Image-forming device | |
EP3525089A1 (en) | Graphical user interface (gui) system | |
JP5229855B2 (en) | Memory system and computer system | |
US20020008717A1 (en) | Input device, interface preparation system, data processing method, storage medium, and program transmission apparatus | |
JP2002108582A (en) | Printing device and printing system and printing method | |
KR20220104462A (en) | Method for providing virtual remote browser service and cloud server performing the same | |
EP1008040A2 (en) | Computer system | |
JP2008033472A (en) | Automatic evaluation system of printer | |
JP2000033754A (en) | Printing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: DIGITAL ELECTRONICS CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:YAMADA, MASAAKI;REEL/FRAME:016711/0975 Effective date: 20050531 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |