WO2001069334A1 - Serveur de commande, terminal de commande, systeme de commande et support d'enregistrement contenant un programme de communication de commande - Google Patents

Serveur de commande, terminal de commande, systeme de commande et support d'enregistrement contenant un programme de communication de commande Download PDF

Info

Publication number
WO2001069334A1
WO2001069334A1 PCT/JP2001/002079 JP0102079W WO0169334A1 WO 2001069334 A1 WO2001069334 A1 WO 2001069334A1 JP 0102079 W JP0102079 W JP 0102079W WO 0169334 A1 WO0169334 A1 WO 0169334A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
data
display
screen
communication
Prior art date
Application number
PCT/JP2001/002079
Other languages
English (en)
French (fr)
Other versions
WO2001069334A8 (fr
Inventor
Kentaro Kegoya
Minoru Yoshida
Shunu Tanigawa
Satoshi Kato
Nobuhiro Yagi
Masao Saito
Masaaki Yamada
Original Assignee
Digital Electronics Corporation
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from JP2000077002A external-priority patent/JP3883775B2/ja
Priority claimed from JP2000095085A external-priority patent/JP3618632B2/ja
Priority claimed from JP2000099664A external-priority patent/JP3621326B2/ja
Priority claimed from JP2000277254A external-priority patent/JP3621336B2/ja
Priority claimed from JP2000277243A external-priority patent/JP3847542B2/ja
Priority to DE60137921T priority Critical patent/DE60137921D1/de
Priority to CNB2004100898694A priority patent/CN1306351C/zh
Application filed by Digital Electronics Corporation filed Critical Digital Electronics Corporation
Priority to AU2001241163A priority patent/AU2001241163A1/en
Priority to EP01912414A priority patent/EP1280027B1/en
Priority to US10/221,779 priority patent/US7467231B2/en
Publication of WO2001069334A1 publication Critical patent/WO2001069334A1/ja
Publication of WO2001069334A8 publication Critical patent/WO2001069334A8/ja
Priority to US11/371,026 priority patent/US7937496B2/en
Priority to US11/371,020 priority patent/US7953892B2/en
Priority to US11/370,952 priority patent/US7970941B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/22Pc multi processor system
    • G05B2219/2206Microprocessor for display and parameter input, link to control microprocessor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24084Remote and local monitoring, local result to remote, remote takes action
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31161Java programcode or simular active agents, programs, applets
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31186TCP-IP internet protocol
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31457Factory remote control, monitoring through internet

Definitions

  • Control server device Control terminal device, control system, and recording medium on which control communication program is recorded
  • the present invention is used in a control system having a programmable display, and a control server device and a control terminal for confirming / controlling the display content of a programmable display at a remote location without creating a new display screen.
  • the present invention relates to a control system including these devices and a control communication program used in the control system.
  • PLC programmable logic controller
  • control panel for controlling instruction to P 'LC
  • programmable indicators as HMI (Human Machine Interface) devices have become widespread, instead of indicators such as those that show the operation status of PLCs.
  • HMI Human Machine Interface
  • a control system is constructed to display or operate a control host computer that is located away from the display device.
  • the PLC 503 is positioned as the center of control.
  • Each PLC 503 is connected to a device to be controlled 52 1 a ⁇ sensor 52 1 b of the target system 502 and a programmable display device 505 for performing display and control instructions.
  • another PLC 503 and a control host computer 507 are connected to the FLC 503 via a serial connection 504. The transfer of the control data between the PLC 503 and the control host computer 507 and between the PLCs 503 is performed using the communication function of the PLC 503. .
  • the display processing unit 571 of the control host computer 507 communicates with the PLC 503, receives data indicating the status of the get system 522, and changes the status to the status.
  • the control data is transmitted to the PLC 503.
  • the target system 502 is controlled based on this control data.
  • the programmable indicator 505 displays / controls the status of the target system 502 while communicating with the PLC 503.
  • the programmable display device 505 is based on screen data.
  • the screen data is composed of a combination of the position information that specifies the area on the base screen and the information that indicates the correspondence between the device address corresponding to the display and input in that area as a unit. Have been.
  • This screen data is generated by the image processing unit 572 of the control host computer 507 and then transmitted to each programmable display device 505.
  • control system 501 is basically a closed system, and cannot see the state of the control system such as the screen of the programmable display from a remote place.
  • a technology for browsing the status of a control device or the like from a remote location via the Internet is disclosed in, for example, US Patent No. 5,805,442 (patent granted date: September 8, 1998). , International Patent Publication No. WO99 / 13388 (published on March 18, 1999) and International Patent Publication WO99 / 133418 ⁇ (199 (Published March 18).
  • WO99 / 13388 published on March 18, 1999
  • International Patent Publication WO99 / 133418 ⁇ 199 (Published March 18).
  • even the technology of this patent cannot solve the above problem.
  • the control host computer 507 is a programmable display 5
  • the display processing unit 571 cannot perform display / control based on the screen display of the programmable display device 505, and creates a dedicated display screen. Further, in order to check the display content of the programmable display device 505, it is necessary to go to the place where the programmable display device 505 is installed.
  • the above operation of the PLC 503 is specified by a control program. For this reason, for example, before starting the operation of the PLC 503 or when correcting a malfunction For example, a new control program is created (corrected) by a control program creation software installed on the control host computer 507. The control program is transmitted to the FLC 503 via the serial cable 504.
  • the creator of the control program operates the control host computer 507 connected to the FLC 503 at the time of updating the control program. It is necessary to go to the vicinity of ID 507 and PLC 503. For this reason, there is a problem that it takes time to update the program.
  • PLC 503 uses a different communication protocol for data communication depending on the model, even in the case of the manufacturer II or the same manufacturer, due to the development of the sequencer. Further, in these P'LC503s, in many cases, the CFU address map and the like are different for each model, so it is necessary to create a control program for the model. Therefore, in order to create (modify) a control program, control program creation software corresponding to each model is required.
  • control program creation software outputs the control program directly to the PLC 503 via the serial cable 504, as shown in Fig. 44.
  • the control program cannot be updated.
  • creating a new control program creation software that can update the control program from a remote location is extremely time-consuming. More specifically, since control program creation software is often sold as a separate application package, control program creation software is usually provided by the application package vendor. Asked. In the control program creation software, for example, a relatively complicated process is performed to create a control program from a ladder diagram or the like. As a result, creating a new package separately from the application package requires a lot of trouble.
  • control programs are different for each PLC model, so it is necessary to modify / create new control program creation software for each model. Therefore, modification / new creation of control program creation software is not practical. Disclosure of the invention
  • a control server device of the present invention is connected to a programmable display, and a display-side communication means for receiving data indicating a screen of the programmable display; Conversion means for converting the data into a format displayable by the terminal device, and terminal-side communication means for communicating with the terminal device via a network and transmitting data whose format has been converted by the conversion device.
  • the conversion means converts the data into a format that can be displayed by the terminal device, and the terminal-side communication means converts the format-converted data to the Internet. And transmits it to the terminal device via a network such as a network.
  • the display side of the control server The communication means is directly connected to the programmable display, not through the control device that controls the device. Therefore, unlike the case where the programmable display and the control server device are connected via the control device, the data of the screen of the programmable display is transmitted, but the data of the control device is transmitted. There is no increase in communication volume, and no burden is placed on the control device.
  • the control server device described above based on screen data configured by combining processing instruction words indicating the correspondence between the device address corresponding to the display on the screen area and the area on the screen, etc.
  • a terminal that is used in a control system that has a programmable display that acquires the contents of each address and displays the status of the device in an area on the screen according to the contents, and that can communicate with the terminal device.
  • the operation of inquiring the contents of the address to the terminal side communication means and the terminal side communication means, and the state of the device based on the response to the area corresponding to the screen area indicated by the screen data among the screen areas of the terminal device.
  • Converting means for converting the screen data so as to generate a program for performing an operation to be displayed, wherein the terminal-side communication means transmits the program generated by the converting means to the terminal. And transmits to the device, to retrieve the contents of ⁇ dress the program inquires, arbitrary preferred to transmit to said terminal device.
  • the terminal-side communication means of the control server transmits the program generated from the screen data by the conversion means to the terminal.
  • the translation means of the terminal device inquires of the terminal-side communication means about the contents of the address based on the program, and the terminal-side communication means acquires the content of the address and transmits it to the terminal device.
  • the state of the device is displayed in an area corresponding to the screen area indicated by the screen data among the screen areas of the terminal device.
  • the terminal device can communicate with the terminal-side communication means, for example, even if the terminal device is accessed from a remote location via the Internet, the terminal device has the same contents as the display screen of the programmable display device. Screen can be displayed.
  • the program for performing the above operation is distributed from the control server device, it is not necessary to install a display program on the terminal device in advance, and the installation labor and cost can be reduced.
  • the conversion means creates the program from the screen data, there is no need to create a screen for the terminal device, and the labor for creating the screen can be greatly reduced. Unless screen data for remote areas is created, the screen for remote areas and the screen of the programmable display are always kept the same, so screen data for both sides must be created separately. Compared to the case where the management is always the same, the labor of management can be greatly reduced.
  • the control server device includes a dedicated protocol communication unit configured to communicate with the control device using a dedicated protocol specific to the control device that controls the device, wherein the programmable display device includes a common protocol that is determined in advance regardless of the control device.
  • a common protocol communication means for communicating with the protocol, and a relay means for alternately converting the rain protocol and relaying communication between the dedicated protocol and the common protocol;
  • the programmable display uses the dedicated protocol for communication. And communication with the common protocol.
  • the terminal-side communication means can acquire the device address content only by communicating with the programmable display to which the control device is connected using the common protocol. it can. Therefore, it is possible to reduce the time and effort required to create the terminal-side communication means as compared with the case where communication is performed using a dedicated protocol unique to each control device.
  • Another control server device of the present invention includes a device address corresponding to a display on an area on a screen, a device address corresponding to an input on an area on a screen, and a correspondence on an area on a screen.
  • a control system with a programmable display that changes the contents of the address corresponding to an area on the screen in response to an input to an area on the screen, based on screen data composed of processing directives indicating relationships.
  • a terminal-side communication unit that can be used to communicate with the terminal device; and a terminal-side communication unit that responds to an input to an area corresponding to a screen area indicated by screen data among screen areas of the terminal apparatus.
  • the control server device similarly to the control server device described above, the control server device The terminal-side communication means transmits the program generated from the screen data by the conversion means to the terminal device.
  • the translation means of the terminal device sends an address change instruction to the terminal-side communication means based on the program, and the terminal-side communication means changes the contents of the address.
  • the terminal device can communicate with the terminal side communication means, for example, Even when accessing from a remote location via the Internet, the device can be controlled on the same screen as the display screen of the programmable display without any problems.
  • the conversion means creates a program from the screen and runs it on the terminal device, as described above, it is possible to reduce the time and effort of screen creation and management, as well as installation time and cost. it can.
  • control server device is a control server device used in the above-mentioned control system, and if the above-mentioned terminal-side communication means is such that the address of the above device indicates a device controlled by the control device, 'Common protocol. The difference is that the address change instruction is sent to the programmable display to which the controller is connected.
  • the terminal-side communication means can change the address content of the device only by communicating with the programmable display to which the control device is connected using a common protocol. .
  • the terminal-side communication means can reduce the time and effort required to create terminal-side communication means as compared to a case where communication is performed using a dedicated protocol unique to each control device.
  • the terminal side communication means communicates with the terminal device via the Internet. This eliminates the need for communication costs according to the distance to the terminal device, as in the case of communication via a circuit-switched public telephone line.
  • control system support personnel can display and control the terminal device from a place that can be connected to the Internet, in the same way as a programmable display device. As a result, the control system can be maintained without disposing the control system personnel near the control server device.
  • the control system includes: the dedicated protocol communication means; The programmable display device having the communication protocol and the relay device; the display-side communication device connected to the programmable display device for receiving data indicating the screen of the programmable display device; the received data Control means for converting the data into a format that can be displayed by the terminal device, and a terminal-side communication means for communicating with the terminal device via a network and transmitting the format-converted data.
  • the programmable display device converts the dedicated protocol and the common protocol, so the control server device is a dedicated protocol adopted by the terminal device. Regardless, it is only necessary to communicate using a common protocol.
  • control server receives the data indicating the screen of the programmable display, converts the format, and transmits the data to the terminal, so that the load on the programmable display can be reduced without burdening the controller.
  • a screen with the same contents as the display screen can be displayed.
  • the control terminal device of the present invention comprises: a control unit for controlling a control target according to a control program; and a control interface and a serial interface.
  • a wide area network communication means connectable to a local control system having a control display device for displaying or controlling the control state of the control unit by communicating via a wide area network, and control
  • a local control system provided with a control unit to which the program is to be transferred is set in advance, and the control program creation means receives the control program to be output to the serial port instead of the serial port.
  • the control data is transmitted to the local control system to indicate the control unit of the It includes a serial port simulation means for instructing the wide area network communication means so as to instruct new.
  • the serial port simulation means receives the control program instead of the serial port and sends the control program to the preset roll control system. Then, it instructs the wide area communication means to send instruction data indicating the control unit and the control program of the transfer destination.
  • the roll control system executes the control program of the control unit specified by the instruction data, and transmits the instruction data to the control unit. Update with the indicated control data.
  • a control system is a control system including the control terminal device and a control device including a control unit and a control display device, wherein the control display device includes the serial interface.
  • a dedicated protocol communication means for displaying or controlling the control state of the control unit by communicating with the control unit model through a dedicated protocol via a single interface, which is predetermined in advance independently of the model.
  • a common protocol communication means for communicating with a network different from the serial interface using a common protocol, and a middle joint stage for relaying communication of the common and dedicated protocol communication means;
  • the local control system based on the instruction data received from the wide area network communication means via the wide area network, Display device specifying means for specifying the control display device to which the control unit of the communication destination is connected and instructing the control display device to update the control program via the network using the common protocol to the control display device have.
  • the display device specifying means of the cull control system specifies the control display device to which the control unit of the transmission destination is connected based on the instruction data, and controls the control display device using the common protocol. Instructs to update the program.
  • control program update instruction received by the common protocol communication means is relayed by the relay means and transmitted to the control unit via the dedicated protocol communication means and the serial interface. Reportedly. As a result, the control program of the control unit is updated.
  • a control display device which is indispensable for the local control system and has more computing and communication capabilities than the control unit, is used for the control unit in order to communicate with the user during display / control. It relays communication using a unique dedicated protocol and communication using a common protocol.
  • the display device specifying means can be used. Regardless of the model of the control unit at the transmission destination, the update of the control program may always be instructed by the common protocol. Therefore, it is possible to reduce the labor when manufacturing the display device specifying unit.
  • the control system of the present invention displays a device state on a display screen created in advance and sends a control instruction to the device via the display screen.
  • Acquisition means for acquiring from the control display device a screen display which is a display of the display screen and device data which is a display of the device status indicating the state of the device; and Generating means for generating terminal data for displaying the display screen on the display surface of the terminal device based on the device data; and a network for transmitting the terminal data to the terminal device.
  • the data for the terminal is generated by the generation unit based on these data.
  • This terminal data is transmitted to the terminal device through the network by the communication means.
  • the terminal device displays a display screen based on the screen display.
  • the control display device stores screen data which is data of the display screen, and a request from a terminal device. Transmitting means for transmitting the screen data stored in the storage means in response to the request.
  • the control system further displays a device data, which is data indicating a state of the device, on the control display.
  • a communication means that is obtained from the device and is capable of communicating with the terminal device via a network; an operation of inquiring the communication means of the device data corresponding to the transmitted screen data; and a response to the inquiry
  • the transmission unit transmits the screen data stored in the storage unit.
  • Do And generating means for the terminal including a program for executing each of the above operations based on the screen data.
  • the terminal program and the execution program (such as an ablet) stored in the execution program storage means are transmitted to the terminal device through the network by the communication means.
  • the communication means transmits the device data acquired from the control display device to the terminal device when the device data is inquired from the terminal device by the execution program.
  • the terminal device receiving this executes the execution program using the terminal device to display the display screen reflecting the device state based on the device data.
  • the control system of the present invention displays a device state on a display screen created in advance and sends a control instruction to the device via the display screen.
  • a server device having server-side communication means for transmitting device data while acquiring device data which is data indicating the status of the device from the control display device;
  • Terminal-side storage means for storing screen data, which is screen data, in a form suitable for display processing, and the server-side communication for obtaining the device data corresponding to the screen data stored in the terminal-side storage means.
  • Display processing means for inquiring means, and displaying the display screen in accordance with the device data transmitted from the server-side communication means;
  • a plurality of terminal devices having terminal-side communication means for performing communication via the local network with the server-side communication means for receiving the device data as an inquiry and a response to the inquiry by the processing means. .
  • the display processing unit is configured to perform server-side communication.
  • the display screen is displayed according to the device data.
  • the server device relays communication between the server-side storage means for storing the screen data in a form suitable for display processing, and communication between the server-side communication means and the public network.
  • a communication relay unit wherein the server-side communication unit acquires the screen data stored in the server-side storage unit, while giving the screen data to the communication relay unit, and the display processing unit Query the server communication means by relay communication via the relay means by the public network to obtain the screen data stored in the server storage means and the device data corresponding to the screen data.
  • the display screen is transmitted in accordance with the screen data transmitted by the relay communication from the local communication means and the device data corresponding thereto.
  • the server-side communication means performs communication via the local network, while the server-side storage means It is preferable to make the server-side communication means perform communication via the public network when acquiring the screen data stored in the server.
  • the display processing unit inquires of the server-side communication unit by relay communication via the public network over the relay unit, thereby displaying the screen data and the screen data stored in the server-side storage unit.
  • the display screen is displayed according to the screen data and the corresponding device data.
  • the display processing means may select one of the screen —Since the evening is obtained, communication via the oral network or public network is automatically selected. Therefore, it is possible to perform communication suitable for the acquisition source of the screen image without the user's awareness.
  • the control system of the present invention displays a control device to which an input device and an output device are connected, a control state of the input / output device by the control device, and It communicates with a display-type control device that gives control instructions to the device through a dedicated network using a communication protocol specific to the control device, and communicates with a host computer provided above the display-type control device.
  • a control system that integrates data relating to the control device by performing communication with at least one of the display control devices using a common communication protocol via a common network.
  • a protocol in which the display-type control device converts a communication protocol used in both networks into a communication protocol used in both networks.
  • a user program executed when the distribution condition set in advance is satisfied and representing the control state of the control device, wherein the user program is associated with the address of the input / output device.
  • the control instruction data and the respective change elements that change according to the output data obtained as a result of the control instruction data, and the control instruction data and the output data corresponding to the change elements are transmitted to the host computer.
  • a search unit said in response to a request from the terminal device
  • Converting means for converting the user program retrieved by the retrieval means into an executable program executable by the terminal device; and executing the executable program, the variable element and both data in the user program '.
  • Communication means for transmitting to the terminal device executing the execution program so as to change the changing element based on the both data.
  • output data from the control device is transmitted to the display-type control device via the dedicated network.
  • the communication protocol of the dedicated network is converted into the communication protocol of the common network by the protocol conversion means. After that, the output data is transferred from the display controller to the host computer connected via the common network.
  • the user program executed (for example, a screen displayed on a programmable display or a ladder program of FLC), a user program
  • the variable elements for example, a symbol on a screen or a ladder symbol in a ladder program
  • the control instruction data and the output data corresponding to the variable element are distributed to the host computer
  • the The storage means sequentially stores them in chronological order on a display-type control unit basis.
  • the searched user programs are displayed continuously, it is possible to reproduce the situation of the user program when the control device was operating. Further, when the user program searched by the host computer is converted into an execution program by the conversion means, the user program is transmitted to the terminal device by the communication means together with the changed element and both data. On the terminal device, execute When the program is executed, the variable in the user program changes based on both data. As a result, for example, a state where the changing element changes on the screen is displayed.
  • the recording medium of the present invention further includes: a control communication device that causes a computer to execute each unit in order to realize the control server device, the control terminal device, and the control system by software. Program is recorded. When the program read from the recording medium is executed by a computer, the computer operates as the control server device, the control terminal device, and the control system.
  • FIG. 1 is a block diagram showing a configuration of a control system according to Embodiment 1 of the present invention.
  • FIG. 2 is an explanatory diagram showing a relationship between screen data and a displayed screen when the switch in the programmable display device of the control system is in the ⁇ FF state.
  • FIG. 3 is an explanatory diagram showing a data structure of a processing instruction word included in the screen data.
  • FIG. 4 is an explanatory diagram showing an example of the data structure of a display processing instruction word among the processing instruction words.
  • FIG. 5 shows an example of the data structure of the input processing directives among the above processing directives.
  • FIG. 6 is an explanatory diagram showing a relationship between screen data and a displayed screen when the switch of the programmable display device of the control system is in the ⁇ N state.
  • Figure 7 shows the applet generated by the compiler in the above control system.
  • FIG. 1 A first figure.
  • FIG. 8 is a flowchart showing the operation of the control system.
  • FIG. 9 is an explanatory diagram showing an example of a data transfer format used in a dedicated protocol in the control system.
  • FIG. 10 shows the data used in the common protocol in the above control system.
  • FIG. 9 is an explanatory diagram showing an example of an evening transfer format.
  • FIG. 11 is an explanatory diagram showing an example of a command conversion table referred to when the programmable display device converts between the dedicated protocol and the common protocol. ⁇
  • FIG. 12 is a block diagram showing the configuration of another control system.
  • FIG. 13 is an explanatory diagram illustrating a display screen when a network is set in the control system of FIG.
  • FIG. 14 is a flowchart showing an operation at the time of normal display / control in the control system of FIG.
  • FIG. 15 is a flowchart showing an operation when the control program is updated in the control system of FIG.
  • FIG. 16 is a block diagram showing the configuration of still another control system.
  • FIG. 17 is an explanatory diagram showing an example of an XML file distributed from the public server device to the client device in the control system of FIG.
  • FIG. 18 is an explanatory diagram showing an example of an HTML file distributed from the public server device to the client device in the control system of FIG.
  • FIG. 19 is a block diagram showing a configuration of a modified example of the control system of FIG.
  • FIG. 20 is an explanatory diagram showing an example of an HTML file distributed from the public server device to the client device in the control system of FIG.
  • FIG. 21 is a flowchart showing the operation of the communication shown in FIG. 16 and FIG.
  • FIG. 22 is a flowchart showing the operation of the client device of the control system shown in FIGS. 16 and 19. .
  • FIG. 23 is a flowchart showing the operation of the client device of the control system of FIGS. 16 and 19.
  • FIG. 24 is a block diagram showing the configuration of a control system of a different form.
  • FIG. 25 is a flowchart showing the operation of the control system of FIG. 24 ⁇ FIG.
  • FIG. 9 is an explanatory diagram showing another display screen displayed on the programmable display or the client device in the control system.
  • FIG. 27 is an explanatory diagram showing a display screen based on a new XML file created by editing the XML file showing each of the above display screens.
  • FIG. 28 is a block diagram showing a configuration of a control system according to a modification of the control system of FIG.
  • FIG. 29 is a block diagram illustrating a configuration of a control system of another modification of the control system of FIG.
  • FIG. 30 is a block diagram illustrating a configuration of a control system according to a modified example of the control system of FIGS. 24, 28, and 29.
  • FIG. 31 is a block diagram illustrating a configuration of a control system according to Embodiment 2 of the present invention.
  • FIG. 32 is a flowchart showing a processing procedure for uploading and releasing screen data from a programmable display in the control system of FIG. 31.
  • FIG. 33 is a block diagram showing another configuration of the control system according to Embodiment 2 of the present invention.
  • FIG. 34 is a flowchart showing a processing procedure for displaying a screen displayed on a programmable display on a client device in the control system of FIG. 33.
  • Fig. 35 is a block diagram showing the configuration of a modification of the control system of Fig. 33.
  • FIG. 36 is a flowchart showing a processing procedure for displaying a screen displayed on a programmable display on a client device in the control system of FIG. 35.
  • FIG. 37 is a block diagram showing a configuration of another modification of the control system in FIG. 33.
  • FIG. 38 is a block diagram illustrating a configuration of a control system according to Embodiment 3 of the present invention.
  • FIG. 39 is an explanatory diagram showing a communication protocol of the common network.
  • FIG. 40 is an explanatory diagram showing an operation screen for searching in a database included in a personal computer in the control system and a screen (playback screen) reproduced by the search.
  • FIG. 4 is an explanatory diagram showing a storage format of a password.
  • FIG. 41 (b) is an explanatory diagram showing a record storage format of the ladder program stored in the database.
  • FIG. 42 is an explanatory diagram showing the storage format of records related to screens and ladder programs stored in the database.
  • FIG. 43 ′ (a) is an explanatory diagram showing a distribution condition setting screen set by the distribution setting section in the personal computer.
  • FIG. 43 (b) is an explanatory diagram showing a distribution station / reception station setting screen set by the distribution setting section of the personal computer.
  • Fig. 44 is a block diagram showing the configuration of a conventional control system. BEST MODE FOR CARRYING OUT THE INVENTION
  • the control system according to the present embodiment shown in FIG. 1 is a target system in which a plurality of FLCs 3 are controlled in cooperation with each other, for example, when the target system is an automatic assembling machine with a set of belt conveyors.
  • This is a system that is particularly preferably used when controlling the system.
  • the control system includes a programmable logic controller (PLC) 3, a programmable display 5 (hereinafter simply referred to as a display), a network 6, and a control host computer (hereinafter simply referred to as a control computer). 7) and a client device (terminal device) 9.
  • PLC 3 forms a target system according to a control program stored in advance.
  • the PLC 3 is a control device for controlling each device 10 and is connected to the display 5 via a serial cable 4.
  • FLC 3 includes a CPU / power module, an input unit, and an output unit.
  • the CPU / power supply module consists of a CPU unit including a CPU and memory, and a power supply unit that supplies power to each unit of the FLC 3.
  • the CPU controls the devices 10 to be controlled in accordance with the control program. Specifically, the CPU performs arithmetic processing of control data given to the output device also as the device 10 based on a signal input from the input device as the device 10 via the input unit.
  • the input unit and the output unit are parts having an interface function that are connected to input / output devices, respectively. It is designed to interact with the CPU section.
  • input devices devices such as sensors (temperature sensors, optical sensors, etc.) and switches (push button switches, limit switches, pressure switches, etc.) are used.
  • output device a factory, relay, solenoid valve, display and the like are used. These input / output devices are located at required parts of various evening-get systems such as manufacturing lines.
  • the display 5 is often operated by an operator near the target system.
  • Each display 5 is connected by a network 6.
  • a control computer 7 is connected to the network 6.
  • the client device 9 can be connected to the control computer 7 via the Internet 32.
  • the control computer 7 can be used in many places. In this case, monitor and control the entire control system and make settings from a location farther than the display 5.
  • a local control system 31 is constituted by the evening get system, the display 5 and the control console 7.
  • the display 5 has a memory such as RAM, ROM, flash ROM, VRAM, and the like, and an arithmetic processing unit such as CFU, and controls the operation of each part of the display 5 by these.
  • the display 5 is a display device that can control input and screen display based on screen data determined by combining processing instruction words (tags).
  • the display 5 includes a communication processing unit 51 (dedicated protocol communication means) on the PLC side, a communication processing unit 52 (common protocol communication means) on the network side, and a protocol conversion unit 53 (relay means). ), Screen data—evening memory 54, and a display processing unit 55.
  • the PLC side communication processing unit 51 is connected to the serial cable 4, and the network side communication processing unit 52 is connected to the network 6.
  • the protocol conversion section 53 relays the communication between the two communication processing sections 51 and 52, and the 'screen data memory 54 stores the screen data.
  • the display processing unit 55 performs display processing based on screen data, an operator operation from the operation input unit 55a such as a touch panel, a communication result, and the like. Further, as another input means, a bar code reader 55b, an ID sensor (not shown), or the like may be used.
  • the display processing unit 55 can switch between a plurality of unit screens.
  • Each unit screen has a display state such as a nameplate, a static figure B that does not change the display content, a shape, color, blinking state, etc., such as a switch, a lamp or a menu, as shown in Fig. 2.
  • a display state such as a nameplate, a static figure B that does not change the display content, a shape, color, blinking state, etc., such as a switch, a lamp or a menu, as shown in Fig. 2.
  • the screen data to display the above screen is based on A processing instruction word (tag) W that includes a screen file number F, an event name N that specifies the operation to be executed on the base screen, and one or more pieces of reference information R that is referred to for each execution event. Are combined.
  • the processing instruction word WL shown in FIG. 4 is identification information for identifying a display element. For example, a component graphic J corresponding to the content of a predetermined device address is displayed in a predetermined screen area (display coordinate range). Used in cases.
  • the reference information R of the processing instruction WL includes a display coordinate range (X, Y), a device address A, and, for example, when the part figure J is a switch, a file of a figure indicating N and 0FF File number FL to be referred to at the time of display, such as a file of a figure indicating the number.
  • the processing instruction word WT shown in FIG. 5 is specific information that specifies an input operation via the input operation unit 55b.
  • the reference information R of the processing instruction word WT includes an effective input coordinate range X and Y on the touch panel in the input unit 24 and a device address A which is turned on in accordance with the specification of the input coordinate range.
  • the display processing unit 55 of the display 5 reads the file number F of the base screen from the screen data memory 54 and displays the processing instruction word WL (display tag) indicating the base screen currently displayed. ) Is extracted, and the content of the device address A of each display tag WL is read out from the memory 3a of the FLC 3 to display the component figure J corresponding to the content on the screen.
  • the display tag WL1 stored in the screen data memory 54 indicates the display of the switch, and corresponds to the device of the device address A1.
  • the display processing unit 55 determines that the switch is 0FF because the content of the device address A1 is "0", and the display processing unit 55 5 Of the files stored in a, turn off The figure in the associated file FL1 is displayed in the display coordinate range (X'Y). As a result, the part figure J 1 indicating the switch in the 0FF state is displayed in the coordinate range (X ⁇ Y). As described above, the display processing unit 55 executes the display tag WL1 in the screen data at a predetermined time interval, so that the screen of the display 5 reflects the device state.
  • the display processing unit 55 reflects the input operation on the screen. For this reason, the display processing unit 55 searches from the screen data in the screen data memory 54 for the processing instruction word WT (input tag) corresponding to the currently displayed base screen and matching the input operation. The content of the device address A indicated by the input tag WT is changed according to the input result.
  • WT processing instruction word
  • the effective input coordinate range (X, Y) is set to the same coordinate range as the above part figure J1, and the input data WT1 for changing the content of the same device address A1 is included in the screen data.
  • the search by the display processing unit 55 finds the input tag WT1.
  • the display processing unit 55 rewrites the contents of the device address A 1 corresponding to the input tag WT 1 by giving an instruction to the PLC-side communication processing unit 51 ⁇ the network-side communication processing unit 52.
  • the display processing unit 55 processes the display tag WL1 after the input operation, the content of the device address A1 is changed to "1". As a result, the display processing unit 55 displays, on the screen, a part figure J 2 corresponding to the file FL 2 and indicating ⁇ N, as shown in FIG. As a result, the display processing unit 55 can rewrite the contents of the device address according to the input operation and update the screen display according to the contents of the device address.
  • the device address A is an address for specifying a device to be controlled, and is provided in the display 3, the PLC 3 or the control computer 7, such as the memory 3 a of the PLC 3. 1 shows one area of the storage device.
  • the device may be a memory in which data manually input from an input device such as the operation input unit 55a or the bar code reader 55b is stored.
  • the communication processing unit 51 on the PLC side and the communication processing unit 52 on the network side communicate with the PLC 3 and other display devices 5 so that each address is You can get the contents or change the contents.
  • the acquisition / change of the contents may be instructed each time, or a cache is prepared in the display unit 5, and when the contents are acquired / changed, the cache is accessed and at a predetermined time interval ⁇ ⁇ a predetermined event It may be synchronized with the entity of the device address A by communicating with ⁇ .
  • the control computer 7 (control server device) includes a display processing unit 71, a common protocol (interface) IF unit 72 (display unit communication means), and a server unit 73. .
  • the control computer 7 can display and control the status of the target system, the FLC 3, the display 5, and the like from a location farther than the display 5.
  • the display processing unit 71 performs monitoring control of the entire control system, and the common protocol IF unit 72 is connected to the network 6.
  • the server unit 73 communicates with each of the display units 5 via the common protocol IF unit 72 and the network 6 to provide a request to the display processing unit 71 or the like.
  • the control computer 7 is provided with an image processing unit 74 for creating screen data of the display 5 and a screen data memory 75 for storing the created screen data. Screen data that specifies the display / control operations of each display unit 5 The data is collectively created (corrected) by the drawing processing unit 74, and then distributed to each display 5 via the server unit 73, the common protocol IF unit 72, and the network 6.
  • the screen data is a combination of an area (a processing instruction word) indicating a correspondence between an area on the screen and an address of a device corresponding to display or input in the area. It is configured.
  • the image processing unit 74 displays, for example, a palette of tags. Select the tag in the letter and prompt the user to place the desired tag on the screen. Further, the drawing processing unit 74 displays the placed tag at the designated coordinates, and adjusts the coordinates of the tag according to the user's operation such as drag and drop. Further, the drawing processing unit 74 prompts the user to input a device address related to the input tag / display tag.
  • the user operates the drawing processing unit 74 to arrange the tags at desired positions on the screen and create screen data simply by associating each tag with the address of the device. it can.
  • the display and operation of each display 5 can be determined (changed) more easily than when the display program of the display 5 is corrected. Therefore, the user of the control system (the user of the control computer 7) can adjust to the actual situation of the target system, the proficiency level of the operation of the display unit 5 or the user's preference.
  • the control computer 7 further includes a compiler 76 (conversion means) and a public server unit 77 (terminal-side communication means).
  • the compiler 76 is a Java program that can execute the same processing on the screen data used by the display unit 5 for display, or the screen data of the same structure on the virtual machine 91 of the client device 9. (Registered trademark) language.
  • Public service The server section 77 distributes the client device 9 hair plate via the Internet 32 and communicates with an applet executed on the client device 9.
  • the compiler 76 previously stores a class including a method executed by the virtual machine 91 in a storage device (not shown) for each type of tag.
  • the compiler 76 can generate a code for calling a method corresponding to the tag type for each tag No. of the screen data, and can output an applet.
  • the above method is called at a predetermined time interval, requests data of a specific device address to the public server unit 77, and responds to the response. This is a drawing method for displaying.
  • the above-mentioned method is called when an input event occurs, and the public server unit 7 writes data corresponding to the input result to a specific device address. This is the input method requested to 7.
  • the compiler 76 when receiving the instruction to generate the applet, the compiler 76 reads the screen data corresponding to the applet to be generated from the screen data memory 75 and extracts the evening from the screen data. Further, the compiler 76 generates an instance of a class corresponding to the tag type of the tag to be converted based on the tag type of the extracted tag, and generates an instance of the class of the instance. Outputs the character string (code) for setting the tag parameters to the field. In the present embodiment, as shown in FIG. 7, a tag type and a parameter are specified as variables of a param> element, and “Gpj. Cl ass” defines an instance based on the variable. Generate and set parameters. Furthermore, when the output of the character string is completed for all tags in the screen data, the compiler 76
  • HTML HyperText Markup Language
  • a character string such as " ⁇ TITLE>”
  • a character string for operating the generated code as an applet e.g., APPLET>
  • the compiler 76 displays the tablet for displaying the same screen on the client device 9 as when the display 5 displays the screen image.
  • the compiler 76 associates the generated ablet (HTML document) with the screen data in a storage device (FIG. (Not shown).
  • the public server unit 77 reads it from the storage device. As a result, the generation speed can be improved compared to the case of compiling for each request.
  • the public server unit 77 determines the screen data requested by the client device 9 based on, for example, a URI (Universal Resource Identifier) and the like, and a CGI (Common Gateway Interface) or BGI (The client device sends out 9 hair plates by means of a binary gateway interface).
  • the public server unit 77 receives an instruction to acquire / change the contents of the device address A from the abbreviated, the display unit 5 communicates with another display unit 5 or ⁇ As in the case of acquiring / changing the content, the instruction is relayed, and the acquisition / change instruction of the content is transmitted to the display 5 itself or the entity of the device address such as the FLC 3 connected to the display 5.
  • the public server unit 77 can also shorten the response time to the applets by caching the contents of the device address in the same manner as the display processing unit 55.
  • the client device 9 is a general-purpose machine in addition to the virtual machine 91. ⁇ ⁇ ⁇ ⁇ It is equipped with a browser 92 that is realized by software.
  • the browser 92 communicates with the device connected to the Internet 32, and causes the virtual machine 91 to execute the received ablet. Also, the browser 92 can receive and view a document such as an HTML document from a server device using, for example, the HTTP (Hyper Text Transfer Protocol) protocol.
  • HTTP Hyper Text Transfer Protocol
  • the control system described above operates according to a flowchart shown in FIG.
  • the user of the control system operates the image processing unit 74 described above to match the actual conditions of the target system, the proficiency of the operator of the display unit 5, or the user's preference.
  • Create / modify screen data (S1). Further, the created screen data is transmitted to the display 5 after it is confirmed that the screen data operates normally, for example, by a simulation or a connection test (S 2), and the display 5 is displayed on the screen data.
  • the display according to is started (S3).
  • control system control computer 7
  • the compiler 76 compiles the screen data created in S1 to generate an applet, and stores it in a storage device (not shown) (S4).
  • the browsers 9 and 2 access the public server section 77 via the Internet 32 and instruct them to display the screen of a certain display 5 (S5). ).
  • the public server 7 It authenticates whether or not display / control is permitted to the client device 9 and rejects access from the client device 9 that is not permitted (S6). At this time, for example, it is confirmed whether or not the identification number and the passcode received from the client device 9 are a predetermined combination. If it is confirmed that the client device 9 is an authorized client device 9, the public server unit 77 performs an HTML process including an abbreviated one requested by the client device 9 among the ablates compiled in S 4. The document is retrieved from the storage device and transmitted to the client device 9 via the Internet 32 (S7).
  • the virtual machine 91 communicates with the public server unit 77 to perform the same display / control as the display unit 5. More specifically, in the virtual machine 91, an instance drawing method corresponding to each display tag in the applet is executed at predetermined time intervals. As a result, the virtual machine 91 inquires of the public server unit 77 about the contents of the device address A. On the other hand, the public server unit 77 instructs the server unit 73 to read the contents of the device address A.
  • the server unit 73 acquires the contents of the device address A and transmits it to the public server unit 77 in the same manner as when the display processing unit 71 reads the contents of each device address. . Further, when the contents of the device address A are transmitted from the public server unit 77 to the virtual machine 91 via the internet 32, the above-mentioned drawing method becomes the device address.
  • the display of the display area (X, Y) is updated according to the content of A.
  • the above applet is a result of compiling the screen data. Each instance in such an applet is set to refer to the same device address as the corresponding tag in the screen data. Each instance is created so that the same image as the tag is displayed when the contents of the device address are the same. Therefore, when the abrasion is executed, a component graphic J 1 (J 2) indicating the state of the device is displayed on the display screen of the client device 9 as in FIGS. 2 and 6.
  • the switching operation of each unit screen is also realized as an input tag.
  • the input address is associated with an area for storing data indicating the currently displayed unit screen in the storage area in the display 5 as a device address. Therefore, when an applet in which screen data of a certain display device 5 is compiled is executed on the client device 9, the same unit screen is always displayed on the client device 9 and the display device 5.
  • the no-chart machine 91 when an input operation is performed with a mouse or the like during execution of an applet, an input method of an instance corresponding to the input operation is output from the instances corresponding to the input tag in the abbreviated form. Is executed. As a result, the virtual machine 91 requests the public server unit 77 to write data according to the input result to a specific device address. On the other hand, when receiving the write request from the virtual machine 91, the public server unit 77 transfers the request to the server unit 73. Further, the server unit 73 rewrites the contents of the device address A in a manner similar to the case where the display processing unit 71 controls the device. As a result, on the display screen of the client device 9, after writing, the display unit 5 is displayed when the above-described drawing method is executed. The operation result is reflected in the same way as.
  • the compiler 7 As described above, in the control system according to the present embodiment, the compiler 7
  • the client device 9 compiles the screen data to generate an executable that can be executed on the virtual machine 91 of the client device 9, and the public server unit 77 performs an applet via the network 32. To deliver.
  • the client device 9 is displayed on the display device 5 even if the monitoring control program is not installed in the client device 9 in advance or is located at a remote location.
  • the same screen as the screen can be displayed, and the PLC 3 and the display 5 can be controlled by the same operation as the display 5.
  • control computer 7 converts the screen data into an abbreviated form and publishes it, the user of the control system does not need to create new screen data for remote locations, greatly reducing the time and effort of screen creation. it can. Furthermore, unless special screen data is created for the remote area, the screen for the remote area and the screen of the display unit 5 are always kept the same, so the screen data for both sides must be created separately. The management time can be greatly reduced compared to the case where the management is always the same. In the present embodiment, an ablet for causing the client device 9 to perform an operation similar to that of the display 5 and an operation of transmitting a change instruction to the control computer 7 and an operation of displaying the response in response to the response is generated. The case where the control computer 7 relays the content transmission of the device address has been described as an example, but the present invention is not limited to this.
  • control computer 7 communicates with the display 5 to generate a bitmap format or a JPEG format file having the same contents as the screen display of the display 5, and sends the file to the client device 9. May be transmitted.
  • the control console 7 receives the data indicating the screen of the display 5, changes the data to a format that can be displayed by the client device 9, and then transmits the data to the client device 9 ′. By doing so, it is not necessary to previously install a control program on the display unit 5 of the display unit 5 on the client device 9, so that installation work, time and cost can be reduced. .
  • the client transmits data indicating the screen.
  • the screen update speed in the device 9 is reduced.
  • control computer 7 distributes an applet for causing the client device 9 to perform the above inquiry, a change instruction, and a display operation, and transmits the content of the device address.
  • the amount of data transmission can be significantly reduced, and the response speed of the client device 9 can be greatly improved.
  • a user interface such as cursor movement can be processed on the client device 9 side.
  • the response speed can be further improved.
  • the client device 9 controls the virtual machine 9L. If it has. Even if the operating system ( ⁇ S) of the client device 9 and the machine language executable by the CPU are different, the applets can be executed. Therefore, the display / control can be performed by more client devices 9 in the same manner as the display device 5 without increasing the types of the abrades generated by the control computer 7.
  • ⁇ S operating system
  • control computer 7 and the client device 9 communicate with each other via the Internet 32, even if both are installed separately, they are located nearest to each other. If you connect to the Internet service provider (ISP) via a public line, you will be able to communicate with each other. Therefore, communication fees can be significantly reduced as compared with the case where interconnections are made via a circuit-switched public telephone line.
  • ISP Internet service provider
  • the client device 9 and the system including the control computer 7, the display unit 5, and the FLC 3 may be installed in different countries. Even if there is, the user of the client device 9 can monitor and control the display device 5 as well as the display device 5 without any trouble. As a result, even if the user of the client device 9 is in a different country from the above-mentioned system, the user can accurately grasp the state of the system, give appropriate advice to the operator of the above-mentioned system, and operate the system. Can support people. Therefore, it is not necessary to arrange a large number of support personnel near the system, and the time required for support can be greatly reduced.
  • control server 7 communicates with the display 5 so that the public server section 77 of the control computer 7 acquires / changes the address contents of the device. It is not limited to this. As in the conventional control system shown in FIG. 44, the control computer 7 may directly communicate with the PLC 3 to acquire / change the address content of the device.
  • control computer 7 needs to communicate with the PLC 3 using a dedicated protocol specific to the FLC 3 model, it is troublesome to create a communication program for the control computer 7. It takes.
  • the control computer 7 since the display 5 which is indispensable for the control system and has more computing power and storage capacity than the PLC 3 performs the protocol conversion, the control computer 7 Regardless of the model, communication can be performed using a common protocol. Therefore, the time required to create the above communication program can be significantly reduced. Note that, even though the display 5 is connected as shown in FIG. 44, it is necessary to communicate with the PLC 3 using a dedicated protocol. Therefore, even if the display 5 is arranged between the control computer 7 and the PLC 3, the trouble of creating the communication protocol for the display 5 does not increase. '
  • network 6 when the display content or the control content is the same, network 6 is transmitted at the time of display / control regardless of the FLC 3 model.
  • a protocol for transmission on the network 6 (common protocol) is defined so that the data strings 61 (see FIG. 10) are identical to each other.
  • the display 5 arranged at the center of the communication allows the dedicated protocol specified for each model of the PLC 3 to communicate with the above-mentioned common protocol. It converts and relays the communication between the PLC 3 connected to itself and the control computer 7 or other display 5.
  • the FLC 3 connected to each display 5 employs a different dedicated protocol, communication between each display 5 and the control computer 7 is performed using a common protocol. it can.
  • the target system described above is a device such as a valve or a motor, which is a controlled device that operates according to an instruction, or a device such as a flow sensor or a temperature sensor that detects the state of each part of the target system. Is provided.
  • the PLC 3 controls each device 10 according to a control program stored in advance while communicating with each device 10.
  • the control program is transmitted to each PLC 3 by, for example, distributing it from the control computer 7 via the display 5.
  • the PLC 3 has been developed from a sequencer that uses a relay.Therefore, not only does the control program differ for each PLC 3 model, such as the manufacturer, product type, etc. Many models have their own proprietary protocols. Therefore, the PLC 3 is connected to the display 5 via the serial cable 4 and communicates with the display 5 using a communication protocol that allows the PLC 3 to communicate.
  • a control code (ESC) indicating that the code to be transmitted next is an instruction
  • a data to the PLC 3 A command code (RD) for instructing reading overnight, a read start address (X001), a read size (5), and a control code (RET) for indicating the end of transmission are provided.
  • the transmitted data sequence 41 is transmitted.
  • the command code includes, of course, includes the order of the addresses and sizes, the control code itself, or the expression format for expressing the addresses and sizes (bit width ⁇ In many cases, the code type used in the presentation is different from each other.
  • the network 6 according to the present embodiment is, for example, an Ethernet
  • each display 5 and control computer 7 communicate with each other using the TCF / IF protocol.
  • TCF / IF protocol for example, when a control host computer (not shown) used by a control system developer connects via a telephone line from a place different from the control system operating company.
  • any communication device that can communicate by TCP / IP can freely participate in the network 6 without hindering data transmission between other communication devices.
  • each module such as a TCP module and an IP module adds a header for transmission.
  • the data string 6 1 transmitted by 6 is transmitted to the upper layer, such as the server section 73 above, by the upper layer requesting transmission to the TCP module, and the receiving TCP module is passed to the upper layer. Use in the sense.
  • the data string 61 It includes an identification data 62 for identifying a control program or the like, and a data body 63.
  • the data body 6 3 r when transmitting a command to instruct data reading to the PLC 3 includes a common code 6 indicating the content of the command. 4 and a read start address 65 a and a read size 65 b as related information 65 associated with the common code 64.
  • the data body 63 w at the time of instructing the data write includes a write start address 65 c and write data 65 d as related information 65.
  • the codes are unified between the instructions having the same contents, regardless of the command code of each FLC 3.
  • the order in which the data in the related information 65 is transmitted are unified irrespective of the PLC 3 model.
  • the display unit 5 includes the communication processing unit 51 on the PLC side, the communication processing unit 52 on the network side, and the protocol conversion unit 53 shown in FIG.
  • the unit 53 converts the two protocols into each other.
  • the display unit 5 relays the status of the PLC 3 connected to itself or another display unit 5 while relaying the communication using the dedicated protocol and the communication using the common protocol as necessary. In addition to displaying on the screen, it can output instructions to each FLC 3 according to the operation of the operator.
  • the protocol conversion is performed, for example, by the method disclosed in International Patent Publication No. WO99 / 56186 (published on January 4, 1999).
  • the protocol conversion unit 53 includes a data transfer format FMT indicating the format of the data stream 41 transmitted by the dedicated protocol, and a dedicated protocol as protocol information for mutually converting the protocol. It stores a command code in a col and a command conversion table T] BL indicating the correspondence between the above-mentioned common code and the common code.
  • the data transfer format FMT is based on the actual data, such as the data content to be read / written, the data size, or the address to be read / written. This is a sgelton-like data-sequence where the part that changes depending on the data content to be transmitted is undefined, and the undefined part has only a defined use. If the command code area is undefined, if the data transfer format FMT extracted from the actual transmitted data sequence becomes common among multiple commands, the command code area May be undefined, and the data transfer format may be shared between these instructions.
  • the command conversion table TBL stores correspondence between the common code 64 and the command code of the PLC 3 connected to the serial cable 4.
  • the protocol conversion section 53 can convert one code into the other code.
  • the combination of the data transfer format FMT and command conversion table TBL is set according to the communication protocol of pLC3 before the display unit 5 and PLC 3 communicate the display / control data, and different communication
  • the protocol information is switched. For example, when changing from FLC 3 of model A to model B, the command conversion table TBL a shown in Fig. 11 and the command conversion table Switch to TBL b.
  • the selection of the communication protocol may be performed, for example, by the user operating the control computer 7 or the display 5.
  • the display 5 sequentially selects the communication protocol that can be transmitted by the display 5 itself, sends a command capable of specifying the communication protocol of the PLC 3 to the FLC 3, and performs communication by the response code from the PLC 3.
  • the protocol may be determined automatically.
  • the display 5 may store the above protocol information for all communication protocols adopted by the PLC 3 that can be connected to the display 5, or the currently connected PLC 3 Alternatively, only the communication protocol may be stored, and if necessary, may be downloaded from the control computer 7 or through a recording medium in various ways.
  • the protocol conversion unit 53 generates the data stream 41 to be transferred to and from the PLC 3 in real time during the operation of the control system.
  • the display 5 can transfer data to the PLC 3 without asking where the input data came from, and without stopping the control system even when the PLC 3 is changed. I can respond immediately.
  • the display 5 is an essential component of the control system, but in recent years, in order to display a high-resolution image, for example, a storage capacity of about several megabytes (generally, a PLC is several tens kilobytes) ), And the calculation speed is sufficient for display. Therefore, the display unit 5 can execute the above-described protocol conversion with a sufficient margin as compared with the PLC 3 suitable for the I / ⁇ control.
  • each PLC 503 is connected to each other
  • the storage capacity and processing capacity of the FLC can be reduced compared to the configuration in which each PLC 503 handles most of the communication in the control system 503. Can be reduced. .
  • the screen data does not pass through the PLC 3 during the entire screen display, so that the PLC 3 is required to download the screen data down. Even if the burden is small, it can continue to operate normally.
  • communication is performed using a common protocol. Accordingly, a plurality of PLCs 3 can be mixed in the same mouth control system 31, and the range of model selection can be widened. Further, the communication protocol is common in the network 6 of the local control system 31. Therefore, for example, devices connected to the network 6, such as a hub bridge and a router, can be freely diverted, and the degree of freedom regarding the arrangement of these devices and the FLC 3 can be improved. In addition, since the converter 5110 (see FIG. 44) in the conventional control system is unnecessary, the manufacturing cost of the entire oral control system 31 can be reduced.
  • the display 5 is subjected to protocol conversion, so that the devices such as the display 5 and the control computer 7 connected to the network 6 are common regardless of the PLC 3 model. They can communicate with each other by protocol. Therefore, the common protocol IF section 72 and the server section 73 of the control computer 7 can communicate with each display 5 and the PLC 3 via the display 5 only by communicating with the common protocol. More specifically, the server unit 73 identifies a data transmission destination (IF address) such as a write request or a read request based on the device address. The data is sent to the above ⁇ P address using the common protocol. On the other hand, when determining that the device address is the PLC 3, the server unit 73 transmits the data to the I address of the display 5 to which the PLC 3 is connected.
  • IF address data transmission destination
  • each display 5 and the I-address is specified when the display 5 is connected to the network 6, for example, by the user of the control computer 7.
  • the control computer 7 assigns a free I-address and determines the I-address, which is stored in a storage area (not shown) of the server unit 73.
  • the device address of each display 5 and the device address of the LC 3 connected to the display 5 are, for example, determined by the display 5 ⁇ .
  • the correspondence table stored in the display device 5 is read out, and if the setting can be made from the control computer 7, the correspondence table is distributed to the display device 5 for determination. Therefore, the server unit 73 refers to the correspondence table of the device address and the correspondence table of the IF address to determine the I address as the transmission destination of the read request or the write request. Can decide.
  • the arithmetic means such as a CPU executes a program stored in a storage means such as a ROM or a RAM, and a touch panel or a liquid crystal display device.
  • a storage means such as a ROM or a RAM, and a touch panel or a liquid crystal display device.
  • This is a function block realized by controlling input / output means such as a device or a communication circuit such as an interface circuit. Therefore, a computer having these means simply reads a recording medium (for example, a CD-ROM or the like) on which the above program is recorded, and executes the program.
  • the display 5, the control computer 7 and the client device 9 can be realized.
  • the virtual machine 91 and the browser 92 of the client device 9 are general-purpose browser software pre-installed on many computers.
  • the display 5 is configured in substantially the same manner as the display 5 of the control system shown in FIG. 1.
  • the display 5 of the control system is composed of a serial interface 56 provided between the serial cable 4 and the FLC side communication processing unit 51 '(dedicated protocol communication means), and a network 6
  • a network interface 57 is provided between the network communication processing unit 52 (common protocol communication means and relay means).
  • the display processing unit 55 of the display 5 instructs the network-side communication processing unit 52 to send the device 1. Outputs a data read / write command to 0 to other display unit 5.
  • This data read / write instruction is specified by a common protocol. Is determined. Therefore, the display processing unit 55 can communicate with the PLC 3 without knowing the model of the FLC 3 connected to the other display 5.
  • the communication processing section 51 on the PLC side communicates with the PLC 3 using a dedicated protocol specific to the FLC 3. Based on the requests from the protocol conversion section 53 and the display processing section 55, the PLC 3 Output data read / write command to
  • a control program LC side communication processing unit 5 1 is output from the c each section 5 1 - 5 3 - 5 5 to be output to the PLC 3, PLC-end communication processor 5 1 Temporarily stores them and sequentially processes them to output commands and control programs according to each communication instruction.
  • the network-side communication processing section 52 transmits and receives the data string 61 to and from the other display 5 and the control computer 7 according to the TCP / IP protocol, and based on the received identification data 62 of the data string 61.
  • the purpose of the data body 63 is identified, and in the case of display / control data, the data body 63 is passed to the protocol conversion section 53.
  • the data body 63 is passed to the communication processing section 51 on the PLC side and sent to the PLC 3. Further, in the case of screen data indicating the background image of the display unit 5 or the arrangement of graphic elements according to the device 10, the network-side communication processing unit 52 converts the data body 63 into the display processing unit 5. 5 to update the screen data. Conversely, when the data body 63 is received from the protocol conversion unit 53, the FLC side communication processing unit 51 or the display processing unit 55, the network side communication processing unit 52 The identification data 62 is added to the data body 63 and transmitted to the other display units 5 and the control computer 7.
  • the protocol conversion unit 53 converts the data sequence 41 (see FIG. 9) passed to and from the FLC 3 into a real-time format while the oral control system 31 is operating. Generated in the system.
  • the control computer 7 further includes a user processing unit 78 and a setting unit 79.
  • the user processing unit 78 instructs the server unit 72 to perform, for example, processing such as display / control of the status of each device 10 and aggregation.
  • the setting unit 79 sets the entire control system 31 such as the station name and the IP address of each display 5. Specifically, the setting unit 79 sets the display 5 connected to the network 6 to the station name and the IP address of each display 5 as shown in FIG. 13, for example. It manages the manufacturer, type and version of the connected PLC 3 and the devices 10 connected to each PLC 3.
  • These network participating station lists may be set by the administrator of the local control system 31 using the input means (keyboard or the like) of the control computer 7. Also, for example, according to a node search signal that the setting unit 79 instructs the server unit 72 to distribute to the network 6, each display 5 is connected to its own IP address or connected. The status information indicating the PLC 3 or the like may be transmitted, and the setting unit 79 may automatically create a network participating station list based on each status information.
  • the data string 61 transmitted through the network 6 has the same display contents Z control contents Is the same regardless of the PLC 3 model.
  • the user processing unit 78 of the control computer 7 instructs the PLC 3 to control the PLC 3 by instructing the server unit 72 in the same procedure even if the model of the PLC 3 is different. And receive data from the PLC 3. Therefore, a display that requires communication with PLC 3 You only need to prepare a program that communicates with the dedicated protocol for only 5. Further, even if the PLC 3 that communicates with the new communication protocol is developed, only the display 5 needs to correspond. As a result, compared to the control system shown in FIG. 44, the labor for manufacturing and maintaining the oral control system 31 can be reduced.
  • the client device 9 (control terminal device) includes an Internet communication processing unit 93 (wide area network communication means), a control program creation unit 94 (control protocol creation means), and a serial port emulator. (Hereafter, S
  • the Internet communication processing section 93 is connectable to the control computer 7 via the Internet 32, and includes the client device 9 shown in FIG.
  • the control program creation unit 94 creates or modifies the control program of the PLC 3 and outputs the control program in a format that can be output through a serial port.
  • the SPE 95 receives the control program instead of the serial port, and sends the instruction data indicating the control program itself and the transfer destination PLC 3 to the control computer of the oral control system 31 having the FLC 3.
  • the control computer 7 has an Internet communication processing unit that can be connected to the Internet communication processing unit 93 of the client device 9 via the Internet 32 (wide area network).
  • the Internet communication processing unit 80 specifies the transfer destination FLC 3 based on the received instruction data, and transmits a control program to the display 5 connected to the PLC 3 using a common protocol. To the server section 72 as described above. This allows the client device 9 to update the control program of the PLC 3 from any location that can be connected to the Internet 32.
  • the SFE 95 since the SFE 95 is provided, when the control program creation unit 94 is realized, for example, a serial host such as a control host computer 507 shown in FIG.
  • the control program creation software used for the device directly connected to the PLC 3 via the port can be used.This makes it possible, for example, to develop a control program creation software for each model of the PLC 3 without having to newly develop it.
  • Control programs can be described using 21 monics, ladder circuit diagrams, flow charts, or sequential function charts (SFC).
  • the control program creation unit 9 4 is based on the premise that directly. Connected to the PLC 3, a data string to be output to the serial port on the one hand c are formed so as to output a control program, SPE 9 5 is the transfer destination?
  • the control computer 7 of the local control system 31 having the PLC 3 and the display 5 to which the PLC 3 is connected can be set in advance.
  • the transfer destination PLC 3 itself is also set.
  • the SFE 95 presents, for example, a list of oral control systems 31 in which the control program of the PLC 3 is allowed to be updated in advance, and prompts the user to make a selection.
  • the control computer 7 to which the Internet communication processing section 93 is connected can be set.
  • the data for specifying the control computer 7 such as an address and a domain name on the Internet 32 are stored in advance.
  • the SPE 95 specifies the display unit 5 to the user, the information that can specify the display unit 5 among the information displayed in the network participating station list shown in FIG. Identify Display 5 by displaying a box for entering or selecting an address or station name.
  • S The FE 95 communicates with the control computer 7 in advance, and can automatically display the options by referring to the storage contents of the setting unit 79. This allows the user of the SPE 95 to specify the transmission destination in the same manner as when the display unit 5 is specified by the setting unit 79 of the control computer 7.
  • the SPE 95 when the SPE 95 receives the data string indicating the control program for the PLC 3 from the control program creation unit 94, the SPE 95 generates an identifier indicating the display 5 and the PLC 3, and a data string indicating the control program itself. Is instructed to transmit to the Internet communication processing unit 93 via the Internet 32 a command data including the following to the preset control console 7.
  • the control program for each PLC 3 Need to be created If the PLC 3 model is different and the address map such as the size and arrangement of the storage area or the machine language that the arithmetic unit such as CFU can understand is different, the control program for each PLC 3 Need to be created.
  • the control program creation software creates a control program from a ladder diagram or the like, so that relatively complicated processing is performed. Therefore, if a new control program creation software capable of outputting a control program to the control computer 7 via the Internet 32 is created for each PLC 3 model, it takes time to create the software. .
  • the conventional control program creation software can be used by providing S ⁇ 95. Therefore, it is possible to greatly reduce the time and effort for creating a program for realizing each part (91 to 95) of the client device 9.
  • each of the above-mentioned units 78 to 80 ⁇ 93 to 95 is also a function block realized by a program, similarly to the above-described units 71 to 77 ⁇ 91 ⁇ 92.
  • the setting unit 79 sets the IF address, station name, and FLC 3 connected to each display 5 to join the network in S11 (Fig. 14), and sets the network. I do. If the protocol converter 53 of the display unit 5 does not have the protocol information of the currently connected F ⁇ C3, the protocol information is transmitted from the setting unit 79 to the protocol converter 53. Can also be downloaded.
  • a data body 63 indicating the contents of the program information and an identification data 62 indicating the protocol information are transmitted as the data string 61 shown in FIG.
  • the data body 63 is transferred to the protocol conversion unit 53 by the unit 52.
  • the user processing unit 78 sends a data write command to the PLC 3 using the common protocol shown in FIG. (S12)
  • the server unit 73 obtains the IP address of the display unit 5 to which the PLC 3 is connected by referring to the network setting in S11, and obtains the IP address.
  • a data string 61 indicating a data write instruction is sent to the address (S13).
  • the network-side communication processing unit 52 determines the data body 63 for display / control based on the identification data 62 of the data sequence 61, and converts the data body 63 for protocol conversion.
  • the protocol conversion unit 53 extracts the common code 64 and the related information 65 from the data body 63 of the common protocol, and refers to the command conversion table TBL shown in FIG. Can be recognized, and the command code corresponding to the common code 64 is selected. If necessary, the expression format of the related information 65 is converted into an expression format that can be recognized by the PLC 3.As a result, the command code to be transmitted to the PLC 3 and the data content The body size and data size and address are determined.
  • the protocol conversion unit 53 creates a data string 41 to be sent to the FLC 3 with reference to the data transfer format FMT, and sends the data string 41 to the communication processing unit 51 on the PLC side. Instruct. -In addition, the communication processing unit 51 on the PLC side
  • the designated data sequence 41 is sequentially transmitted to the serial cable 4 (S15).
  • the PLC 3 receives the data write instruction in its own dedicated protocol, it controls the state of the device 10 according to the instruction (S16).
  • the protocol conversion unit 53 performs protocol conversion in the same manner.
  • the data transfer from the PLC 3 to the control computer 7 is performed in a procedure reverse to the above procedure.
  • the protocol converter 53
  • the command, data content itself, data size and address, etc. indicated by the data sequence 41 are applied to the data transfer format FMT, and the common protocol is extracted.
  • a data body 63 is created and output to the network-side communication processing unit 5.
  • the user processing unit 78 can receive the data string from the FLC 3 using the common protocol regardless of the model of the PLC 3.
  • the transmission destination of the control program is set in the SPE 95 of the client device 9 (S21).
  • the transmission destination is the combination of the control computer 7 and the station name or the IF address itself of the display 5 with the PLC 3 and the like. It is specified by the same information as the network setting.
  • the server unit 73 can obtain the IP address of the display 5 to which the PLC 3 is connected by referring to the setting in SI1. Therefore, the SPE 95 inquires the server unit 73 via the Internet communication processing unit 93, the Internet 32, and the Internet communication processing unit 80. The user of the SFE 95 can specify the display 5 in the same manner as the network setting without learning a new specifying method.
  • the Internet communication processing unit 80 When communicating via the Internet 32 such as S21 and S24 described below, the Internet communication processing unit 80 is connected to the Internet communication processing unit 93. Whether the update of the control data is permitted to the client device 9 or its user by confirming whether the identification number and password received from the customer are a predetermined combination, for example. Authenticate whether the client device is not permitted and deny access from the client device 9 that is not permitted. If the authentication fails, the client computer 9 is denied access by the control computer 7, so that data from the client device 9 does not flow through the network 6. Therefore, the security of the oral control system 31 Can be improved.
  • control program creating section 94 determines or selects a control program to be sent to the FLC 3 by creating or modifying a control program, selecting a previously created control program, or the like (S22).
  • control program creation section 94 instructs, for example, an operating system (OS) to send the control program to the serial port (S23). Then, SPE 95 sends a transmission instruction. The control program is received in place of the serial port by interception, etc., and the identifiers indicating the display 5 and the PLC 3 set in S21 and the instruction data indicating the received control program are created. It instructs the Internet communication processing section 93 to send the data to the set control computer 7 (S24). In response, the internet communication processing unit 93 sends the instruction data to the internet communication processing unit 80 of the control computer 7 via the internet 32.
  • OS operating system
  • SPE 95 sends a transmission instruction.
  • the control program is received in place of the serial port by interception, etc., and the identifiers indicating the display 5 and the PLC 3 set in S21 and the instruction data indicating the received control program are created. It instructs the Internet communication processing section 93 to send the data to the set control computer 7 (S24). In response, the internet communication processing unit
  • the internet communication processing unit ⁇ 0 upon receiving the instruction data, transmits the control program to the display unit 5 specified based on the instruction data.
  • the server unit 73 adds the identification data 62 p indicating the control program to the data body 63 as the control program itself, and outputs 6 1p (see FIG. 10) is created and transmitted to the specified IP address of the display unit 5 (S26).
  • the IF address of the destination is specified by referring to the network setting in S11 in Fig. 14.
  • the network-side communication processing unit 5 of the display unit 5 determines that the data body 63p is a control program based on the identification data 62p of the data string 61p, and determines the data body 63p. It instructs the PLC side communication processing unit 5 1. 1 to send p as it is. In addition, the PLC-side communication processing section 51 sends the data body 63 p to the PLC 3 in response to this (S27).
  • the data body 63p is a data string output by the control program creation unit 94, that is, the same data string as the data string output to the serial port. Therefore, the communication processing unit 51 on the PLC side The output allows the PLC 3 to receive the control program without any problem, even though the Internet 32 and the network 6 exist in the transmission path of the control program. Control program can be updated (S28).
  • the present invention is not limited to this.
  • the same applies even if an identifier that can be specified by the PLC 3 in the entire control system is added to the instruction data, and the Internet communication processing unit 80 of the control computer 7 specifies the display 5 based on the identifier. The effect is obtained.
  • the SPE 95 specifies the PLC 3 in the same way as the setting unit 79, the user of the SPE 95 does not need to learn another specification method from the setting unit 79.
  • the PLC 3 responds in response to a request from the display or control side.However, the PLC 3 or the display 5 has a predetermined cycle.
  • the data may be distributed every time or at a predetermined event.
  • the expression format when the data is transmitted over the network 6 may be specified regardless of the PLC 3 model.
  • the display of the network 6 is performed so that the same control instruction or the same data indicating the same state is the same when transmitting the network 6 as the same.
  • the transfer protocol common protocol
  • the display unit 5 converts between the common protocol and the protocol dedicated to the model II.
  • the control system shown in FIG. 16 further includes a public server device 8 that publishes data indicating the state of the oral control system 31.
  • the Internet communication processing unit 80 shown in FIG. 12 performs communication processing with the public server device 4 via the Internet network 32.
  • the Internet communication processing unit 80 communicates with the public server device 8 using a predetermined encryption key or decryption key. connect.
  • the Internet communication processing unit 80 stores various data used when connecting to the Internet 32.
  • the above-described internet connection communication unit 80 communicates with the public server device 8 at a desired timing such as when an instruction is received from a user or when screen data is changed.
  • the screen data stored in the screen data memory 75 (see FIG. 1) is transmitted to the public server device 8. Also, the Internet communication processing unit 80 accesses the public server device 8 at a predetermined time, such as when the device 10 is changed or at a predetermined time interval.
  • the contents (device data) of the device address A required for data disclosure are transmitted to the public server device 8.
  • the content of the device address A is obtained via the server unit 73 in the same manner as when the display processing unit 71 obtains it.
  • the display processing unit 71 sets the device address A to As in the case of changing the contents, the instruction can be relayed to the display 5 itself or the PLC 3 connected to the display 5 to transmit the change instruction to the entity of the device address A.
  • the public server device 8 includes a communication control unit on the oral control system side (hereinafter referred to as an oral communication processing unit) 8 1, a file generation unit 8 2, a display file.
  • a storage unit 83, a data memory 84, and a public server unit 85 are provided.
  • each of the above sections 8 ′ 1, 8 2, 84, and ⁇ 5 is a functional block realized by a program, similarly to the above sections 7 1 to 7 7 9 1 9 2.
  • the processing of storing the display file in the display file storage unit 83 is also realized by a program.
  • An XML (extensible mark-up language) file stored in the XML file storage unit 83 b is created for each unit screen # included in the screen data of the display 5.
  • Each XML file contains an XML element (element) indicating each tag (processing instruction word) related to the unit screen.
  • the XML file corresponding to the main screen includes a Tag element E 1 corresponding to the display tag WL.
  • the Tag element E 1 includes the TagName element E 11, X element E 12, Y element E 13, and LibraryN.o element E 14 corresponding to the event name, display coordinate range, reference file number, device address, etc. , BitSym bo 1 Name element E 15 etc. are included.
  • LibraryNo element E14 represents the registration number in the library group for using the figure registered in the library by the user.
  • each of the elements E11 to E15 are set to "L-0000", "-232", "122”, ",” according to the contents of the display tag WL. 1 0 1 "and” 0 1 0 1 0 0 "are set.
  • the XML file corresponding to the main screen is displayed.
  • the Tag element E 2 corresponding to the input WT.
  • this Tag element E 2 has a TagName element E 2.1, a Symbo IName element E 22, an X element E 23 Y element E 24, corresponding to an event name, a device address, a valid input range, and the like.
  • X2 element E25, Y2 element E26, etc. are set to contents corresponding to the contents of input tag WT.
  • the file generation unit 82 determines the processing instruction word (tag WL / WT ⁇ ) of a certain unit screen, that is, the file number of the base screen from the screen display of the display unit 5 in advance. By sequentially extracting tags with the value of, generating an XML element corresponding to the tag, and setting the content of the XML element according to the tag, an XML file of the unit screen can be created.
  • the applet stored in the applet storage section 83c is implemented as a bytecode written in the Java language that can be executed by the virtual machine 91, similar to the applet used in the control system in Fig. 1. Have been.
  • the applet is a class that defines a method corresponding to the type of tag that can appear in the screen data, and a method that calls the method corresponding to the tag type by referring to the XML file. Is defined.
  • the no-charter machine 91 refers to the XML file and calls and executes a method corresponding to the tag type based on the XML element indicating the evening.
  • the HTML file stored in the HTML file storage unit 46 is created for each display 5.
  • the HTML file contains a string P11 for executing the above-mentioned applet on the virtual machine 91 and an HTML such as "KUHTML>" or "KUTITLE>". It contains the string F1 required for the document. Also, the HTML file contains, for example, a table displayed by the applet. A character string F2 conforming to the HTML format, such as a character string for displaying a character or an image for explaining the indicator 5, may be included. Further, the HTML file may include a character string P12 for executing an abbreviation for switching unit screens.
  • an XML file is provided on the unit screen ⁇ .
  • the information is specified as a parameter when executing the ablet.
  • the first unit screen displays the attribute value of the FARAM element attribute name "BASESCR" (in this example, Is specified as "1").
  • the virtual machine 91 includes a display page information acquisition unit 93, a display processing unit 94, a communication processing unit 96, and a screen data memory 97.
  • the display page information acquisition unit 93 is a display page information indicating the unit screen currently displayed on the display unit 5 based on the screen data stored in the display page information storage unit 84a of the public server device 8. Is obtained via the communication processing unit 96. the Internet 32 and the public server unit 85.
  • the display processing section 94 includes a display mode switching section 94a and a remote display page information storage section 94b.
  • the display mode switching section 94a includes a coincidence display mode in which the same unit screen as the unit screen currently displayed on the display unit 5 is displayed on the client device 9, and a mismatch display mode in which another unit screen can be displayed. The switching is performed based on an instruction from the client device 9 during the operation.
  • Remote display page information The storage unit 94 b stores remote display page information indicating a unit screen to be displayed next on the client device 9.
  • the file generation unit 82 uses the dedicated display corresponding to the hardware and software specifications of the client device 9 where access is expected based on the screen display of the display 5.
  • a generator (not shown) for generating a display file may be provided in the specifications of the client device 9 (for example, for each type of browser). Also, one generator may be provided in the file generation unit 82 and switched by a switch or the like to generate a display file corresponding to each specification of the client device 9.
  • the local communication processing unit 8 1 In each generator, the local communication processing unit 8 1
  • an HTML / XML file is automatically generated and stored in the specified folder set in the display file storage unit 83 (both file storage units 83a and 83b). May be.
  • the user of the public server device 8 selects the specification (for example, the type of browser software) of the client device 9 to be displayed by the file generation unit 82, and thereby the client device is displayed.
  • HTML / XML files for 9 may be generated and stored in the specified folder.
  • the user of the local control system 2 operates the image processing unit 74 (see FIG. 1) of the control computer 7 to obtain the actual conditions of the target system and the proficiency of the operator of the display unit 5 or the user's preference.
  • the created screen data can be confirmed to operate normally by, for example, a simulation ⁇ connection test.
  • the control computer 7 accesses the public server device 8 (S34) ⁇ the public server device 8
  • the oral communication processing unit 81 compares the received combination with the account and password combination stored in advance, for example.
  • the user is authenticated (S35). If the authentication is successful, the screen data is transmitted from the local control system 31 to the public server device 8 (.S36).
  • the file generation unit 82 when the public server device 8 receives the screen image from the role control system 31, the file generation unit 82 generates a display file (HTML file or HTML file and XM file) based on the screen data. L file) is generated (S37). Further, the file generation unit 82 stores the generated display file storage unit 83 in the HTML file storage unit 83a and the XML file storage unit 83b of the display file storage unit 83.
  • an instruction is given to display the screen of the display unit 5 of a certain local control system 31 (S38).
  • S6 it authenticates whether or not the display and control on the screen are permitted to the user or the client device 9 (S39), and the access from the unauthorized user or the client device 9 is performed. Refuse.
  • the browser determination unit 85a determines the browser of the client device 9 that has transmitted the request (S40). At this time, for example, the request from the client device 9 is Detects the browser name described in the header of the browser. Public server section 8
  • the 5 is an HTML file and an XML file requested by the client device 9 among the display files generated in S37 and stored in the display file storage unit 83, and the browser determination unit.
  • the information is read from the folder corresponding to the browser determined by 85a as appropriate, and transmitted to the client device 9 via the Internet 32 (S41).
  • the browser 92 extracts an APPLET element (a part of “KU APPLET>” to “KU / APPLET>”) from the received HTML file and causes the virtual machine 91 to execute it ( S42). Accordingly, the virtual machine 91 communicates with the public server unit 85 based on the parameters directly given in the HTML file to the applet or the parameters given by the XML file, and displays them. Display and control similar to that of unit 5 are performed.
  • the public server unit 85 When the public server unit 85 receives a request to display the screen of the display unit 5 of a certain local control system 31 from the browser 92, the public server unit 85 out of the storage area of the data memory 84 receives the requested local control system 3
  • the device data (contents of the device address A) is read from the storage area corresponding to 1 (the area for the user corresponding to the display file and the area corresponding to the device address A) based on the device address A.
  • the drawing method is set by parameters of the display screen of the client device 9 according to the device data. Update the display in the display area (X ⁇ Y).
  • the virtual machine 91 is executing a display file, for example, When an input operation such as a mouse operation is performed, the input method of the instance corresponding to the input operation is executed among the instances corresponding to the input tags in the HTML / XML file. As a result, the virtual machine 91 requests the public server 85 to write the data corresponding to the input result to the specific device address A. Then, upon receiving a write request from the client device 9, the public server unit 85 rewrites the contents of the requested device address A area in the storage area of the data memory 84. As a result, the operation result is reflected on the display screen of the client device 9 in the same manner as the display 5 at the time when the drawing method is executed after writing.
  • the display processing unit 94 waits for the input operation by the operator (S 51), and the input operation by the operator is detected. Then, the content is determined (S52). Next, as a result of the judgment of the input operation, when the page switching is inputted by the operation ("Page switching input" in S52), the display processing section 94 is switched to the display mode switching section 94. Based on the setting of a, it is determined whether the display mode is set to the match display mode or the mismatch display mode (S53).
  • the display processing unit 94 writes the specified new page as the display page information into the display page information storage unit 84 a.
  • a request is made to the public server unit 85 via the communication processing unit 96 (S54).
  • the display processor 94 then communicates the XML file (data of the currently displayed screen) corresponding to the display page information.
  • the transmission request is sent to the public server unit 85 via the processing unit 96, and the request is acquired and stored in the screen memory 97 (S55).
  • the display processing unit 94 sets the specified new page as the remote display page information to the remote display page information storage unit 94 b.
  • the display processing unit 94 requests the public server unit 85 to transmit the XML file corresponding to the remote display page information via the communication processing unit 96 to obtain the XML file, and stores the XML file in the screen data memory 97.
  • Store (S57) the display processing unit 94 requests the public server unit 85 to transmit the XML file corresponding to the remote display page information via the communication processing unit 96 to obtain the XML file, and stores the XML file in the screen data memory 97.
  • the display processing unit 94 based on the new XML file acquired from the display file storage unit 83 and stored in the screen data memory 97, transmits device data necessary for screen display to the communication processing unit 9.
  • a request is sent to the public server section 85 via the server 6 to obtain the request (S58).
  • the display processing section 94 stores the data memory of the instructed device data.
  • the writing to the public server unit 85 is requested to the public server unit 85 via the communication processing unit 96 (S59). Thereafter, the display processing unit 94 is required to display the screen based on the XML file stored in the screen data memory 97, that is, the XML file that draws the screen on which the operator instructed to change the data.
  • a request is made to the public server unit 85 for transmission of the necessary device data to obtain it (S60).
  • FIG. 23 is a flowchart showing a procedure for updating the screen in the automatic update timing of the client device 9.
  • the automatic update timing of the screen is, for example, a predetermined time interval.
  • the display processing unit 94 waits for the automatic screen update timing (S71).
  • the display processing unit 94 displays the image based on the setting of the display mode switching unit 94a. It is determined whether the mode is set to the match display mode or the non-match display mode (S72). As a result of this determination, if the display mode is the “match display mode”, the display processing unit 94 stores the display page information in the display page information storage unit 84 a by the display page information acquisition unit 93. The displayed page information is acquired (S73). The display processing unit 94 determines whether or not the acquired display page information has been changed (S74).
  • the display processing unit 94 communicates the XML file corresponding to the changed display page information stored in the display page information storage unit 84a.
  • the request is sent to the public server unit 85 via the processing unit 96 to request and acquire the request, and is stored in the screen data memory 56 (S75).
  • the display processing unit 94 publishes device data necessary for screen display via the communication processing unit 96.
  • a request is sent to the server unit 85 for acquisition (S76). '
  • the display processing unit 94 Requests the transmission to the public server unit 85 via the communication processing unit 96 for the device data required for screen display, and acquires the device data (S78).
  • the display processing section 94 is a screen data memory. The above-mentioned request is made based on the stored XML file, that is, the same XML file as the XML file that performed the previous drawing.
  • the display processing unit 94 draws the image based on the device data obtained from the data memory 84 and the display file (HTMLZXML file and ablet) stored in the screen data memory 97. And update the screen (S77).
  • the first unit screen is specified as the attribute value of the attribute name “BAS ES CR” of the PARAM element (“'” in this example).
  • the attribute "BASESCR” becomes invalid, and the initial display is performed with the initial screen number set in the display unit 5.
  • the display processing unit 94 executes the remote control of the client device 9.
  • "1" is stored as remote display page information in the display page information storage section 94b, the corresponding HTML / XML file is acquired, and the unit screen "1" is displayed on the client device 9.
  • the display page information indicating the unit screen displayed on the display unit 5 is stored in the display page information storage section 84a of the data memory 84 independently of the remote display page information.
  • the local control system The system 31 and the public server device 8 store all device data necessary for screen display, including display page information indicating the unit screen currently displayed on the display unit 5, in the data memory 84. Therefore, the client device 9 obtains the status of the local control system 31 via the data memory 84 without directly communicating with the mouth-force control system 31, In other words, a screen different from the screen displayed on the display unit 5 can be displayed on the client device 9. Further, in the present control system, since the device data only needs to be transmitted, the setting of the oral control system 31 can be simplified.
  • the state of the local control system 31 can be displayed on the remote client device 9 without imposing a burden on the user of the local control system 31.
  • the client device 9 and the roll control system 31 do not directly communicate with each other due to the screen display on the client device 9, the safety of the local control system 31 with respect to the client device 9. Can be secured.
  • the screen data memory 97 stores an HTML / XML file of a screen dedicated to the client device 9 which is not displayed on the display unit 5, and stores the display mode switching unit 94a. By switching, these dedicated screens and the unit screen displayed on the display 5 may be switched and displayed. As a result, a display screen for system data that is not required on site and a display screen for remote maintenance can be constructed in the client device 9.
  • the applets distributed by the public server unit 85 display / control based on an XML file indicating tags (processing instructions) related to each unit screen. It is not limited to.
  • the file generation unit 82 refers to the contents of the above tags for all tags in the screen data, and generates a screen display template based on the reference result, as indicated by the character string F11a. Generate the character string to be called and describe it in the HTML file.
  • the control system does not need the XML file storage unit 87 (see Fig. 16). Therefore, the display file storage unit 83 'stores the HTML files and the templates in folders corresponding to each specification of the client device 9, respectively.
  • the public server unit 85 displays the display 5 according to the device status based on the screen data, and changes the device status according to the operation. If the operation at the time of instructing can be similarly instructed to the client device 9, the control system shown in FIGS. 16 and 19 can obtain substantially the same effect.
  • the control system shown in FIG. 24 has basically the same configuration as the control system shown in FIG. However, in this control system, the client device 9 further includes a text editor 98.
  • the text editor 98 displays / edits a text file among the files stored in the screen data memory 97.
  • the user of the client device 9 simultaneously displays the device status displayed on the unit screen shown in FIG. 2 and the device status displayed on the unit screen shown in FIG. 26. Or, if the user wants to operate it, the text editor 98 is operated by the user and XM corresponding to both unit screens is operated.
  • the XML file is a text file as shown in FIG. 17, and can be edited by a general-purpose program such as a text editor 98.
  • each element can be hierarchized, and the elements ( ⁇ 1) related to the contents of the processing directives are placed under the Tag element (E1, E2) corresponding to each processing directive (tag). 1 to ⁇ 15 ⁇ ⁇ 21 to ⁇ 26) are included. Therefore, by editing (inserting / deleting) each Tag element by manipulating the text editor 98, the operations such as the display operation and input operation indicated by the processing directive (tag) can be performed in the XML file. insertion or still c may or deleted, the text Toedi evening 9 8, each T ag element is represented as a series of text (Ku Tag> ⁇ rather / Tag> to text).
  • the display area and input area related to each Tag element may overlap.
  • the positions of these areas are determined by X elements, Y elements, and the like, and these elements are surrounded by predetermined marks so as to be understood to be related to negative coordinates. Therefore, by adjusting the contents of these elements, the display area and the input area can be moved, and for example, a new screen can be easily created as shown in FIG.
  • the XML file for displaying this screen is based on the XML file on the screen shown in Fig. 26, which is related to the ON / OFF switch.
  • the Tag element is deleted, the Tag element related to the switch is extracted and imported from the XML file on the screen shown in Fig. 1, and the display / input area in the Tag element related to the switch is displayed. It is created by changing the content. Since all of these editing operations are editing operations for text, the general-purpose text editor 98 can be used without any problem.
  • the present control system simulates the input / output of devices of the portal control system 31 in place of the data memory 84 of the public server device 8 shown in FIG.
  • a simulator 86 may be provided. In such a configuration, it is possible to monitor and control not the actual local control system 31 but the virtual local control system.
  • the public server unit 85 transfers the inquiry and the content change instruction from the client device 9 to the simulation server 86.
  • the simulator 86 may, for example, simulate the input / output of the device by an operation according to the characteristics of the device itself, or may output the previous output, the current input, or the time or reference count, etc.
  • a table in which the output and the output are associated may be stored in advance, and the input and output of the device may be simulated by referring to the table.
  • the simulator 86 like the other parts, is also a functional block realized by the arithmetic means executing a program stored in the storage means.
  • the present control system may include an aplet memory 87 in place of the above-described simulation-86.
  • the applet memory 87 stores a simulator ablet for making the client device 9 simulate the input and output of the device of the local control system 31. This allows the client device 9 to execute an operation similar to that of the display 5 and an operation similar to that of the simulator 86. An ablet to be executed by the ant device 9 can be sent.
  • the public server unit 85 transmits the applet of the applet memory 87 to the client device 9 together with the applet of the applet memory 87.
  • the simulator 8 is installed in the client device 9.
  • a simulator similar to 6 is formed. Further, when the applet stored in the applet memory 87 is executed by the client device 9, the client device 9 does not contact the public server unit 85, but the client device 9 stores the applet in the client device 9. The screen is displayed based on the result of inquiring of the above simulator.
  • the simulator device 86 (or the client device 9) is formed by a client device 9 located at a remote location. Monitor and control the virtual oral control system 31 realized by the simulation. Therefore, the client device 9 allows a pseudo experience of the actual operation / operation result of the display 5, which is suitable for, for example, training the operator of the display 5.
  • the control computer 7 a of the local control system 31 a includes a file generation unit 82 and a display file storage instead of the Internet communication processing unit 80 (see FIG. 1).
  • Department 83 and public server department 85 accesses the server unit 73 instead of the data memory 82, and Acquires the contents of the address and instructs to change the contents of the device address.
  • file generation unit 82 is, c to generate a HTML file and XML file reads screen data from the screen de one data memory 7 5 [Embodiment 2]
  • FIGS. 31 to 37 Another embodiment of the present invention will be described below with reference to FIGS. 31 to 37. Note that, in the present embodiment, components having the same functions as those of the above-described first embodiment are denoted by the same reference numerals, and description thereof is omitted.
  • the control system includes a control host computer (hereinafter, referred to as a control computer) 1, a plurality of displays 5, and a plurality of? L C 3 ... -The control computer 1 and the display '5 ... are connected to each other via a network 6 capable of performing communication using a common communication protocol.
  • the display 5 and the PLC 3 are individually connected via a serial cable 4 capable of performing communication with a unique communication protocol for each PLC 3.
  • the display 5 is connected to a computer 33 for creating a screen (display screen).
  • the network 6 is connected to an in-network 1 32 as a network via a network (not shown).
  • a client device 9 is connected to the Internet 32.
  • the computer 33 is configured by, for example, a personal computer, and includes the above-described drawing editor 33a and the screen data file storage unit 33b.
  • the drawing editor 33a has almost the same function as the drawing processor 74 (see FIG. 1) in the control system of the first embodiment.
  • the screen data file storage section 33b stores the screen data for one screen created by the screen editor 33a as one file (screen data file), which is stored here.
  • the screen data is transmitted to the display 5 as needed, and is downloaded to the screen memory 54.
  • the display unit 5 as a control display device has a screen data memory 54, an input unit 55b ⁇ serial interface (I / F in the figure) 56, a network interface, and a network interface (I / F) in the figure.
  • I / F) 57, a data processing section 5a, a display section 5b, a conversion data storage section 5c, and a maintenance port 5d are provided.
  • the display 5 has the same basic functions as the display 5 in the control system of the first embodiment (for example, see FIG. 1).
  • the data processing unit 5a includes the PLC-side communication processing unit 51, the network-side communication processing unit 52, the protocol conversion unit 53, and the display processing unit 55 described above.
  • This data processing unit 5'a performs processing for uploading (transmitting) the screen stored in the display unit 5 to the control computer 1 in addition to the above-described protocol conversion processing and screen display control. Performs various data processing to perform
  • the data processing unit 5a stores the data in the conversion data storage unit 5c.
  • the above protocol conversion processing is performed so as to change from one communication protocol to the other communication protocol while referring to the obtained data.
  • the data processing unit 5a performs the above-described display so that the screen is rendered on the display unit 5c using VRAM or the like based on the screen data created in the above-described drawing editor. Perform control. Further, the data processing unit 5a switches a plurality of screens in response to a switching instruction input by a user.
  • the data processing unit 5a converts the screen data of the specified unit screen from the screen data stored in the screen data memory 54 in response to a request from the server unit 11 described later in the control computer 1. Extract and send to control computer 1. Further, the data processing unit 5a registers in advance a password for which access is permitted in the screen data memory 54 or the like, and registers a password entered by the user in the control computer 1 in the control computer 1. -Upload of screen data is permitted when it is recognized as a password. As described above, by performing the security check for restricting the upload of the screen data overnight, it is possible to prevent the screen data from being inadvertently leaked.
  • the data processing unit 5a is a functional block realized by executing a program provided by a recording medium, similarly to the above-described units such as the control computer 7 (see FIG. 1).
  • the display unit 5b is configured by a flat display element such as a liquid crystal panel or an EL panel in order to configure the display unit 5 in a small size that is easy to incorporate into a control panel or the like.
  • the conversion data storage section 5c stores data required for protocol conversion processing. This data may be in any format as long as the communication protocol can be converted between the serial cable 4 and the network 6.
  • the conversion data storage unit 5c according to the embodiment is a data transfer format indicating the format of data transmitted through the serial cable 4, and is transmitted between the serial cable 4 and the network 6. And a command conversion table (see Fig. 11) indicating the correspondence between the command codes.
  • the screen data memory 5 4 (storage means) here is
  • a memory for storing the screen created by the user in 3a which is made up of flash ROM and the like.
  • the maintenance port 5d is a communication port for performing communication with the computer 33 described above.
  • the maintenance spot 5d is provided to download the screen data of the screen created by the screen editor 3a of the computer 33 to the screen data memory 54 described above.
  • C control computer 1 is similar to a general-purpose personal computer-
  • the control computer 1 includes a server unit 11.
  • a common protocol IF unit (. I / F in the figure) 12 a screen data file storage unit 13, a file conversion unit 14, a file storage unit 15, Public server section
  • the common protocol IF section 12 is connected to the network 6 for performing communication with the display 5.
  • the common protocol IF section 12 has almost the same function as the common protocol IF section 72 in the control system of the first embodiment.
  • the server unit 11 communicates data with the display units 5 via the network 6 overnight, and processes the output data of the PLC 3 transferred from the PLC 3 via the display unit 5. —Perform processing such as collecting evenings.
  • the output data described above is data (device data) indicating the status of the device (numerical values, 0N ⁇ 0FF, etc.) and the output of the PLC 3 itself (alarm output, etc.).
  • the server unit 11 supplies such output data and device address to the public server unit 16 in response to a request.
  • the server unit 11 requests the data processing unit 5a of the display unit 5 to update the screen data in response to a user's input instruction, and the screen data is uploaded via the data processing unit 5a.
  • the screen data is stored in the screen data storage 13.
  • the server unit 11 performs communication processing with the data processing unit 5a for the above-mentioned appropriation even in response to a request from the client device 9 via the public server unit 16.
  • the screen data file storage unit 13 stores a screen data file (screen data file) developed by the data processing unit 5a and the server unit 11 from the screen data memory 54 of the display unit 5. File).
  • the file conversion unit 14 (generation unit) generates a terminal file by converting the screen data file stored in the screen data file storage unit 13 into the HTML file and the XML file.
  • the file converter 14 has almost the same function as the file generator 82 (see FIG. 16).
  • the display file storage unit 15 having almost the same functions as the display file storage unit 83 described above (see FIG. 16) includes an HTML file storage unit 15a, an XML file storage unit 15b, and an applet storage unit. It has 1 5 c.
  • the public server section 16 (communication means and acquisition means) is substantially the same as the public server section 77 of the control system (see FIG. 1) in the first embodiment. Has a function.
  • the control computer 1 has a public server section 16 so as to function as a Web server (server device) on the Internet 32.
  • the server section 11, the file conversion section 14, and the public server section 16 are function blocks realized by executing a program provided by a recording medium, similarly to the data processing section 5a. .
  • the processing of storing the display file in the display file storage unit 15 is also realized by a program.
  • the public server section 16 of the control computer 1 displays the operation of the display 5 according to the state of the device based on the screen data, and the state of the device according to the operation. An operation almost identical to the operation at the time of instructing the change is instructed to the client device 9.
  • the display destination is the display surface of the display device (not shown) of the client device 9, and the operation is not shown of the client device 9. Receive from input device.
  • the client device 9 accesses the public server section 16 of the control computer 1 via the internet 32 and instructs the display of a certain display 5 to be displayed (S81). ). Then, the public server unit 16 confirms whether the identification number, password, and the like received from the client device 9 are registered in advance, and displays / controls on the above screen. It is checked whether or not the client device 9 or its user is authorized (S82), and the unauthorized client device is checked. Deny access from 9.
  • the display unit 5 displays the above identification number, password, etc., inquired from the public server unit 16 via the server unit 11 by the data processing unit 5a. Check whether or not uploading of the screen image is permitted to the client device 9 or its user by checking whether it is registered in advance in (S-8) 3 •). Then, the upload from the client device 9 that is not permitted is rejected.
  • the screen data of the display unit 5 (screen data file) is uploaded to the screen data file storage unit 13 (S84).
  • the data processing section 5 a of the display 5 takes out the specified screen data from the screen data memory 54 and transfers it to the control computer 1.
  • the server section 11 receives the screen data and stores it in the screen data file storage section 13 or the main memory.
  • the transmission direction is determined according to, for example, the change time, the operation priority, and the like.
  • the server unit 11 when updating the storage contents of the server unit 11 in accordance with the contents of the device address of the display unit 5, the server unit 11 'Get the address contents and send as device data. Conversely, when a change in the storage content of the server unit 11 is transmitted to the entity of the device address, the server unit 11 stores the device data when the display unit 5 accesses. Send to display 5.
  • the file format is an HTML file and an X file.
  • a file for displaying based on the device data such as an HTML file for displaying data obtained by statistically processing the device data, may be made public.
  • substantially the same effect can be obtained by distributing another execution program instead of the ablet.
  • a screen image stored in the display unit 5 is uploaded, a file for publication is created based on the screen image, and a client is created. It is configured to display the screen of the screen data on the device 9 and perform an operation from the screen.
  • the control computer 1 does not have a dedicated screen data file storage unit 8b for storing the screen data as in the case of the computer 33, the control computer 1 is displayed on the display unit 5.
  • the same screen as the screen can be displayed on the client device 9. Therefore, it is not necessary to store in the control computer 1 the same screen data as the screen data stored in the screen data storage unit 33b.
  • the control system shown in FIG. 33 includes a control computer 1, a plurality of displays 5, a plurality of client devices 9, and a plurality of FLCs 3.
  • the public common network 34 (local network) Network) is a local network such as an intranet integrated with TCP / IP.
  • the public network on the public side is a type of network in which information is exchanged in a closed manner, such as within a company, it is necessary to protect important information that cannot be disclosed to the outside with a firewall. is there.
  • the server section 11 supplies the output data device address to the communication processing section I9 as required. Further, upon receiving the instruction to change the content of the device address A from the client device 9, the server unit 11 rewrites the content of the device address A to a value corresponding to the instruction.
  • the drawing unit 17 has almost the same function as the drawing processing unit 74 (see FIG. 1) in the control system of the first embodiment.
  • the screen data file storage unit 13 stores one screen of the screen created by the drawing unit 17 as one file (screen data file).
  • the communication processing unit 19 (server-side communication means) communicates with an applet described later in the client device 9 via the communication processing unit 96. Further, the communication processing section 19 functions as a center of communication processing in the control computer 1, and accesses from the communication processing section 96 of the client device 9, which will be described later, and a display file in the control computer 1. It performs communication processing for access from the file storage unit 15 (server-side storage means) and the server unit 11, access to the server unit 11 and the communication processing unit 96, and the like. In this communication processing, for example, an HTML file and an XML file, device data are transferred to an execution unit in response to a request of the applet stored in the applet storage unit 15c. 18 and is returned to the communication processing unit 96 by accessing the server unit 11 in response to a request from the applet stored in the ablet storage unit 98c described later.
  • this communication processing for example, an HTML file and an XML file
  • device data are transferred to an execution unit in response to a request of the applet stored
  • the communication processing section 19 has a user account file, and performs a protection process according to the level of access from the client device 9 using the user account file. .
  • the communication processing unit 19 sets, for example, a user name, a password, an access level, an alarm log, a comment, and the like for each user.
  • the access levels are as follows: Display level of Display 5: Level for reading only, Level for allowing not only reading but also writing, Display
  • the reset command described above is a command for resetting the display unit 5 as a means of recovering from the occurrence of an abnormality such as a communication error in the display unit 5.
  • a recovery measure can be taken from the control computer 1.
  • the alarm log file is a file for causing the control computer 1 to display alarm information from the PLC 3 stored in the display unit 5.
  • the execution unit I8 is a program for executing the applet stored in the alphabet storage unit 15c (execution program storage unit), and has a function equivalent to that of a virtual machine.
  • the server unit 11, the communication processing unit 19, and the execution unit 18 also execute the program provided by the recording medium, similarly to the above-described data processing unit 5a (see FIG. 31).
  • This is a functional block realized by The client device 9 here has a display file storage unit 98 (terminal-side storage means).
  • the display file storage section 98 has an HTML file storage section 98a, an XML file storage section 98b, and an applet storage section 98c.
  • the HTML file storage unit 98a and the XML file storage unit 98b store the HTML file storage unit 15a and the XML file storage unit 15b, respectively. And the same file as the XML file.
  • the applet storage unit 98 c stores an alphabet created in advance for each specification of the client device 9.
  • the applet stored in the applet storage section 98c has almost the same function as the applet stored in the above-described applet storage section 15c. 5 is different from the above-mentioned abrupt in that it is executed by the virtual machine 91 (display processing means) in order to display the screen displayed on 5 and enable operations from the screen. Therefore, the virtual machine 9 1 to perform this ⁇ flop column DOO refers to the XML file, based on the XM L element indicating a tag, t for example, calls the menu along de corresponding to the tag type, the virtual machine 9 1
  • the method corresponding to the method to be executed and the display method are the above-described drawing methods, and the method corresponding to the input tag is the above-described input method. '
  • the communication processing unit 96 (terminal-side communication means) communicates with the communication processing unit 19 via the public-side common network 34 in response to the above-mentioned request for the above-mentioned information. It functions as the center of communication processing in the client device 9 and communicates with the display file storage unit 98, the access from the communication processing unit 19, the access from the virtual machine 91, etc. Performs communication processing.
  • this communication processing for example, the HTML file and the XML file from the rain file storage units 98a and 98b are downloaded to the virtual machine 91 according to a request from the applet, while the server unit is downloaded.
  • the device data obtained from 11 is obtained by accessing the communication processing unit 19.
  • the control computer 1 when the control computer 1 is instructed to display the screen displayed on the display 5 on the control computer 1, the control computer 1 stores the screen in the HTML file storage unit 15a. HTML file is opened. Then, the execution unit 18 extracts and executes each APPLET element (a portion of “ ⁇ APPLET>” to “ ⁇ / APPLET>”) in the HTML file received via the communication processing unit 19. The execution unit 18 obtains an XML file required for displaying a screen from the XML file storage unit 15b via the communication processing unit 19. Further, the execution unit 18 displays the screen of the display unit 5 specified by the above HTML file on a display unit (not shown) provided in the control computer 1 while referring to the XML file. The control according to the operation on the screen is instructed by an input from an operation unit (not shown) provided in the control computer 1.
  • the process of displaying the screen displayed on the display 5 on the client device 9 is as follows.
  • the applet stored in the alphabet storage unit 98c is output to the default files def au lt, htm in the HTML file storage unit 98a. Yes (S91).
  • the communication processing unit 96 starts (S92). .
  • the communication processing unit 19 uses the security settings described above to By confirming whether the user name, password, etc. received from the client device 9 are those registered in advance, the display / control on the screen is performed by the client device 9 or the user. Then, it is checked whether or not the client device 9 is permitted (S93), and access from the client device 9 which is not permitted is denied. At this time, the access level is also checked.
  • the communication processing unit 96 accesses the server unit 11 via the communication processing unit 19 and instructs to display the screen of a certain display device (S94). ).
  • the communication processing unit I9 restricts access to the data of the display unit 5 via the server unit 11 according to a preset access level.
  • the browser 92 of the client device 9 obtains an HTML file from the HTML file storage unit 98a via the communication processing unit 96, and obtains an The applet specified by " ⁇ APPLET>”) is also acquired from the HTML file storage unit 98a, and is executed by the virtual machine 91 (S95). Also- The virtual machine 91 obtains an XML file necessary for displaying the screen from the XML file storage unit 98b via the communication processing unit 96, and refers to the XML file for each processing instruction. The corresponding instance is generated (S966). Among these instances, an instance drawing method corresponding to a processing instruction for display is executed at a predetermined time interval. As a result, the virtual machine 91 inquires the contents of the device address A to the server unit 11 via communication between the communication processing unit 96 and the communication processing unit 19 (S97).
  • the server section 11 reads data from the area corresponding to the device address A in the user's storage area corresponding to the abbreviated data, and sends the data to the client device 9 by the above communication. Send it (S98).
  • the drawing method and the method described above are executed by the client in accordance with the data (contents of the device address A).
  • the display of the predetermined display area (X, Y) on the screen displayed on the screen device 9 is updated (S99).
  • each applet is transmitted from the browser 92 using the relative coordinates within the screen nod area (for example, relative coordinates based on the upper left corner, etc.). draw. Therefore, the client device 9 can display the device status regardless of the number and order of the ablets included in the HTML file.
  • the no-real machine 91 responds to the input operation among the instances corresponding to the input processing instruction word. Run instance entry method I do.
  • the virtual machine 91 sends the data according to the input result to the specific device address to the server 11 via communication with both communication processing units 96-19. Request.
  • the server unit 11 rewrites the contents of the requested device address A area in the storage area.
  • the rewritten content is transmitted to the display 5 via the network 6.
  • the operation result is reflected on the screen displayed on the client device 9 in the same manner as the display 5 when the above-mentioned input method is executed after writing.
  • the client device 9 can display the screen of the display 5. Display the same content screen and control the device status by the same operation. ⁇
  • the alphabet installed in each client device 9 is used to communicate between the two communication processing units 96.19.
  • the inquiry to make the virtual machine 91 execute the display operation and the instruction to change the content of the device address is made to the server unit 11 of the control console 1.
  • the contents of the screen displayed on the display unit 5 can be displayed on the display unit 5 even with a plurality of client devices 9 installed at a location separated from the location where the display unit 5 is installed. You can browse at the same time and operate on the screen.
  • control computer 1 includes an execution unit 18 accessible to the communication processing unit 19, so that the control computer 1 executes the applet stored in the applet storage unit 15c. Therefore, the control computer Also in 1, the content of the screen displayed on the display 5 can be viewed at the same time as the content displayed on the display 5, and the operation on the screen can be performed.
  • a server device that performs general Internet communication using HTTP. In order to exchange information with client devices, it is necessary to provide Web server software and CGI. However, the processing through these methods is not very efficient.
  • communication between the control computer 1 and the client device 9 is directly performed via communication between the communication processing unit 19 and the communication processing unit 96. Will be As a result, the communication speed is improved, so that information can be efficiently exchanged between the control computer 1 and the client device 9.
  • control computer 1 since the control computer 1 does not have a Web server software, the security function of the Web server software is used for access from the client device 9. I can't do that.
  • access to data on the display unit 5 is restricted by an access level preset for each user, so that maintainability can be improved.
  • an access restriction method does not allow or deny access at all levels at once, as is the case with general access restrictions in Internet communication. can do. Therefore, for example, it is possible to perform access management such as permitting a higher-level access to a user in an important position closely related to communication such as a system administrator. ⁇
  • the client device 9 is designed to enable Internet communication with the control computer 1 via the Internet 32 as a public network. Connected.
  • the control computer 1 'in the present control system further includes a CGI (Common gateway Interface) 20.
  • CGI Common gateway Interface
  • the browser 92 When the browser 92 is instructed to access the control computer 1 and display a screen as a web page on the client device 9, the browser 92 recognizes the instruction and performs communication using HTTP. Recognize. On the other hand, when the browser 92 in the client device 9 is instructed to display the screen on the client device 9, when the HTML file stored in the HTML file storage unit 98a is opened, the communication processing unit 96 Recognize that communication will take place through
  • CGI 20 (communication relay means) is an interface program that is provided in a server device for general Internet communication and does not depend on a platform.
  • the CGI 20 allows the browser 92 to access the communication processing unit 19 via the public server unit 16 and to provide a response (HTML data) to the access from the communication processing unit 19 to the public. Output to the server section 16.
  • the server unit 11 accesses the communication processing unit 19 from the client device 9 via the CGI 20.
  • the number of nodes being relayed to other stations via the communication processing unit 19 It has a function to count the number of accesses and display it. This facilitates access management, so that the state of the communication access of the communication processing unit 19 can be grasped and the unauthorized access can be verified.
  • the screen data of the display 5 is transmitted to the client.
  • the processing in the case of displaying on the device 9 will be described with reference to the flowchart of FIG.
  • the client device 9 is accessed via the public server unit 16 in the control computer 1 via the Internet 32 to display the screen of a certain display device 5. Instruct (S101). Then, the public server section 16 receives, for example, the identification number and the node number received from the client device 9. It is checked whether or not the display / control on the above screen is permitted to the client device 9 or its user by confirming whether or not the speed is registered in advance (S 10 2), the access from the client device 9 which is not permitted is rejected. At this time, the communication processing unit 19 checks whether or not the client device 9 can access the communication processing unit 19 as described above (S93 in FIG. 34).
  • the file converting unit 14 outputs the screen data file.
  • a public file such as an HTML file and an XML file is generated based on the screen data file stored in the storage unit 13, and the HTML file storage unit 15 a and the XML file storage unit 15 b are generated. Of these, it is stored in the user area (S103).
  • the public server unit 16 reads the HTML file for displaying the screen requested by the client device 9 from the HTML file storage unit 15a only to the authorized regular client device 9. Then, the file is relayed from the communication processing unit 19 to the CGI 20 and further transmitted from the public server unit 16 to the client device 9 via the Internet 32 (S104). In addition, using that file, The screen is displayed by the entry device 9 (S105).
  • this control system also distributes an applet that causes the client device 9 to perform the above inquiry, change instruction, and display operation. And the response speed of the client device can be greatly improved. Further, for example, the user interface such as cursor movement can be processed on the client device side, so that the response speed can be further improved.
  • the file format is not limited to the HTML file and the XML file as in the first embodiment.
  • control system is in the configuration which may be c the control system as shown in FIG. 3 7, one client device 9, through the public side common Netw network 3 4 and i Ntane' bets 3 2 So that it can access the control computer 1. Therefore, when displaying the screen on the client device 9 based on the file of the control computer 1, the browser 92 recognizes the screen as described above, and further, the Internet is transmitted to the communication processing unit 19. In the case where the screen is displayed using the file of the client device 9 while the communication is performed via the communication device 32, it is recognized as described above. Communication via 3 4 is performed.
  • a process suitable for the selected communication is performed only by the user selecting one of the communication. Therefore, the user can display the screen and perform the operation from the displayed screen without being aware of the difference in the communication mode. As a result, the user can communicate with the general Internet 32 via the CGI 20 and this communication. Communication via the public-side common network 34, which enables higher-speed communication than communication, can be used without any special operation.
  • control system includes a control host computer (hereinafter, referred to as a control computer) 2, a plurality of displays 5, and a plurality of PLCs 3. , And a client device 9.
  • a control host computer hereinafter, referred to as a control computer 2
  • a plurality of displays 5, and a plurality of PLCs 3.
  • a client device 9.
  • the control computer 2 and the display 5 are connected to each other via a network 6 (common network) capable of performing communication using a common communication protocol.
  • a network 6 common network
  • the display 5 and the PLC 3 are individually connected via a serial cable 4 (dedicated network) capable of performing communication with a unique communication protocol for each PLC 3.
  • the communication protocol in a broad sense includes a code indicating a start character and an end character, the timing of transmission / reception of each character, and a method of specifying a transmission destination and a transmission source in a network including a transmission source and a transmission destination. If the protocol is not standardized, the communication protocol that cannot transmit data normally, and the command system that each PLC 3 can understand, such as a command system that is not standardized between the source and destination, will cause the desired operation and the other There is a communication protocol that cannot be controlled normally without matching the operation to be performed. Therefore, in the following description, the combination of the two is called a communication protocol, and if it is necessary to distinguish between the two, the former is distinguished as a transmission protocol and the latter is distinguished as a command system.
  • the communication protocol specified by the manufacturer of each FLC 3 when the instruction to read out the data is instructed, the above-described data sequence 41 shown in FIG. 9 is generally transmitted.
  • the display device 5 when the display device 5 performs data communication via the network 6, it is possible to perform communication using a unified communication protocol regardless of the communication protocol through which the serial cable 4 is transmitted.
  • a common communication protocol common protocol
  • common protocol
  • the data column 66 includes a header section 67 containing the IP addresses of the transmission source and the transmission destination, and the above-described data body 63 (see FIG. 10) indicating the communication contents.
  • the display 5 here includes a data delivery unit 5e.
  • the data distribution unit 5e distributes the output data of PLC 3 to a designated distribution destination when a preset distribution condition is satisfied. For this reason, in the data distribution unit 5 e, the node information regarding the distribution destination node and the setting information regarding the distribution are previously downloaded from the control computer 2 and stored.
  • the control computer 2 (host computer) has a server section 21, a common protocol IF section (I / F in the figure). 22, a distribution setting section 23, a network file 24, and data registration. It has a section 25, an application section 26, a database 27, a data memory 28, a compiler 29, and a public server section 30.
  • the interface section 22 is connected to a network 6 for performing communication with the display 5.
  • This common protocol IF section 22 It has almost the same function as the common protocol IF section 72 (see Fig. 1) in the control system of the first embodiment. '
  • the server unit 11 has a data communication processing unit 21a and a database management unit 1b.
  • the server unit 21 is a functional block realized by executing a program provided by a recording medium, like the data processing unit 5a (see FIG. 31).
  • the data communication processing section 2 la is a section for performing data communication processing with the display devices 5 via the network 6 and for exchanging data with the application section 26.
  • the data communication processing unit 21a displays the screen created in the drawing editor 16a described later and the ladder program as a user program created in the ladder editor 26b on the display unit 5. Transfer and collect ladder programs and input / output data (control instruction data) and output data of PLC 3 from the display 5 or from the FLC 3 by the display 5 from the FLC 3.
  • This input data is the content to be changed of the device address (bit, numerical value, etc.) of the input device described later, and the output data is the output of the device address of the output device.
  • This input data is the content to be changed of the device address (bit, numerical value, etc.) of the input device described later, and the output data is the output of the device address of the output device.
  • This input data is the content to be changed of the device address (bit, numerical value, etc.) of the input device described later, and the output data is the output of the
  • the database management unit 2 lb (accumulation means and search means) registers the screen or ladder program distributed from the display unit 5 and the input / output data of the FLC 3 in the database 27 overnight, 27 Search the data registered in 7.
  • the database management unit 11b sets a folder with a name on the display unit 5 in the database 27, and the folder is distributed from the display unit 5 at predetermined intervals.
  • the screen displayed on the display unit 5 or the PLC 3 The ladder program executed in the above, the symbols (parts and tags) as the changing elements on the screen or the ladder symbols as the changing elements in the ladder program, the device address, and the above input / output data are combined. And record the records in the above folder in the order of occurrence.
  • the folder name use an appropriate name such as the station name of the display unit 5, for example, "Node A" represented by A as shown in Fig. 38, or the model name of the display unit 5.
  • the database management unit 21b searches the record at the specified time in the folder specified by the user and displays the obtained record on the drawing editor 26a or the ladder editor 26. pass to b.
  • the database management unit 21b reads out records in units of 'blocks consisting of a plurality of records. As a result, access to the hard disk drive is reduced, and search speed can be increased. In addition, by reading multiple blocks together, a higher-speed search can be performed.
  • the database management unit 21 b provides the user with a search screen 101 as shown in FIG. 40, for example.
  • the search screen 101 sets the playback key 101 a, stop key 101 b, fast forward key 101 c, fast reverse key 101 d. Pause key 101 e, and set the date and time.
  • a key designating unit 101g for designating keys to be described later.
  • the database management unit 21b operates the playback key 101a, and the drawing editor 26a or the ladder editor 26b displays the search data in a moving image. As shown, the data is searched continuously. In this search, when the fast forward key 101c or fast reverse key 101d is operated, the search speed increases, and the search screen is displayed in the forward or reverse direction at high speed, while the pause key is pressed. The search is paused by the operation of 1, 0 1 e, and at this time, the screen is displayed in a static state. Also, fast forward key 1 0 1 c 'or fast reverse key 1 0
  • the search position changes at high speed, but the screen is not displayed (played back).
  • the date and time set in the date and time setting section 101a are displayed as the date and time recognized when the search position was moved. Further, the search is stopped by operating the stop key '101c.
  • the above search screen 101 displays the screen editor 26 a or
  • Such a search screen 101 provides the user with an environment for performing a search with a feeling similar to the operation of an audio device or the like.
  • the database management unit 21b performs a security check on access to the database 27 via the network. For example, in Network 6, if it is confirmed that the user ID and password are registered, access is permitted (authenticated). This makes it possible to reject inadvertent access by a third party from the Internet 32 connected to the network 6.
  • the distribution setting unit 23 sets node information and distribution information.
  • the node information includes a node in the network 6 and a type of the display 5 connected to the node.
  • the distribution information includes the names of the devices 10 (input devices and output devices) connected to each PLC 3 and the data distribution for each display 5. This includes the communication timing, the storage address for the day to be delivered, and the storage address for the received data.
  • These node information and distribution information are stored in the network file 24, and are downloaded to the data distribution unit 5e of each display 5 as necessary.
  • the distribution setting unit 23 is a function block realized by executing a program provided by a recording medium, similarly to the data processing unit 5a.
  • the data registration unit 25 has previously registered the above-mentioned protocol conversion data to be stored in the conversion data storage unit 5c. This conversion data is downloaded to the necessary display unit 5 via the data communication processing unit 5a at the time of initial setting or maintenance such as when the FLC 3 connected to the control system is changed. Is done.
  • the application section 26 includes a drawing editor 26a and a ladder editor 26b.
  • the drawing editor 26a has almost the same function as the drawing processing unit 7'4 (see FIG. 1) in the control system of the first embodiment.
  • the screen created by the drawing editor 26a is transferred to the display unit 5 via the interface unit 12 as necessary, and downloaded to the screen data memory .54. Will be sent.
  • the ladder editor 26 b is programming software for creating a ladder program that defines a control procedure of the PLC 3 so that the device 10 operates according to a desired sequence. It is configured so that a ladder diagram can be created by arranging a ladder symbol corresponding to the operation of the device 10 above.
  • this ladder book 26b for example, the above-mentioned A logging language is used.
  • the ladder editor 26 b includes the input number and output number assigned to the input terminal and output terminal of the PLC 3 and the names of the input device 6 and output device 7 connected to each input / output terminal. Is assigned as an I / O number (I / O assignment) via variables. The result of this assignment is stored in a storage device (not shown) in the control computer 2. .
  • a predetermined memory in the control computer '2 stores an input number and an output number as addresses, and stores a device name corresponding to each address.
  • allocation differs depending on the PLC's capabilities and can only be set with an absolute address, so it is necessary to prepare a memory table according to the manufacturer.
  • this ladder editor 26b conforming to the IEC does not require the memory table as described above because the user can determine the input / output by the above variables (free variables).
  • the allocation once determined can be changed later.
  • the ladder program created by the ladder editor 26 b is transferred to the PLC 3 via the programmable display 5 (or directly), and downloaded to the memory in the PLC 3.
  • Data base - scan 2 7 manages the sequential write Murrell data in the folder-per-by data base Ichisu management unit 2 1 b.
  • "Date”"Screen”,”Settemperature”,”Level”,”Setpressure”,”Level Items such as “" and “Alarm” are provided as fields.
  • “Date” is described in units of minutes in the figure, but if necessary, seconds / milliseconds May be stored.
  • "Screen” indicates the file name of the screen.
  • “Set temperature” and “Set pressure” indicate the temperature and pressure set as the work instruction, and
  • Level indicates the actual temperature and pressure for the set temperature and pressure. The alarm takes a value of "0” when the set temperature or pressure is within the specified range as normal and takes a value of "1" when it is outside the specified range as abnormal.
  • data of each field excluding "screen” is written together so that the device address and the data of the symbol on the screen are paired.
  • “Temperature setting” it is the device address and numerical value input tag of the temperature controller
  • Alarm it is the device address and symbol of the lamp.
  • the record is written in the same format as that shown in Fig. 41 (a), as shown in Fig. 41 (b).
  • fields such as “date and time”, “ladder”, “ON”, “production number”, “ON / ⁇ FF”, “count value”, and “lighting / off” are provided as fields.
  • “Ladder-1” indicates the file name of the ladder program.
  • "ON” indicates that the start button on the production line has been turned ON ("1" when ON).
  • “Production quantity” indicates a set value of the number of products passing a predetermined position on the line.
  • “ON / OFF” indicates the output of the optical sensor that detects the passage of the product at the predetermined position, and the detection, that is, ⁇ N is “1”, and the non-detection, that is, ⁇ FF is “0”.
  • “Count value” indicates the count value of the ⁇ ⁇ ⁇ N output counter of the optical sensor.
  • Lighting / off indicates whether or not the set number of products are being conveyed by the line by lighting or extinguishing the lamp. When the product is conveyed, the lighting is “1”. When light is not being transported, that is, when the light is turned off is "0".
  • the screen and the records of the ladder program may be managed collectively.
  • “program” corresponds to “screen” in FIG. 41 (a) and “ladder” in FIG. 41 (b), and stores the file name of the screen and the file name of the ladder program. It is like that.
  • a user program created by another application program may be similarly stored in a format similar to that shown in Fig. 41 (a), or may be stored as shown in Fig. 42.
  • the record may be saved in a format together with the screen and the ladder program.
  • An example of such a user program is a CAD drawing for designing electrical wiring of devices in a target system.
  • a sequential file structure in which records are stored in the order of input is formed. This enables sequential access to search for records in chronological order.
  • a desired record is assigned a key by the database management unit 21b so that the record can be directly accessed based on the specified search item.
  • the setting of this key is performed by the user in advance on a key setting screen provided by the database management unit 21b.
  • Keys are assigned to data (search items) such as time, alarm, etc. You. Since the final access to the record is based on the physical address, it is necessary to associate the physical address with the key. For example, the key and the physical address are compared, and a one-to-one correspondence is made in the table. Writing a record. Instead of associating a key with a physical address, a record number is calculated from a key, a record is written based on this record number, and the record is written to the 0S file system. The physical address may be calculated from the number (in this way, by assigning a key to a record, a desired record can be uniquely specified by the key.
  • the data memory 28 stores the screen and its symbol (including text) or the ladder program and its ladder symbol searched by the database management unit 21b and the input / output data of the PLC 3.
  • (Device address data) is a memory that is temporarily stored for use by the compiler 29.
  • the compiler 29 converts the above screen or ladder program into a Java language applet that can be executed on a virtual machine included in the browser 91 of the client device 9. Since this applet is composed of the Java language, it does not depend on the platform of the client device 9. Each instance in the applet is set to refer to the same device address as the corresponding symbol on the screen or the corresponding ladder symbol in the ladder program. Each instance is created so that the input / output data of the device address is reflected in the symbol or ladder symbol.
  • the control computer 2 has a class that includes a method to be executed by the virtual machine on the type of symbol used in the drawing editor 26a or the type of ladder symbol used in the ladder editor 26b in advance.
  • Compiler 29 generates the code that calls the method corresponding to each ladder symbol in each symbol or ladder program on the screen: Compiler 29 is shown in FIG.
  • the search screen ⁇ 0 1 shown is also converted to an ablet, similar to the screen or ladder program.
  • a class including a method to be executed by the virtual machine is prepared.
  • the above-mentioned compiler 29 and public server 30 are also the server 1
  • this is a function pro- gram realized by executing a program provided by a recording medium.
  • the distribution information set by the distribution setting unit 13 will be described.
  • the distribution information is set on the setting screen as shown in Fig. 43 (a) and Fig. 43 (b), and the setting screen is provided with "distribution conditions" and "distribution station 'receiving station”. ing.
  • the "delivery conditions" shown in Fig. 43 (a) include the following conditions that determine the timing of distribution: power-on, time designation, cycle designation, rewrite trigger, 0N period, FFFF period, rising edge Rig and falling trigger are provided.
  • “Power on” is a condition for distribution when the power of the display unit 5 is turned on
  • “Time specification” is a condition for distribution at a specified time.
  • the “cycle specification” is a condition for performing distribution at a desired cycle ⁇
  • the “rewrite trigger” is when output data is rewritten, ie, when output This is the condition for distribution.
  • the “ON period” and “OFF period” are conditions for continuously performing distribution in the 0N period and 0FF period of the device, respectively.
  • “Rising trigger” and “falling trigger” This is the condition for distributing when the rising and falling edges of output data (output of the specified device) are detected.
  • a column for inputting a device name to be specified for a condition based on a device output among the above-described conditions there are a cycle (ms unit) for checking distribution conditions, a setting column for the distribution period, and a setting column for the process of returning the device output to OFF or ON after distribution.
  • the check cycle is valid only for the delivery conditions of "power on”, “time setting” and “cycle specification”, and the period limitation is valid only for the delivery condition of "cycle specification”.
  • the setting to return the device output to 0FF after distribution is valid only for the distribution condition of "rising trigger”.-If this box is not checked, the device output will remain at 0 N after distribution. Become.
  • the setting to return the device output to ON after distribution is valid only for the “falling trigger” distribution condition. If this box is not checked, the device output remains 0FF even after distribution. become.
  • the "distribution station / reception station" shown in Fig. 43 (b) is provided with information entry sections for the distribution station and the reception station.
  • the information of the distribution station includes a device name as an output source of output data distributed from the display device 5 and the number of data to be distributed in a specified period.
  • the information of the receiving station includes the name of the device connected to the FLC 3 corresponding to the display 5 serving as the receiving station.
  • the folder name managed in the evening base 27 is the device name.
  • the data processing unit 5a transmits the data sequence 63 from the data body 63 to the PLC 3.
  • the common command 64 indicating the power command and the related information 65 are extracted.
  • the data processing unit 5a refers to the command conversion table TB and selects a command code that can be transmitted through the serial cable 4 and corresponds to the common code 64. . If necessary, the expression method of the related information 65 is converted to the expression method transmitted by the serial cable 4.
  • the data processing unit 5a refers to the data transfer format FMT to check the FLC 3 A data string to be sent to can be generated.
  • the data processing unit 5a applies the command indicated by the data sequence, the data content itself, and the size of the data to the data transfer format FMT described above. , An address, etc., are extracted, and converted into a data string 66 of the common protocol in the reverse procedure to the above.
  • the combination of the above-mentioned data transfer format FMT and command conversion table TBL (protocol information) requires the communication protocol of the PLC 3 before the display 5 and the PLC 3 communicate data related to control.
  • the protocol information is switched. For example, in FIG. 11, when changing from PLC 3 of model A to PLC 3 of model B, the command conversion table TBLa is switched to the command conversion template TBLB.
  • the method of selecting the communication protocol is the same as that of the control system ( This is performed in the same manner as the method described in (1).
  • the display 5 is arranged at the center of the communication, and the display 5 is connected to the network 6 and the serial cable 4. Connected to both.
  • the display 5 converts each communication protocol to each other, and the PLC 3 connected to itself and the control It relays communication between the computer 2 and the other display 5.
  • the common communication protocol is used between each display unit 5 and the control computer 2.
  • the target system is composed of an input device such as a flow sensor ⁇ a temperature sensor or a sensor detecting the state of each part of the target system, and a valve ⁇ which performs an operation according to an instruction. It has an output device as in the evening, and device 10 is controlled by PLC 3.
  • PLC 3 has a history of evolving from a sequencer, and many of them have a unique communication protocol for each FLC 3 model, for example, for each type of manufacturer and product. Therefore, the FLC 3 is connected to the display 5 via the serial cable 4 and communicates with the display 5 using a communication protocol that the PLC 3 can communicate with.
  • the PLC 3 transmits the data acquired by the input device to the display 5 or to another display 5 or the control computer 2 via the display 5 as the output data of the PLC 3,
  • the output device can be controlled by receiving a control instruction transmitted from the display unit 5 or from another station via the display unit 5.
  • the communication protocol is shared in the network 6 as described above, it is easy to distribute the screen and device address data between each display 5 and the control computer 2. it can. Next, the distribution will be described in detail.
  • each display 5 is connected to each of the nodes A to C of the network 6 and each of the PLCs 3 individually connected to the display 5 has 100 input / output terminals.
  • the control data input by the operator on the display 5 is stored in the corresponding storage area of the memory of the PLC 3, and the output data is stored in the storage area.
  • the output device 7 is controlled in response to the contents of the printer.
  • the input data from the input device 6 is written to the corresponding storage area of the memory.
  • store areas corresponding to 100 input / output terminals of each PLC 3 corresponding to nodes A to C are 100 to 199, 200 to 299, and 3 respectively.
  • Store addresses of 0 0 to 39 9 are assigned.
  • the data distribution unit 5e of the display unit 5 of the node A stores the data in the storage area of 100 to 199 at a cycle (for example, 10 seconds) preset by the distribution setting unit 13 described above. In the evening, that is, all input / output data is distributed, and the data is stored in the control computer 2.
  • bits representing various types of information such as device error (alarm) information and work instruction information corresponding to device output, are provided in the storage area corresponding to each device in the memory of step 3,
  • the node information of the FLC 3 to which the device is connected (Station name) is transmitted from the display unit 5 of the node.
  • control computer 2 stores all data distributed from each display 5.
  • Each display 5 has a storage area required for storing distribution data in a data distribution section 5e.
  • the capture of data by the control computer 2 may be performed by storing the address of the destination in the distribution data from the distribution source, for example, in the IP address. Also, if there are many receivers, such as the display 5 as well as the control computer 2, the above-mentioned data fetching is performed by using the above IP address as a broadcast, and distributing the distribution data on the receiving side. This may be done in response to the original IP address to determine whether to take in the data. In addition, all the display devices 5 may have a storage area corresponding to all the distribution data and hold all the distribution data similarly to the control computer 2.
  • the data of the control computer 2 is generated.
  • the database 27 stores the delivery data sequentially, and a desired record can be searched from the database 27. Subsequently, the operation will be described in detail.
  • the input data of PLC 3 (contents of the device address of input device 6) and output data (contents of the device address of output device 7) collected by the display unit 5 of the node A are stored in the device address.
  • the database management unit 2.1b is input to the folder of node A at the same time.
  • the data input as one record is sequentially written into the database 27 sequentially input records. Since such writing is performed automatically, data can be stored without the user being aware of the database 27.
  • the operation mode of the server unit 2I is switched to the search mode, and a search screen 101 as shown in FIG. 40 is activated.
  • the search is started in the folder designated by operating the playback key 101b.
  • records are sequentially read from the database 27 by the database management unit 21b and output to the drawing editor 26a.
  • the drawing editor 26a reproduces the screen based on the screen in the received record and the device address and symbol data, and as shown in the playback screen 102 of Fig. 40, the control computer. Display on the display of evening 2. Since such a series of operations are continuously performed, the display dynamically changes the screen in substantially the same manner as the screen displayed on the display unit 5 when the P and LC 3 are actually operating. Can be reproduced. ' ⁇
  • records are stored in a table format as shown in FIGS. 41 (a) and 41 (b) and FIG.
  • the records stored on the Data Base 27 can be used directly as daily and monthly reports.
  • search and playback operations can be performed not only on the screen but also on the ladder program and other user programs (for example, the CAD drawing described above) in the same manner.
  • the ladder program executed by the PLC 3 is delivered to the control computer 2 via the display 5 and written into the database 27 by the database management unit 2 lb.
  • searching-Although not shown the searched ladder program is played instead of the playback screen 102 shown in FIG.
  • playing the ladder program monitor the ladder program is played within the area of the selected ladder program monitor.
  • the operations of the contacts and coils searched in the ladder program are expressed, for example, by changing the color of those parts. '
  • the search and playback operations as described above can also be performed from the client device 9 via the Internet 32. Next, the operation in this case will be described.
  • the public server unit 30 activates CGI and instructs the database management unit 21b of the server unit 21 to perform a search.
  • the database management unit 2 lb received this instruction and Search the database 27 as follows.
  • the record sent from the database management unit 21b is temporarily stored in the data memory 28 and then output to the compiler 29.
  • the public server unit 30 instructs the compiler 29 to generate an applet by using CGI or BGI.
  • Compiler 29 is a public server
  • the symbol or ladder symbol on the screen or ladder program is extracted from the record read from the data memory 28 and corresponding to the template to be generated.
  • the compiler 29 outputs the character string (" ⁇ HTML>") required as an HTML document.
  • a character string (such as "KU APPLET>) that causes the generated code to act as an abbreviated code before and after the code generated based on each symbol or each ladder symbol. Attached to
  • the screen actually displayed on the display 5 or the ladder program actually executed on the FLC 3 stored in the database 27 is output to the public server 30 as an applet.
  • the public server unit 30 sends the above-mentioned abbreviated to the client device 9 from the interface unit 12 via the network 6 and the internet 32.
  • the browser 91 activates the virtual machine and executes the drawing method using the device address and the input / output data provided from the control computer 2, thereby executing the display method on the display device 5.
  • the screen is displayed in the same way as the display state, or the ladder program is displayed with the operation status of PLC 3 reflected. In this way, the search can be performed in the client device 9 located at a position distant from the control computer 2 in the same manner as in the control computer 2.
  • the display 5 absorbs the difference in the communication protocol of the model 3 of the PLC 3 and facilitates data communication between each display 5 and the control computer 2. I have to. Therefore, it is possible to easily collect output data from the PLC 3 of a different model in the control computer 2.
  • the display unit 5 distributes data to the control computer 2 each time the set distribution conditions are satisfied, and the data is distributed to the database management unit 2 lb.
  • the data is stored sequentially in the database 27, so that communication with the PLC as with the conventional data collection software is not required, and the personal computer side does not issue a data transmission request. Data can be collected and stored on a regular basis. Therefore, the database 27 can be constructed without the user's awareness.
  • the input and output data obtained by the search can be displayed on a screen or ladder program.
  • the operation on the display unit 5 is reproduced by reflecting it on the system. Therefore, not only does it not have to store a huge amount of data as in a VTR that records moving images, but it can also be used to check the screen and ladder program when an operation error occurs due to a search. In particular, by searching for an alarm as a key, it is possible to easily identify the point at which an operation error has occurred.
  • a continuous search is performed by using the search screen 101 as shown in Fig. 40, the change due to the input / output data of the ladder / symbol of the screen symbol / ladder / program is dynamic.
  • the ladder program can be played on the screen as if it were a playback operation on a video playback device such as a VTR.
  • reproducing the executed screen ladder program can be used not only for verification of operation mistakes and the like, but also for operator training.
  • the operation of the display 5 can be repeatedly reproduced without operating the target system, the operation by a skilled operator can be sufficiently used as a teaching material.
  • the TCP 6 / IP on the Ethernet is adopted as the network 6, but the network 6 is not limited to this.
  • I I
  • control console 2 is a network having a sufficient communication capacity to communicate with each PLC 3 via the display 5.
  • the present invention is also applied to the control procedure programs in other languages including the five languages specified in the above-mentioned IEC 6113.
  • the user program in addition to the display content program (screen) 'and the control procedure program, the above-described CAD drawing or the like may be used as long as it is a program representing the control state by the PLC 3.
  • control computer 2 converts a screen ladder program as a user program into an ablet, but the present invention is not limited to this.
  • the control server device of the present invention and the control system including the same are transmitted after the data indicating the screen of the programmable display device is converted into a format that can be displayed on the terminal device by the control server device. As a result, a screen having the same contents as the display screen of the programmable display can be displayed on the remote terminal device via the Internet or the like without burdening the control device.
  • the control terminal device of the present invention is capable of outputting the control program only to the serial port.
  • the instructions can be communicated to the local control system that contains the destination control unit.
  • the existing control program creation means can be diverted from a remote location.
  • the control program of the control unit can be updated.
  • the control program can be updated in a short time without the need to arrange a control program creation person near the local control system, thereby reducing maintenance work.
  • the control system of the present invention can display the display screen displayed on the control display device even in a terminal device located at a location separated from the control display device. Further, since the screen data is obtained from the control display device, it is not necessary to store the screen data in the server device having the generating means and the communication means. The display screen displayed on the control display device can be disclosed more easily.
  • the control system of the present invention can display the same display screen as the display screen displayed on the control display device even in a terminal device located at a distance from the control display device.
  • the communication between the server device and the terminal device is performed via the local network between the server-side communication means and the terminal-side communication means, the communication between the server device and the terminal device is performed as in general Internet communication. Efficient communication with a relatively high communication speed can be performed without using a communication mode of poor execution efficiency via server software.
  • the display-type control device can always communicate with the host computer via the common network using the same communication protocol regardless of the communication protocol of the control device. .
  • the host computer can easily accumulate output data from control devices having different communication protocols.
  • the database is automatically constructed without the user's knowledge. Moreover, since the stored data structure is simplified and the user program, the changing element and the rain data are stored in association with each other, the changing state of the user program due to both the changing element data can be reproduced. Therefore, the database management can be facilitated, and the past control status of the control device can be easily confirmed.
  • the searched user programs are displayed continuously, it is possible to reproduce the situation of the user programs when the control device was operating. Further, by executing the execution program on the terminal device, the variable in the user program changes based on both data. As a result, for example, a state where the symbol changes on the screen is displayed. Therefore, by transmitting the user program in the form of an execution program, the terminal device on the network such as the Internet can transfer the data accumulated in the host computer to the host computer. It can be searched and confirmed in the same way as a computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Programmable Controllers (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Digital Computer Display Output (AREA)
  • Selective Calling Equipment (AREA)

Description

明 細 書 制御用サーバ装置、 制御用端末装置、 制御システムおよび制御用通信プ 口グラムが記録された記録媒体 技術分野
本発明は、 プログラマプル表示器を有する制御システムで使用され、 新たな表示画面を作画することなく、 遠隔地でプログラマブル表示器の 表示内容を確認/制御するための制御用サーバ装置および制御用端末装 置これらを備えた制御システムならびにこの制御システムで用いられる 制御用通信プログラムに関するものである。 背景技術
従来、 プログラマブルロジッ クコン トローラ (以下、 P L C 略称す る) 等と呼ばれる産業用制御装置は、 シーケンス制御をはじめとする各 種制御を実現するために、 ベルトコ ンベア一式の自動組付機等、 種々の 夕一ゲッ トシステムを制御する制御装置として、 広く使用されている。 さ らに、 近年では、 ターゲッ トシステムの複雑化に伴って、 複数台の P L Cを互いに連携させて使用することも行われている。
また、 各 P L Cからのデータの表示、 あるいは P L Cへの制御指示は P L Cの近傍等に配される表示装置で行われる & 表示装置としては、 P' L Cへの制御指示を行うための制御盤、 P L Cの稼働状況を示す表示灯 等に代わって、 近年では、 H M I (Human Machi ne I nterface) 機器とし てのプログラマブル表示器が普及している。 その他、 例えば、 これらの 表示装置から離れた場所に設置した制御用ホス トコンピュータでも、 表 示または操作できるように制御システムを構築することもある。
具体的には、 例えば、 図 4 4 に示すように、 従来の制御システム 5 0 1では、 P L C 5 0 3が制御の中心として位置付けられている。 各 P L C 5 0 3には、 ターゲッ トシステム 5 0 2の制御対象機器 5 2 1 aゃセ ンサ 5 2 1 b と、 表示および制御指示を行うプログラマブル表示器 5 0 5 とが接続されている。 さらに、 当該 F L C 5 0 3 には、 他の P L C 5 0 3や制御用ホス トコンピュータ 5 0 7がシリァルケ一プル 5 0 4 を介 して接続されている。 P L C 5 0 3 と制御用ホス 卜コンピュータ 5 0 7 との間や各 P L C 5 0 3間における制御デ一夕の受け渡しは、 P L C 5 0 3の通信機能を利用して行われている。 .
この構成では、 制御用ホス トコ ピュ一タ 5 0 7の表示処理部 5 7 1 は、 P L C 5 0 3 と通信して、 夕一ゲッ ト システム 5 0 2の状態を示す データを受け取り、 状態に応じて画面表示すると共に、 使用者の入力に 応じて、 P L C 5 0 3へ制御データを送出する。 タ一ゲッ トシステム 5 0 2は、 この制御データに基づいて制御される。 同様に、 プログラマブ ル表示器 5 0 5は、 P L C 5 0 3 と通信しながら、 ターゲッ トシステム 5 0 2の状態を表示/制御する。
しかしながら、 上記の構成では、 プログラマブル表示器 5 0 5用の画 面とは別に、 制御用ホス トコンピュータ 5 0 7の表示処理部 5 7 1用の 画面を作成する必要がある。 このため、 作画の手間がかかるだけではな く 、 プログラマブル表示器 5 0 5に表示されている画面を制御用ホスト コンビュ一夕 5 0 7で確認できないという問題を生じる。
具体的には、 プログラマブル表示器 5 0 5は、 画面データに基づいて 表示/制御を行う。 画面データは、 ベース画面上の領域を特定する位置 情報と、 その領域への表示や入力に対応するデバイスのァ ドレスとの対 応関係を示す情報を単位として、 それらの情報の組み合わせによって構 成されている。 この画面データは、 制御用ホス トコンピュ一夕 5 0 7の 作画処理部 5 7 2で作成された後、 各プログラマブル表示器 5 0 5に配 信される。
また、 上記の制御システム 5 0 1 は、 基本的に閉じたシステムであり、 遠隔地からプログラマブル表示器の画面等の制御システムの状態を見る ことができない。 遠隔地からィンタ一ネッ トを介して制御装置等の状態 を閲覧する技術は、 例えば、 米国特許番号 5 , 8 0 5 , 4 4 2号 (特許 付与日 1 9 9 8年 9月 8 日) 、 国際特許公開公報 W O 9 9 / 1 3 3 8 8 号 ( 1 9 9 9年 3月 1 8 日公開) および国際特許公開公報 W O 9 9 / 1 3 4 1 8号 ·( 1 9 9 9年 3月 1 8日公開) に開示されている。 しかし、 この特許の技術でも、 上記の問題を解決することはできない。
—方、 制御用ホス トコンピュ一夕 5 0 7は、 プログラマブル表示器 5
0 5 と用途や設置場所が異なつているため、 C P Uやメモリマップ等の ハ一ドウヱァ構成と、 ォペレ一ティ ングシステム等のソフ トゥヱァ構成 との双方が互いに異なっている。 従って、 表示処理部 5 7 1 は、 プログ ラマブル表示器 5 0 5の画面デ一夕に基づいて表示/制御することがで きず、 専用の表示画面を作成している。 また、 プログラマブル表示器 5 0 5の表示内容を確認するためには、 プログラマブル表示器 5 0 5の設 置場所に出向く必要がある。
P L C 5 0 3の前記の動作は、 制御プログラムで規定されている。 こ のため、 例えば、 P L C 5 0 3の動作開始前や、 不具合を修正する際に は、 制御用ホス トコンピュータ 5 0 7にイ ンス トールされた制御プログ ラム作成ソフ ト等によって、 新たな制御プログラムが作成 (修正) され る。 その制御プログラムは、 シリァルケ一ブル 5 0 4 を介して F L C 5 0 3 に伝送される。
上記の制御システム 5 0 1 では、 制御プログラムの作成者は、 制御プ 口グラムの更新時に、 F L C 5 0 3に接続された制御用ホス トコンピュ —タ 5 0 7 を操作するため、 制御用ホス トコンビュ一ダ 5 0 7や P L C 5 0 3の近傍に赴く必要がある。 このため、 プログラム更新作業に手間 がかかるという問題を生じる。
また、 P L C 5 0 3は、 シーケンサから発達してきた経緯から、 多く の場合、 製造会社每、 あるいは同一製造会社であっても機種毎に、 デー 夕通信に使用する通信プロ トコルが異なっている。 さ らに、 これらの P ' L C 5 0 3では、 多くの場合、 機種每に、 C F Uゃァ ドレスマツプ等も 異なっているため、 制御プログラムを機種每に作成する必要がある。 従 つて、 制御プログラムを作成 (修正) するために、 それぞれの機種毎に 対応した制御プログラム作成ソフ トが必要となる。
—方、 各制御プログラム作成ソフ トは、 図 4 4 に示すように、 シリア ルケーブル 5 0 4 を介して、 直接 P L C 5 0 3 に制御プログラムを出力 するため、 違隔地から P L C 5 0 3の制御プログラムを更新できないも のが多い。 と ころが、 遠隔地から制御プログラムを更新可能な制御プ口 グラム作成ソフ トを新たに作成しよう とすると非常に手間がかかる。 具 体的には、 制御プ口'グラム作成ソフ トは、 個別のアプリケ一ショ ンパッ ケージとして販売されていることが多いことから、 制御プログラム作成 ソフ トは、 通常、 アプリケーショ ンパッケージの販売元に依頼される。 また、 制御プログラム作成ソフ トでは、 例えば、 ラダ一図等から制御 プログラムを作成するため、 比較的複雑な処理が行われている。 この結 果、 アプリケーショ ンパッケージとは別に、 新たに作成することは多く の手間がかかる。 加えて、 制御プログラムは、 P L Cの機種毎に異なつ ているので、 各機種每に制御プログラム作成ソフ トを修正/新規作成す る必要がある。 従って、 制御プログラム作成ソフ トの修正/新規作成は- いずれも現実的ではない。 発明の開示
本発明の目的は、 新たな表示画面を作画することなく、 プログラマブ ル表示器から離れた場所より、 プログラマブル表示器の表示内容を確認 可能な制御システムを実現することにある。 また、 本発明の他の目的は- 従来の制御プログラム作成手段を流用して、 遠隔地から制御ュニッ 卜の 制御プログラムを更新可能な制御用端末装置を実現することにある。
( 1 ) 本発明の制御用サーバ装置は、 上記の目的を達成するために、 プログラマブル表示器に接続され、 このプログラマブル表示器の画面を 示すデータを受け取る表示器側通信手段と、 受け取ったデータを、 端末 装置が表示可能な形式に変換する変換手段と、 ネッ トワークを介して上 記端末装置と通信して、 上記変換手段によつて形式変換されたデータを 送信する端末側通信手段とを含んでいる。 ·
上記の構成において、 表示器側通信手段がプログラマブル表示器から デ一タを受け取ると、 変換手段は端末装置が表示可能な形式に変換し、 端末側通信手段は形式変換したデータをィ ンタ一ネッ ト等のネッ トヮ一 クを介して端末装置に送信する。 ここで、 制御用サーバ装置の表示器側 通信手段は、 デバイスを制御する制御装置を介さず、 プログラマブル表 示器に直接接続されている。 従って、 プログラマブル表示器と制御用サ ーバ装置とが制御装置を介して接続されている場合とは異なり、 プログ ラマブル表示器の画面を示すデータが送信されているにも拘らず、 制御 装置の通信量が増加することがなく、 制御装置に負担をかけない。
上記の制御用サーバ装置は、 画面上の領域への表示に対応するデバイ スのァ ドレスど画面上の領域との対応関係を示す処理指示語を組み合わ せて構成される画面データに基づいて、 各ア ドレスの内容を取得し、 そ の内容に応じて、 画面上の領域にデバイスの状態を表示するプログラマ ブル表示器を有する制御システムで使用され、 さ らに、 端末装置と通信 可能な端末側通信手段と、 上記端末側通信手段へア ドレスの内容を問い 合わせる動作、 および応答に基づいてデバイスの状態を上記端末装置の 画面領域のうち画面デ一タが示す画面領域に対応する領域へ表示する動 作とを行うプログラムを生成するように上記画面デ一タを変換する変換 手段とを含み、 上記端末側通信手段が、 上記変換手段が生成したプログ ラムを上記端末装置へ送信すると共に、 上記プログラムが問い合わせる ァ ドレスの内容を取得し、 上記端末装置へ送信することが好ま しい。 上記の構成において、 制御用サーバ装置の端末側通信手段は、 変換手 段が画面データから生成したプログラムを端末装置へ送信する。 一方、 端末装置の翻訳手段は、 当該プログラムに基づいて、 上記端末側通信手 段へア ドレスの内容を問い合わせ、 端末側通信手段が当該ァ ドレスの内 容を取得して、 上記端末装置へ送信すると、 応答に基づいてデバイスの 状態を上記端末装置の画面領域のうち、 画面データが示す画面領域に対 応する領域へ表示する。 この結果、 端末装置は、 端末側通信手段と通信可能であれば、 例えば、 イ ンターネッ トを介して遠隔地からァクセスする場合であつても、 何ら 支障なく、 プログラマブル表示器の表示画面と同一内容の画面を表示で きる。 また、 上記動作を行うプログラムが制御用サーバ装置から配信さ れるので、 端末装置に、 予め表示用プログラムをィ ンス トールしておく 必要がなく、 イ ンス トールの手間や費用を削減できる。
加えて、 変換手段が画面データからプログラムを作成するので、 端末 装置用の画面を作画する必要がなく、 画面作成の手間を大幅に削減でき る。 また、 特別に遠隔地用の画面データを作成しなければ、 遠隔地用の 画面とプログラマブル表示器の画面とが常時同一に保たれるので、 双方 用の画面デ一タを別々に作成し、 常時同一になるように管理する場合に 比べて、 管理の手間を大幅に削減できる。
この制御用サーバ装置は、 上記プログラマブル表示器が、 デバイスを 制御する制御装置に固有の専用プロ トコルで制御装置と通信する専用プ ロ トコル通信手段、 上記制御装置に拘らず予め定められた共通のプロ ト コルで通信する共通プロ トコル通信手段、 および上記雨プロ コルを相 互変'換して、 専用プロ トコルによる通信と共通プロ トコルによる通信と を中継する中継手段を有し、 上記端末側通信手段が、 上記デバイスのァ ドレスが制御装置の制御するデバイスを示している場合、 当該制御装置 が接続されているプログラマブル表示器へ上記共通プロ トコルで上記ァ ドレス内容の問い合わせを送信すると共に、 上記共通プロ トコルによる 、 当該プログラマブル表示器からの応答に基づいて、 上記ア ドレスの内 容を取得する。
上記の構成では、 プログラマブル表示器が、 専用プロ トコルでの通信 と共通プロ トコルでの通信とを中継する。 この結果、 端末装置が採用す る専用プロ トコルに拘らず、 端末側通信手段は、 共通プロ トコルで制御 装置が接続されているプログラマブル表示器と通信するだけで、 デバィ スのア ドレス内容を取得できる。 従って、 各制御装置に固有の専用プロ トコルで通信する場合に比べて、 端末側通信手段を作成する際の手間を 削減できる。
本発明の他の制御用サーバ装置は、 画面上の領域への表示に対応する デバイスのア ド レス、 画面上の領域への入力に対応するデバイスのア ド レス、 および画面上の領域の対応関係を示す処理指示語を組み合わせて 構成される画面データに基づいて、 画面上の領域への入力に応じ、 当該 領域に対応するァ ドレスの内容を変更するプログラマブル表示器を有す る制御システムで使用され、 さ らに、 端末装置と通信可能な端末側通信 手段と、 上記端末装置の画面領域のうち画面データが示す画面領域に対 応する領域への入力に応じて上記端末側通信手段ヘア ドレスの内容変更 を指示する動作を行うプログラムを、 上記画面データを変換して生成す る変換手段とを含み、 上記端末側通信手段が、 上記変換手段が生成した プログラムを上記端末装置へ送信すると共に、 上記プログラムの内容変 更指示に基づいて指示されたァ ドレスの内容を変更することが好ましい < 上記構成でも、 前述の制御用サーバ装置と同様に、 制御用サーバ装置 の端末側通信手段は、 変換手段が画面データから生成したプログラムを 端末装置へ送信する。 一方、 端末装置の翻訳手段は、 当該プログラムに 基づいて、 上記端末側通信手段へア ドレス内容の変更指示を送出し、 端 末側通信手段が当該ァ ド レスの内容を変更する。
この結果、 端末装置は、 端末側通信手段と通信可能であれば、 例えば. イ ンターネッ トを介して遠隔地からァクセスする場合であつても、 何ら 支障なく、 プログラマブル表示器の表示画面と同一内容の画面でデバイ スを制御できる。 加えて、 変換手段が画面デ一夕からプログラムを作成 し、 端末装置に実行させるので、 前述のように、 画面作成の手間と管理 の手間を削減できると共に、 イ ンス トールの手間や費用を削減できる。
また、 上記の制御用サーバ.装置は、 上記制御システムで使用される制 御用サーバ装置と、 上記端末側通信手段が、 上記デバィスのァ ドレスが 制御装置の制御するデバイスを示している場合、 上記'共通プロ トコルで. 当該制御装置が接続されているプログラマブル表示器へ、 上記ァ ドレス 内容の変更指示を送信することが異なっている。
それゆえ、 端末装置が採用する専用プロ トコルに拘らず、 端末側通信 手段は、 共通プロ トコルで、 制御装置が接続されているプログラマブル 表示器と通信するだけで、 デバイスのア ドレス内容を変更できる。 この 結果、 各制御装置に固有の専用プロ トコルで通信する場合に比べて、 端 末側通信手段を作成する際の手間を削減できる。
また、 上記の各制御用サーバ装置において、 上記端末側通信手段は、 イ ンターネッ トを介して上記端末装置と通信することが好ま しい。 これ によ り、 回線交換方式の公衆電話回線で通信する場合のように、 端末装 置との距離に応じた通信費用を必要としない。 また、 制御システムのサ ポート要員は、 イ ンターネッ トに接続可能な場所から端末装置を操作す るこ とで、 プログラマブル表示器と同様に表示/制御できる。 この結果. 制御システムのサボ一ト要員を制御用サーバ装置近傍に配することなく . 制御システムをメ ンテナンスできる。
本発明の制御システムは、 上記専用プロ トコル通信手段、 上記共通プ 口 トコル通信手段、 および上記中継手段を有する上記プログラマブル表 示器と、 このプログラマブル表示器に接続され、 当該プログラマブル表 示器の画面を示すデ一タを受け取る表示器側通信手段、 受け取ったデー タを端末装置が表示可能な形式に変換する変換手段、 およびネッ トヮー クを介して上記端末装置と通信して上記変換手段が形式変換したデー夕 を送信する端末側通信手段を有する制御用サーバ装置とを含んでいる。 上記の構成では、 前述の制御用サーバ装置と同様に、 プログラマブル 表示器が専用プロ 卜コルと共通プロ トコルとを変換しているので、 制御 用サーバ装置は、 端末装置が採用する専用プロ トコルに拘らず、 共通プ ロ トコルで通信すればよい。 この結果、 新たな制御装置を制御システム に加入さぜる際の手間を削減できる。 また、 制御用サーバ装置がプログ ラマブル表示器の画面を示すデータを受け取り、 形式変換して端末装置 に送信するので、 制御装置に負担をかけることなく、 遠隔地の端末装置 で、 プログラマブル表示器の表示画面と同一内容の画面を表示できる。
( 2 ) 本発明の制御用端末装置は、 上記の目的を達成するために、 制 御プログラムに従って制御対象を制御する制御ュニッ 卜 と、 上記制御ュ ニッ ト とシ リ アルイ ンタ一フヱ一スを介して通信して、 当該制御ュニッ トの制御状態を表示または制御する制御用表示装置とを有するローカル 制御システムに広域ネッ トヮ一クを介して接続可能な広域ネッ トワーク 通信手段、 ならびに制御プログラムの転送先となる制御ユニッ トが設け られた口一カル制御システムを予め設定すると共に、 制御プログラム作 成手段がシリ アルポートへ出力する制御プログラムをシリアルポートの 代わりに受け取り、 制御プログラムと転送先の制御ュニッ ト とを示す指 示データを当該ローカル制御システムへ送信して、 制御プログラムの更 新を指示するように、 上記広域ネッ トワーク通信手段へ指示するシリア ルポ一ト模擬手段とを含んでいる。
上記の構成において、 制御プログラム作成手段がシリァルポ一トへ制 御プログラムを出力しょう とすると、 シリアルポート模擬手段がシリァ ルポ一トの代わりに制御プログラムを受け取り、 予め設定されたロー力 ル制御システムへ、 転送先の制御ュニッ ト と制御プログラムとを示す指 示データを送出するように、 上記広域通信手段へ指示する。 一方、 ロー 力ル制御システムは、 例えば、 イ ンターネッ ト等の広域ネッ トワークを 介して指示データを受け取ると、 当該指示デ一夕で特定される制御ュニ ッ トの制御プログラムを、 指示データが示す制御データで更新する。
本発明の制御システムは、 上記制御用端末装置と、 制御用ユニッ トお よび制御用表示装置を含むロー力ル制御システムとを含む制御システム であ り、 上記制御用表示装置が、 上記シリアルイ ンタ一フヱースを介し て上記制御ュニッ トの機種に専用のプロ トコルで通信して当該制御ュニ ッ トの制御状態を表示または制御する専用プロ トコル通信手段、 上記機 種に独立して予め定められた共通のプロ トコルにて、 上記シリアルイ ン 夕一フヱースとは別のネッ トワークと通信する共通プロ トコル通信手段. および上記共通および専用プロ トコル通信手段の通信を中継する中継手 段を有し、 上記ローカル制御システムが、 上記広域ネッ トワークを介し て、 上記広域ネッ トワーク通信手段から受け取った指示データに基づい て、 送信先の制御ュニッ トが接続された制御用表示装置を特定する と共 に、 当該制御用表示装置へ上記共通プロ トコルで上記ネッ トワークを介 して制御プログラムの更新を指示する表示装置特定手段を有している。 上記の構成において、 制御用端末装置が指示データを送信すると、 口 —カル制御システムの表示装置特定手段が、 指示データに基づいて、 送 信先の制御ュニッ 卜が接続された制御用表示装置を特定し、 共通プロ ト コルにて、 当該制御用表示装置に制御プログラ Λの更新を指示する。 一 方、 制御用表示装置において、 共通プロ トコル通信手段が受け取った制 御プログラムの更新指示は、 中継手段で中継され、 専用プロ トコル通信 手段、 およびシリアルイ ン夕一フヱースを介して制御ュニッ トに伝えら れる。 これによ り、 制御ュニッ トの制御プログラムが更新される。
上記構成では、 ローカル制御システムに必須であり、 しかも、 表示/ 制御時に使用者とやり取りするため、 制御ュニッ トに比べて演算能力や 通信能力に余裕のある制御用表示装置が、 制御ュニッ 卜に固有の専用プ 口 トコルでの通信と、 共通プロ トコルでの通信とを中継する。 これによ り、 互いに異なる機種の制御ュニッ トを、 ローカル制御システムに混在 する場合や、 新たな機種の制御ュニッ トがローカル制御システムに追加 される場合であっても、 表示装置特定手段は、 送信先の制御ュニッ トの 機種に拘らず、 常に共通プロ トコルで制御プログラムの更新を指示すれ ばよい。 従って、 表示装置特定手段を製造する際の手間を削減できる。
( 3 ) 本発明の制御システムは、 上記の目的を達成するために、 デバ ィスの状態を予め作成された表示用画面に表示すると共に、 該デバイス への制御指示を上記表示用画面を介して与える制御用表示装置から上記 表示用画面のデ一夕である画面デ一夕および上記デバィスの状態を示す デ一夕であるデバイスデータを取得する取得手段と、 取得された上記画 面データおよび上記デバィスデ一タに基づいて、 端末装置の表示面上に 上記表示用画面を表示させるための端末用データを生成する生成手段と 上記端末用デ一夕を上記端末装置に送信するようにネッ トワークを介し て上記端末装置と通信する通信手段とを含んでいる。
上記の構成では、 取得手段によって画面データおょぴデバイスデータ が取得されると、 これらのデータに基づいて、 生成手段によって端末用 データが生成される。 この端末データは、 通信手段によってネッ トヮ一 クを通じて端末装置に送信される。 これによ り、 端末装置では、 画面デ 一夕おょぴデバイスデ一夕による表示用画面が表示される。'
' · 本発明の他の制御システムは、 上記の目的を達成するために、 上記制 御用表示装置が、 上記表示用画面のデータである画面データを記憶する 記憶手段、 および端末装置からの要求に応じて上記記憶手段に記憶され た上記画面データを送信する送信手段を有しており、 この制御システム は、 さ らに、 上記デバイスの状態を示すデータであるデバイスデ一夕を 上記制御用表示装置から取得すると共に、 ネッ トワークを介して上記端 末装置と通信可能である通信手段と、 送信された上記画面データに対応 する上記デバィスデータを上記通信手段に問い合わせる動作と、 問い合 わせへの応答に応じて上記端末装置で上記表示用画面を表示する動作と を上記端末装置に実行させる実行プログラムを記憶する実行プログラム 記憶手段と、 取得された上記画面データおよび上記デバイスデータに基 づいて、 端末装置の表示面上に上記表.示用画面を表示させるための端末 用データを生成する生成手段とを含み s 上記通信手段が、 上記端末装置 に上記各動作を行わせるように上記実行プログラムおよび上記端末用デ —夕を上記端末装置へ送信すると共に、 該端末装置が問い合わせるデバ イスデータを取得して該端末装置に送信する。
上記の構成では、 端末装置から画面データの送信の要求があると、 送 信手段によって、 記憶手段に記憶された画面データが送信される。 する と、 生成手段によって、 その画面データに基づいて、 上記の各動作を実 行させるプログラムを含む端末用デ一夕を生成する。 この端末用デー夕 およ'び実行プログラム記憶手段に記憶された実行プログラム (アブレッ ト等) は、 通信手段によって、 ネッ トワークを通じて端末装置に送信さ れる。 また、 通信手段は、 実行プログラムによる端末装置からのデバイ スデー夕の問い合わせがあると、 制御用表示装置から取得したデバイス データを端末装置に送信する。 これを受けた端末装置は、 端末用デ一夕 を用いて実行プログラムを実行することによって、 表示用画面をデバイ スデータによるデバイスの状態を反映させて表示する。
( 4 ) 本発明の制御システムは、 上記の目的を達成するために、 デバ ィスの状態を予め作成された表示用画面に表示すると共に、 該デバイス への制御指示を上記表示用画面を介して与える制御用表示装置と、 上記 制御用表示装置から上記デバイスの状態を示すデータであるデバイスデ —タを取得する一方、 該デバイスデータを送信するサーバ側通信手段を 有するサーバ装置と、 上記表示用画面のデータである画面データを表示 処理に適した形態で格納する端末側格納手段、 該端末側格納手段に格納 された上記画面データに対応する上記デバィスデー夕の取得を上記サー 'バ側通信手段に問い合わせると共に、 上記サーバ側通信手段から送信さ れた上記デバィスデータに応じて上記表示用画面を表示する表示処理手 段、 ならびに該表示処理手段による問い合わせおよびその応答である上 記デバイスデータを受けるための通信を上記サーバ側通信手段との間で ローカルネッ トワークを介して行う端末側通信手段を有する複数の端末 装置とを含んでいる。
上記の構成では、 端末装置において、 表示処理手段が、 サーバ側通信 手段に問い合わせるこ とによって、 端末側格納手段に格納された画面デ ―夕に対応するデバイスデータを取得すると、 そのデバィスデータに応 じて上記表示用画面を表示する。
上記の.制御システムにおいては、 上記サーバ装置が、 上記画面データ を表示処理に適した形態で格納するサーバ側格納手段、 および上記サー バ側通信手段と公開ネッ トワークとの間の通信を中継する通信中継手段 を有し、 上記サーバ側通信手段が、 上記サーバ側格納手段に格納された 上記画面デ一タを取得する一方、 該画面デー夕を上記通信中継手段に与 え、 上記表示処理手段が、 上記サーバ側格納手段に格納された上記画面 データおよびそれに対応する上記デバィスデ一タの取得を上記公開ネッ トワークによる上記中継手段を介した中継通信で上記サーバ側通信手段 に問い合わせると共に、 上記サーバ側通信手段から上記中継通信で送信 された上記画面データおよびそれに対応する上記デバィスデ一タに応じ て上記表示用画面を表示し、 さ らに上記端末側格納手段に格納された画 面データを取得するときに上記サーバ側通信手段に上記口一カルネッ ト ワークを介した通信を行わせる一方、 上記サーバ側格納手段に格納され た画面データを取得するときに上記サーバ側通信手段に上記公開ネッ ト ワークを介した通信を行わせることが好ましい。
このよう に構成することによって、 端末装置において、 表示処理手段 が、 公開ネッ トワークによる上記中継手段を介した中継通信でサーバ側 通信手段に問い合わせることによって、 サーバ側格納手段に格納された 画面データおよびそれに対応するデバイスデータを取得すると、 その画 面データとそれに対応するデバイスデータに応じて上記表示用画面を表 示する。 また、 ユーザの指示によって表示処理手段がいずれかの画面デ —夕を取得するので、 自動的に口一カルネッ トワークまたは公開ネッ ト ワークを介した通信が選択される。 従って、 ユーザが意識することなし に画面デ一夕の取得先に適合した通信を行う ことができる。
( 5 ) 本発明の制御システムは、 上記の目的を達成するために、 入力 機器および出力機器が接続された制御装置と、 該制御装置による該入出 力機器の制御状態を表示し、 かつ上記制御装置に制御指示を与える表示 型制御装置との間で専用ネッ トワークを介して制御装置に固有の通信プ ロ トコルを用いて通信を行い、 上記表示型制御装置の上位に設けられる ホス トコンピュータと少なく とも 1 つの上記表示型制御装置との間で共 通ネッ トワークを介して共通の通信プロ トコルを用いて通信を行う こと によつて上記制御装置に関するデ一タを集積する制御システムであって. 上記表示型制御装置が、 上記両ネッ トワークで用いられる通信プロ トコ ルを上記両ネッ トワークで用いられる通信プ口 トコルに互いに変換する プロ トコル変換手段と、 予め設定されている配信条件が満たされたとき に上記制御装置の制御状態を表し実行されたユーザプログラム、 該ユー ザプログラムにおいて、 上記入出力機器のァ ドレスに対応付けられ、 上 記制御指示のデータおよび該制御指示デー夕の結果として得られる上記 出力データによつて変化する各変化要素、 ならびに該変化要素に対応す る上記制御指示データおよび上記出力データを上記ホス トコンピュ一夕 に配信する配信手段とを有し、 上記ホス トコ ンピュータが、 配信された 上記ユーザプログラム、 上記変化要素および上記両データを上記表示型 制御装置単位で時系列に順次蓄積する蓄積手段と、 該蓄積手段に蓄積さ れた上記ユーザプログラム、 上記変化要素および上記両データを連続し て検索し、 かつ表示する検索手段と、 端末装置からの要求に応じて上記 検索手段によつて検索された上記ユーザプログラムを上記端末装置が実 行可能な実行プログラムに変換する変換手段と、 該実行プログラム、 上 記変化要素および上記両デ一タを、 上記ユーザプログラム'において上記 変化要素を上記両デ一タに基づいて変化させるように上記実行プログラ ムを実行する上記端末装置へ送信する通信手段とを有している。
上記の構成において、 制御装置からの出力デ一夕は、 専用ネッ トヮー クを介して表示型制御装置に送出される。 表示型制御装置においては、 専用ネッ トヮ一クの通信プロ トコルが、 プロ トコル変換手段によって共 通ネッ トワークの通信プロ トコルに変換される。 その後、 出力データは. 表示型制御装置から共通ネッ トワークを介して接続されたホス トコンピ ュ一夕へ転送される。
また、 予め設定されている配信条件 (指定時刻、 指定周期等) が満た されたときに、 実行されたユーザプログラム (例えば、 プログラマブル 表示器で表示される画面や F L Cのラダープログラム) 、 ユーザプログ ラムにおける各変化要素 (例えば、 画面におけるシンボルやラダ一プロ グラムにおけるラダ一記号) 、 ならびに変化要素に対応する上記制御指 示データおよび上記出力データがホス トコンピュータに配信されると、 ホス トコ ンピュータにおける蓄積手段によって、 それらが表示型制御装 置単位で時系列に順次蓄積される。
また、 検索されたユーザプログラムが連続的に表示されるので、 制御 装置が動作していたときのュ一ザプログラムの状況を再現することがで きる。 さ らに、 ホス トコンピュータで検索されたユーザプログラムが変 換手段によつて実行プログラムに変換されると、 変化要素および両デー 夕と共に通信手段によつて端末装置に送信される。 端末装置では、 実行 プログラムが実行されることによって、 ユーザプログラムにおいて変化 要素が両データに基づいて変化する。 この結果、 例えば、 画面上で変化 要素が変化する状態が表示される。
( 6 ) 本発明の記録媒体は、 また、 上記制御用サーバ装置、 上記制御 用端末装置および制御システムをソフ トゥヱァで実現するために、 'それ ぞれの各手段をコンピュータに実行させる制御用通信プログラムが記録 されている。 この記録媒体から読み出されたプログラムがコンピュータ で実行されると、 そのコ ンピュー夕は、 上記制御用サーバ装置、 上記制 御用端末装置および制御システムとして動作する。
本発明のさ らに他の目的、 特徴、 および優れた点は、 以下に示す記載 によって十分わかるであろう。 また、 本発明の利益は、 添付図面を参照 した次の説明で明白になるであろう。 図面の簡単な説明
図 1 は、 本発明の実施の形態 1 に係る制御システムの構成を示すプロ ッ ク図である。
図 2は、 上記制御システムのプログラマブル表示器におけるスィツチ が〇 F F状態の場合の画面データと表示される画面との関係を示す説明 図である。
図 3は、 上記画面データに含まれる処理指示語のデータ構造を示す説 明図である。
図 4 は、 上記処理指示語のうち、 表示用の処理指示語のデータ構造例 を示す説明図である。
図 5は、 上記処理指示語のうち、 入力用の処理指示語のデータ構造例 を示す説明図である。
図 6は、 上記制御システムのプログラマブル表示器におけるスィ ツチ が〇 N状態の場合の画面デ一タと表示される画面との関係を示す説明図 である。
図 7は、 上記制御システムにおいて、 コンパイラが生成したァプレツ
+ トの要部を示す説明図である。
図 8は、 上記制御システムの動作を示すフローチヤ一トである。
図 9は、 上記制御システムにおいて、 専用プロ トコルで使用するデー タ転送フォーマツ トの一例を示す説明図である。
図 1 0は、 上記制御システムにおいて、 共通プロ トコルで使用するデ
—夕転送フォーマツ トの一例を示す説明図である。
. 図 1 1 は、 プログラマブル表示器が専用プロ トコルと共通プロ トコル とを相互変換する際に参照するコマン ド変換テーブルの一例を示す説明 図である。 ·
図 1 2は、 他の制御システムの構成を示すブロッ ク図である。
図 1 3は、 図 1 2の制御システムにおいて、 ネッ トワーク設定時の表 示画面を例示する説明図である。
図 1 4は、 図 1 2の制御システムにおいて、 通常の表示/制御時の動 作を示すフローチャートである。
図 1 5は、 図 1 2の制御システムにおいて、 制御プログラムの更新時 の動作を示すフローチャートである。
図 1 6は、 さ らに他の制御システムの構成を示すブロッ ク図である。 図 1 7は、 図 1 6の制御システムにおいて、 公開サーバ装置からクラ イアン ト装置へ配信される X M Lフアイルの例を示す説明図である。 図 1 8は、 図 1 6の制御システムにおいて、 公開サーバ装置からクラ イアン ト装置へ配信される H T M Lフアイルの例を示す説明図である。 図 1 9は、 図 1 6の制御システムの変形例の構成を示すブロッ ク図で ある。
図 2 0は、 図 1 9の制御システムにおいて、 公開サーバ装置からクラ イアン ト装置へ配信される H T M Lフアイルの例を示す説明図である。 図 2 1 は、 図 1 6および図 1 9 に示した通信の動作を示すフロ一チヤ ートである。
図 2 2は、 図 1 6およぴ図 1 9の制御システムのクライアン ト装置の 動作を示すフローチャートである。 ,
図 2 3は、 図 1 6および図 1 9の制御システムのクライアン ト装置の 動作を示すフ口一チャートである。
図 2 4は、 異なる形態の制御システムの構成を示すブロッ ク図である, 図 2 5は、 図 2 4の制御システムの動作を示すフロ一チャートである < 図 2 6は、 図 2 4の制御システムにおいて、 プログラマブル表示器ま たはクライアン ト装置で表示される他の表示画面を示す説明図である。 図 2 7は、 上記各表示画面を示す X M L フ ァイルを編集して作成した 新たな X M Lフアイルに基づいた表示画面を示す説明図である。
図 2 8は、 図 2 4の制御システムの変形例の制御システムの構成を示 すブロッ ク図である。
図 2 9は、 図 2 4の制御システムの他の変形例の制御システムの構成 を示すブロッ ク図である。
図 3 0は、 図 2 4、 図 2 8および図 2 9の制御システムの変形例の制 御システムの構成を示すブロッ ク図である。 図 3 1 は、 本発明の実施の形態 2に係る制御システムの構成を示すブ ロッ ク図である。
図 3 2は、 図 3 1 の制御システムにおけるプログラマブル表示器から 画面データを.ァップロードして公開する処理手順を示すフローチヤ一ト である。
図 3 3は、 本発明の実施の形態 2に係る制御システムの他の構成を示 すブロッ ク図である。
図 3 4は、 図 3 3の制御システムにおけるクライアン ト装置にプログ ラマブル表示器で表示される画面を表示させる処理手順を示すフローチ ヤー 卜である。
図 3 5は.、 図 3 3 の制御システムの変形例の構成を示すブロッ ク図で める ο
図 3 6は、 図 3 5の制御システムにおけるクライアン ト装置にプログ ラマブル表示器で表示される画面を表示させる処理手順を示すフローチ ャ一 トである。
図 3 7は、 図 3 3の制御システムの他の変形例の構成を示すプロッ ク 図である。
図 3 8は、 本発明の実施の形態 3に係る制御システムの構成を示すブ ロッ ク図である。
図 3 9は、 共通ネッ トワークの通信プロ トコルを示す説明図である。 図 4 0は、 上記制御システムにおけるパーソナルコンピュータに含ま れるデ一タベースで検索するための操作画面および検索によつて再生さ れた画面 (再生画面) を示す説明図である。
図 4 1 ( a ) は、 上記データベースに格納される画面に関するレコー ドの保存形式を示す説明図である。
図 4 1 ( b ) は、 上記デ一タベースに格納されるラダープログラムに 関する レコ一ドの保存形式を示す説明図である。
図 4 2は、 上記データベースに,格納される画面およびラダープログラ ムに関する レコードの保存形式を示す説明図である。
図 4 3 ' ( a ) は、 上記パ一ソナルコ ンピュータにおける配信設定部に て設定される配信条件設定画面を示す説明図である。
図 4 3 ( b ) は、 上記パーソナルコ ンピュータにおける配信設定部に て,設定される配信局 · 受信局設定画面を示す説明図である。
図 4 4は、 従来の制御システムの構成を示すプロッ ク図である。 発明を実施するための最良の形態
以下、 実施の形態により、 本発明をさ らに詳細に説明するが、 本発明 はこれらによ り何ら限定されるものではない。
〔実施の形態 1 〕
本発明の一実施の形態について図 1 ないし図 3 0に基づいて説明する と以下の通りである。
図 1 に示す本実施の形態に係る制御システムは、 例えば、 タ一ゲッ ト システムがベルトコンベア一式の自動組付機の場合等、 複数の F L C 3 が互いに連携して制御するようなターゲッ トシステムを制御する場合に 、 特に好適に使用されるシステムである。
本制御システムは、 プログラマブルロジッ クコン トローラ ( P L C ) 3 と、 プログラマブル表示器 5 (以降、 単に表示器と称する) と、 ネッ トワーク 6 と、 制御用ホス 卜コンピュータ (以降、 単に制御コ ンピュー 夕と称する) 7 と、 クライアン ト装置 (端末装置) 9 とを備えている。 P L C 3 は、 予め格納される制御プログラムに従ってターゲッ トシス テムを構成する.各デバイス 1 0 を制御する制御装置であり、 シリァルケ - —ブル 4 を介して表示器 5に接続される。 F L C 3は、 C P U /電源モ ジュールと、 入力ュニッ トと、 出力ユニッ ト とを備えている。 C P U / 電源モジュ一ルは、 C P Uやメモリ を含む C P U部と、 F L C 3 の各部 に電力を供給する電源部とからなつている。 C P U部は、 制御プログラ ムに従って、 制御対象機器であるデバイス 1 0…を制御する。 具体的に は、 C P U部は、 入力ュニッ トを介してデバイス 1 0 としての入力機器 から入力される信号に基づいて同じくデバイス 1 0 としての出力機器に 与える制御データの演算処理を行う。 入力ュニッ トおよび出力ュニッ ト は、 それぞれ入出力機器に接続されるイ ンターフェース機能を有する部 分であって、 これらの機器との間で入出力されるデジタル信号またはァ ナ口グ信号を上記の C P U部とやり取りするようになっている。
入力機器としては、 センサ (温度センサ、 光センサ等) 、 スィ ッチ ( 押ボタ ンスィ ッチ、 リ ミ ッ トスィ ッチ、 圧力スィツチ等) のような機器 が用いられる。 出力機器としては、 ァクチユエ一夕、 リ レー、 電磁弁、 表示器等が用いられる。 これらの入出力機器は、 製造ライ ン等の各種の 夕一ゲッ トシステムの所要各部に配置される。
表示器 5 は、 多くの場合、 ターゲッ トシステムの近傍でオペレータに よ り操作される。 各表示器 5間は、 ネッ トワーク 6により'接続されてい る。 また、 このネッ トワーク 6には、 制御コ ンピュータ 7が接続されて いる。 一方、 クライアン ト装置 9は、 イ ンタ一ネッ ト 3 2を介して、 制 御コ ンピュータ 7に接続可能である。 制御コ ンピュータ 7は、 多く の場 合、 表示器 5 より も離れた場所から、 制御システム全体の監視制御、 設 定等を行う。 また、 夕一ゲッ トシステム、 表示器 5および制御コンビュ 一夕 7 によってローカル制御システム 3 1 が構成されている。
表示器 5は、 R A M、 R O M . フラッシュ R O M、 V R A M等のメモ リや、 . C F U等の演算処理部を有しており、 これらによって表示器 5の 各部の動作を制御している。 この表示器 5は、 処理指示語 (タグ) を組 み合わせて決定される画面データに基づいて、 入力および画面表示を制 御可能な表示装置である。 この表示器 5は、 P L C側通信処理部 5 1 ( 専用プロ ト コル通信手段) と、 ネッ トワーク側通信処理部 5 2 (共通プ ロ トコル通信手段) と、 プロ トコル変換部 5 3 (中継手段) と、 画面デ —夕メモリ 5 4 と、 表示処理部 5 5 とを備えている。
P L C側通信処理部 5 1 はシリアルケーブル 4に接続され、 ネッ トヮ ーク側通信処理部 5 2 はネッ トワーク 6 に接続される。 プロ トコル変換 部 5 3は両通信処理部 5 1 · 5 2の通信.を中継し、'画面デ一タメモリ 5 4は上記画面データを記憶する。 表示処理部 5 5は、 画面データと、 タ ッチパネル等の操作入力部 5 5 aからのオペレータの操作や通信結果等 とに基づいて表示処理を行う。 また、 他の入力手段としては、 バーコ一 ドリ一ダ 5 5 bや図示しない I Dセンサ等であってもよい。
本実施の形態では、 上記表示処理部 5 5は、 複数の単位画面を切り換 えるこ とができる。 各単位画面は、 例えば、 図 2に示すように、 銘板等 、 表示内容を変更しない静止図形 Bや、 スィ ツチやランプあるいはメ一 夕等のように、 形状や色、 点滅状態等の表示状態が変換する部品図形 J ( J 1 ) を、 ベース画面上に配置して形成される。
—方、 上記画面を表示する画面データは、 図 3に示すように、 ベース 画面のフアイル番号 F と、 ベース画面上で実行すべき動作内容を特定す る事象名 Nと、 各実行事象毎に参照される 1 または複数の参照情報 Rと を含む処理指示語 (タグ) Wを組み合わせて構成されている。
図 4に示す処理指示語 W Lは、 表示要素を特定するための特定情報で あり、 例えば、 所定の画面領域 (表示座標範囲) へ、 所定のデバイスァ ドレスの内容に応じた部品図形 Jを表示する場合に用いられる。 この処 理指示語 W Lの参照情報 Rには、 表示座標範囲 (X · Y ) と、 デバイス ア ドレス Aと、 例えば、 部品図形 Jがスィッチの場合、 ◦ Nを示す図形 のフアイルぉよび 0 F Fを示す図形のファィル等、 表示時に参照するフ アイル番号 F Lとが含まれる。
図 5 に示す処理指示語 W Tは、 入力操作部 5 5 bを介して入力操作を 規定する特定情報である。 この処理指示語 W Tの参照情報 Rには、 入力 部 2 4 におけるタッチパネル上の有効入力座標範囲 X · Yと、 その入力 座標範囲の指定に連動してオンされるデバイスァ ドレス Aとが含まれる < 一方、 表示器 5の表示処理部 5 5は、 所定の時間間隔で、 ベース画面 のフアイル番号 Fが、 画面デー夕メモリ 5 4 から、 現在表示中のベース 画面である処理指示語 W L (表示タグ) を抽出し、 各表示タグ W Lのデ バイスア ドレス Aの内容を、 F L C 3のメモ リ 3 aから読み出すことに より、 内容に応じた部品図形 Jを画面に表示する。 例えば.、 図 2 におい て、 画面デ一タメモリ 5 4 に格納された表示タグ W L 1 は、 スィ ッチの 表示を示しており、 デバイスア ドレス A 1 の機器に対応している。
この表示タグ W L 1 を実行する場合、 表示処理部 5 5は、 デバイスァ ドレス A 1 の内容が " 0 " なので、 スィ ッチが 0 F Fであると判断し、 表示処理部 5 5のメモ リ 5 5 aに格納されたファイルのうち、 O F Fに 対応付けられたファイル F L 1 の図形を、 表示座標範囲 (X '· Y ) に表 示する。 これにより、 当該座標範囲 (X · Y ) には、 0 F F状態のスィ ッチを示す部品図形 J 1 が表示される。 このように、 表示処理部 5 5が 所定の時間間隔で画面データ内の表示タグ W L 1 を実行することで、 表 示器 5 の画面には、 デバイスの状態が反映される。
また、 図示しないタツチパネルへの押し操作等、 オペレータの入力操 作を受け取ると、 表示処理部 5 5は、 その入力操作を画面に反映させる 。 このため、 表示処理部 5 5 は、 画面デー夕メモリ 5 4 の画面デ一夕か ら、 現在表示中のベース画面に対応し、 その入力操作にマッチする処理 指示語 W T (入力タグ) 検索し、 入力結果に応じて、 入力タグ W Tが示 すデバイスア ドレス Aの内容を変更する。
例えば、 有効入力座標範囲 (X · Y ) が上記部品図形 J 1 と同じ座標 範囲に設定され、 同じデバイスア ドレス A 1 の内容を変更する入力夕グ W T 1 が画面データ中に含まれている場合、 オペレータが図 2に示す表 示画面の部品図形 J 1 を押すと、 表示処理部 5 5による検索の結果、 そ の入力タグ W T 1 が発見される。 この場合、 表示処理部 5 5は、 P L C 側通信処理部 5 1 ゃネッ トワーク側通信処理部 5 2へ指示するなどして. 入力タグ W T 1 に対応するデバイスァ ドレス A 1 の内容を書き換える。
さらに、 入力操作の後、 表示処理部 5 5が表示タグ W L 1 を処理する と、 デバイスア ドレス A 1 の内容が " 1 " に変更される。 これによ り、 表示処理部 5 5 は.、 図 6 に示すように、 ファイル F L 2 に対応し、 〇 N を示す部品図形 J 2 を画面上に表示する。 この結果、 表示処理部 5 5は 入力操作に応じてデバイスア ドレスの内容を書き換えると共に、 デバイ スァ ドレスの内容に応じて、 画面表示を更新できる。 なお、 デバイ スア ドレス Aは、 制御対象となるデバイスを特定するァ ドレスであって、 P L C 3のメモリ 3 a等、 表示器 5や P L C. 3あるい は制御コンピュ一タ 7等に設けられた記憶装置の一領域を示している。 また、 上記デバィスは、 操作入力部 5 5 aやバーコ一ドリ一ダ 5 5 b等 の入力装置から手動で入力されたデータが格納されたメモリであっても よい。 さ らに、 後に詳述するように、 例えば、 P L C側通信処理部 5 1 やネッ トワーク側通信処理部 5 2が、 P L C 3や他の表示器 5 と通信す ることで、 各ア ドレスの内容を取得したり、 内容を変更したりできる。 内容の取得/変更は、 その都度指示してもよいし、 表示器 5内にキヤッ シュを用意し、 内容の取得/変更時には、 キャッシュへアクセスすると 共に、 所定の時間間隔每ゃ所定のィベン ト每に通信してデバイスァ ドレ ス Aの実体と同期を取ってもよい。
制御コ ンピュータ 7 (制御用サーバ装置) は、 表示処理部 7 1 と、 共 通プロ トコル (イ ンターフェース) I F部 7 2 (表示器側通信手段) と - サーバ部 7 3 とを備えている。 制御コンピュータ 7は、 多く の場合、 表 示器 5 より も離れた場所から、 ターゲッ トシステム、 F L C 3、 表示器 5等の状態を表示したり制御したりできる。 表示処理部 7 1 は制御シス テム全体の監視制御を行い、 共通プロ トコル I F部 7 2はネッ トヮ一ク 6に接続される。 サーバ部 7 3は、 共通プロ トコル I F部 7 2およびネ ッ トワーク 6 を介して各表示器 5 と通信して、 表示処理部 7 1等の要求 に 0しる。
また、 制御コンピュ一タ 7 には、 表示器 5 の画面データを作成する作 画処理部 7 4 と、 作成された画面デ一タを格納する画面デ一タメモリ 7 5 とが設けられている。 各表示器 5 の表示/制御動作を規定ずる画面デ ータは、 作画処理部 7 4で集約して作成 (修正) された後、 サーバ部 7 3、 共通プロ トコル I F部 7 2およびネッ トワーク 6を介して、 各表示 器 5へ配信される。
こ こで、 上記画面データは、 前述のように、 画面上の領域と、 当該領 域への表示や入力に対応するデバイスのア ドレスとの対応関係を示す夕 グ (処理指示語) を組み合わせて構成されている。 作画処理部 7 4は、 例えば、 タグのパレッ トを表示し、 ノ、。レッ ト中のタグを選択して、 画面 上に所望のタグを配置するように、 使用者へ促す。 また、 作画処理部 7 4は、 配置されたタグを指定された座標に表示して、 使用者の ドラッグ & ドロップ等の操作に応じてタグの座標を調整する。 また、 作画処理部 7 4 は、 入カタグゃ表示タグに関連するデバイスァ ドレスを入力するよ うに使用者へ促す。
使用者は、 これに応じて作画処理部 7 4 を操作して、 画面上の所望の 位置にタグを配置すると共に、 各タグとデバイスのア ドレスとを対応付 けるだけで、 画面データを作成できる。 これにより、 表示器 5の表示プ 口グラムを修正する場合に比べて容易に、 各表示器 5の表示や操作を決 定 (変更) できる。 従って、 制御システムの使用者' (制御コンピュータ 7の使用者) は、 ターゲッ トシステムの実情や、 表示器 5のォペレ一夕 の習熟度、 あるいは、 使用者の好みに合わせることができる。
制御コンピュ一夕 7は、 さ らに、 コンパイラ 7 6 (変換手段) と、 公 開サーバ部 7 7 (端末側通信手段) とを備えている。 コ ンパイラ 7 6は 表示器 5が表示に使用している画面データ自体、 あるいは、 同一構造の 画面デ一夕を、 クライアン ト装置 9のバーチヤルマシン 9 1 で同等の処 理を実行可能な Java (登録商標) 言語のアブレッ トへ変換する。.公開サ ーバ部 7 7は、 イ ンターネッ ト 3 2 を介して、 クライアン ト装置 9ヘア プレッ ト を配信すると共に、 クライアン ト装置 9で実行されるアブレツ ト と通信する。
上記のコンパイラ 7 6は、 予めタグの種類毎に、 上記パーチャルマシ ン 9 1 が実行するメ ソッ ドを含むクラスを図示しない記憶装置に格納し ている。 また、 コンパイラ 7 6 は、 画面データの各タグ每にタグ種に対 応するメ ソッ ドを呼び出すコー ドを生成し、 ァプレッ ト を出力できる。 具体的には、 上記のメ ソッ ドは、 例えば、 表示タグの場合、 所定の時 間間隔で呼び出され、 特定のデバイスア ドレスのデータを公開サーバ部 7 7へ要求すると共に、 応答に応じた表示を行う描画メ ソッ ドである。 また、 上記のメ ソッ ドは、 入力タグの場合、 入カイベン トが発生したと きに呼び出され、 入力結果に応じたデータを、 特定のデバイスア ド レス へ書き込むよ う に、 公開サーバ部 7 7へ要求する入カメ ソッ ドである。 一方、 コンパイラ 7 6 は、 ァプレツ トの生成指示を受け取る と、 生成 すべきァプレツ トに対応する画面データを画面データメモリ 7 5から読 み出し、 その画面デ一夕から夕グを抽出する。 また、 コ ンパイ ラ 7 6は 、 抽出されたタグのタグ種に基づいて変換対象とするタグのタグ種に対 応する ク ラスのィ ンス タ ンスを生成し、 当該ィ ンス タ ンスのフ ィ ール ド へ、 タグのパラメータを設定するための文字列 (コー ド) を出力する。 本実施の形態では、 図 7 に示すよ うに、 く param> 要素の変数と して、 タグ種とパラメータ とを指定し、 "Gpj . c l as s" が、 変数に基づいてイ ン スタ ンスを生成し、 パラメ一タを設定している。 さ らに、 画面データ中 の全てのタグについて、 文字列の出力が終了すると、 コンパイラ 7 6 は
、 H T M L (HyperText Markup Language) 文書として必要な文字列 ( "く HTML 、 "<TITLE>" 等の文字列) や.、 生成されたコー ドをァプレツ 卜 と して動作させるための文字列 (く APPLET>等) を、 各タグに基づいて生成 されたコードの前後に付して、 コンパイルを終了する。
これにより、 コンパイラ 7 6は、 表示器 5が画面デ一夕を表示する場 合と同一の画面をクライアント装置 9 に表示させるためのアブレッ トを
' 生成できる。 また、 画面データを変更しない限り、 生成されるァプレツ トが同一内容なので、 本実施の形態に係るコンパイラ 7 6は、 生成した アブレッ ト (HT ML文書) を、 画面データと関連付けて記憶装置 (図 示せず) へ格納している。 公開サーバ部 7 7は、 同一の画面データが要 求されたとき、 それを当該記憶装置から読み出す。 これにより、 要求毎 にコンパイルする場合に比べて、 生成速度を向上できる。
また、 公開サーバ部 7 7は、 例えば、 U R I (Universal Resource Id entif ier) 等に基づいて、 クライアン ト装置 9が要求している画面デ一 タを判別し、 C G I (Common Gateway Interface) や B G I (Binary G ateway Interface) 等によってクライアン ト装置 9ヘアプレツ トを送出 する。 加えて、 公開サーバ部 7 7は、 アブレツ トから、 デバイスァ ドレ ス Aの内容の取得/変更指示を受け取ると、 表示器 5が他の表示器 5や ■ P L C 3 と通信してデバイスァドレス Aの内容を取得/変更する場合と 同様に当該指示を中継し、 表示器 5 自体や表示器 5 に接続された F L C 3等、 デバイスア ドレスの実体へ内容の取得/変更指示を伝送する。 なお、 公開サーバ部 7 7 も表示処理部 5 5 と同-様にデバイスア ドレス の内容をキヤッシュすることで、 ァプレツ トに対する応答時間を短縮で きる。
クライアン ト装置 9は、 バ一チャルマシン 9 1 に加えて、 汎用のブラ ゥザソフ ト等によ り実現されるブラウザ 9 2 を備えている。 ブラウザ 9 2は、 イ ンターネッ十 3 2に接続された機器と通信し、 受け取ったアブ レツ トをバ一チャルマシン 9 1 に実行させる。 また、 ブラウザ 9 2は、 例えば、 H T T P (Hype r Text Trans f e r Pro to co l )プロ トコルでサーバ 装置から H T M L文書等の文書を受け取り、 閲覧するこ.ともできる。
上記の制御システムは、 図 8に示すフローチヤ一トの手順で動作する。 まず、 制御システムの.使用者は.、 前述の作画処理部 7 4 を操作し、 ター ゲッ トシステムの実情や表示器 5 のォペレ一タの習熟度、 あるいは、 使 用者の好みに合わせて、 画面データを作成/修正する ( S 1 ) 。 さらに、 作成された画面データは、 例えば、 シミ ュ レーショ ンや接続試験等によ つて、 正常に動く ことが確認された後、 表示器 5に配信され ( S 2 ) 、 表示器 5が画面データに応じた表示を開始する ( S 3 ) 。
ここで、 最適な画面は、 好みや習熟度等にも左右されるため、 一意に 決めることができず、 比較的頻繁に変更されることが多い。 ところが、 前述のよう に、 本実施の形態では、 制御システム (制御コンピュータ 7
) の使用者が画面デ一夕をタグの組み合わせで生成できるので、 これら の要求に柔軟に対応でき、 最適な状態を保ち続けるこ とができる。 また- 制御コ ンピュータ 7による一括管理のため、 多くの場所で並行して管理 する場合に比べて、 画面データを容易に管理できる。
コ ンパイラ 7 6 は、 S 1 で作成した画面データをコ ンパイルしてァプ レツ 卜を生成し、 図示しない記憶装置に格納する ( S 4 ) 。
制御システムの稼動中に、 ブラウザ 9 · 2が、 イ ンタ一ネッ ト 3 2 を介 して公開サーバ部 7 7へアクセスして、 ある表示器 5 の画面を表示する ように指示する ( S 5 ) 。 これに対し、 公開サーバ部 7 7は、 画像によ る表示/制御がクライアン ト装置 9に許可されているか否かを認証し、 許可されていないクライアン ト装置 9からのァクセスを拒否する ( S 6 ) 。 このとき、 例えば、 クライアン ト装置 9から受け取った識別番号お よびパスヮ一ドが予め定められた組み合わせであるか否かを確認する。 許可された正規なクライアント装置 9であることが確認されると、 公 開サーバ部 7 7は、 S 4 にてコンパイルされたアブレッ トのうち、 クラ イアン ト装置 9が要求したアブレツ トを含む H T M L文書を、 上記の記 憶装置から取り出し、 イ ンターネッ ト 3 2 を介してクライアン ト装置 9 へ送信する ( S 7 ) 。
一方、 S 8 において、 ブラウザ 9. 2は、 受け取った H T M L文書から
、 APPLET要素 ("く APPLET> "から "く/ APPLET>" の部分) を抽出し、 バ一チ ャルマシン 9 1 に実行させる。 これにより、 バ一チャルマシン 9 1 は、 公開サーバ部 7 7 と通信して、 表示器 5 と同様の表示/制御を行う。 具体的には、 バーチャルマシン 9 1 では、 ァプレツ ト中の各表示タグ に応じたィ ンスタンスの描画メソッ ドが所定の時間間隔で実行される。 この結果、 バーチャルマシン 9 1 は、 デバイスア ドレス Aの内容を公開 サーバ部 7 7へ問い合わせる。 一方、 公開サーバ部 7 7は、 デバイスァ ドレス Aの内容を読み出すようにサーバ部 7 3へ指示する。 サーバ部 7 3は、 後に詳述するように、 表示処理部 7 1 が各デバイスア ドレスの内 容を読み出す場合と同様に、 デバイスア ドレス Aの内容を取得し、 公開 サーバ部 7 7へ伝える。 .さ らに、 デバイスァ ドレス Aの内容が、 公開サ ーバ部 7 7からイ ンタ一ネッ ト 3 2 を介してバーチャルマシン 9 1 へ伝 えられると、 上記描画メ ソッ ドは、 デバイスア ドレス Aの内容に応じて 、 表示領域 (X · Y ) の表示を更新する。 ここで、 上記のァプレツ トは、 画面データがコンパイルされた結果で ある。 このようなァプレツ トにおける各イ ンスタ ンスは、 画面データ中 の対応するタグと、 同じデバイスア ドレスを参照するように設定されて いる。 また、 各イ ンスタンスは、 デバイスア ドレスの内容が同じ場合、 タグと同じ画像を表示するように作成されている。 従って、 アブレツ ト が実行されると、 クライアン ト装置 9の表示画面には、 図 2や図 6 と同 様、 デバイスの状態を示す部品図形 J 1 ( J 2 ) が表示される。
なお、 本実施の形態に係る画面データでは、 各単位画面の切り換え動 作も、 入力タグとして実現されている。 この入力夕グには、 デバイスァ ドレスとして、 表示器 5内の記憶領域のうち、 現在表示中の単位画面を 示すデータが格納される領域が関連付けられている。 従って、 ある表示 器 5の画面データがコンパイル'されたァプレッ トが、 クライアン ト装置 9 で実行されている場合、 クライアン ト装置 9 と表示器 5 とでは、 常時 同じ単位画面が表示される。
ノ 一チャルマシン 9 1 では、 ァプレッ トの実行中、 マウス等による入 力操作が行われると、 アブレツ ト中の入カタグに対応するィ ンスタ ンス のうち、 入力操作に応じたイ ンスタンスの入力メソッ ドが実行される。 これにより、 バーチヤルマシン 9 1 は、 入力結果に応じたデー夕を特定 のデバイスァ ドレスへ書き込むように公開サーバ部 7 7へ要求す.る。 一方、 公開サーバ部 7 7は、 バーチャルマシン 9 1 から書き込み要求 を受けると、 サーバ部 7 3へその要求を転送する。 さ らに、 サーバ部 7 3は、 表示処理部 7 1 がデバイスを制御する場合と同様に、 デバイスァ ドレス Aの内容を書き換える。 この結果、 クライアン ト装置 9の表示画 面には、 書き込み後、 上記描画メソッ ドが実行された時点で、 表示器 5 と同様に、 操作結果が反映される。
なお、 囪 8 に示すフローチャー トでは、 S 1 にて作成された画面デー 夕を、 予め、 コンパイラ 7 6がコンパイルして蓄積しておく場合を例に して説明したが、 これに限定されない。 例えば、 クライアン ト装置 9か ら要求された画面データが、 コンパイルされていない場合にコ ンパイル してもよい。 この場合は、 初回のコ ンパイル時に、 クライアン ト装置 9 に対する応答速度が遅く なる。 しかしながら、 コンパィ.ル後に画面デ一 タが更新されて再コンパイルする可能性を低くすることができるので、 コンパイル回数を削減できる。
以上のように、 本実施の形態に係る制御システムでは、 コンパイラ 7
6が画面データをコ ンパイルして、 クライアン ト装置 9 のバーチャルマ. シン 9 1 で実行可能なアブレツ トを生成し、 公開サーバ部 7 7がィ ン夕 —ネッ ト 3 2 を介してァプレッ トを配信する。 これにより、 クライアン ト装置 9 に監視制御用のプログラムが予めィ ンス トールされていない場 合や、 遠隔地に配されている場合であつでも、 クライアン ト装置 9は、 表示器 5 に表示される画面と同様の画面を表示でき、 表示器 5 と同様の 操作で P L C 3や表示器 5を制御できる。
また、 制御コンピュータ 7が画面データをアブレツ トに変換して公開 するので、 制御システムの使用者は、 遠隔地用の画面データを新たに作 成する必要がなく、 画面作成の手間を大幅に削減でき.る。 さ らに、 特別 に遠隔地用の画面データを作成しなければ、 遠隔地用の画面と表示器 5 の画面とが常時同一に保たれるので、 双方用の画面データを別々に作成 して常時同一になるように管理する場合に比べて管理の手間を大幅に削 減できる。 なお、 本実施の形態では、 表示器 5 と同様の問い合わせ . 変更指示を 制御コンピュータ 7へ送信する動作と、 応答に応じて表示させる動作と をクライアン ト装置 9 に行わせるアブレッ トを生成し、 制御コンピュー 夕 7が、 デバイスア ドレスの内容伝送を中継する場合を例にして説明し たが、 これに限定されない。
例えば、 制御コンピュ一タ 7が、 表示器 5 と通信して、 表示器 5 の画 面表示と同一内容のビッ トマップ形式や J P E G形式のフ了ィルを生成 し、 クライアン ト装置 9へそのファイルを送信してもよい。 制御コ ンビ ユ ー夕 7が、 表示器 5 の画面を示すデータを受け取り、 クライアン ト装 置 9が表示可能な形式にそのデータを形式変更した後、 クライアン ト装 置 9 'へ送信する。 このようにすれば、 各表示器 5 の表示 . 制御用のプロ グラムを、 クライアン ト装置 9へ予めィ ンス トールしておく必要がなぐ なるので、 イ ンス トールの手間、 時間および費用を削減できる。
ただし、 制御コンピュータ 7 とクライアン ト装置 9 とがイ ンタ一ネッ ト 3 2 を介して通信している場合等、 両者間の通信速度が遅い場合、 画 面を.示すデータを送信すると、 クライアン ト装置 9における画面の更新 速度が低下してしまう。
これに対して、 本実施の形態では、 制御コンピュータ 7が、 上記の問 い合わせ、 変更指示および表示動作をクライアン ト装置 9に行わせるァ プレッ トを配布すると共に、 デバイスア ドレスの内容伝送を中継してい る。 これにより、 デ一タ伝送量を大幅に削減でき、 クライアン ト装置 9 における応答速度を大幅に向上できる。 また、 例えば、 カーソル移動等 のユーザ—ィ ンターフェースをクライアン ト装置 9側で処理できるので
、 さ らに応答速度を向上できる。 なお、 上記のよう に、 ァプレツ ト を伝送する代わりに、 例えば、 ベー シッ ク等のプログラム言語をコンパイルするなどして作成され、 アブレ ッ ト と同様の動作をクライアン ト装置 9 に実行させる実行プログラムを 配信しても、 ほぼ同様の効果が得られる。
ただし、 本実施の形態のよう に、 制御コンピュータ 7がァプレツ トを 送信し、 バ一チャルマシン 9 1 がそのアブレツ トを解釈して表示 · 制御 する場合、 クライアン ト装置 9 がバーチャルマシン 9 Lを備えていれば. クライアン ト装置 9のオペレーティ ングシステム (〇 S ) や C P Uが実 行可能な機械語が異なっていても、 ァプレツ トを実行できる。 従って、 制御コ ンピュータ 7が生成するアブレツ トの種類を増加させるこ となく . よ り多く のクライアン ト装置 9で表示器 5 と同様に表示/制御できる。
また、 本実施の形態では、 制御コ ンピュータ 7 とクライアン ト装置 9 とがィ ンターネッ ト 3 2.を介して通信するので、 両者が離れて設置され ている場合であっても、 それぞれに最寄のイ ンターネッ トサービスプロ バイダ ( I S P ) まで公衆回線で接続すれば、 相互通信可能になる。 従 つて、 回線交換型の公衆電話回線を介して相互に接続する場合よ り も、 通信料金を大幅に削減できる。
加えて、 イ ンターネッ ト 3 2 を介して通信するので、 クライアン ト装 置 9 と、 制御コンピュータ 7、 表示器 5および F L C 3からなるシステ ムとが、 それぞれ別の国に設置されている場合であっても、 クライアン ト装置 9 の使用者は、 何ら支障なく 、 表示器 5 を使う場合と同様に監視 制御できる。 この結果、 クライアン ト装置 9の使用者は、 上記システム と別の国にいる場合であっても、 システムの状態を的確に把握でき、 上 記システムの運用者へ適切な助言を与えて、 運用者をサポートできる。 従って、 システムの近く に、 多く のサポート要員を配する必要がなく な り、 サポート時の手間を大幅に削減できる。
ところで、 .本実施の形態では、 制御コンピュ一タ 7が表示器 5 と通信 するこ とで、 制御コンピュータ 7の公開サーバ部 7 7がデバイスのア ド レス内容を取得/変更しているが、 これに限定されない。 図 4 4 に示す 従来の制御システムと同様に、 制御コンピュー夕 7が P L C 3 と直接通 信して、 デバイスのア ドレス内容を取得/変更してもよい。
ただし、 この場合には、 制御コンピュータ 7は、 P L C 3 と通信する ために、 F L C 3の機種に固有の専用プロ トコルで通信する必要がある ので、 制御コンピュ一夕 7の通信プログラムを作成する手間がかかる。
これに対して、 本実施の形態では、 制御システムに必須で、 P L C 3 に比べて演算能力や記憶容量に余裕のある表示器 5がプロ トコル変換し ているので、 制御コンピュータ 7は、 P L C 3 の機種に拘らず、 共通プ 口 トコルで通信できる。 それゆえ、 上記の通信プログラムを作成する手 間を大幅に削減できる。 なお、 表示器 5は、 図 4 4 のように接続されて いても、 P L C 3 と通信するために、 専用プロ トコルで通信する必要が ある。 従って、 表示器 5 を制御コンピュータ 7 と P L C 3 との間に配し ても、 表示器 5の通信プロ トコル作成時の手間は増加しない。 '
具体的には、 本実施の形態に係る制御システムでは、 表示内容ま.たは 制御内容が同一の場合、 F L C 3の機種に拘らず、 表示/制御の際にネ ッ トワーク 6 を伝送されるデータ列 6 1 (図 1 0参照) が互いに同一に なるように、 ネッ トワーク 6での伝送用のプロ トコル (共通プロ トコル ) が規定されている。 また、 通信の中心に配された表示器 5が、 P L C 3の機種毎に規定された専用プロ トコルと上記共通プロ トコルとを相互 変換して、 自らに接続された P L C 3 と、 制御コンピュータ 7あるいは 他の表示器 5 との通信を中継する。 これによ り、 各表示器 5に接続され た F L C 3が互いに異なる専用プロ トコルを採用している場合であって も、 各表示器 5および制御コ ンピュータ 7間は、 共通プ口 トコルで通信 できる。
上記のタ一ゲッ トシステムは、 バルブやモータ等、 指示に応じた動作 を行う制御対象機器、 あるいは、 流量センサや温度センサ等、 ターゲッ トシステムの各部の状態を検出するセンサ等のデバィス 1 0 を備えてい る。 一方、 P L C 3は、 各デバイス 1 0 と通信しながら、 予め格納され た制御プログラムに従って、 各デバイス 1 0 を制御している。 その制御 プログラムは、 制御コンピュータ 7から表示器 5 を介して配信するなど して各 P L C 3 に伝送される。
ここで、 P L C 3は、 リ レ一を使用したシーケンサから発達してきた 経緯もあって、 製造会社每ゃ製品の種別每等、 P L C 3の機種毎に制御 プログラムが異なるだけではなく、 P L C 3の機種每に独自の専用プロ トコルを備えているものが多い。 従って、 P L C 3は、 シリアルケ一ブ ル 4 を介して、 表示器 5 と接続されており、 当該 P L C 3が通信可能な 通信プロ トコルで表示器 5 と通信する。
上記の専用プロ トコルでは、 データの読み出しを指示する場合、 概ね 、 図 9 に示すように、 次に伝送されるコードが命令であることを示す制 御コー ド ( E S C ) と、 P L C 3へデ一夕の読み出しを指示するコマン ドコード ( R D ) と、 読み出し開始ア ドレス (X 0 0 0 1 ) と、 読み出 しサイズ ( 5 ) と、 伝送の終了を示す制御コ一ド (R E T ) とを含むデ タ列 4 1 が伝送される。 ただし、 各 F L C 3間では、 コマン ドコード を含むコマン ド体系は、 もちろん、 ア ドレスやサイズ等の並び順や、 制 御コード自体、 あるいは.、 ァ ドレスやサイズを表現する際の表現形式 ( 数値を示す際のビッ ト幅ゃ文字を示す際のコ一 ド種別等) も互いに異な つているこ とが多い。
—方、 本実施の形態に係るネッ トワーク 6 は、 例えば、 イーサネッ ト
(商標 : ゼロッ クス社) 等の L A N (口一カルエリアネッ トワーク) で あり、 各表示器 5や制御コンピュータ 7は、 T C F / I Fプロ トコルで 相互に通信している。 これにより、 例えば、 制御システムの開発者が使 用する制御用ホス トコンピュ一タ (図示せず) 等が、 制御システムの運 用会社とは異なる場所から電話回線を介して接続する場合であつても、 T C P / I Pで通信可能な通信機器であれば、 他の通信機器間のデ一夕 伝送を阻害することなく ネッ トワーク 6に自由に参加できる。
なお、 T C P / I Pプロ トコルでは、 データ列 6 1 を伝送する際、 T C Pモジュールや I Pモジュール等の各モジュールが伝送用のへッダを 付加しているが、 本明細書においては、 「ネッ トワーク 6で伝送される データ列 6 1 」 を、 上述のサーバ部 7 3等、 「より上層が T C Pモジュ ールへ伝送を依頼し、 受信側の T C Pモジュールが、 よ り上層へ受け渡 すデータ列」 の意味で使用する。
ここで、 本実施の形態にて、 ネッ トワーク 6 での伝送用に規定されて いる共通プロ トコルにおいて、 データ列 6 1 は、 図 1 0 に示すように、 例えば、 表示/制御用のデータか制御プログラムか等を識別するための 識別デ一夕 6 2 と、 データ本体 6 3 とを含んでいる。 さ らに、 表示/制 御用のデ一夕として、 例えば、 データ読み出しを指示する命令を P L C 3へ伝える際のデータ本体 6 3 rには、 命令の内容を示す共通コード 6 4 と、 この共通コード 6 4.に付随する関連情報 6 5 としての読み出し開 始ア ドレス 6 5 aおよび読み出しサイズ 6 5 b とが含まれている。 また 、 データ書き込みを指示する際のデータ本体 6 3 wには、 関連情報 6 5 として、 書き込み開始ア ドレス 6 5 cおよび書き込みデータ 6 5 dが含 まれる。
共通コ一ド 6 4は、 各 F L C 3が理解可能な命令のうち、 互いに同一 内容の命令間では、 各 F L C 3のコマン ドコードに拘わらず、 コードが 統一されている。 また、 読み出し開始ア ドレス 6 5 aおよび読み出しサ ィズ 6 5 b等、 関連情報 6 5内のデータを伝送する順番および伝送時の 表現形式も P L C 3の機種に拘わらず統一されている。 これによ り、 共 通プロ トコルでは、 表示器 5に接続されている P L C 3 に拘わらず実行 させるべき命令を一意的に特定でき、 表示/制御の際にネッ トワーク 6 を伝送されるデータ列 6 1 は、 表示内容または制御内容が同一の場合、 P L C 3の機種に拘わらず、 同一のデータ列になる。
ここで、 上記表示器 5は、 前述のように、 図 1 に示す P L C側通信処 理部 5 1 、 ネッ トワーク側通信処理部 5 2およびプロ トコル変換部 5 3 を備えており、 プロ トコル変換部 5 3は、 上記の専用プロ トコルと共通 プロ トコルとが互いに異なる場合、 両プロ トコルを相互に変換する。 こ れによ り、 表示器 5は、 専用プロ トコルによる通信と共通プロ トコルに よる通信とを必要に応じて中継しながら、 自らや他の表示器 5に接続さ れた P L C 3の状況を画面上に表示すると共に、 オペレータの操作に応 じ、 各 F L C 3への指示を出力できる。
なお、 プロ トコル変換は、 例えば、 国際特許公開公報 W O 9 9 / 5 6 1 8 6号 ( 1 9 9 9年 1 1月 4 日公開) に開示された方法で行われる。 プロ トコル変換部 5 3は、 プロ トコルを相互変換するためのプロ トコ ル情報として、 専用プロ トコルで伝送されるデータ列 4 1 のフォーマツ トを示すデ一夕転送フォーマツ ト F M Tと、 専用プロ ト コルでのコマン ドコードと、 上述の共通コ一ドとの対応関係を示すコマン ド変換テープ ル T ]B L とを記憶している。
具体的には.、 図 9 に示すように、 上記データ転送フォーマツ ト F M T は、 上記データ列 4 1 のうち、 例えば、 読み書きするデータ内容自体や 、 データのサイズ、 あるいは読み書きするァ ドレス等、 実際に伝送する データ内容によって変化する部分を未定義と したスゲルト ン状のデータ - 列であって、 未定義の部分は用途のみが定義されている。 なお、 コマン ドコードの領域を未定義とすれば、 実際の伝送されるデータ列から抽出 されたデータ転送フォ一マツ ト F M Tが、 複数のコマン ド間で共通にな る場合、 コマン ドコー ドの領域をも未定義と して、 これらの命令間でデ —夕転送フォーマツ トを共用してもよい。
また、 コマン ド変換テーブル T B Lには、 図 1 1 に示すように、 共通 コー ド 6 4 と、 シリアルケ一ブル 4 に接続ざれている P L C 3のコマン ドコードとの対応が格納されている。 プロ トコル変換部 5 3は、 一方の コー ドを他方のコ一ドに変換できる。
データ転送フォーマツ ト F M Tおよびコマン ド変換テーブル T B Lの 組み合わせは、 表示器 5および P L C 3が表示/制御に関するデ一夕を 通信する前に、 p L C 3の通信プロ トコルに合わせて設定され、 異なる 通信プロ トコルを採用した F L C 3が接続されると、 当該プロ トコル情 報は切り換えられる。 例えば、 機種 Aの F L C 3から機種 Bに変更する 場合、 図 1 1 に示すコマン ド変換テーブル T B L aからコマン ド変換テ 一ブル T B L bに切り換えられる。
なお、 通信プロ トコルの選択は、 例えば、 使用者が制御コンピュータ 7や表示器 5 を操作することによって行われてもよい。 さ らに、 表示器 5が自らが送出可能な通信プロ トコルを順次選択しながら、 P L C 3の 通信プロ トコルを特定可能な命令を、 F L C 3へ送出し、 P L C 3から の応答コードによって、 通信プロ トコルを自動的に判別してもよい。 ま た、 表示器 5は、 自らに接続可能な P L C 3が採用している通信プロ ト コル全てに関して、 上記のプロ トコル情報を格納しておいてもよいし、 現在、 接続されている P L C 3の通信プロ トコルのみを格納しておき、 必要に応じて、 制御コンピュ一夕 7から、 あるいは記録媒体を介して等 、 種々の方法でダウン口一ドして.もよい。
このように、 プロ トコル変換部 5 3は、 P L C 3 との間で受け渡すデ 一夕列 4 1 を、 制御システムの動作中にリアルタイムに生成する。 これ により、 表示器 5は、 入力されたデータがどこから来たかを問う ことな く、 P L C 3へデータを受け渡しできると共に、 P L C 3が変更された 場合にあっても、 制御システムを停止することなく即応できる。
ここで、 表示器 5は、 制御システムに必須の構成であるが、 近年では 、 高解像度の画像を表示するために、 例えば、 数 Mバイ ト程度の記憶容 量 (一般に P L Cは数十 kバイ ト程度) を持ち、 表示に十分な演算速度 を有している。 従って、 表示器 5は、 I /◦制御に適した P L C 3 と比 較して、 十分余力を持って、 上記のプロ トコル変換を実行できる。
また、 表示器 5 と制御コンピュータ 7 との間に P L C 3が介在してい ないため、 P . L C 3は、 ターゲッ トシステムの制御に専念できる。 従つ て、 図 4 4 に示す従来の構成、 すなわち、 各 P L C 5 0 3 を互いに接続 し、 各 P L C 5 0 3 に表示器 5 0 5 を接続することで、 制御システム 5 0 1 内の通信の大半を各 P L C 5 0 3が処理する構成に比べて、 F L C の記憶容量や処理能力を削減できる。 .
なお、 通信量の大きな処理の例として、 タ一ゲッ トシステムが製造す る製品を変換する際等、 制御コンピュータ 7から表示器 5へ画面データ をダウンロードする処理等が挙げられる。 ところが.、 本実施の形態に係 る口一力ル制御システム 3 1 では、 画面デ一夕は、 P L C 3 を通過しな いので、 P L C 3は、 画面データをダウン口一ドする場合であっても、 '負担が少なく、 正常に動作し続けることができる。
また、 P L C 3 の機種に拘らず、 各表示器 5および制御コンピュータ
7の間は、 共通のプ口 トコルで通信される。 従って、 同じ口一力ル制御 システム 3 1 内に、 ·複数機種の P L C 3を混在させるこ とができ、 機種 選択の幅が広く なる。 さ らに、 ローカル制御システム 3 1 のネッ トヮー ク 6では、 通信プロ トコルが共通である。 従って、 例えば、 ハブゃブリ ッジ、 ルータ等、 ネッ トワーク 6 に接続される機器を自由に転用でき、 これらの機器や F L C 3の配置に関する自由度も向上できる。 加えて、 従来の制御システムにおける変換器 5 1 0 (図 4 4参照) が不要なので 口一カル制御システム 3 1全体の製造費を低減できる。
加えて、 本実施の形態では、 表示器 5がプロ トコル変換することで、 ネッ トワーク 6に接続されている表示器 5や制御コンピュ一夕 7等の機 器は P L C 3 の機種に拘らず共通プロ トコルで相互通信できる。 従って 制御コンピュータ 7の共通プロ トコル I F部 7 2およびサーバ部 7 3は 共通プロ トコルで通信するだけで、 各表示器 5 との通信や表示器 5を介 した P L C 3 の通信が可能になる。 よ り詳細には、 サーバ部 7 3は、 デバイスア ドレスに基づいて、 書き 込み要求や読み出し要求等データの送信先 ( I Fア ドレス) を識別し、 送信先が表示器 5の場合、 上記のデータを共通プロ トコルで上記 ί Pァ ドレスへ送信する。 一方、 デバイスア ドレスが P L C 3 と判定する と、 サ一バ部 7 3は、 当該 P L C 3の接続されている表示器 5の I Ρァ ドレ スへ、 上記データを送信する。
なお、 各表示器 5 と I Ρア ドレスとの対応は、.各表示器 5がネッ トヮ 一ク 6 に接続されるときに、 例えば、 制御コンピュ一タ. 7の使用者が指 定したり、 制御コ ンピュータ 7が空いている I Ρア ドレスを割り当てた り して決定し、 サーバ部 7 3 の図示しない記憶領域に格納されている。 また、 各表示器 5のデバイスァ ドレス、 および表示器 5 に接続される Ρ L C 3のデバイスァ ドレスは、 例えば、 表示器 5每に決.められている場 合、 制御コンピュ一タ 7が、 表示器 5に格納された対応表を読み出し、 制御コンピュータ 7から設定可能であれば、 対応表を表示器 5 に配信し たり して決定される。 従って、 サ一バ部 7 3は、 デバイスア ドレスの対 応表と、 I Fァ ドレスの対応表とを参照するこ とで、 読み出し要求や書 き込み要求の送信先となる I Ρァ ドレスを決定できる。
ここで、 表示器 5、 制御コ ンピュータ 7およびクライアン ト装置 9の それぞれにおける各部は、 C P U等の演算手段が、 R O Mや R A M等の 記憶手段に格納されたプログラムを実行し、 タッチパネルや液晶表示装 置等の入出力手段、 またはィ ンタ一フ ース回路等の通信回路を制御す ることによって実現される機能ブロッ クである。 従って、 これらの手段 を有するコンピュータが、 上記のプログラムを記録した記録媒体 (例え ば、 C D— R O M等) を読み取り、 当該プログラムを実行するだけで、 表示器 5、 制御コ ンピュータ 7およびクライアン ト装置 9 を実現できる 特に、 クライアン ト装置 9のバーチャルマシン 9 1 およびブラウザ 9 2 • は、 多く のコ ンピュータに予めイ ンス トールされている汎用のブラウザ ソフ トで実現できるので、 これらのコンピュータは、 特別なプログラム をイ ンス ト一ルすることなく 、 クライアン ト装置 9 と して動作できる。 なお、 シ リ アルケ一ブル 4、 ネッ トワーク 6 、 イ ンタ一ネッ ト 3 2、 他の通信路等を介してプログラムをダウ ンロ一 ドするためのプログラム が、 上記コンピュ一夕に予めイ ンス トールされていれば、 当該通信路を 介して、 上記コ ンピュータへ上記プログラムを配付すること もできる。 続いて、 制御システムの他の形態について説明する。
図 1 2 に示す本制御システムのローカル制御システム 3 1 において、 表示器 5 は、 図 1 に示す制御シ.ステムの表示器 5 と、 ほぼ同様に構成さ れている。 本制御システムの表示器 5は、 シ リ アルケ一ブル 4 と F L C 側通信処理部 5 1 '(専用プロ トコル通信手段) との間に設けられるシ リ アルイ ンタ一フェース 5 6、 およびネッ トワーク 6 とネッ トワーク側通 信処理部 5 2 (共通プロ ト コル通信手段および中継手段) との間に設け られるネッ ト ワークイ ンタ一フヱース 5 7 を備えている。 両イ ンタ一フ エース 5 6 · 5 7 については、 図 1 の制御システムの説明で言及してい ないが、 その制御システムにおける表示器 5 も同様に両ィ ンターフェ一 ス 5 6 · 5 7 を備えている。
また、 表示器 5 における表示処理部 5 5 は、 他の表示器 5 に接続され たデバイス 1 0 の状態を表示/制御する場合、 ネッ トワーク側通信処理 部 5 2 に指示して、 当該デバィス 1 0へのデータ読み書き命令を、 他の 表示器 5 に出力する。 このデータ読み書き命令は、 共通プロ トコルで指 定される。 従って、 表示処理部 · 5 5は、 他の表示器 5に接続された F L C 3 の機種を把握するこ となく 、 その P L C 3 と通信できる。
一方、 P L C側通信処理部 5 1 は、 F L C 3 に固有の専用プロ トコル で P L C 3 と通信しており、 プロ トコル変換部 5 3や表示処理部 5 5か らの要求に基づいて、 P L C 3へデータ読み書き命令を出力したり、 F
L C側通信処理部 5 1 が出力した制御プログラムを P L C 3に出力する c 各部 5 1 · 5 3 · 5 5からほぼ同時に P L C 3 との通信指示を受け取つ た場合、 P L C側通信処理部 5 1 は、 それらを一時記憶し、 順次処理す るなどして、 各通信指示に応じた命令や制御プログラムを出力する。 ネッ トワーク側通信処理部 5 2は、 T C P / I Pプロ トコルで、 他の 表示器 5や制御コンピュータ 7 とデータ列 6 1 を送受すると共に、 受信 したデーダ列 6 1 の識別データ 6 2に基づいて、 データ本体 6 3 の用途 を識別し、 表示/制御用のデータの場合、 プロ トコル変換部 5 3へデー タ本体 6 3 を受け渡す。 また、 制御プログラムの場合は、 データ本体 6 3 を P L C側通信処理部 5 1 へ渡して、 P L C 3へ送出させる。 さ らに. 表示器 5の背景画像や、.デバイス 1 0に応じた図形要素の配置等を示す 画面データの場合、 ネッ トワーク側通信処理部 5 2は、 データ本体 6 3 を表示処理部 5 5へ渡して画面データを更新できる。 これとは逆に、 プ 口 ト コル変換部 5 3、 F L C側通信処理部' 5 1 あるいは表示処理部 5 5 からデータ本体 6 3 を受け取った場合、 ネッ トワーク側通信処理部 5 2 は、 そのデータ本体 6 3に識別データ 6 2 を付加し、 他の表示器 5や制 御コ ンピュータ 7へ送出する。
プロ トコル変換部 5 3は、 F L C 3 との間で受け渡す前述のデータ列 4 1 (図 9参照) を、 口一カル制御システム 3 1 の動作中にリアルタイ ムに生成する。
制御コンピュータ 7は、 ユーザ処理部 7 8 と、 設定部 7 9 とをさ らに 備えている。 ユーザ処理部 7 8は、 サーバ部 7 2へ指示して、 例えば、 各デバイス 1 0の状態の表示/制御や集計等の処理を行う。
設定部 7 9は、 例えば、 各表示器 5 の局名や I Pア ドレス等、 ロー力 ル制御システム 3 1全体の設定を行う。 具体的に'は、 設定部 7 9は、 ネ ッ トワーク 6 に接続されている表示器 5 について、 例えば、 図 1 3 に示 すように、 各表示器 5 の局名と I Pア ドレスと、 接続されている P L C 3のメーカや形式およびバ一ジョ ンと、 各 P L C 3に接続されているデ バイス 1 0等を管理している。
これらのネッ トワーク参加局リス トは、 ローカル制御システム 3 1 の 管理者が制御コンピュータ 7の入力手段 (キ一ボード等) を用いて設定 されてもよい。 また、 例えば、 設定部 7 9がサーバ部 7 2へ指示してネ ッ トワーク 6へ配信したノード探索信号に応じて、 各表示器 5が、 自機 器の I Pア ドレスや、 接続されている P L C 3等を示すステータス情報 を送出すると共に、 設定部 7 9が各ステータス情報に基づいて、 ネッ ト ワーク参加局リス トを自動作成してもよい。
ここで、 上述のように、 本ローカル制御システム 3 1 では、 プロ トコ ル変換部 5 3 を備えた表示器 5 において、 ネッ トワーク 6を伝送される データ列 6 1 は、 同じ表示内容 Z制御内容を示していれば、 P L C 3 の 機種に拘らず同一である。 これによ り、 制御コンピュータ 7のュ一ザ処 理部 7 8は、 P L C 3の機種が異なつていても、 同一の手順でサーバ部 7 2へ指示することで、 P L C 3へ制御を指示し、 P L C 3からのデ一 夕を受け取ることができる。 従って、 P L C 3 との通信が必須の表示器 5のみに専用プロ'トコルで通信するプログラムを用意すればよい。 また 、 新たな通信プロ トコルで通信する P L C 3が開発されても、 表示器 5 のみが対応すればよい。 この結果、 図 4 4の制御システムに比べて、 口 一カル制御システム 3 1 の製造および維持管理の手間を削減できる。
クライアン ト装置 9 (制御用端末装置) は、 インタ一ネッ ト通信処理 部 9 3 (広域ネッ トワーク通信手段) と、 制御プログラム作成部 9 4 ( 制御プロ トコル作成手段) と、 シ リ アルポー トエミ ュレータ (以降、 S
P E と称する) 9 5 (シリ アルポー ト模擬手段) とを備えている。 イ ン タ一ネッ ト通信処理部 9 3は、 イ ンターネッ ト 3 2 を介して制御コンビ ュ一タ 7に接続可能であり、 図 1 のクライアン ト装置 9 も備えている。 制御プログラム作成部 9 4は、 P L C 3 の制御プログラムを作成あるい は修正すると共に、 シリアルポートで出力可能な形式で当該制御プログ ラムを出力する。 S P E 9 5は、 シリアルポー トの代わりに制御プログ ラムを受け取り、 F L C 3 を有する口一力ル制御システム 3 1 の制御コ ンピュータ 了へ、 制御プログラム自体と転送先の P L C 3 とを示す指示 データを送信するように、 イ ンタ一ネッ ト通信処理部 9 3へ指示する。 一方、 制御コンピュータ 7には、 イ ンターネッ ト 3 2 (広域ネッ トヮ ーク) を介してクライアント装置 9のイ ンタ一ネッ ト通信処理部 9 3 と 接続可能なィ ンタ一ネッ ト通信処理部 8 0が設けられている。 このイ ン ターネッ ト通信処理部 8 0は、 受け取った指示データに基づいて、 転送 先の F L C 3 を特定すると共に、 当該 P L C 3に接続された表示器 5へ 共通プロ トコルで制御プログラムを送信するように上記サーバ部 7 2へ 指示する。 これによ り、 'クライアン ト装置 9 は、 イ ン夕一ネッ ト 3 2 に 接続可能な任意の場所から、 P L C 3の制御プログラムを更新できる。 ここで、 本制御システムでは、 S F E 9 5が設けられているので、 制 御プログラム作成部 9 4 を実現する際、 例えば、 図 4 4 'に示す制御用ホ ス トコ ンピュータ 5 0 7等、 シリアルポートを介して P L C 3 に直接接 続される装置で使用されていた制御プログラム作成ソフ トを流用できる これにより、 P L C 3の機種毎の制御プログラム作成ソフ トを新たに開 発することなく 、 例えば、 二一モニッ ク、 ラダー回路図、 フローチヤ一 トあるいはシーケンシャルファ ンクショ ンチャート ( S F C ) 等を用い て、 制御プログラムを記述できる。 また、 制御プログラム作成部 9 4 は、 P L C 3 と直接.接続することを前提にしており、 シ リ アルポー トに出力 するデータ列として、 制御プログラムを出力するように形成されている c 一方、 S P E 9 5は、 転送先の? L C 3 を特定するために、 P L C 3 を有するローカル制御システム 3 1 の制御コ ンピュータ 7 と、 P L C 3 が接続された表示器 5 とを予め設定できる。 なお、 表示器 5に複数の F L C 3が接続されている場合は、 転送先の P L C 3 自体も設定される。 具体的には、 S F E 9 5は、 例えば、 予め P L C 3の制御プログラム 更新が許可されている口一カル制御システム 3 1 のリス トを提示し、 使 用者に選択'を促すなどして、 イ ンターネッ ト通信処理部 9 3が接続する 制御コンピュータ 7を設定できる。 なお、 イ ンタ一ネッ ト 3 2上におけ るア ド レスやドメイ ン名等、 制御コンピュータ 7を特定するデ一夕は、 予め格納されている。
また、 S P E 9 5は、 使用者に表示器 5 を特定させる際、 上記図 5 に 示すネッ トワーク参加局リス トに表示されている情報のうちで表示器 5 を特定可能な情報、 すなわち、 I Pア ドレスまたは局名を入力または選 択するボッ クスを表示するなどして、 表示器 5 を特定させる。 特に、 S F E 9 5は、 制御コンピュ一タ 7 と予め通信して、 設定部 7 9の記憶内 容を参照すれば、 自動的に選択肢を表示できる。 これにより、 S P E 9 5 の使用者は、 制御コンピュ一タ 7の設定部 7 9で表示器 5 を特定する 際と同じ方法で、 送信先を指定できる。
さ らに、 S P E 9 5は、 制御プログラム作成部 9 4から上記 P L C 3 用の制御プログラムを示すデータ列を受け取ると、 表示器 5および P L C 3 を示す識別子と、 制御プログラム自体を示すデータ列とを含む指示 データを、 イ ンターネッ ト 3 2 を介して、 予め設定された制御コ ンビュ 一夕 7へ送信するように、 イ ンターネッ ト通信処理部 9 3へ指示する。
ここで、 P L C 3の機種が異なり、 記憶領域の大きさや配置等のア ド レスマップ、 あるいは、 C F U等の演算部が理解可能な機械語等が異な つていると、 各 P L C 3用の制御プログラムを作成する必要がある。 一 方、 制 プログラム作成ソフ トは、 前述のように、 ラダー図等から制御 プログラムを作成するため、 比較的複雑な処理が行われている。 従って- イ ンタ一ネッ ト 3 2 を介して制御コンピュータ 7に制御プログラムを出 力可能な制御プログラム作成ソフ トを、 各 P L C 3の機種毎に新規作成 すると、 当該ソフ トの作成に手間がかかる。
これに対して、 本実施の形態では、 S Ρ Ε 9 5 を設けることで、 従来 の制御プログラム作成ソフ トを流用できる。 従って、 クライアン ト装置 9 の各部 ( 9 1 〜 9 5 ) を実現するためのプログラムを作成する手間を 大幅に削減できる。
ここで、 上記の各部 7 8〜 8 0 · 9 3〜 9 5 も、 前述の各部 7 1 〜 7 7 · 9 1 · 9 2 と同様、 プログラムで実現される機能ブロッ クである。 上記の構成によれば、 表示/制御を行う通常処理に先立って、 設定部 7 9 は、 S 1 1 (図 1 4 ) にて、 ネッ トワークに加入する各表示器 5 に ついて、 I Fア ドレスや局名、 および各々に接続されている F L C 3 を 設定し、 ネッ トワーク設定する。 ここで、 表示器 5のプロ トコル変換部 5 3が、 現在接続されている F丄 C 3のプロ トコル情報を持っていない 場合、 設定部 7 9からプロ トコル変換部 5 3へそのプロ トコル情報をダ ゥンロードする こともできる。 この場合、 図 9 に示すデータ列 6 1 と し て、 プログラム情報の内容を示すデータ本体 6 3 と、 プロ トコル情報で あることを示す識別デー夕 6 2 とが伝送され、 ネッ トワーク側通信処理 部 5 2 によって、 データ本体 6 3がプロ トコル変換部 5 3へ渡される。 通常処理の一例として、 制御コンピュータ 7が P L C 3へ制御を指示 する場合、 ユーザ処理部 7 8は、 図 9 に示す共通プロ トコルで P L C 3 へデータ書込命令を送出するようにサーバ部 7 3へ指示する ( S 1 2 ) , サーバ部 7 3は、 S 1 1 でのネッ トワーク設定を参照して、 当該 P L C 3が接続されている表示器 5 の I Pァ ドレスを取得し、 その I Pァ ドレ スへデ一タ書込命令を示すデータ列 6 1 を送出する ( S 1 3 ) 。
一方、 表示器 5では、 ネッ トワーク側通信処理部 5 2が当該データ列 6 1 の識別データ 6 2に基づいて、 表示/制御用のデータと判断して、 データ本体 6 3 をプロ トコル変換のためにプロ トコル変換部 5 3へ渡す ( S 1 4 ) 。 プロ トコル変換部 5 3は、 共通プロ トコルのデータ本体 6 3から、 共通コード 6 4 と関連情報 6 5 とを抽出し、 図 1 1 に示すコマ ン ド変換テーブル T B Lを参照して、 F L C 3が認識可能で、 共通コー ド 6 4 に対応するコマン ドコードを選択する。 また、 必要に応じて、 関 連情報 6 5 の表現形式は、 P L C 3が認識可能な表現形式に変換される これらの結果、 P L C 3へ伝送すベきコマン ドコ一ド、 データ内容自 体、 デ一タのサイズぉよびァ ドレス等が決定される。 すると、 プロ トコ ル変換部 5 3は、 上記データ転送フォーマツ ト F M Tを参照して F L C 3へ送出するデータ列 4 1 を作成し、 P L C側通信処理部 5 1 へデ一夕 列 4 1 の送出を指示する。 - さ らに、 P L C側通信処理部 5 1 は、 表示処理部 5 5からのデータ列
4 1 の送出要求や、 ネッ トワーク側通信処理部 5 2からの制御プログラ ムの転送要求等、 他の部分からの送出要求と、 プロ トコル変換部 5 3か らの送出要求とに基づいて、 それぞれで指示されたデータ列 4 1 を順次 ' シリ アルケーブル 4 に送出する ( S 1 5 ) 。 一方、 P L C 3は、 自らの 専用プロ ト コルでのデータ書込命令を受け取ると、 その命令に応じて、 デバイス 1 0 の状態を制御する ( S 1 6 ) 。
なお、 上記の手順では、 データ書込命令の場合を例にして説明したが. データ読み出し命令の場合も同様に、 プロ トコル変換部 5 3がプロ トコ ル変換する。 また、 P L C 3から制御コ ンピュータ 7へのデータ転送は ' 上記の手順と逆の手順で行われる。 このとき、 プロ トコル変換部 5 3は.
F L C 3からデータ列 4 1 を受け取ると、 上記データ転送フォーマツ ト F M Tに当てはめて、 そのデータ列 4 1 の示すコマン ド、 データ内容自 体、 データのサイズおよびァ ドレス等を抽出し、 共通プロ トコルのデー 夕本体 6 3 を作成し、 ネッ トワーク側通信処理部 5 に出力する。 これ によ り、 ユーザ処理部 7 8は、 P L C 3 の機種に拘らず、 共通プロ トコ ルにて F L C 3からのデータ列を受け取ることができる。
一方、 制御プログラムの更新時には、 図 1 5に示す処理が行われる。 すなわち、 制御プログラムの更新に先立って、 クライアント装置 9の S P E 9 5 において、 制御プログラムの送信先を設定する ( S 2 1 ) 。 こ の送信先は、 前述のように、 制御コンピュータ 7 と表示器 5の局名や I Fア ドレス自体と、 P L C 3 との組み合わせ等であり、 制御コンピュー 夕 7を除いて、 S 1 1 でのネッ トワーク設定と同じ情報で特定される。 ここで、 サーバ部 7 3は、 S I 1 での設定を参照すれば、 P L C 3が接 続された表示器 5 の I Pア ドレスを取得できる。 従って、 S P E 9 5が- イ ン夕一ネッ ト通信処 ®部 9 3、 イ ンタ一ネッ ト 3 2およびイ ンターネ ッ ト通信処理部 8 0 を介してサーバ部 7 3に問い合わせるこ とで、 S F E 9 5 の使用者は、 新たな特定方法を学習することなく 、 ネッ トワーク 設定と同じ方法で表示器 5 を特定できる。
なお、 S 2 1 や後述の S 2 4等、 イ ンタ一ネッ ト 3 2 を介して通信す る際、 イ ンタ一ネッ ト通信処理部 8 0は、 イ ンタ一ネッ ト通信処理部 9 3から受け取った識別番号およびパスヮードが、 予め定められた組み合 わせであるか否かを確認するなどして、 制御デ一夕の更新が、 クライア ン ト装置 9 またはその使用者に許可されているか否かを認証し、 許可さ れていないクライアン ト装置 9からのアクセスを拒否する。 認証に失敗 したクライアン ト装置 9は、 制御コンピュ一タ 7でァクセスを拒否され るため、 クライアン ト装置 9からのデータはネッ トワーク 6 を流れない, 従って、 口一カル制御システム 3 1 の安全性を向上できる。
また、 制御プログラム作成部 9 4は、 制御プログラムを作成あるいは 修正したり、 予め作成された制御プログラムを選択するなどして、 F L C 3へ送出する制御プログラムを決定する ( S 2 2 ) 。
さ らに、 制御プログラム作成部 9 4は、 例えば、 ォペレ一ティ ングシ ステム ( O S ) 等に対して、 その制御プログラムをシリアルポートへ送 出するよう に指示する ( S 2 3 ) 。 すると、 S P E 9 5 は、 送出指示を 横取りするなどしてシリ アルポートの代わりに制御プログラムを受け取 り、 S 2 1 で設定した表示器 5および P L C 3 を示す識別子と、 受け取 つた制御プログラムとを示す指示データを作成し、 S 2 1 で設定した制 御コンピュータ 7へ送出するように、 イ ンタ一ネッ ト通信処理部 9 3へ 指示する ( S 2 4 ) 。 これに応じて、 ィ ンタ一ネッ ト通信処理部 9 3は、 イ ンターネッ ト 3 2 を介して、 制御コンピュータ 7のイ ンターネッ ト通 信処理部 8 0へ指示データを送出する。
一方、 制御コ ンピュ -―タ 7 において、 ィ ンタ一ネッ ト通信処理部 δ 0 は、 指示データを受け取ると、 指示データに基づいて特定した表示器 5 へ制御プログラムを送信するようにサーバ部 7 3へ指示する ( S 2 5 ) c さ らに、 サーバ部 7 3は、 制御プログラム自体としてのデータ本体 6 3 に、 制御プログラムであることを示す識別データ 6 2 pを付加して、 データ列 6 1 p (図 1 0参照) を作成し、 特定された表示器 5の I Pァ ドレスへ送出する ( S 2 6 ) 。
なお、 送信先が I Pア ドレス以外で指定された場合、 図 1 4 の S 1 1 でのネッ トワーク設定を参照して、 送信先の I Fア ドレスを特定する。 表示器 5 のネ ッ トワーク側通信処理部 5 は、 データ列 6 1 pの識別 データ 6 2 pに基づいて、 デ一タ本体 6 3 pが制御プログラムであると 判定して、 データ本体 6 3 pをそのまま送出するように、 P L C側通信 処理部 5 1 .へ指示する。 また、 P L C側通信処理部 5 1 は、 これに応じ て、 データ本体 6 3 p を P L C 3へ送出する ( S 2 7 ) 。
ここで、 データ本体 6 3 pは、 制御プログラム作成部 9 4が出力した データ列、 すなわちシリアルポートへ出力する際のデータ列と同一のデ 一夕列である。 従って、 P L C側通信処理部 5 1.がデータ本体 6 3 pを 出力するこ とで、 制御プログラムの伝送路中にイ ンタ一ネッ ト 3 2およ びネッ トワーク 6が存在しているにも拘らず、 P L C 3 は、 何ら支障な く制御プログラムを受け取ることができ、 制御プログラムを更新できる ( S 2 8 ) 。
なお、 本制御システムでは、 クライアント装置. の S P E 9 5が'、 表 示器 5 を指定して P L C 3 を特定する場合を例にして説明したが、 これ に限定されない。 例えば、 指示データ中に、 制御システム全体で P L C 3 ¾特定可能な識別子を付加し、 制御コンピュータ 7のィ ンターネッ ト 通信処理部 8 0が、 識別子に基づいて表示器 5 を特定しても、 同様の効 果が得られる。
ただし、 前述のように S P E 9 5が設定部 7 9 と同様の指定方法で P L C 3 を特定した場合、 S P E 9 5の使用者が設定部 7 9 と別の指定方 法を覚える必要がないので、 より使いやすい制御システムを実現できる, また、 本制御システムでは、 表示または制御する側からの要求に応じ て、 P L C 3が応答する場合を例示したが、 P L C 3 または表示器 5が 所定の周期毎または所定のイベン ト毎に、 データを配信してもよい。 こ の場合は、 当該データがネッ トワーク 6 を伝送される際の表現形式を、 P L C 3の機種に拘らず規定すればよい。 いずれの場合であっても、 P L C 3の機種に拘らず、 同じ制御指示または同じ状態を示すデータがネ ッ トヮ'一ク 6の伝送時に互いに同一になるように、 ネッ トワーク 6の表 示 Z制御デ一夕の転送プロ トコル (共通プロ トコル) が規定されており 表示器 5が共通プロ トコルと機種每に専用のプロ トコルとを相互変換し ていれば、 同様の効果が得られる。
引き続いて、 制御システムのさ らに他の形態について説明する。 図 1 6に示す制御システムは、 口一カル制御システム 3 1 の状態を示 すデータを公開する公開サーバ装置 8 をさ らに備えている。 制御コンピ ュ一タ 7は、 図 1 2 に示すィ ン夕ーネッ ト通信処理部 8 0が、 イン夕一 ネッ ト 3 2 を介して公開サーバ装置 4 との通信処理を行う。 口一カル制 御システム 3 1 と公開サーバ装置 8 とが暗号通信する場合、 イ ンターネ ッ ト通信処理部 8 0は、 予め定められた暗号鍵や復号鍵を用いて、 公開 サーバ装置 8 と暗号通信する。 イ ンタ一ネッ ト通信処理部 8 0 は、 イ ン 夕一ネッ ト 3 2 との接続時に使用される各種のデータが記憶して.いる。 上記のィ ン夕一ネッ 卜通信処理部 8 0は、 ユーザから指示を受けた時 点や画面データが変更された時点等の所望のタイ ミ ングで公開サーバ装 置 8 と通信して、 前述の画面デ一タメモリ 7 5 (図 1参照) の画面デ一 '夕を公開サーバ装置 8に送信する。 また、 イ ンタ一ネッ ト通信処理部 8 0は、 デバイス 1 0が変更された時点や所定の時間間隔等の所定のタイ ミ ングで公開サーバ装置 8にアクセスして、 公開サーバ装置 8 でのデ一 タ公開に必要なデバイスア ドレス Aの内容 (デバイスデータ) を公開サ ーバ装置 8 に送信する。 デバイスア ドレス Aの内容は、 表示処理部 7 1 が取得する場合と同様に、 サーバ部 7 3 を介して取得される。 さらに、 イ ンターネッ ト通信処理部 8 0は、 公開サーバ装置 8 と通信した結果、 クライアン ト装置 9がデバイスデ一夕の変更を指示していた場合、 表示 処理部 7 1 がデバイスア ドレス Aの内容を変更する場合と同様に、 当該 指示を中継し、 表示器 5 自体や表示器 5に接続された P L C 3等、 デバ イスア ドレス Aの実体へ内容の変更指示を伝送できる。
公開サーバ装置 8は、 口一カル制御システム側通信処理部 (以降、 口 一カル通信処理部と称する) 8 1 、 フアイル生成部 8 2、 表示フアイル 記憶部 8 3、 デ一タメ.モリ 8 4および公開サーバ部 8 5 を備えている。 ここで、 上記の各部 8' 1 · 8 2 · 8 4 · δ 5 も、 前述の各部 7 1 ~ 7 7 · 9 1 · 9 2 と同様、 プログラムで実現される機能プロッ クである。 また、 表示ファィル記憶部 8 3 に対する表示ファィルの格納処理も、 プ ログラムで実現される。
X M Lフアイル記憶部 8 3 bに格納される X M L (extensible mark - u p language) ファイルは、 表示器 5の画面データに含まれる各単位画面 每に作成されている。 そして、 各 XMLファイルには、 上記単位画面に 関連する各タグ (処理指示語) を示す XM L要素 (エレメン ト) が含ま れている。
上記 XM Lフアイルの概略を示す。 例えば、 図 4 に示した形式で、 表 示器 5の画面デ一夕内に、 ベース画面 (単位画面) - 1 (メイ ン画面) の表示タグ WLが含まれている場合、 図 1 7に示すように、 メイ ン画面 に対応する X M Lファイルでは、 表示タグ WLに対応する Tag 要素 E 1 が含まれている。 この Tag 要素 E 1 には、 事象名、 表示座標範囲、 参照 フアイル番号ならびにデバィスア ドレス等に対応する TagName 要素 E 1 1 、 X要素 E 1 2および Y要素 E 1 3、 LibraryN.o 要素 E 1 4、 BitSym bo 1 Name 要素 E 1 5等が含まれている。 LibraryNo 要素 E 1 4 は、 ュ一 ザがライブラ リに登録した図形を利用するためのライブラリ 夕グにおい て登録番号を表す。 また、 各要素 E 1 1 〜 E 1 5の内容 (コンテンツ) は、 表示タグ W Lの内容に応じて、 " L— 0 0 0 0 " , "- 2 3 2 " , " 1 2 0 " , " 1 0 1 " , " 0 1 0 1 0 0 " に設定されている。
また、 例えば、 図 5に示した形式で、 表示器 5の画面データ内に、 入 力夕グ WTが含まれている場合、 メィ ン画面に対応する XM Lファイル では、 入力夕グ WTに対応する Tag 要素 E 2が含まれている。 さ らに、 この Tag 要素 E 2 には.、 事象名、 デバイスァ ドレス、 有効入力範囲等に 対応する、 TagName 要素 E 2.1 、 Symbo IName要素 E 2 2、 X要素 E 2 3 Y要素 E 2 4、 X 2要素 E 2 5、 Y 2要素 E 2 6等が、 入力タグ WTの 内容に応じた内容にそれぞれ設定されている。 - このよう に、 フアイル生成部 8 2は、 例えば、 表示器 5の画面デ一夕 から、 ある単位画面の処理指示語 (タグ WL · WT〜) 、 すなわち、 ベ ース画面のフアイル番号が所定の値のタグを順次抜き出し、 そのタグに 応じた XM L要素を生成し、 当該 XM L要素の内容を上記タグに応じて 設定するこ とで、 当該単位画面の XM Lファイルを作成できる。
. ァプレツ ト記憶部 8 3 cに格納されるァプレッ トは、 図 1 の制御シス テムで用いられるアブレツ 卜 と同様、 バーチャルマシン 9 1 が実行可能 な Java言語で記述されたバイ トコ一ドとして実現されている。 また、 ァ プレツ トは、 画面データ中に出現可能なタグの種類に対応するメソッ ド が定義されたクラスと、 XM Lファイルを参照して、 タグ種に対応する メ ソッ ドを呼び出すメ ソッ ドが定義されたクラスとを含んでいる。 これ に対し、 ノ 一チャルマシン 9 1 は、 XM Lフアイルを参照し、 夕グを示 す XM L要素に基づいてタグ種に応じたメ ソッ ドを呼び出し実行する。
H T M Lフアイル記憶部 4 6 に格納される HTM Lフアイルは、 表示 器 5毎に作成されている。
H T M Lファイルには、 図 1 8に示すように、 上記のァプレツ トをバ —チャルマシン 9 1 へ実行させるための文字列 P 1 1 と、 " く HTML> " や " く TITLE>" 等の HTML文書として必要な文字列 F 1 とが含まれて いる。 また、 HTMLファイルには、 例えば、 ァプレツ トが表示する表 示器 5 を説明する文字や画像を表示するための文字列等、 H T M Lの書 式に沿った文字列 F 2が含まれていてもよい。 さ らに、 H T M Lフアイ ルには、 単位画面切り換え用のアブレツ トを実行させるための文字列 P 1 2 が含まれていてもよい。
本制御システムでは、 X M Lファイルが単位画面每に設けられており、 例えば、 クライアン .ト装置 9のブラウザ 9 が上記の H T M Lファイル を表示する際に最初に表示する単位画面の指定や表示器 5の指定等、 画 面データ (表示器 5 ) 全体に関連する情報 (グローバル情報) は、 上記 の文字列 F 1 1 中に含まれている。 本制御システムの場合、 その情報は- アブレッ トを実行する際の'パラメ一タとして指定されており、 例えば、 最初の単位画面は、 F A R A M要素の属性名 " BASESCR " の属性値 (こ の例では、 " 1 " ) として指定される。
バ一チャルマシン 9 1 は、 表示ページ情報取得部 9 3、 表示処理部 9 4、 通信処理部 9 6、 画面データメモリ 9 7 を備えている。
表示ページ情報取得部 9 3は、 公開サーバ装置 8の表示ページ情報記 憶部 8 4 aに記憶されている、 表示器 5において画面データに基づいて 現在表示されている単位画面を示す表示ページ情報を、 通信処理部 9 6 . イ ンターネッ. ト 3 2、 公開サーバ部 8 5 を介して取得する。
. さ らに、 表示処理部 9 4は、 表示モ一ド切換部 9 4 aおよびリモート 表示ページ情報記憶部 9 4 bを備えている。
表示モード切換部 9 4 aは、 クライアン ト装置 9 に表示器 5 において 現在表示されている単位画面と同じ単位画面を表示する一致表示モード と、 別の単位画面を表示可能な不一致表示モー ドと、 クライアン ト装置 9のオペレー夕の指示に基づいて切り換える。 リモート表示ページ情報 記憶部 9 4 bは、 クライアン ト装置 9に次に表示すべき単位画面を示す リモート表示ページ情報を格納する。
ここで、 本制御システムでは、 フアイル生成部 8 2は、 表示器 5 の画 面デ一夕に基づいて、 ァクセスが予想されるクライアン ト装置 9のハ一 ドウヱァおよびソフ トゥヱァの仕様に対応した専用の表示フアイルを生 成する図示しないジヱネレータを、 クライアン ト装置 9 の仕様每 (例え ば、 ブラウザの種別ごと) に備えていてもよい。 また、 ファイル生成部 8 2 にジェネレータを 1 つ設け、 スィ ッチ等により切り替えて、 クライ アン ト装置 9 の各仕様に対応した表示ファィルを生成してもよい。
各ジェネレータは、 ローカル通信処理部 8 1 が口一カル制御システム
3 1 から画面データを受け取ると、 自動的に H T M L / X M Lファイル を生成し、 表示ファィル記憶部 8 3 (両ファィル記憶部 8 3 a · 8 3 b ) に設定されている所定のフォルダにそれぞれ格納してもよい。. あるい は、 公開サーバ装置 8のユーザが、 フアイル生成部 8 2 にて、 表示する クライアン ト装置 9 の仕様 (例えば、 ブラゥザソフ トの種別) を選択す ることによ り、 そのクライアン ト装置 9用の H T M L / X M Lファイル を生成し、 指定したフォルダに格納してもよい。
続いて、 図 2 1 に示すフローチャートを参照しながら、 本制御システ ムの動作を説明する。
まず、 ローカル制御システム 2のユーザが、 制御コンピュータ 7の作 画処理部 7 4 (図 1参照) を操作し、 ターゲッ トシステムの実情や表示 器 5のオペレータの習熟度、 あるいは、 使用者の好みに合わせて、 画面 データを作成あるいは修正する ( S 3 1 ) 。 作成された画面データは、 例えば、 シミ ュレーショ ンゃ接続試験等によって、 正常に動く ことが確 認された後、 表示器 5 に配信され ( S 3 2 ) 、 表示器 5が画面デ一夕に 応じた表示を開始する ( S 3 3 ) 。
次に、 画面データが更新されると、 制御コ ンピュータ 7 (イ ンタ一ネ ッ ト通信処理部 8 0 ) は、 公開ザ-一バ装置 8にアクセスする ( S 3 4 ) < 公開サーバ装置 8 (口一カル通信処理部 8 1 ) は、 例えば、 予め格納さ れたァカウン トおよびパスワー ドの組み合わせと、 受け取った組み合わ せとを比較するなどして、 ·口一カル制御システム 3 1 またはそのユーザ を認証する ( S 3 5 ) 。 この認証に成功すると、 ローカル制御システム 3 1 から公開サーバ装置 8へ画面データが送信される (.S 3 6 ) 。
続いて、 公開サーバ装置 8がロー力ル制御システム 3 1 から画面デ一 夕を受け取ると、 フアイル生成部 8 2は、 画面データに基づいて表示フ アイル (HTM Lファイルあるいは H TM Lファイルおよび XM Lファ ィル) を生成する ( S 3 7 ) 。 また、 フアイル生成部 8 2は、 生成した 表示ファィル記憶部 8 3 の H TM Lフアイル記憶部 8 3 aおよび X M L ファイル記憶部 8 3 b に格納する。
さ らに、 前述の S 5 (図 8参照) と同様に、 あるローカル制御システ ム 3 1 の表示器 5 の画面を表示するよう に指示する ( S 3 8 ) 。 S 6 と 同様に、 上記画面による表示および制御が、 当該ユーザあるいはクライ アン ト装置 9 に許可されているか否かを認証し ( S 3 9 ) 、 許可されて いないユーザあるいはクライアント装置 9からのァクセスを拒否する。 許可された正規なユーザあるいはクライアント装置 9からのアクセス であることが確認されると、 ブラウザ判定部 8 5 aがリ クエス トを発信 したクライアン ト装置 9のブラウザを判別する ( S 4 0 ) 。 このとき、 プ'ラゥザ判定部 8 5 aは、 例えば、 クライアン ト装置 9からのリ クエス トのへッダ部に記載されているブラウザ名を検出する。 公開サーバ部 8
5 は、 S 3 7 にて生成され、 表示ファィル記憶部 8 3 に格納されている 表示フアイルのう ち、 クライアン ト装置 9が要求した H T M Lファイル、 X M Lフアイルぉよぴァプレツ トを、 ブラウザ判定部 8 5 aが判別した ブラウザに対応したフォルダから適宜読み出し、 イ ンターネッ ト 3 2 を 介してクライアン ト装置 9へ送信する ( S 4 1 ) 。
そして、 クライアン ト装置 9では、 ブラウザ 9 2 が、 受け取った H T M Lファイルから、 APPLET要素 ( "く APPLET>" から " く/ APPLET>" の部 分) を抽出し、 バーチャルマシン 9 1 に実行させる ( S 4 2 ) 。 これに よ り、 バーチャルマシン 9 1 は、 ァプレツ トに H T M Lファイル中で直 接与えられたパラメータ、 または X M Lファイルによって与えられたパ ラメ一夕に基づき、 公開サーバ部 8 5 と通信して、 表示器 5 と同様の表 示および制御を行う。
公開サーバ部 8 5 は、 ブラウザ 9 2から、 あるローカル制御システム 3 1 の表示器 5 の画面表示の要求を受ける と、 データメモリ 8 4 の記憶 領域のうち、 要求されたロー力ル制御システム 3 1 に対応する記憶領域 (表示ファィルに対応するユーザ用の領域かつデバィスア ドレス Aに対 応する領域) から、 デバイスア ドレス Aに基づいて、 デバイスデータ ( デバイスア ドレス Aの内容) を読み出して、 クライアン ト装置 9 に送信 する。 描画メ ソッ ドは、 要求したデバイスデータがイ ンターネッ ト 3 を 介してクライアン ト装置 9 に伝えられると、 当該デバイスデータに応じ て、 クライアン ト装置 9 の表示画面のうち、 パラメ一タで設定された表 示領域 (X · Y ) の表示を更新する。
また、 バーチャルマシン 9 1 は、 表示フアイルの実行中、 例えば、 マ ウス操作等の入力操作が行われると、 H T M L / X M L ファイル中の入. 力タグに対応するィ ンスタンスのうち、 入力操作に応じたィ ンスタンス の入力メ ソッ ドを実行する。 これによ り、 バーチヤルマシン 9 1 は、 入 力結果に応じたデータを、 特定のデバイスァ ドレス Aへ書き込むように、 公開サーバ部 8 5へ要求する。 そして、 公開サーバ部 8 5は、 クライア ン ト装置 9から書き込み要求を受けると、 データメモリ 8 4の記憶領域 のうち、 要求されたデバイスア ドレス Aの領域の内容を書き換える。 こ の結果、 クライアン ト装置 9 の表示画面には、 書き込み後、 上記描画メ ソッ ドが実行された時点で表示器 5 と同様に操作結果が反映される。
ここで、 図 2 2および図 2 3に示すフローチヤ一トを参照しながら、 本制御システムの動作を説明する。
まず、 クライアン ト装置 9 にオペレータによる'入力操作があった場合. 図 2 2 に示すように、 表示処理部 9 4は、 オペレータによる入力操作を 待ち ( S 5 1 ) 、 オペレータによる入力操作が検出されると、 その内容 を判定する ( S 5 2 ) 。 次に、 表示処理部 9 4は、 入力操作の判定の結 果、 ォペレ一夕によってページ切り換えが入力されると ( S 5 2で "ぺ —ジ切換入力" ) 、 表示モー ド切換部 9 4 aの設定に基づき、 表示モー ドが一致表示モードと不一致表示モードとの何れに設定されているかを 判定する ( S 5 3 ) 。
この判定の結果、 表示モードが "一致表示モード" であれば、 表示処 理部 9 4は、 指定された新しいページを表示ページ情報として、 表示べ ージ情報記憶部 8 4 aへの書き込みを通信処理部 9 6 を介して公開サ一 バ部 8 5に要求する ( S 5 4 ) 。 表示処理部 9 4 は、 その後、 表示べ一 ジ情報に対応する X M Lファイル (現在表示中の画面のデータ) を通信 処理部 9 6 を介して公開サーバ部 8 5 に送信を要求して取得し、 画面デ —夕メモリ 9 7 に格納する ( S 5 5 ) 。
一方、 上記の判定の結果、 表示モードが "不一致表示モード" であれ ば、 表示処理部 9 4 は、 指定された新しいページをリモート表示ページ 情報として、 リモー ト表示ページ情報記憶部 9 4 bへ書き込む ( S 5 6 ) 。 表示処理部 9 4は、 その後、 リモー ト表示ページ情報に対応する X M Lフアイルを通信処理部 9 6 を介して公開サーバ部 8 5に送信を要求 して取得し、 画面デ一タメモ リ 9 7に格納する ( S 5 7 ) 。
さ らに、 表示処理部 9 4は、 表示ファィル記憶部 8 3から取得して画 面デ一タメモリ 9 7に格納した新しい X M Lフアイルに基づき、 画面表 示に必要なデバイスデータを通信処理部 9 6 を介して公開サーバ部 8 5 に送信を要求して取得する ( S 5 8 ) 。
これに対して、 表示処理部 9 4は、 S 5 2 での判定の結果、 ォペレ一 夕によって制御入力が行われると ( S 5 2 で "制御入力" ) 、 指示され たデバイスデータのデータメモリ 8 4への書き込みを通信処理部 9 6 を 介して公開サーバ部 8 5 に要求する ( S 5 9 ) 。 その後、 表示処理部 9 4は、 画面データメモリ 9 7に格納されている X M Lファイル、 すなわ ち、 オペレータがデータの変更を指示した画面を描画している X M Lフ アイルに基づき、 画面表示に必要なデバイスデータを公開サーバ部 8 5 に送信を要求して取得する ( S 6 0 ) 。
最後に、 表示処理部 9 4は、 データメモ リ 8 4から取得したデバイス データ と、 画面データメモリ 9 7 に格納されている表示ファイル (H T M L / X M Lフアイルぉよびァプレッ ト) とに基づいて、 描画して画面 を更新する ( S 6 1 ) 。 図 2 3は、 クライアンド装置 9の自動更新タイ ミ ングにおける画面更 新の手順を示すフローチャートである。 ここで、 画面の自動更新タイ ミ ングとは、 例えば、 所定時間間隔である。
まず、 表示処理部 9 4は、 画面の自動更新タイ ミ ングを待ち ( S 7 1 ) 、 画面の自動更新タイ ミ ングに到達すれば、 表示モード切換部 9 4 a の設定に基づいて、 表示モードが一致表示モ一 ドと不一致表示モー ドと の何れに設定されているかを判定する ( S 7 2 ) 。 この判定の結果、 表 示モ一ドが "一致表示モード" であれば、 表示処理部 9 4は、 表示べ一 ジ情報取得部 9 3 によ り、 表示ページ情報記憶部 8 4 aに格納されてい る表示ページ情報を取得する ( S 7 3 ) 。 表示処理部 9 4は、 取得した 表示ページ情報が変更されているか否かを判定する ( S 7 4 ) 。
この判定の結果、 表示ページ情報が変更されていると、 表示処理部 9 4 は、 表示ページ情報記憶部 8 4 aに格納されていた変更後の表示べ一 ジ情報に対応する X M Lフアイルを通信処理部 9 6 を介して公開サーバ 部 8 5 に送 ί貢を要求して取得し、 画面データメモリ 5 6 に格納する ( S 7 5 ) 。 その後、 表示処理部 9 4は、 表示ファィル記憶部 8 3から取得 して画面データメモリ 9 7に格納した新しい X M Lフアイルに基づき、 画面表示に必要なデバイスデータを通信処理部 9 6 を介して公開サーバ 部 8 5 に送信を要求して取得する ( S 7 6 ) 。 '
一方、 S 7 2 での判定の結果、 表示モードが "不一致表示モード" で ある場合、 および S 7 4 での判定の結果、 表示ページ情報が変更されて いない場合には、 表示処理部 9 4 は、 画面表示に必要なデバイスデータ を通信処理部 9 6 を介して公開サーバ部 8 5に送信を要求して、 取得す る ( S 7 8 ) 。 iのとき、 表示処理部 9 4は、 画面デ一タメモリ. 9 7に 格納されている X M Lファイル、 すなわち前回の描画を行った X M Lフ アイルと同じ X M Lフアイルに基づいて上記の要求を行う。
最後に、 表示処理部 9 4は、 データメモリ 8 4.から取得したデバイス デ一夕と、 画面デー夕メモリ 9 7に格納されている表示フアイル ( H T M L Z X M Lファイルおよびアブレッ ト) とに基づいて、 描画して画面 を更新する ( S 7 7 ) 。
ここで、 図 1 δの例では、 最初の単位画面が PARAM 要素の属性名 " BAS ES CR" の属性値 (この例では " ' ) として指定されている。 この例で は、 一致表示モー ドの場合、 属性" BASESCR" は無効となり、 表示器 5 に 設定されている初期画面番号で初期表示を行う。 また、 不一致表示モー ドの場合、 表示処理部 9 4は、 クライアン ト装置 9のリモ一ト表示べ一 ジ情報記憶部 9 4 bにリモー ト表示ページ情報として " 1 " を格納し、 対応する H T M L / X M Lフアイルを取得して、 単位画面 " 1 " をクラ イアン ト装置 9 に表示する。 このとき、 データメモリ 8 4 の表示ページ 情報記憶部 8 4 aには、 表示器 5に表示されている単位画面を示す表示 ページ情報がリモー ト表示ページ情報とは無関係に格納されている。 本制御シスデムでは、 ローカル制御システム 3 1 と公開サーバ装置 8 とは、 表示器 5 で現在表示されている単位画面を示す表示べ一ジ情報を 含めて、 画面表示に必要なすべてのデバイスデータがデータメモリ 8 4 に格納され、 同期が取られている。 よって、 クライアン ト装置 9は、 口 ―力ル制御システム 3 1 と直接通信せずに、 データメモリ 8 4 を介して ローカル制御システム 3 1 の状態を取得して、 画面に表示できる。 すな わち、 表示器 5に表示されている画面とは別の画面をクライアン ト装置 9 で表示することが可能となる。 また、 本制御システムでは、 デバイスデータを送信すればよいので、 口一カル制御システム 3 1側の設定を簡略化できる。 従って、 ローカル 制御システム 3 1 のユーザに負担をかけることなく、 遠隔地のクライア ン ト装置 9にて、 ローカル制御システム 3 1 の状態を表示できる。 特に- クライアン ト装置 9 での画面表示のために、 クライアン ト装置 9 とロー 力ル制御システム 3 1 とが直接通信することがないため、 クライアン ト 装置 9 .に対するローカル制御システム 3 1 の安全性が確保できる。
また、 画面デ一タメモリ 9 7に、 表示器 5では表示されるこ とのない- クライアン ト装置 9専用の画面の H T M L / X M Lフアイルを格納して おき、 表示モ一ド切換部 9 4 aの切り換えによ り、 これら専用の画面と 表示器 5で表示される単位画面とを切り換えて表示してもよい。 これに より、 現場で必要としないシステムデータの表示画面や、 リモートメ ン テナンス用の表示画面をクライアン ト装置 9 に構築できる。
なお、 本制御システムでは、 公開サーバ部 8 5 により配布されるァプ レツ 卜が、 各単位画面に関連するタグ (処理指示語) を示す X M Lファ ィルに基づいて表示/制御するが、 これに限定されない。
例えば、 図 2 0 に示すように、 H T M Lフアイルに記載する PARAM 要 素として、 画面データに含まれる全ての夕グに対応するィ ンスタンスを 生成すると共に、 当該イ ンスタ ンスの各フィールドをタグの内容に合わ せて設定した文字列 (コード) を記述してもよい。 この場合、 ファイル 生成部 8 2は、 画面データ中の全タグについて、 上記タグの内容を参照 し、 文字列 F 1 1 aで示すように、 参照結果に基づいて画面表示用のァ プレツ トを呼び出す文字列を生成して、 H T M Lファイル中に記述する, この場合、 表示フアイルとしては H T M Lフアイルのみが生成される ため、 図 1 9 に示すように、 制御システムには X M Lフアイル記憶部 8 7 (図 1 6参照) は不要である。 よって、 表示フアイル記憶部 8 3 ' に は、 H T M Lファイルおよびァプレツ トが、 クライアン ト装置 9の各仕 様に対応したフォルダにそれぞれ格納されることになる。
そして、 ァプレツ 卜の動作や呼び出し方法にかかわらず、 公開サーバ 部 8 5 によって、 表示器 5が画面デー夕に基づいてデバイスの状態に応 じて表示する動作、 および操作に応じたデバイスの状態変更を指示する 際の動作をクライアン ト装置 9へ同様に指示できれば、 図 1 6および図 1 9 に示した制御システムはほぼ同様の効果が得られる。
さ らに引き続いて、 制御システムの異なる形態について説明する。 図 2 4 に示す制御システムは、 図 1 6の制御システムと基本的にはほ ぼ同様に構成されている。 しかしながら、 本制御システムにおいて、 ク ライアン ト装置 9は、 さ らにテキス トエディ 夕 9 8を備えている。
テキス トエディ タ 9 8は、 画面デ一タメモ リ 9 7に格納されたファィ ルのうち、 テキス トファイルを表示/編集する。
図 2 5 に示すフローチャートを参照しながら、 本制御システムの動作 を説明する。 まず、 S 3 1 ないし S 3 9および S 4 1 · S 4 2までは、 図 2 1 のフローチャートの手順と同様にして処理が進められる。 クライ アン ト装置 9のユーザが画面の切り換えを指示すると、 バーチヤルマシ ン 9 1 は、 新たな X M Lファイルを公開サーバ装置 8から読み込んでデ 一夕メモリ 8 4 に格納し、 例えば、 図 2 6 に示すように、 その X M Lフ ァィルに対応する単位画面を表示する ( S 4 3 ) 。 一方、 新たな表示器 5の画面を指示すると、 公開サーバ装置 8からクライアント装置 9へ、 H T M Lフアイルゃ X M Lフアイルが送信され、 クライアン ト装置 9の データメモ リ 8 4 に格納される。 . また、 クライアン ト装置 9のユーザが、 図 2 に示す単位画面に表示さ れているデバイスの状態と、 図 2 6に示す単位画面に表示されているデ ノ ィスの状態とを同時に表示または操作したいと考えた場合、 ユーザに よって、 テキス トエディ タ 9 8が操作され、 両単位画面に対応する XM
Lフアイルを編集して、 新たな X M Lフアイルを作成する ( S 4 4 ) 。 ここで、 上記 X M Lファイルは、 図 1 7に示すよう に、 テキス トファ ィルであり、 テキス トエディ タ 9 8等の汎用プログラムで編集できる。 また、 X M Lファイルでは、 各要素を階層化でき、 各処理指示語 (タグ ) に対応する T a g要素 ( E 1 · E 2 ) の階層下に、 処理指示語の内容 に関連した要素 ( Ε 1 1 〜Ε 1 5 · Ε 2 1 〜 Ε 2 6 ) が含まれている。 従って、 テキス トエディ タ 9 8を操作するなどして、 T a g要素単位で 編集 (挿入/削除) することで、 処理指示語 (タグ) が示す表示動作や 入力動作等の動作を、 XM Lファイルに挿入したり、 削除したりできる c なお、 テキス トエディ 夕 9 8では、 各 T a g要素は、 一連のテキス ト ( く Tag> 〜く/ Tag>までテキス ト) と して表現される。
ここで、 複数の X M Lファイルからの Tag'要素が混在する場合、 各 Ta g 要素に関係する表示領域や入力領域が重なる場合がある。 ところが、 これらの領域の位置は、 X要素や Y要素等で決められ、 これらの要素は- 座標に関連することが判るように予め定められたマークによって囲まれ ている。 従って、 これらの要素の内容を調整することで、 表示領域や入 力領域を移動させることができ、 例えば、 図 2 7に示すように新たな画 面を容易に作成できる。 この画面を表示させる XM Lファイルは、 図 2 6に示す画面の XM Lファイルから、 O N/O F Fスイ ツチに関連する Tag 要素を削除し、 図 1 に示す画面の X M Lファイルから、 スィ ッチに 関連する Tag 要素を抜き出して揷入すると共に、 スィ ツチに関連する Ta g 要素中の表示/入力領域を示す要素の内容を変更するこどで作成され る。 これらの編集操作は、 いずれも、 テキス トに対する編集操作なので、 汎用のテキス トエディ タ 9 8で何ら支障なく操作できる。
本制御システムは、 例えば、 図 2 8 に示すよう に、 図 2 4 に示す公開 サーバ装置 8のデ一タメモ リ 8 4 に代えて、 口一力ル制御システム 3 1 のデバイスの入出力を模擬するシミ ュ レータ 8 6 を備えていてもよい。 このような構成では、 実際のローカル制御システム 3 1 ではなく、 仮想 のローカル制御システムを監視制御することができる。
具体的には、 公開サーバ部 8 5 は、 クライアン ト装置 9からの問い合 わせと内容変更指示をシミ ュ レ一夕 8 6へ転送する。 シミ ュレータ 8 6 は、 例えば、 デバイス自体の特性に応じた演算で、 デバイスの入出力を 模擬してもよいし、 前回の出力や今回の入力、 あるいは、 時間や参照回 数等と、 デバイスの出力とを対応付けたテーブルを予め格納しておき、 当該テーブルを参照して、 デバイスの入出力を模擬してもよい。 このシ ミ ュ レータ 8 6 も、 他の部分と同様、 演算手段が記憶手段に格納された プログラムを実行するこ とで実現される機能プロッ クである。
あるいは、 本制御システムは、 図 2 9 に示すよう に、 上記のシミ ュ レ —夕 8 6 に代えて、 ァプレッ トメモリ 8 7 を備えていてもよい。 このァ プレツ トメモ リ 8 7は、 ローカル制御システム 3 1 のデバイ.スの入出力 をクライアン ト装置 9 に模擬させるシミ ュ レータ用のアブレッ トを格納 している。 これによ り、 表示器 5 と同様の動作をクライアン ト装置 9 に 実行させるァプレツ ト と共に、 シミ ュ レータ 8 6 と同様の動作をクライ アン ト装置 9 に実行させるアブレッ トを送付することができる。
この構成では、 公開サーバ部 8 5 は、 ァプレツ トメモリ 8 7のアブレ ッ ト と共に、 ァプレッ トメモリ 8 7のァプレッ トを、 クライアン ト装置 9 に送信する。 一方、 クライアン ト装置 9のバーチャルマシン 9 1 が上 記のァプレッ トを実行すると、 クライアン ト装置 9 内にシミ ュ レータ 8
6 と同様のシミ ュ レ一タが形成される。 また、 ァプレッ トメモ リ 8 7 に 格納されたァプレツ トがクライアン ト装置 9 で実行されると、 そのクラ イアン ト装置 9 は、 公開サ一バ部 8 5 に問い合わせる代わりに、 クライ アン ト装置 9 内の上記シミ ュ レ一タに問い合わせた結果に基づいて画面 表示する。
これらの制御システムでは、 口一カル制御システム 3 1 への不正ァク セスを防止しながら、 遠隔地に配されたクライアン ト装置 9 にて、 シミ ユレータ 8 6 (またはクライアン ト装置 9 に形成されるシミ ュ レ一夕) で実現される仮想の口一カル制御システム 3 1 を監視制御できる。 従つ て、 クライアン ト装置 9 で、 実際の表示器 5 の操作/操作結果を擬似体 験でき、 例えば、 表示器 5 のオペレータ養成等に好適である。
. また、 上記の各制御システムでは、 X M Lファイルに限らず、 例えば 5 U- M L ( S tandard ene ra l i zed Markup Language ) ■ 、 他のマ一クァ ップ言語を使用しても、 ほぼ同様の効果が得られる。
その他、 図 3 ◦ に示す制御システムでは、 ローカル制御システム 3 1 aの制御コンピュータ 7 aは、 イ ンターネッ ト通信処理部 8 0 (図 1 参照) に代えて、 フアイル生成部 8 2、 表示ファィル記憶部 8 3および 公開サ一バ部 8 5 を備えている。 ただし、 ,公開サーバ部 8 5 は、 データ メモ リ 8 2 にアクセスする代わりにサーバ部 7 3へアクセスして、 デバ イスア ドレスの内容を取得すると共にデバイスァ ドレスの内容変更を指 示する。 また、 フアイル生成部 8 2は、 画面デ一タメモリ 7 5から画面 データを読み出して H T M Lファイルおよび X M Lファイルを生成する c 〔実施の形態 2〕
.本発明の実施の他の形態について図 3 1 ないし図 3 7に基づいて説明 すれば、 以下の通りである。 なお、 本実施の形態において、 前述の実施 の形態 1 における構成要素と同等の機能を有する構成要素については、 同一の符号を付記してその説明を省略する。
本実施の形態に係る制御システムは、 図 3 1 に示すように、 制御用ホ ス トコンピュータ (以降、 制御コ ンピュータと称する) 1 と、 複数の表 示器 5…と、 複数の? L C 3…とを備えている。 - 制御コンピュー夕 1 および表示器' 5…は、 共通の通信プロ トコルで通 信を行う ことが可能なネッ トワーク 6 を介して互いに接続されている。 —方、 表示器 5および P L C 3は、 P L C 3毎に固有の通信プロ トコル で通信を行う ことが可能なシリアルケーブル 4 を介して個々に接続され ている。 また、 表示器 5は、 画面 (表示用画面) を作成するためのコン ピュータ 3 3 に接続されている。 さらに、 ネッ トワーク 6は、 図示しな いルー夕を介してネヅ ト一ワークとしてのイ ン夕一ネッ ト 3 2 に接続さ れている。 このイ ンターネッ ト 3 2には、 クライアン ト装置 9が接続さ れている。
本制御システムでは、 実施の形態 1 の制御システムと同様、 表示器 5 がネッ トワーク 6 を介してデータ通信する場合、 シリアルケーブル 4 を 伝送される通信プロ トコルに拘らず、 統一した通信プロ トコルで通信で きるように、 ネッ トヮ一ク 6で伝送可能な通信プロ トコルに共通の通信 プロ トコル (共通プロ トコル) を規定している。
コ ンピュータ 3 3は、 例えば、 パーソナルコ ンビュ一夕によつて構成 されており、 上記の作画エディ タ 3 3 aおよび画面データフアイル記憶 部 3 3 bを備えている。
作画エディ 夕 3 3 aは、 実施の形態 1 の制御システムにおける作画処 理部 7 4 (図 1参照) とほぼ同等の機能を有している。 画面デ一タファ ィル記憶部 3 3 bは、 作画エディ タ 3 3 aによつて作成された 1画面分 の画面データを 1 つのファイル (画面データファイル) と して格納する , ここに記憶された画面データは、 必要に応じて表示器 5に送信され、 画 面デ一夕メモリ 5 4 にダウンロードされる。
制御用表示装置としての表示器 5は、 画面データメモリ 5 4、 入力部 5 5 bヽ シ リ アルイ ンタ一フェース (図中、 I / F ) 5 6、 ネッ トヮ一 クイ ン夕一フヱース (図中、 I / F ) 5 7、 データ処理部 5 a、 表示部 5 b、 変換データ記憶部 5 cおよびメ ンテナンスポート 5 dを備えてい る。 この表示器 5は、 基本的な機能では実施の形態 1 の制御システムに おける表示器 5 (例えば、 図 1参照) と共通している。
データ処理部 5 aは、 前述の P L C側通信処理部 5 1 、 ネッ トワーク 側通信処理部 5 2、 プロ トコル変換部 5 3および表示処理部 5 5 を含ん でいる。 このデータ処理部 5 ' aは、 前述のプロ トコル変換の.処理および 画面の表示制御に加えて、 表示器 5に記憶されている画面を制御コンピ ユー夕 1 にアップロード (送信) するための処理を行うために各種のデ —タ処理を行う。
デ一夕処理部 5 aは、 シリアルケーブル 4 とネッ トワーク 6 との間で の通信プロ トコルが互いに異なる場合、 変換デ一タ記憶部 5 c に記憶さ れたデータを参照しながら、 一方の通信プロ トコルから他方の通信プロ トコルへ変 ¾するように上記のプロ トコル変換処理を行う。 また、 デー 夕処理部 5 aは、 前述の作画エディ タ. 3 3 aで作成された画面デー夕に 基づいて V R A M等を用いて表示部 5 c に画面を描画させるように、 上 記の表示制御を行う。 また、 データ処理部 5 aは、 複数の画面をユーザ による切り換えの指示入力に応じて切り換える。
データ処理部 5 a (送信手段) は、 制御コンピュータ 1 における後述 のサーバ部 1 1からの要求に応じて、 指定された単位画面の画面データ を画面データメモ リ 5 4に格納された画面データから抽出して制御コ ン ピュー夕 1 に送信する。 また、 データ処理部 5 aは、 予めァクセスが許 可されるパスワー ドを画面デ一タメモリ 5 4等に登録しておき、 制御コ ンピュータ 1 にユーザによ り入力されたパスヮードが登録されたパスヮ ―ドであると認めた場合に画面データのアップロードを許可する。 この ように、 画面デ一夕のアップロードを制限するセキュ リティチェッ クを 行う こ とによ り、 画面デ一タが不用意に流出することを防止できる。 上記のデータ処理部 5 aは、 前述の制御コンピュ一夕 7 (図 1参照) 等の各部と同様、 記録媒体によって提供されるプログラムを実行するこ とで実現される機能ブロッ クである。
表示部 5 bは、 表示器 5 を制御盤等への組み込みが容易な小型に構成 するために、 液晶パネルや E Lパネルのような平板型表示素子によって 構成されている。
変換データ記憶部 5 cは、 プロ トコル変換処理に必要なデ一夕.を記憶 している。 このデータは、 シリ アルケーブル 4 とネッ トワーク 6 との間 で通信プロ トコルを相互変換できればどのような形式でもよいが、 本実 施の形態に係る変換データ記憶部 5 cは、 シリアルケーブル 4で伝送さ れるデータのフォーマヅ トを示すデ一夕転送フォーマツ 卜 と、 シリ アル ケ一ブル 4 とネッ トワーク 6 との間で伝送されるコマン ドコ一 ド間の対 応関係を示すコマン ド変換テーブル (図 1 1参照) とを記憶している。
ここでの画面データメモリ 5 4 (記憶手段) は、 上記の作画エディ 夕
3 3 aでユーザによつて作成された画面を格納するメモリであってフラ ' ッシュ R 0 M等から構成されている。
メ ンテナンスポート 5 dは、 前述のコンピュータ 3 3 との間の通信を 行うための通信ポー トである。 このメ ンテナンスポ一 ト 5 dは、 コ ンビ ュ一タ 3 3の作画エディ タ 3 3 aで作成された画面の画面デー夕を上記 の画面デ一タメモリ 5 4 にダウンロードする等のために設けられている c 制御コンピュータ 1 は、 一般の汎用パーソナルコンピュータと同様に -
C P U. メモリ (RAM、 R O M等) 、 外部記憶装置 (ハー ドディスク ドライブ、 M O ドライブ等) 、 表示装置および入力装置 (キーボー ド、 マウス等) を有している。 また、 制御コンピュータ 1 は、 サーバ部 1 1 . 共通プロ トコル I F部 (図中、 . I /F ) 1 2、 画面デ一タフアイル記憶 部 1 3、 フアイル変換部 1 4、 フアイル記憶部 1 5および公開サーバ部
1 6 を備えている。
共通プロ トコル I F部 1 2は、 表示器 5 との間の通信を行うためにネ ッ トワーク 6 に接続されている。 この共通プロ トコル I F部 1 2は、 実 施の形態 1 の制御システムにおける共通プロ 卜コル. I F部 7 2 とほぼ同 等の機能を有している。
サーバ部 1 1 は、 ネッ トワーク 6 を介した表示器 5…との間のデ一夕 通信処理、 P L C 3から表示器 5を介して転送された P L C 3の出力デ —夕を収集する処理等の処理を行う。 上記の出力データは、 デバイスの 状態 (数値、 0 N · 0 F F等) を示すデータ (デバイスデータ) や P L C 3 自身の出力 (アラーム出力等) である。 また、 サーバ部 1 1 は、 こ のような出力データやデバイスア ドレスを要求に応じて公開サーバ部 1 6 に供給する。
サーバ部 1 1 は、 ユーザの入力指示に応じて、 画面データのアップ口 一ドを表示器 5における前述のデータ処理部 5 aに要求し、 データ処理 部 5 aを介してアツプロ一ドされた画面データ.を画面デ一タフアイル記 憶部 1 3に格納する。 また、 サーバ部 1 1 は、 公開サーバ部 1 6 を介し てのクライアン ト装置 9からの要求によっても、 上記のァップロ一ドの ためのデータ処理部 5 a との通信処理を行う。
画面データフアイル記憶部 1 3は、 表示器 5の画面デ一タメモリ 5 4 から前述のデータ処理部. 5 aおよびサ一バ部 1 1 によってアツプロ一ド された画面データのファイル (画面デ一夕ファイル) を格納する。
ファイル変換部 1 4 (生成手段) は、 画面データファイル記憶部 1 3 に記憶された画面デ一夕ファイルを、 前述の H T M Lファイルおよび X M Lフアイルに変換することで端末用デ一夕を生成する。 フアイル変換 部 1 4は、 前述のファイル生成部 8 2 (図 1 6参照) とほぼ同等の機能 を有している。
前述の表示ファイル記憶部 8 3 (図 1 6参照) とほぼ同等の機能を有 する表示ファィル記憶部 1 5は、 H T M Lフアイル記憶部 1 5 a、 X M Lフアイル記憶部 1 5 bおよびァプレッ ト記憶部 1 5 c を有している。 公開サーバ部 1 6 (通信手段および取得手段) は、 前述の実施の形態 1 における制御システム (図 1参照) の公開サーバ部 7 7 とほぼ同等の 機能を有している。 制御コンピュータ 1 は、 公開サーバ部 1 6 を備える こ とによって、 イ ンターネッ ト 3 2上で W e bサーバ (サーバ装置) と して機能する。
上記のサーバ部 1 1 、 フアイル変換部 1 4、 公開サーバ部 1 6 も、 デ 一夕処理部 5 aと同様、 記録媒体によって提供されるプログラムを実行 することで実現される機能ブロッ クである。 また、 表示フアイル記憶部 1 5 に対する表示ファイルの格納処理も、 プログラムで実現される。 上記のように構成される通信において、 制御コンピュータ 1 の公開サ ーバ部 1 6は、 表示器 5が画面データに基づいてデバイスの状態に応じ て表示する動作、 および操作に応じたデバイスの状態変更を指示する際 の動作とほぼ同様の動作をクライアン ト装置 9へ指示する。 ただし、 表 示器 5が画面データに基づいて動作する場合と異なり、 表示先はクライ 7ン ト装置 9の図示しない表示装置の表示面で'あり、 操作は、 クライア ン ト装置 9の図示しない入力装置から受け取る。
続いて、 上記の通信において、 表示器 5の画面データをクライアン ト 装置 9で表示させると共に、 表示された画面から操作を行う場合の処理 について図 3 2のフローチャートを参照して説明する。
まず、 クライアン ト装置 9が、 イ ンタ一ネッ ト 3 2 を介して制御コン ピュータ 1 の公開サーバ部 1 6 にアクセスして、 ある表示器 5 の画面を 表示するように指示する ( S 8 1 ) 。 すると、 公開サーバ部 1 6は、 例 えば、 クライアン ト装置 9から受け取った識別番号、 パスヮード等が予 め登録されたものであるか否かを確認するなどして、 上記の画面による 表示/制御が上記クライ了ン ト装置 9またはそのュ一ザに許可されてい るか否かをチェッ クし ( S 8 2 ) 、 許可されていないクライアン ト装置 9からのアクセスを拒否する。
ァクセスが許可された場合、 表示器 5では、 データ処理部 5 aによつ て、 サーバ部 1 1 を.介して公開サーバ部 1 6から問い合わされた上記の 識別番号、 パスワード等が表示器 5に予め登録されたものであるか否か · を確認するなどして、 画面デ一夕のアップロードが上記クライアン ト装 置 9 またはそのユーザに許可されているか否かをチヱッ クする ( S - 8 3 • ) 。 そして、 許可されていないクライアン ト装置 9からのアップロード を拒否する。
アップロー ドが許可された場合、 表示器 5 の画面デ一夕 (画面データ ファイル) を画面データファイル記憶部 1 3等にアップロードする ( S 8 4 ) 。 このとき、 表示器 5 のデータ処理部 5 aが、 画面データメモリ 5 4から指定された画面デー夕を取り出して制御コンピュータ 1 に転送 する。 制御コンピュータ 1 では、 サーバ部 1 1 が画面データを受け取り - 画面データフアイル記憶部 1 3やメイ ンメモリ に格納する。
それ以降の処理は、 実施の形態 1 の制御システム (図.1 6参照) での 手順 (図 2 1参照) の S 3 7 . S 4 1 . S 4 2 と同様にして進められる ( ただし、 S 3 7の処理は、 画面データファイル記憶部 1 3にアップ口一 ドされた画面デ一タフアイルに基づいて行われる。 S 3 7の処理におい て、 制御コンピュー夕 1 は、 サーバ部 1 1 に記憶された内容と、 表示器 5に記憶されたデバイスア ドレスの実体とを同期させている。
なお、 その同期をとる際、 いずれの方向に伝送するかは、 例えば、 変 更時刻や、 操作の優先順位等に応じて決定される。
例えば、 表示器 5のデバイスア ドレスの内容に合わせてサーバ部 1 1 の記憶内容を更新する場合、 サーバ部 1 1 が、 表示器 5 と同様にデバイ ' スア ドレスの内容を取得し、 デバイスデータとして送信する。 これとは 逆に、 サーバ部 1 1 の記憶内容の変更をデバイスァ ドレスの実体に伝え る場合、 表示器 5がァクセスしてきた時点で、 サーバ部 1 1 は、 記憶し ている.デバイスデータを読み出し、 表示器 5へ送信する。
なお、 本実施の形態でも、 ファイル形式は H T M Lフ ァイルおよび X
M Lファイルに限定されない。 例えば、 デバイスデータを統計処理した デ一夕を表示する H T M Lフアイル等、 デバイスデータに基づいて表示 するためのファイルを公開してもよい。
また、 上記実施の形態でも、 アブレッ トの代わりに、 他の実行プログ ラムを配信しても、 ほぼ同様の効果が得られる。
以上に述べたように、 本実施の形態に係る通信は、 表示器 5 に格納さ れている画面デ一夕をアップ口一ドし、 それに基づいて公開用のフアイ ルを作成し、 クライアン ト装置 9 にその画面デー夕の画面を表示させ、 かつその画面からの操作を行うように構成されている。 これによ り、 制 御コ ンピュータ 1 が、 コンピュータ 3 3のように画面データを格納して おく画面データフアイル記憶部 8 bを専用に備えていなくても'、 表示器 5で表示されている画面と同一の画面をクライアン ト装置 9に表示させ ることができる。 それゆえ、 画面デ一タフアイル記憶部 3 3 bに格納さ れた画面デー夕と同じ画面データを制御コンピュータ 1 にも格納してお く必要がない。
続いて、 本制御システムの他の形態について説明する。
図 3 3に示す制御システムは、 制御コンピュータ 1 と、 複数の表示器 5 と、 複数のクライアン ト装置 9 と、 複数の F L C 3 とを備えている。 この制御システムでは、 公開側共通ネッ トワーク 3 4 (ローカルネッ トワーク) は、 T C P / I Pに統一されたイ ン トラネッ ト等のローカル なネッ トワークである。 このような公開側共通ネッ トワーク 3 4 を採用 することによって、 イ ンタ一ネッ トで使用されるアプリケーシ ョ ンプロ グラムをそのまま流用することが可能である。 公開側共通ネッ トヮ一ク 3 4 は、 企業内等の閉じた範倒での情報交換を行うネッ 卜ワーク形態で あるので、 外部に公開できない重要な情報をフアイァウォールによって 防護する必要がある。
ここでのサーバ部 1 1 は、 上記の出力デ一タゃデバイスァ ドレスを要 求に応じて通信処理部 I 9に供給する。 また、 サーバ部 1 1 は、 クライ アン ト装置 9からデバイスア ドレス Aの内容変更指示を受け取ると、 デ バイ スァ ドレス Aの内容を指示に応じた値に書き換える。
作画部 1 7 は、 実施の形態 1 の制御システムにおける作画処理部 7 4 (図 1参照) とほぼ同等の機能を有している。 画面データファイル記憶 部 1 3は、 上記の作画部 1 7によって作成された画面の 1画面分の画面 デ一夕を 1 つのファイル (画面データファイル) として格納する。
通信処理部 1 9 (サーバ側通信手段) は、 ク ライ ア ン ト装置 9におけ る後述のァプレツ ト と、 通信処理部 9 6 を介して通信を行う。 また、 通 信処理部 1 9 は、 制御コ ンピュータ 1 における通信処理の中心として機 能し、 クライアン ト装置 9の後述する通信処理部 9 6からのアクセス、 制御コ ンピュータ 1 内での表示フ ァイ ル記憶部 1 5 (サーバ側格納手段 ) およびサーバ部 1 1 からのアクセス、 サーバ部 1 1 および通信処理部 9 6へのアクセス等に対する通信処理を行う。 この通信処理においては 例えば、 H T M Lファイルおよび X M Lフアイルゃデバイスデータを、 ■ ァプレツ ト記憶部 1 5 cで記憶されたアブレツ トの要求に応じて実行部 1 8 に送出する と共に、 後述するアブレッ ト記憶部 9 8 cで記憶された ァプレツ トからの要求に応じて、 サーバ部 1 1 へアクセスすることによ つて通信処理部 9 6 に返送する。
また、 通信処理部 1 9 は、 ユーザ一ァカゥ ン トファイルを有しており - このユーザ一アカ ウ ン トファイルを用いて、 クライアン ト装置 9からの アクセスのレベルに応じたプロテク ト処理を行う。 通信処理部 1 9 は、 このようなプロテク ト処理を行うために、 例えば、 ュ一ザ名、'パスヮー ド、 アクセスレベル、 アラームログ作成、 コメ ン ト等がユーザ毎に設定 される。 アクセスレベルと しては、 表示器 5 の表示内容:を読み込むだけ のレベル、 読み込みだけではなく書き込みも許可にする レベル、 表示器
5 に対してリ セッ トコマン ドの送信を有効にする レベル、 アラームログ ファイルの作成を許可する レベル等が挙げられる。
上記のリ セッ ト コマン ドは、 表示器 5 に通信エラ ·一等の異常の発生に 対して復旧措置の手段と して表示器 5 を リ セッ トするためのコマン ドで ある。 このようなコマン ドを制御コンピュータ 1 から送信することによ つて、 制御コ ンピュータ 1 から復旧措置をとることができる。 アラーム ログファイルは、 表示器 5 に蓄えられている P L C 3からのァラ一ム情 報を制御コ ンピュータ 1 に表示させるためのファイルである。
実行部 I 8 は、 アブレツ ト記憶部 1 5 c (実行プログラム記憶手段) に記憶されたァプレツ トを実行するためのプログラムであり、 バ一チヤ ルマシンと同等の機能を有している。
上記のサーバ部 1 1 、 通信処理部 1 9および実行部 1 8 も、 前述のデ 一夕処理部 5 a (図 3 1参照) と同様、 記録媒体によつて提供されるプ ログラムを実行することで実現される機能プロッ クである。 ここでのクライアン ト装置 9は、 表示ファィル記憶部 9 8 (端末側格 納手段) を備えている。 表示ファイル記憶部 9 8は、 H TM Lファイル 記憶部 9 8 a と、 XM Lフアイル記憶部 9 8 b と、 ァプレッ ト記憶部 9 8 c とを有している。 H TM Lフアイル記憶部 9 8 aおよび XM Lファ ィル記憶部 9 8 bは、 それぞれ前述の H T M Lフアイル記憶部 1 5 aお よび XMLファイル記憶部 1 5 bに格納された、 H TM Lファイルおよ び X M Lファイルと同じファイルを格納している。 ァプレッ ト記憶部 9 8 cは、 クライアン ト装置 9 の仕様毎に予め作成されたアブレツ トを格 納している。
ァプレッ ト記憶部 9 8 cに格納されるァプレツ トは、 前述のァプレッ ト記憶部 1 5 c に格納されるァプレツ ト とほぼ同等の機能を有'している が、 クライアン ト装置 9で表示器 5に表示される画面を表示させ、 その 画面からの操作を可能にするために、 バーチャルマシン 9 1 (表示処理 手段) で実行される点で前述のアブレツ 卜 と異なる。 従って、 このァプ レツ ト を実行するバーチャルマシン 9 1 は、 X M Lファイルを参照し、 タグを示す XM L要素に基づいて、 タグ種に応じたメ ソッ ドを呼び出す t 例えば、 バーチャルマシン 9 1 が実行するメ ソッ ドのうぢ、 表示夕グに 対応するメ ソッ ドは前述の描画メ ソッ ドであり、 また、 入カタグに対応 するメ ソッ ドは前述の入力メソッ ドである。 '
通信処理部 9 6 (端末側通信手段) 、 前記のアブレツ 卜の要求に応じ て、 通信処理部 1 9 と公開側共通ネッ トワーク 3 4 を介して通信を行う , また、 通信処理部 9 6は、 クライアン ト装置 9 における通信処理の中心 として機能し、 表示ファィル記憶部 9 8からのアクセス、 通信処理部 1 9からのアクセス、 バーチャルマシン 9 1 からのアクセス等に対する通 信処理を行う。 この通信処理においては、 例えば、 ァプレツ トからの要 求に応じて、 雨ファイル記憶部 9 8 a · 9 8 bからの H T M Lファイル および X M Lファイルをバーチャルマシン 9 1 にダウ ンロー ドする一方、 サーバ部 1 1 から得られたデバイスデータを、 通信処理部 1 9ヘアクセ スすることによって取得する。
上記のように構成される制御システムでは、 制御コ ンピュータ 1 は、 表示器 5に表示される画面を制御コンピュータ 1 で表示させるように指 示されると、 H T M Lフアイル記憶部 1 5 aに記憶されている H T M L ファイルが開かれる。 すると、 実行部 1 8は、 通信処理部 1 9を介して- 受け取った H T M Lファイルにおける各 APPLET要素("く APPLET>" から "く /APPLET>" の部分) を抽出して実行する。 また、 実行部 1 8は、 画面の 表示に必要な X M Lフアイルを通信処理部 1 9 を介して X M丄ファイル 記憶部 1 5 bから取得する。 さ らに、 実行部 1 8は、 X M Lファイルを 参照しながら、 上記の H T M Lフアイルで指定された表示器 5の画面を 制御コンピュ一タ 1 に設けられた図示しない表示部に表示して、 その画 面への操作に応じた制御を、 やはり制御コ ンピュータ 1 に設けられた図 示しない操作部からの入力によつて指示する。
このように、 ァプレツ ト を実行部 1 8 に実行させるこ とによって、 表 示器 5 に表示される画面を制御コンピュータ 1 に表示すると共に、 制御 コ ンピュータ 1 にてその画面から入力操作を行う こ とができる。
続いて、 上記の制御システムにおいて、 表示器 5の画面データをクラ ィアン ト装置 9で表示させる場合の処理について図 3 4のフローチヤ一 トを参照して説明する。
表示器 5に表示された画面をクライアン ト装置 9 に表示する処理が、 クライアン ト装置 9側のユーザによつて指示されると、 アブレツ ト記憶 部 9 8 cに記憶されたァプレツ トを、 H T M Lファイル記憶部 9 8 aに おけるデフォルトファイルである def au l t, htm に出力する ( S 9 1 ) 。 この状態で、 クライアント装置 9 において表示すべき所望の表示器 5の 画面に対応する H T M Lファイルが、 H T M Lフアイル記憶部 9 8 aに 開かれると、 通信処理部 9 6が起動する ( S 9 2 ) 。
通信処理部 9 6が、 公開側共通ネッ トワーク 3 4 を介して制御コンピ ユ ー夕 1 における通信処理部 1 9にアクセスすると、 通信処理部 1 9は、 前述のセキュ リティの設定を用いて、 クライアン ト装置 9から受け取つ たユーザ名、 パスワード等が予め登録されたものであるか否かを確認す るなどして、 上記の画面による表示/制御が上記クライアン ト装置 9 ま たはそのユーザに許可されているか否かをチヱッ クし ( S 9 3 ) 、 許可 されていないクライアン ト装置 9からのアクセスを拒否する。 また、 こ のとき、 併せてアクセスレベルもチェッ クされる。
アクセスが許可された場合、 通信処理部 9 6は、 通信処理部 1 9 を介 してサーバ部 1 1 にアクセスして、 ある表示器.5 の画面を表示するよう に指示する ( S 9 4 ) 。 通信処理部 I 9は、 予め設定されたァクセスレ ベルに応じて、 サーバ部 1 1 を介した表示器 5のデ一タへのアクセスを 制限する。
次いで、 クライアン ト装置 9 のブラウザ 9 2は、 通信処理部 9 6 を介 して H T M Lフアイル記憶部 9 8 aから H T M Lファイルを得て、 その H T M Lファイル中の各 APPLET要素 ( " く APPLET> " から " く/ APPLET> " の部分) で指定されたァプレッ トを同じく H T M Lファイル記憶部 9 8 aから取得し、 パーチャルマシン 9 1 に実行させる ( S 9 5 ) 。 また- バ一チャルマシン 9 1 は、 画面の表示に必要な X M Lフアイルを通信処 理部 9 6 を介して X M Lフアイル記憶部 9 8 bから取得して、 その X M Lフアイルを参照しながら各処理指示語に応じたィ ンスタンスを生成す る ( S 9 6 ) 。 これらのイ ンスタンスのうち、 表示用の処理指示語に応 じたィ ンスタンスの描画メ ソッ ドは、 所定の時間間隔で実行される。 こ の結果、 パーチャルマシン 9 1 は、 デバイスア ドレス Aの内容を通信処 理部 9 6 と通信処理部 1 9 との通信を介してサーバ部 1 1へ問い合わせ る ( S 9 7 ) 。
一方、 サーバ部 1 1 は、 問い合わせを受けると、 当該アブレツ トに対 応するユーザの記憶領域のうち、 デバイスア ドレス Aに対応する領域か らデータを読み出して上記の通信によってクライアン ト装置 9 に送信す る ( S 9 8 ) 。 そのデ一タが公開側共通ネッ トワーク 3 4を介してクラ イアン ト装置 9に伝えられると、 上記の描画メ ソ、ソ ドは、 そのデータ ( デバイスア ドレス Aの内容) に応じて、 クライアン ト装置 9 に表示され た画面における予め定められた表示領域 (X, Y ) の表示を更新する ( S 9 9 ) 。
上記の H T M Lファイルには、 複数のアブレツ トが含まれているが、 各ァプレツ トは、 ブラウザ 9 2から、 その画面頷域内の相対座標 (例え ば、 左上隅等を基準とする相対座標) で描画する。 従って、 クライアン ト装置 9は、 H T M Lファイルに含まれているアブレッ トの個数や順番 に拘らず、 デバイスの状態を表示できる。
一方、 ノ 一チャルマシン 9 1 は、 ァプレツ トの実行中、 例えば、 マゥ ス操作等の入力操作が行われると、 入力用の処理指示語に対応するィ ン スタ ンスのうち、 入力操作に応じたィ ンスタンスの入カメソッ ドを実行 する。 これにより、 バ一チャルマシン 9 1 は、 入力結果に応じたデー夕 を、 特定のデバイスア ドレスへ書き込むように、 両通信処理部 9 6 - 1 9 との通信を介してサーバ部 1 1 に要求する。 サーバ部 1 1 は、 記憶領 域のうち要求されたデバイスァ ドレス Aの領域の内容を書き換える。 書 き換えられたその内容は、 ネッ トワーク 6 を介して表示器 5 に送信され る。 この結果、 クライアン ト装置 9に表示された画面には、 書き込み後- 上記の入力メ ソッ ドが実行された時点で、 表示器 5 と同様に操作結果が 反映される。
これによ り、 クライアン ト装置 9は、 表示器 5 と離間した場所から公 開側共通ネッ トワーク 3 4 を介して制御コンピュータ 1 と接続されてい る場合であっても、 表示器 5の画面と同一内容の画面を表示すると共に. 同じ操作で、 デバイスの状態を制御できる。 ·
以上に述べたように、 本実施の形態に係る制御システムは、 各クライ アン ト装置 9 にイ ンス トールされたアブレツ トが、 両通信処理部 9 6 .· 1 9間の通信を介して、 表示動作やデバイスア ドレスの内容変更の指示 をバーチャルマシン 9 1 に実行させるための問い合わせを制御コンビュ 一夕 1 のサーバ部 1 1 にするように構成されている。 これによ り、 表示 器 5が設置された場所から離間した場所に設置されている複数のクライ アン ト装置 9でも表示器 5 に表示される画面の内容を表示器 5で表示さ れるのと同時に閲覧することができると共に、 その画面上での操作を行 う こ と もできる。
また、 制御コンピュータ 1 が通信処理部 1 9 とァクセス可能な実行部 1 8を備えるこ とによって、 制御コンピュータ 1 でァプレツ ト記憶部 1 5 cに記憶されたァプレツ トを実行する。 それゆえ、 制御コンピュー夕 1 においても、 表示器 5 に表示される画面の内容を表示器 5 で表示され るのと同時に閲覧することができる と共に、 その画面上での操作を行う こと もできる。
H T T Pを用いた一般的なィ ンタ一ネッ ト通信を行うサーバ装置では. クライアン ト装置との間の情報のやり取りのために、 W e bサ一バ用ソ フ ト ウェアと C G I とを備える必要があるが、 これらを介した処理は、 実行効率があま り良く ない。 これに対し、 上記の通信では、 制御コンピ ユ ータ 1 とクライアン ト装置 9 との間の通信が、 通信処理部 1 9 と通信 処理部 9 6 との間の通信を介して直接的に行われる。 これによつて、 通 信速度が向上するので、 制御コンピュータ 1 と クライアン ト装置 9 との 間の情報のやり取り を効率的に行う ことができる。
また、 本制御システムでは、 制御コンピュータ 1 が W e bサーバ用ソ フ ト ゥヱァを備えていないために、 クライアン ト装置 9 からのアクセス に対して W e bサーバ用ソフ ト ウエアのセキュ リティ機能を利用するこ とができない。 しかし、 通信処理部 1 9 では、 ユーザ毎に予め設定され たアクセスレベルで表示器 5 のデータへのアクセスが制限されるので、 保守性を高めることができる。 しかも、 このようなアクセス制限方法で は、 ィ ンターネッ ト通信における一般的なァクセス制限のように、 全て のレベルでアクセスの許可または拒否を一括して行う こ となく 、 詳細な レベルでアクセスを設定することができる。 それゆえ、 例えば、 システ ム管理者等の通信に深く係わる重要な立場にあるユーザに対しては、 よ り レベルの高いァクセスを許可する といったァクセス管理を行う こ とが できる。 ·
本制御システムのさ らに他の形態について説明する。 .図 3 5 に示す制御システムでは、 クライアン ト装置 9 が、 公開ネッ ト ワーク と してのイ ンタ一ネッ ト 3 2 を介して制御コ ンピュータ 1 とイ ン ターネッ ト通信が可能となるように接続される。
本制御システムにおける制御コンピュータ 1'は、 さ らに、 C G I (Com mon gateway I nterface) 2 0 を備えてレヽる。
ブラウザ 9 2 は、 制御コンピュータ 1 にアクセスして W e bページと しての画面をクライアン ト装置 9 に表示させるよう に指示された場合、 それを認識して H T T Pを用いた通信が行われるこ とを認識する。 一方- クライアン ト装置 9 におけるブラウザ 9 2 は、 画面をクライアン ト装置 9 に表示させるよう に指示された場合、 H T M Lフアイル記憶部 9 8 a に記憶された H T M Lファイルを開く と、 通信処理部 9 6 を通じての通 信が行われる こ とを認識する。
C G I 2 0 (通信中継手段) は、 一般的なィ ンタ一ネッ ト通信におけ るサ一バ装置に設けられる、 プラッ ト フオームに依存しないィ ンターフ ヱースプログラムである。 この C G I 2 0 は、 前記のブラウザ 9 2 が公 開サーバ部 1 6 を介して通信処理部 1 9へアクセスする と共に、 そのァ クセスに対する通信処理部 1 9からの返答 (H T M Lデータ) を公開サ ーバ部 1 6 に出力する。
ここでのサーバ部 1 1 は、 クライアン ト装置 9から C G I 2 0 を経由 して通信処理部 1 9 にアクセスさ.れているノー ド数や通信処理部 1 9 を 介した他局への中継ァクセス数をカウン ト し、 それを表示する機能を有 している。 これによ り、 ァクセス管理が容易になるので、 通信処理部 1 9 の通信ァクセスの状態が把握され、 不正ァクセスを検証できる。
続いて、 上記の通信において、 表示器 5 の画面データをクライアン ト 装置 9で表示させる場合の処理について図 3 6のフ口一チャートを参照 して説明する。
まず、 イ ンタ一ネッ ト 3 2 を介して、 クライアン ト装置 9が制御コン' ピュー夕 1 における公開サ一バ部 1 6 を介してアクセスして、 ある表示 器 5 の画面を表示するように指示する ( S 1 0 1 ) 。 すると、 公開サ一 バ部 1 6は、 例えば、 クライアン ト装置 9から受け取った識別番号、 ノヽ。 スヮード等が予め登録されたものであるか否かを確認するなどして、 上 記の画面による表示/制御が上記クライアン ト装置 9またはそのユーザ に許可されているか否かをチェッ クし ( S 1 0 2 ) 、 許可されていない クライアン ト装置 9からのアクセスを拒否する。 このとき、 通信処理部 1 9が、 クライアン ト装置 9からの通信処理部 1 9に対するアクセスの 可否を前述のようにチェッ クする (図 3 4の S 9 3 ) 。
ァクセスが許可された場合、 C G I 2 0 を中継した通信処理部 1 9へ のアクセスによって、 クライアン ト装置 9からの公開用フアイル生成の 要求を受けると、 フアイル変換部 1 4 は、 画面デ一タフアイル記憶部 1 3 に格納された画面デ一タフアイルに基づいて、 H T M Lフアイルぉよ び X M Lファイル等の公開用フアイルを生成して、 H T M Lファイル記 憶部 1 5 aおよび X M Lフアイル記憶部 1 5 bのうち、 ユーザ用の領域 に格納する ( S 1 0 3 ) 。 公開サーバ部 1 6 は、 許可された正規なクラ イアン ト装置 9 に対してのみ、 クライアン ト装置 9が要求した画面を表 示するための H T M Lファイルを H T M Lファイル記憶部 1 5 aから読 み出し、 そのファイルを、 通信処理部 1 9から C G I 2 0 を中継し、 さ らに公開サーバ部 1 6からイ ンターネッ ト 3 2 を介してクライアン ト装 置 9へ送信する ( S 1 0 4 ) 。 さ らに、 そのファイルを用いて、 クライ アン ト装置 9 による画面の表示を行う ( S 1 0 5 ) 。
本制御システムでも、 前述の図 3 3 の制御システムと同様、 上記の問 い合わせ、 変更指示および表示動作をクライアン ト装置 9 に行わせるァ プレツ トを配信しているので、 データ伝送量を大幅に削減でき、 クライ アン ト装置における応答速度を大幅に向上できる。 また、 例えば、 カー ソル移動等のユーザーィ ンタ一フヱ一スをクライアン ト装置側で処理で きるので、 さ らに、 応答速度を向上できる。
なお、 本制御システムでも、 前述の実施の形態 1 と同様、 フアイル形 式は H T M Lファイルおよび X M Lファイルに限定されない。
また、 本制御システムは、 図 3 7 に示すよう に構成されていてもよい c この制御システムでは、 1 つのクライアン ト装置 9が、 公開側共通ネ ッ トワーク 3 4 およびイ ンターネッ ト 3 2 を介して制御コンピュータ 1 とアクセスできるように構成されている。 このため、 ブラウザ 9 2 は、 制御コ ンピュ一タ 1 のフアイルに基づいて画面をクライアン ト装置 9 に 表示させる場合、 前述のようにそれを認識し、 さ らに通信処理部 1 9 に イ ンターネッ ト 3 2 を介した通信を行わせる一方、 クライアン ト装置 9 のフアイルを用いて画面を表示させる場合、 前述のよう にそれを認識し. さ らに通信処理部 1 9 に公開側共通ネッ トワーク 3 4 を介した通信を行 わせる。
従って、 このような制御システムでは、 ユーザがいずれかの通信を選 択するだけで、 選択された通信に適合した処理が行われる。 それゆえ、 ユーザは、 通信形態の相違を意識することなく、 画面の表示および表示 された画面から.の操作を行う ことができる。 その結果、 ユーザは、 C G I 2 0 を経由する一般的なィ ンタ一ネッ个 3 2 を介した通信と、 この通 信に比べてよ り高速な通信が可能な公開側共通ネッ トワーク 3 4 を介し た通信とを特別の操作を行う ことなく利用することができる。
〔実施の形態 3〕
本発明の実施のさらに他の形態について図 3 8ないし図 4 3 に基づい て説明すれば、 以下の通りである。 なお、 本実施の形態において、 前述 の実施の形態 1 および 2 における構成要素と同等の機能を有する構成要 素については、 同一の符号を付記してその説明を省略する。
本実施の形態に係る制御システムは、 図 3 8に示すように、 制御用ホ ス トコンピュータ (以降、 制御コンピュータと称する) 2 と、 複数の表 示器 5…と、 複数の P L C 3…と、 クライアン ト装置 9 を備えている。
.制御コンピュータ 2および表示器 5…は、 共通の通信プロ トコルで通 信を行う ことが可能なネッ トワーク 6 (共通ネッ トヮ一ク) を介して互 いに接続されている。 一方、 表示器 5および P L C 3は、 P L C 3毎に 固有の通信プロ トコルで通信を行う ことが可能なシリアルケ一ブル 4 ( 専用ネッ トワーク) を介して個々に接続されている。
なお、 広義の通信プロ トコルには、 スタートキャラクタやエン ドキヤ ラクタを示すコード、 各キャラク タの送受タイ ミ ング、 送信先や送信元 の特定方法等が送信元と送信先とを含むネッ トワーク内で統一されてい ないと正常にデータが伝送できない通信プロ トコルと、 各 P L C 3が理 解可能なコマン ド体系等、 送信元と送信先とで統一されていないと一方 が所望する動作と他方が実施する動作とがー致せずに正常に制御できな い通信プロ トコルとが存在する。 それゆえ、 以下の説明では、 両者の組 み合わせを通信プロ トコルと称し、 両者の区別が必要な場合には、 前者 を伝送プロ トコル、 後者をコマン ド体系として区別する。 ここで、 各 F L C 3の製造者が規定する通信プロ トコルでは、 デ一夕 の読み出しを指示する場合、 概ね、 図 9に示す前述のデータ列 4 1 が伝 送される。
従って、 本実施の形態では、 表示器 5がネッ トワーク 6 を介してデー タ通信する場合、 シリアルケ一ブル 4 を伝送される通信プロ^コルに拘 らず、 統一した通信プロ トコルで通信できるように、 ネッ トヮ一ク 6で 伝送可能な通信ブロ トコルに共通の通信プロ トコル (共通プロ トコル) を規定している。 ·
このため、 ネッ トワーク 6 を介して通信する際、 図 3 9に示すように. T C F / I Pで規定された形式のデータ列 6 6 を受信する。 このデ一夕 列 6 6は、 送信元および送信先の I Pァ ドレスを含むへッダ部 6 7 と、 通信内容を示す前述のデータ本体 6 3 (図 1 0参照) とを備えている。
ここでの表示器 5は、 デ一夕配信部 5 eを備えている。 データ配信部 5 eは、 予め設定された配信条件が満たされたときに、 P L C 3 の出力 データを、 指定された配信先に配信する。 このため、 データ配信部 5 e は、 配信先のノードに関するノード情報および配信に関する設定情報が 制御コンピュータ 2から予めダウンロー ドされて記憶されている。
制御コ ンピュータ 2 (ホス ト コンピュータ) は、 サーバ部 2 1 、 共通 プロ トコル I F部 (図中、 I / F ) . 2 2、 配信設定部 2 3、 ネッ トヮ一 クファイル 2 4、 データ登録部 2 5、 アプリケーショ ン部 2 6、 デ一夕 ベース 2 7、 データメモリ 2 8、 コンパイラ 2 9および公開サ一バ部 3 0 を備えている。
イ ンタ一フヱース部 2 2は、 表示器 5 との間の通信を行うためにネッ トワーク 6 に接続されている。 この共通プロ トコル I F部 2 2は、 実施 の形態 1 の制御システムにおける共通プロ トコル I F部 7 2 (図 1 参照 ) とほぼ同等の機能を有している。 '
サーバ部 1 1 は、 データ通信処理部 2 1 aおよびデ一タベース管理部 1 b を有している。 このサーバ部 2 1 は、 前述のデータ処理部 5 a ( 図 3 1参照) と同様、 記録媒体によって提供されるプログラムを実行す るこ とで実現される機能ブロッ クである。
データ通信処理部 2 l aは、 ネッ トワーク 6 を介した表示器 5…との 間のデータ通信処理を行う と共に、 アプリケーショ ン部 2 6 との間でデ —タのやり取りを行う部分である。 このデータ通信処理部 2 1 aは、 例 えば、 後述する作画エディ 夕 1 6 aで作成された画面やラダ一エディ タ 2 6 bで作成されたユーザプログラムとしてのラダ一プログラムを表示 器 5 に転送したり、 表示器 5から配信された画面または F L C 3から表 示器 5 によつて配信されたラダ一プログラムおよび P L C 3の入力デ一 夕 (制御指示のデータ) や出力データを収集したり といった処理を行う ( この入力データは、 入力機器における後述するデバイスア ド レスの内容 (ビッ ト、 数値等) の変更すべき内容であり、 出力データは、 出力機器 におけるデバイスア ドレスの出力すべき内容である。
データベース管理部 2 l b (蓄積手段および検索手段) は、 表示器 5 から配信されてきた画面またはラダープログラムおよび F L C 3の入出 力データをデ一夕べ一ス 2 7に登録したり、 データべ一ス 2 7に登録さ れたそれらのデータを検索したりする。
具体的には、 デ一タベース管理部 1 1 bは、 デ一タベース 2 7におい て表示器 5每に名称が付与されたフォルダを設定し、 表示器 5から所定 の周期毎に配信されてく る、 表示器 5で表示された画面または P L C 3 で実行されたラダ一プログラムと、 その画面における変化要素としての シンボル (部品およびタグ) またはそのラダ一プログラムにおける変化 要素としてのラダー記号と、 デバイスア ドレスと、 上記の入出力データ とを各々組み合わせてレコ一ドとし、 上記のフォルダにそのレコードを 発生順に登録する。 フォルダ名としては、 例えば、 表示器 5の局名、 例 えば、 図 3 8に示すような Aで表される "ノ一ド A " や、 表示器 5の機 種名といった適当な名称が用いられる。 また、 データベース管理部 2 1 bは、 ユーザが指定したフォルダの指定した時刻のレコ一ドを検索して- 得られたレコー ドを表示させるように作画エディ 夕 2 6 aまたはラダー ェデイ タ 2 6 b に渡す。
データベース 2 7が一般にハ—ドディスク装置に構築されることから- ハードデイスク装置からのデータの読み出しには比較的長い時間を要す る。 このため、 データべ一ス管理部 2 1 bは、 複数のレコードからなる 'プロッ ク単位でレコードを読み出す。 これによ り、 ハードディスク装置 へのアクセスが少なくなり、 検索の速度を高めることができる。 また、 複数のプロッ クをまとめて読み出すことによって、 さ らに高速の検索を 行う こ とができる。
検索のために、 データベース管理部 2 1 bは、 例えば、 図 4 0に示す ような検索画面 1 0 1 をユーザに提供する。 この検索画面 1 0 1 は、 再 生キ一 1 0 1 a、 停止キー 1 0 1 b、 早送りキー 1 0 1 c、 早戻しキー 1 0 1 d . 一時停止キー 1 0 1 e、 日時を設定する日時設定部 1 0 1 f および後述するキーを指定するキ一指定部 1 0 1 gを有している。
データベース管理部 2 1 bは、 再生キ一 1 0 1 aの操作により、 作画 エディ タ 2 6 aまたはラダーエディ 夕 2 6 bが検索データを動画的に表 示するように、 連続的にデータの検索を行う。 この検索において早送り キー 1 0 1 c または早戻しキ一 1 0 1 dが操作されると、 検索速度が高 く なり、 検索画面が順方向または逆方向に高速で表示される一方、 一時 停止キ一 1 , 0 1 eの操作により検索が一時停止し、 このとき、 画面が静 止状態で表示される。 また、 早送りキ一 1 0 1 c 'または早戻しキー 1 0
1 dのみの操作では、 高速度で検索位置が変化するが、 画面は表示 (再 生) されない。 このとき、 日時設定部 1 0 1 aには、 検索位置の移動時 に認識された日時が表示されていく。 さ らに、 停止キー ' 1 0 1 cの操作 によ り、 検索が停止する。
上記の検索画面 1 0 1 は、 検索されて作画エディ タ 2 6 aまたはラダ
—エディ タ 2 6 bによつて表示された再生画面 5 2上に表示され、 マゥ. ス等の ドラッ グ& ド口ップにより所望の位置への移動が可能である。 こ のような検索画面 1 0 1 により、 オーディオ装置等の操作と同様な感覚 で検索を行う環境がユーザに提供される。
また、 データベース管理部 2 1 bは、 ネッ トワークを介してのデ一タ ベース 2 7へのアクセスに対するセキュ リティチェッ クを行う。 例えば- ネッ トワーク 6 においては、 ユーザ I Dおよびパスワードが登録された ものであると確認されると、 アクセスが許可 (認証) される。 これによ り、 ネッ トワーク 6に接続されるィ ンタ一ネッ ト 3 2からの第三者によ る不用意なアクセスを拒否することができる。
配信設定部 2 3は、 ノード情報および配信情報を設定する。 ノード情 報は、 ネッ トワーク 6 におけるノードと、 そのノードに接続される表示 器 5 の種類とを含んでいる。 配信情報は、 各 P L C 3 に接続されるデバ イス 1 0 (入力機器および出力機器) の名称、 各表示器 5毎のデータ配 信タイ ミ ング、 配信すベきデー夕のス トアア ドレス、 受信したデ一夕の ス トァァ ドレス等を含んでいる。 これらのノ一 ド情報および配信情報は、 ネッ トワークファイル 2 4 に保存され、 必要に応じて各表示器 5 のデ一 タ配信部 5 e にダウ ンロー ドされる。 この配信設定部 2 3 も、 デ一タ処 理部 5 a と同様、 記録媒体によって提供されるプログラムを実行するこ とで実現される機能ブロッ クである。
データ登録部 2 5 は、 変換データ記憶部 5 c に記憶されるべき前述の プロ トコル変換データを予め登録している。 この変換データは、 初期設 定時や、 制御システムに接続される F L C 3 が変更されると き等のメ ン テナンス時に、 必要とする表示器 5 にデータ通信処理部 5 aを介してダ ゥンロー ドされる。
アプリケ一ショ ン部 2 6 は、 作画エディ 夕 2 6 aおよびラダ一エディ タ 2 6 bを含んでいる。
作画エディ タ 2 6 aは、 実施の形態 1 の制御システムにおける作画処 理部 7 ' 4 (図 1 参照) とほぼ同等の機能を有している。 この作画エディ 夕 2 6 aによつて作成された画面は、 必要に応じてィ ンタ一フヱ一ス部 1 2 を介して表示器 5 に転送され、 画面データメモリ .5 4 にダウ ン口一 ドされる。
ラダーエディ タ 2 6 bは、 デバイス 1 0が所望のシーケンスに従って 動作するよう に P L C 3 の制御手順を定めるラダープログラムを作成す るためのプログラ ミ ングソフ ト ウエアであり、 制御コンピュータ 2 のデ イスプレイ (図示せず) 上でデバィス 1 0の動作に対応するラダ一記号 を配置してラダ一図を作成できるように構成されている。 このラダ一ェ ディ 夕 2 6 b においては、 例えば、 国際基準 I E Cに準拠した前述のプ ログラミ ング言語が用いられる。
また、 ラダーエディ タ 2 6 bは、 P L C 3 の入力端子および出力端子 のそれぞれに付与されている入力番号および出力番号と、 各入出力端子 に接続される入力機器 6および出力機器 7の名称 (デバイス名) との対 応付けを変数を介して入出力番号の割り付け ( I / Oアサイ ン) として 行う。 この割り付けの結果は、 制御コンピュータ 2内の記憶装置.(図示 せず) に保存される。 .
割り付けを行う際、 制御コンピュータ ' 2内の所定のメモリには、 入力 番号および出力番号をそれぞれァ ドレスと して、 各ア ドレスに対応する デバイス名が格納される。 従来、 このような割り付けは、 P L Cのメ一 力によって異なっており、 絶対ア ドレスで設定ざれるので、 メーカに応 じたメモリテーブルを用意する必要がある。 ただし、 I E Cに準拠した 本ラダーエディ タ 2 6 bは、 上記の変数 (自由変数) によってユーザが 入出力を決定できるので、 上記のようなメモリテーブルは不要である。 また、 一度決定した割り付けも、 後に変更することができる。
ラダーエディ タ 2 6 bで作成されたラダープログラムは、 プログラマ ブル表示器 5 を介して (または直接) P L C 3 に転送され、 P L C 3内 のメモ リ にダウ ンロー ドされる。
データべ—ス 2 7は、 データべ一ス管理部 2 1 bによって順次書き込 まれるデータをフォルダ每に管理している。 例えば、 ノード Aの表示器 5 に表示される画面については、 図 4 1 ( a ) に示すように、 "日時" "画面" 、 "設定温度" 、 "レベル" 、 "設定圧力" 、 "レベル" 、 " アラーム" 等の各項目がフィールドとして設けられている。 "日時" は 同図において分の単位まで記載されているが、 必要に応じて秒ゃミ リ秒 の単位まで保存できるようにしてもよい。 "画面" は、 画面のファイル 名を表している。 "設定温度" および "設定圧力" は、 作業指示として 設定された温度および圧力を表し、 "レベル" は、 設定された温度や圧 力に対する実際の温度や圧力を表している。 アラームは、 設定された温 度や圧力が規定範囲内にあるときは正常であるとして " 0 " の値をと り、 規定範囲外にあるときは異常であるとして " 1 " の値をとる。
また、 図示はしないが、 "画面" を除いた各フィ一ルドのデ一タは、 デバイスア ドレスおよび画面上のシンボルのデ一タが対になるように併 せて書き込まれる。 例えば、 "温度設定" の場合は、 温調器のデバイス ア ドレスおよび数値入力タグであったり、 "アラーム" の場合は、 ラン プのデバイスァ ドレスおよびシンボルであったりする。 それらのフィー ルドによって 1 つのレコードが形成され、 各レコードが日時順に書き込 まれる。 画面が切り替わる場合は、 その画面に応じたファイル名が書き 込まれるようになつている。
ラダープログラムについても、 画面と同様に図 4 1 ( b ) に示すよう に、 図 4 1 ( a ) と同様な形式でレコードが書き込まれる。 この場合、 "日時" 、 "ラダ一" 、 "O N" 、 "生産数" 、 "O N/〇 F F " 、 " カウン ト値" 、 "点灯/消灯" 等の各項目がフィールドとして設けられ ている。 "ラダ一" は、 ラダ一プログラムのファイル名を表している。 "O N" は、 生産ライ ンのスタートボタンが 0 Nされたことを表してい る ( O N時に " 1 " となる) 。 "生産数" は、 ライ ンにおける所定位置 を通過する製品の数の設定値を表している。 "O N/O F F " は、 上記 の所定位置で製品の通過を検出する光センサの出力を表しており、 検出 すなわち〇 Nが " 1 " であり、 非検出すなわち〇 F Fが " 0 " である。 "カ ウ ン ト値" は、 光センサの〇 N出力のカ ウ ンタによるカウン ト値を 表している。 "点灯/消灯" は、 設定された数の製品がライ ンによ り搬 送されているか否かをランプの点灯または消灯で表しており、 搬送時す なわち点灯が " 1 " であ り、 非搬送時すなわち消灯が " 0 " である。
また、 図 4 2に示すよう に、 画面およぴラダ一プログラムのレコー ド を一括して管理するようにしてもよい。 図 4 2 において "プログラム" は、 図 4 1 ( a ) における "画面" および図 4 1 ( b ) の "ラダ一" に 相当し、 画面のファイル名およびラダ一プログラムのファイル名が格納 されるようになつている。
さ らに、 他のアプリケーショ ンプログラムによって作成されたユーザ プログラムについても、 同様に図 4 1 ( a ) と同様な形式でレコー ドを 保存するよう にしてもよいし、 図 4 2 に示すような形式で画面およびラ ダ一プログラムと併せてレコー ドを保存するよう にしてもよい。 このよ うなュ一ザプログラムと しては、 例えば、 ターゲッ トシステムにおける デバイスの電気的配線を設計する C A D図面が挙げられる。
データベース 2 7 においては、 レコー ドが入力順に保存される順編成 のファイル構造が形成される。 これによ り、 時刻順にレコー ドを検索す る順アクセスを可能にしている。 また、 データベ一ス 2 7においては、 指定された検索項目に基づいてレコー ドを直接アクセスすること 可能 にするために、 所望のレコー ドがデ一夕ベース管理部 2 1 bによってキ 一を付与された状態で保存される。 このキーの設定は、 図示しないが、 データベース管理部 2 1 bが提供するキー設定用の画面で予めユーザに よって 亍われる。
キ一は、 例えば、 時刻、 アラーム等のデ一夕 (検索項目) に付与され る。 最終的なレコ一ドへのァクセスは、 物理ァ ドレスに基づいて行われ るので、 物理ア ドレスとキーとの対応付けが必要となる。 この対応付け としては、 例えば、 キーと物理ァ ドレスとを対照、表で 1 対 1 で対応付け たり、 キー値を基に所定の関数を用いて得られた値を物理ァ ド レスと し てレコードを書き込んだりするこ とが挙げられる。 また、 キーと物理ァ ドレスとの対応付けの代わり に、 キ一から レコー ド番号を算出し、 この レコ一 ド番号に基づいてレコー ドの書き込みを行い、 0 Sのファイルシ ステムにレコ一 ド番号から物理ァ ドレスを算出させるようにしてもよい ( このよう に、 キーをレコー ドに付与するこ とによって、 キーによ り所 望のレコー ドを一意的に特定することができる。
デ一タメモリ 2 8は、 デ一タベース管理部 2 1 bによつて検索された 画面およびそのシンボル (テキス ト も含む) またはラダ一プログラムお よびそのラダー記号と、 P L C 3 の入出力デ一夕 (デバイスア ドレスの デ一夕) とをコンパイラ 2 9 の処理に供するために一時的に格納してお く メモリである。
コ ンパイ ラ 2 9 (変換手段) は、 上記の画面またはラダープログラム を、 クライアン ト装置 9のブラウザ 9 1 に含まれるバーチャルマシンで 実行できるような Java言語のァプレツ トに変換する。 このァプレツ トは Java言語からなっているので、 クライアン ト装置 9のプラッ ト フオーム に依存しない。 ァプレツ トにおける各イ ンスタ ンスは、 画面において対 応するシンボルまたはラダープログラムにおいて対応するラダー記号と 同じデバイスア ドレスを参照するように設定されている。 また、 各ィ ン スタ ンスは、 デバイスア ドレスの入出力データをシンポルまたはラダ一 記号に反映させるように作成されている。 制御コンピュータ 2 には、 予め作画ェデイ タ 2 6 aで用いられるシン ボルの種類またはラダーエディ タ 2 6 bで用いられるラダ一記号の種類 每にバ一チャルマシンが実行するメ ソッ ドを含むクラスが格納されてお り、 コ ンパイ ラ 2 9が画面における各シンポルまたはラダ一プログラム : における各ラダ一記号に対応するメソッ ドを呼び出すコードを生成する, また、 コ ンパイラ 2 9は、 図 4 0に示す検索画面 ί 0 1 も画面またはラ ダープログラムと同様にアブレッ トに変換する。 この検索画面 1 0 1 に よる前述の各検索操作についても、 バ一チャルマシンが実行するメソッ ドを含むクラスが用意されている。
上記のコンパイラ 2 9および公開サーバ部 3 0 も、 前述のサ一バ部 1
1 (図 3 1参照) と同様、 記録媒体によって提供されるプログラムを実 行することで実現される機能プロッ グである。
ここで、 前述の配信設定部 1 3で設定される配信情報について説明す る。 配信情報は、 図 4 3 ( a ) および図 4 3 ( b ) に示すような設定画 面上で設定され、 設定画面には "配信条件" と "配信局 ' 受信局" とが 設け,られている。
図 4 3 ( a ) に示す "配信条件" には、 配信のタイ ミ ングを決定する 条件として、 電源投入、 時刻指定、 周期指定、 書き換え ト リガ、 0 N期 間、 〇 F F期間、 立ち上がり ト リガおよび立ち下がり ト リガが設けられ ている。
"電源投入" は、 表示器 5 の電源投入時に配信を行う条件であり、 " 時刻指定" は、 指定された時刻に配信を行う条件である。 "周期指定" は、 所望の周期每に配信を行う条件であり、 "書き換え ト リガ" は、 出 力データが書き換えられたとき、 すなわち出力デ一夕が変化したときに 配信を行う条件である。 " O N期間" と " O F F期間" とは、 デバイス の 0 N期間と 0 F F期間とのそれぞれにおいて配信を続けて行うための 条件であり、 "立ち上がり ト リガ" と "立ち下がり ト リガ" とは、 出力 データ (指定デバイス出力) の立ち上がり と立ち下がり とのそれぞれの 検出時に配信を行うための条件である。
また、 配信条件の設定画面における下側の領域には、 上記の各条件の うちデバイスの出力に基づく条件に関して指定すべきデバイスの名称を 入力する欄が設けられている。 さ らに、 その下には、 配信条件をチヱッ クする周期 (m s単位) と、 配信を行う期間の設定欄と、 配信後にデバ イス出力を O F Fまたは O Nに戻す処理のための設定欄とが設けられて いる。 ただし、 チヱッ ク周期は、 "電源投入" 、 "時刻設定" および " 周期指定" の配信条件にのみ有効であり、 期間限定は、 "周期指定" の 配信条件にのみ有効である。 また、 配信後にデバィス出力を 0 F Fに戻 す設定については、 "立ち上がり ト リガ" の配信条件にのみ有効であり .- この欄をチエツ ク しない場合、 デバイス出力は配信後も 0 Nしたままに なる。 一方、 配信後にデバイス出力を O Nに戻す設定については、 "立 ち下がり ト リガ" の配信条件にのみ有効であり、 この欄をチヱッ ク しな い場合、 デバイス出力は配信後も 0 F F したままになる。
一方、 図 4 3 ( b ) に示す "配信局 · 受信局" には、 配信局および受 信局についての情報記入部が設けられている。 配信局の情報は、 表示器 5から配信される出力データの出力元となるデバイス名と、 指定された 期間に配信するデータの個数とを含んでいる。 また、 受信局の情報は、 受信局となる表示器 5に対応する F L C 3に接続されたデバイスの名称 を含んでいる。 ただし、 制御コンピュータ 2が受信局となる場合、 デ一 夕ベース 2 7で管理されるフォルダ名をデバイス名とする。
上記のように構成される制御システムにおいては、 ネッ トワーク 6 を 介して、 共通プロ トコルのデータ列 6 6 を受け取った場合、 データ処理 部 5 aは、 データ本体 6 3から、 P L C 3へ伝送すべきコマン ドを示す 共通コ一ド 6 4 と関連情報 6 5 とを抽出する。 さ らに、 データ処理部 5 aは、 コマン ド変換テ一ブル T Bしを参照して、 シリアルケーブル 4 に おいて伝送可能で、 その共通コード 6 4 に対応するコマンドコ一ドを選 択する。 また、 必要に応じて、 関連情報 6 5 の表現方法が、 シリアルケ —ブル 4で伝送される表現方法に変換される。 これらの結果、 P L C 3 へ伝送すべきコマン ド、 データ内容自体、 データ.のサイズおよび T ドレ ス等が決まると、 データ処理部 5 aは、 デ一タ転送フォーマツ ト F M T を参照して F L C 3へ送出するデータ列を生成できる。
一方、 P L C 3からデータ列 4 1 を受け取つだ場合、 データ処理部 5 aは、 上記のデータ転送フォ一マツ ト F M Tに当てはめて、 そのデータ 列の示すコマン ド、 データ内容自体、 データのサイズ、 ア ドレス等を抽 出し、 上述とは逆の手順で共通プロ トコルのデータ列 6 6に変換する。 前記のデ一夕転送フォーマツ ト F M Tおよびコマン ド変換テ一ブル T B Lの組み合わせ (プロ トコル情報) は、 表示器 5および P L C 3が制 御に関するデ一タを通信する前に、 P L C 3 の通信プロ トコルに合わせ て設定され、 異なる通信プロ トコルを採用した P L C 3が接続されると . そのプロ トコル情報は切り換えられる。 例えば、 図 1 1 では、 機種 Aの P L C 3から機種 Bの P L C 3 に変更する場合、 コマン ド変換テーブル T B L aからコマン ド変換テ一プル T B L bに切り換えられる。
なお、 通信プロ トコルの選択方法は、 実施の形態 1 の制御システム ( 図 1参照) で行われる前述の方法ど同様にして行われる。
このように,、 本制御システムでは、 従来の制御システムとは異なり、 通信の中心に表示器 5…が配されており、 この表示器 5…が、 ネッ トヮ —ク 6 とシリアルケーブル 4 との双方に接続されている。 さ らに、 表示 器 5は、 シ リ アルケーブル 4お.よびネッ トワーク 6 での通信プロ トコル が異なる場合、 それぞれの通信プロ トコルを相互変換して、 自らに接続 された P L C 3 と、 制御コ ンピュータ 2あるいは他の表示器 5 との間の 通信を中継する。 これによ り、 表示器 5…のそれぞれに接続された P L C 3…が採用する通信プロ トコルが互いに異なっていても、 各表示器 5 と制御コ ンピュータ 2 との間は、 共通の通信プロ トコルにて通信できる, より詳しく は、 ターゲッ トシステムは、 流量センサゃ温度センサまた はターゲッ トシステムの各部の状態を検出するセンサのような入力機器 と、 指示に応じた動作を行うバルブゃモ一夕のような出力機器とを備え ており、 デバイス 1 0は P L C 3にて制御されている。 また、 P L C 3 は、 シーケンサから発達してきた経緯もあって、 例えば、 製造者每ゃ製 品の種別毎等、 F L C 3の機種毎に、 独自の通信プロ トコルを備えてい るものが多い。 従って、 F L C 3は、 シリアルケーブル 4 を介して表示 器 5 と接続されており、 その P L C 3が通信可能な通信プロ トコルで表 示器 5 と通信する。
これにより、 P L C 3は、 表示器 5へ、 または表示器 5 を介して他の 表示器 5あるいは制御コンピュータ 2へ、 入力機器が取得したデー夕を P L C 3の出力デ一夕として送信する一方、 表示器 5から、 または他局 より表示器 5 を介して伝えられた制御指示を受信して出力機器を制御す るこ とができる。 上記のようにネッ トワーク 6で通信プロ トコルの共通化がなされた制 御システムにおいては、 各表示器 5および制御コ ンピュータ 2の間で画 面およびデバイスァ ドレスのデータの配信を容易に行う ことができる。 次に、 その配信について詳細に説明する。
ここで、 ネッ トワーク 6 の各ノード A〜Cに各表示器 5が接続されて おり、 表示器 5に個々に接続される P L C 3はそれぞれ 1 0 0個の入出 力端子を有する構成について説明する。 このような構成においては、'各 P L C 3の出力端子に対しては、 P L C 3 におけるメモリの対応するス トァ領域へ表示器 5でオペレータによつて入力された制御デー夕が格納 され、 そのス トァ内容に応答して出力機器 7が制御される。 また、 各 P L C 3の入力端子に対しては、 上記のメモリの対応するス トァ領域に入 力機器 6からの入力データが書き込まれる。
例えば、 ノード A〜Cに対応する各 P L C 3の 1 0 0個の各入出力端 子に対応したス トア領域には、 それぞれ 1 0 0〜 1 9 9、 2 0 0〜 2 9 9、 3 0 0〜 3 9 9 のス トアア ドレスが割り当てられている。 ノー ド A の表示器 5 におけるデータ配信部 5 eは、 前述の配信設定部 1 3で予め 設定された周期 (例えば 1 0秒) 每に 1 0 0〜 1 9 9のス トァ領域のデ 一夕、 すなわちすべての入出力データを配信し、 そのデータは制御コン ピュータ 2 にス トアされる。
また、 "立ち上がり ト リガ" の配信条件を設定しておき、 かつ P L C
3のメモリにおける各デバイスに対応するス トァ領域に、 デバイスのェ ラー (アラーム) 情報、 デバイス出力に対応した作業指示の情報等の各 種の情報を表すビッ トを設けておけば、 このビッ トが立ち上がつたとき に、 配信条件と共に、 そのデバィスが接続される F L C 3のノ一ド情報 (局名) がそのノードの表示器 5から送信される。
さ らに、 制御コ ンピュータ 2は、 各表示器 5から配信されるすべての データをス トアしている。 各表示器 5には、 データ配信部 5 e内に配信 データの格納に必要なス トァ領域が形成されている。
制御コ ンピュータ 2 でのデータの取り込みは、 配信元からの配信デー タの、 例えば I Pア ドレスに受信先のア ドレスを格納しておく ことによ つて行われてもよい。 また、 受信先が制御コンピユ一タ 2だけでなく表 示器 5等多く存在する場合には、 上記のデータ取り込みが、 上記の I P ァ ドレスを一斉同報として、 受信側で、 配信データの配信元の I Pア ド レスに応答してデータを取り込むか否かを決定するようにして行われて もよい。 しかも、 すべての表示器 5が制御コンピュータ 2 と同様に、 す ベての配信データに対応したス トァ領域を有し、 すべての配信デー夕を 保有していてもよいことは勿論である。
上記のように、 配信条件が成立すると、 各表示器 5および制御コンピ ュ一タ 2 との間でデータの配信が行えるだけでなく、 配信条件の成立を ト リガとして、 制御コンピュータ 2のデ一タベース 2 7に配信デー夕を 順次格納し、 そのデ一夕べ一ス 2 7から所望のレコードを検索すること ができる。 続いて、 その動作について詳細に説明する。
例えば、 'ノード Aの表示器 5で集められた P L C 3の入力データ (入 力機器 6 のデバイスア ドレスの内容) および出力データ (出力機器 7の デバイスア ドレスの内容) は、 デバイスア ド レスと共にネッ トワーク 6 を介して制御コンピュータ 2に配信され、 共通プロ トコノレ I F部 2 2か らサーバ部 2 1 に取り込まれ、 デ一夕ベース管理部 1 1 bに渡される。 デ—タベース管理部 2. 1 bは、 ノード Aのフォルダに同時刻に入力され たデ一タを 1件のレコードとして、 次々と入力されてく るレコードを順 次データべ一ス 2 7に書き込んでいく。 このような書き込みは、 自動的 に行われるので、 ユーザがデ一タベース 2 7 を意識することなくデータ を蓄積することができる。
データベース 2 7において検索を行う場合、 まず、 サーバ部 2 I の動 作モ一ドを検索モードに切り替えて、 図 4 0 に示すような検索画面 1 0 1 を起動する。 ここで、 レコードを格納された日時順に検索していく場 合は、 再生キ一 1 0 1 bを操作するこ とによつて指定されたフォルダに おいて検索が開始する。 検索が行われているときは、 レコードが、 デー タベース管理部 2 1 bによってデータベース 2 7から順次読み出され、 作画エディ タ 2 6 aに出力される。 作画エディ タ 2 6 aは、 受け取った レコードにおける画面と、 デバイスア ドレスおよびシンボルのデ一夕と に基づいて画面を再現し、 図 4 0の再生画面 1 0 2のよう に、 制御コン ピュ一夕 2のディスプレイに表示する。 このような一連の動作が連続的 に行われるので、 ディスプレイには、 P , L C 3が実際に稼働していたと きに表示器 5 に表示された画面とほぼ同様に、 画面の変化を動的に再現 することができる。 ' ■
また、 予め設定されたキーに基づいて、 指定されたキーに対応するレ コ一 ドのみを読み出す場合、 例えば、 アラームをキーとして指定して、 再生キー 1 0 1 bを操作すれば、 アラーム発生時のレコ一ドが順次読み 出され、 作画エディ タ 2 6 aによつて再生される。 このようにアラーム をキ一として指定することによって、 アラームの発生時の画面を表示さ せるだけでなく、 さ らにそのアラーム発生時の前後の画面を再生するこ とによって、 表示器 5において、 アラーム発生前にどのような操作がな l" 0 8 されていたか、 またはアラーム発生後に回復処置のためにどのような操 作がなされていたかを確認することができる。
さ らに、 データベース 2 7 には、 図 4 1 ( a ) および図 4 1 ( b ) な らびに図 4 2 に示すように表形式でレコー ドが保存されている。 これに よって、 デ一夕ベース 2 7に蓄えられたレコー ドが、 そのまま日報や月 報と して利用できる。
上記のような検索および再生操作は、 画面だけでなく 、 ラダープログ ラムやその他のユーザプログラム (例えば、 前述の C A D図面) でも同 様にして行う ことができる。
ラダープログラムの場合、 P L C 3 で実行されたラダ一プログラムが 表示器 5 を介して制御コンピュー夕 2 に配信され、 デ一タベース管理部 2 l b によってデータベース 2 7 に書き込まれていく 。 検索する と きは- 図示はしないが、 図 4 0 に示す再生画面 1 0 2の代わり に、 検索された ラダ一プログラムが再生される。 ラダ一プログラムモニタを再生する場 合、 ラダープログラムが選択されたラダープログラムモニタのエリ ア範 囲内で再生される。 そして、 ラダ一プログラ'ムにおいて検索された接点 やコイルの動作等は、 例えば、 それらの部分の色が変わることによって 表現される。 '
上記のような検索および再生の操作は、 イ ンタ一ネッ ト 3 2 を介して クライアン ト装置 9からでも行う ことができる。 続いて、 この場合の動 作について説明する。
まず、 公開サーバ部 3 0 は、 クライアン ト装置 9から検索の要求を受 ける と、 C G I を起動してサ一バ部 2 1 のデータベース管理部 2 1 bに 検索を指示する。 データべ一ス管理部 2 l b は、 この指示を受けて前述 のようにしてデータべ一ス 2 7に対して検索を行う。 データベース管理 部 2 1 bから送出されるレコ一ドは、 一旦デ一タメモリ 2 8に蓄えられ た後、 コンパイラ 2 9に出力される。
また、 公開サーバ部 3 0は、 C G I や B G I等によって、 コンパイラ 2 9 にァプレッ トの生成を指示する。 コンパイラ 2 9は、 公開サーバ部
3 0からァプレツ トの生成指示を受けると、 データメモリ 2 8から読み 出された、 生成すベきァプレツ トに対応するレコードから、 画面または ラダ一プログラムのそれぞれにおけるシンボルまたはラダ一記号を抽出 し、 そのシンボルまたはラダ一記号の種類に対応するクラスのイ ンスタ ンスを生成するための文字列 (コー ド) と、 そのイ ンスタンスのフィー ルドにシンボルまたはラダ一記号のパラメータを設定するための文字列 (コード) とを出力する。 また、 イ ンスタンス生成時の初期値として両 文字列を指定してまとめて出力してもよい。
さ らに、 コンパイラ 2 9は、 画面またはラダ一プログラムのそれぞれ における全てのシンボルまたはラダ一記号について文字列の出力が終了 したときには、 H T M L ドキュメ ン ト として必要な文字列 ( "く HTML>" . "く T I TLE> " 等) も、 生成されたコ一ドをアブレツ ト として動作させる ための文字列 ( "く APPLET>等) を各シンボルまたは各ラダー記号に基づ いて生成されたコードの前後に付す。
このように、 デ一夕ベース 2 7に格納されていた、 実際に表示器 5に 表示された画面または実際に F L C 3で実行されたラダープログラムは ァプレツ ト として公開サーバ 3 0 に出力される。 公開サーバ部 3 0 は、 イ ンターフェース部 1 2からネッ トワーク 6およびイ ンタ一ネッ ト 3 2 を介してクライアン ト装置 9に上記のアブレツ トを送出する。 クライアン ト装置 9 では、 ブラウザ 9 1 がバーチャルマシンを起動し、 制御コ ンピュータ 2から提供されるデバイスァ ドレスおよび入出力デ一 夕を用いて描画メ ソッ ドを実行することによって、 表示器 5での表示状 態と同様に画面が表示され、 またはラダ一プログラムが P L C 3の動作 状態を反映させた状態で表示される。 このよう にして、 制御コ ンビユ ー 夕 2から離れた位置にあるクライアン ト装置 9 でも、 制御コンピュータ 2 と同様に検索を行う こ とができる。
以上のよう に、 本実施の形態の制御システムでは、 表示器 5 が P L C 3の機種每の通信プロ ト コルの相違を吸収して、 各表示器 5および制御 コンピュータ 2 の間のデータ通信を容易にしている。 それゆえ、 制御コ ンピュー夕 2 にお.いて異機種の P L C 3.からの出力データを容易に収集 する こ とができる。 また、 データ配信部 5 e によるデータ配信機能を用 いる こ とによって、 設定された配信条件を満たす毎に表示器 5からデー 夕が制御コ ンピュータ 2 に配信され、 そのデータがデータベース管理部 2 l bによってデ一夕べ一ス 2 7 に順次蓄えられていく ので、 従来のデ 一夕収集用ソフ トのように P L C と通信しながら、 パーソナルコンピュ ータ側からデータの送信要求を発することなく 、 効率的にデータを収集 して蓄積するこ とができる。 それゆえ、 ユーザが意識することなく デ一 タベース 2 7 を構築することができる。
また、 データが収集された順に時系列でデータベース 2 7 に蓄積され ていく ので、 データベース 2 7 におけるデータ構造が単純化されて、 デ ータの詳細や所在が分かりやすい。 これによ り、 データベース管理が容 (しな ) o
さ らに、 検索によつて得られた入出力デー夕を画面やラダープログラ ムに反映させる ことによって、 表示器 5での操作が再現される。 それゆ え、 動画を記録する V T Rのように膨大なデ一タを蓄える必要がないば かりか、 検索によつて操作ミスが生じた際の画面やラダ一プログラムを 確認することができる。 特に、 アラームをキーと して検索するこ とによ つて、 操作ミスが生じた時点を容易に特定するこ とができる。 しかも、 図 4 0 に示すよ うな検索画面 1 0 1 を用いることによつて連続的な検索 を行えば、 画面のシンボルゃラダ一プログラムのラダ一記号の入出力デ 一夕による変化が動的に表示されるので、 V T R等の映像再生機器での 再生操作と同様な感覚で画面もラダープログラムを再生することができ る。
このよう に、 実行された画面ゃラダ一プログラムを再生することは、 操作ミ ス等の検証に利用されるだけでなく 、 オペレータの教育にも利用 できる。 例えば、 表示器 5 の操作内容が、 ターゲッ トシステムを動作さ せることなく繰り返して再現できることから、 熟練のオペレータによる 操作内容は教材と して十分利用できる。
また、 昨日の作業と同じ作業を行う場合、 デ一夕ベース 2 7 に格納さ れた昨日のデーダを利用しても不都合がないかを画面の再生で確認でき るので、 データの再利用を有効に行う こ とができる。
なお、 本実施の形態では、 ネッ トワーク 6 と して、 イーサネッ ト上の T C P / I Pを採用しているが、 これに限る ものではない。 例えば、 I
E E E 1 3 9 4等、 他のネッ トワークであってもよい。 制御コ ンビュ一 夕 2 が表示器 5 を介して各 P L C 3 と通信するために十分な通信容量を 持ったネッ トワークであれば、 同様の効果が得られる。
また、 本実施の形態では、 ラダ一プログラムを用いた例を示したが、 本発明の制御手順プログラムとしては、 ラダ一プログラムだけではなく、
: 前述の I E C 6 1 13卜 3 で規定された 5言語を含む他の言語による制御 手順プログラムにおいても適用されるのは勿論である。 一方、 ユーザプ ログラムとしては、 表示内容プログラム (画面)'および制御手順プログ ラム以外にも、 P L C 3による制御状態を表すプログラムであれば前述 の C A D図面等であってもよい。
また、 本実施の形態では、 制御コ ン ピュータ 2でユーザプログラムと しての画面ゃラダ一プログラムをアブレッ トに変換する例について説明 したが、 本発明はこれに限定されない。
さ らに、 本実施の形態でも、 ァプレツ トの代わりに、 他のプログラム 言語をコンパイルするなどで、 ァプレツ ト と同様の動作をクライアン ト 装置 9 に実行させるプログラムを配信してもほぼ同様の効果が得られる t なお、 発明を実施するための最良の形態の項においてなした具体的な 実施態様または実施例は、 あく までも、 本発明の技術内容を明らかにす るものであって、 そのような具体例にのみ限定して狭義に解釈されるべ きものではなく 、 本発明の精神と次に記載する特許請求の範囲内で、 い ろいろと変更して実施することができるものである。 産業上の利用の可能性
( 1 ) 本発明の制御用サーバ装置およびこれを含む制御システムは、 プログラマブル表示器の画面を示すデータを、 制御用サーバ装置が端末 装置で表示可能な形式に変換した後に送信される。 この結果、 制御装置 に負担をかけることなく、 遠隔地の端末装置で、 イ ンターネッ ト等を介 してプログラマブル表示器の表示画面と同一内容の画面を表示できる。 ( 2 ) 本発明の制御用端末装置は、 シリ.アルポートのみに制御プログ ラムを出力可能な、 従来の制御プログラム作成手段を流用する場合であ つても、 制御用端末装置は、 制御プログラムの更新指示を、 転送先の制 御ュニッ トが含まれるローカル制御システムへ伝えることができる。 こ の結果、 広域ネッ トワークを介して制御プログラムを出力可能な制御プ ログラム作成手段を、 制御ュニッ 卜の機種毎に新規作成せず、 従来の制 御プログラム作成手段を流用して、 遠隔地から制御ュニッ トの制御プロ グラムを更新できる。 また、 ローカル制御システムの近傍に制御プログ ラムの作成要員を配置しなくても、 短時間で制御プログラムを更新でき るので、 メ ンテナンス時の手間を削減できる。
( 3 ) 本発明の制御システムは、 制御用表示装置と離間した場所にあ る端末装置においても、 制御用表示装置で表示される表示用画面を表示 するこ.とができる。 また、 画面データが制御用表示装置から取得される ので、 生成手段および通信手段を有するサーバ装置に画面データを記憶 させる必要がなく なる。 制御用表示装置で表示される表示用画面をより 簡易に公開することができる。
( 4 ) 本発明の制御システムは、 制御用表示装置と離間した場所にあ る端末装置においても、 制御用表示装置で表示される表示用画面と同じ 表示用画面を表示させるこ とができる。 また、 サーバ装置と端末装置と の間の通信が、 サーバ側通信手段と端末側通信手段とがローカルネッ ト ワークを介して行われるので、 一般的なイ ンタ一ネッ ト通信のように W e bサーバ用のソフ トウェアを介した実行効率のあま り良く ない通信形 態を利用することなく 、 比較的通信速度の高い効率的な通信を行う こと ができる。 1 I 1 4
( 5 ) 本発明の制御システムは、 表示型制御装置が、 制御装置の通信 プロ トコルに拘らず、 常に同一の通信プロ ト コルで、 共通ネッ トワーク を介してホス トコンピュータ と通信することができる。 この結果、 ホス 卜 コ ンピュータは、 通信プロ トコルの異なる制御装置からの出力デ一タ を容易に集積することができる。
. また、 予め設定されている配信条件が満たされたときに、 ユーザが意 識するこ となく データベースが自動的に構築される。 しかも、 .蓄積され たデータ構造が単純化され、 かつユーザプログラム、 変化要素および雨 データが関連付けられて蓄積されるので、 ユーザプログラムにおける変 化要素の両データによる変化状態を再現することができる。 従って、 デ ータベース管理を容易にする と共に、 制御装置の過去の制御状況を容易 に確認するこ とができる。
さ らに、 検索されたユーザプログラムが連続的に表示されるので、 制 御装置が動作していたときのユーザプログラムの状況を再現するこ とが できる。 さ らに、 端末装置で実行プログラムが実行されることによって. ュ一ザプログ.ラムにおいて変化要素が両デ一タに基づいて変化する。 この結果、 例えば、 画面上でシンボルが変化する状態が表示される。 従 つて、 ュ一ザプログラムを実行プログラムの形態で送信するこ とによつ て、 イ ンタ一ネッ ト等のネッ トワーク上の端末装置でもホス ト コンビュ 一夕に蓄積されたデータを、 ホス トコ ンピュータと同様に検索して確認 することができる。

Claims

請 求 の 範 囲
1 . プログラマブル表示器に接続され、 当該プログラマブル表示器の 画面を示すデータを受け取る表示器側通信手段と、 .
受け取ったデータを端末装置が表示可能な形式に変換する変換手段と. ネッ トワークを介して上記端末装置と通信して、 上記変換手段によつ て形式変換されたデータを送信する端末側通信手段とを含んでいること を特徴とする制御用サーバ装置。 -
2 . 上記端末側通信手段が、 イ ンターネッ トを介して上記端末装置と 通信することを特徴とする請求項 1 に記載の制御用サーバ装置。
3 . 画面上の領域への表示に対応するデバイスのァ ドレスと画面上の ' 領域との対応関係を示す処理指示語を組み合わせて構成される画面デー 夕に基づいて、 各ア ドレスの内容を取得し、 その内容に応じて、 画面上 の領域にデバイスの状態を表示するプログラマブル表示器を有する制御 システムで使用され、 さらに、
端末装置と通信可能な端末側通信手段と、
• 上記端末側通信手段へア ドレスの内容を問い合わせる動作、 およぴ応 答に基づいてデバイスの状態を上記端末装置の画面領域のうち画面デー 夕が示す画面領域に対応する領域へ表示する動作を行うプログラムを生 成するように上記画面デ一ダを変換する変換手段とを含み、 '
上記端末側通信手段が、 上記変換手段によつて生成されたプログラム を上記端末装置へ送信すると共に、 上記プログラムが問い合わせるァ ド レスの内容を取得し、 上記端末装置へ送信することを特徴とする制御用 ' サーバ装置。
4 . 上記端末側通信手段が、 イ ンターネッ トを介して上記端末装置と ' 通信することを特徴とする請求項 3·に記載の制御用サーバ装置。
5 . 上記プログラマブル表示器が、 デバイ スを制御する制御装置に固 有の専用プロ トコルで制御装置と通信する専用プロ トコル通信手段、 上
5 記制御装置に拘らず予め定められた共通のプロ トコルで通信する共通プ 口 トコル通信手段、 および上記両プロ トコルを相互変換して、 専用プロ トコルによる通信と共通プロ トコルによる通信とを中継する中継手段を 有し、
上記端末側通信手段が、 上記デバイスのァ ドレスが制御装置の制御す 10 るデバイスを示している場合、 当該制御装置が接続されているプログラ マブル表示器へ上記共通プロ トコルで上記ァ ドレス内容の問い合わせ'を 送信すると共に、 上記共通プロ トコルによる当該プログラマブル表示器 からの応答に基づいて上記ァ ドレスの内容を取得することを特徴とする 請求項 3 に記載の制御用サーバ装置。
15 .6 . 上記端末側通信手段が、 イ ンターネッ トを介して上記端末装置と 通信するこ とを特徴とする請求項 5に記載の制御用サーバ装置。
7 . 画面上の領域への表示に対応するデバイスのァ ドレス、 画面上の 領域への入力に対応するデバイスのァ ドレス、 および画面上の領域の対 応関係を示す処理指示語を組み合わせて構成される画面データに基づい 20 て、 画面上の領域への入力に応じて、 当該領域に対応するア ドレスの内 容を変更するプログラマブル表示器を有する制御システムで使用され、 さらに、
端末装置と通信可能な端末側通信手段と、
上記端末装置の画面領域のうち画面データが示す画面領域に対応する ' 領域への入力に応じて上記端末側通信手段ヘア ドレスの内容変更を指示 する動作を行うプログラムを、 上記画面データを変換して生成する変換 手段とを含み、
上記端末側通信手段が、 .上記変換手段が生成したプログラムを上記端 末装置へ送信すると共に、 上記プログラムの内容変更指示に基づいて指 示されたァ ドレスの内容を変更することを特徴とする制御用サーバ装置
8 . 上記端末側通信手段が、 イ ンタ一ネッ トを介して上記端末装置と 通信することを特徴とする請求項 7に記載の制御用サーバ装置。
9 . 上記プログラマブル表示器が、 デバイスを制御する制御装置に固 有の専用プロ トコルで制御装置と通信する専用プロ トコル通信手段、 上 記制御装置に拘らず予め定められた共通のプロ トコルで通信する共通プ 口 トコル通信手段、 および上記両プロ トコルを相互変換して、 専用プロ トコルによる通信と共通プロ トコルによる通信とを中継する中継手段を 有し、 - 上記端末側通信手段が、 上記デバイスのァ ドレスが制御装置の制御す るデバイスを示している場合、 当該制御装置が接続されているプログラ マブル表示器へ上記共通プロ トコルで上記ァ ドレス内容の変更指示を送 信することを特徴とする請求項 7に記載の制御用サーバ装置。
1 0 . 上記端末側通信手段が、 イ ンターネッ トを介して上記端末装置 と通信することを特徴とする請求項 9に記載の制御用サーバ装置。
• 1 1 . デバイスを制御する制御装置に固有の専用プロ トコルで制御装 置と通信する専用プロ トコル通信手段、 上記制御装置に拘らず予め定め られた共通のプロ トコルで通信する共通プロ トコル通信手段、 および上 記両プロ トコルを相互変換して、 専用プロ トコルによる通信と共通プロ トコルによる通信とを中継する中継手段を有するプログラマブル表示器 と、
■ 上記プログラマブル表示器に接続され、 当該プログラマブル表示器の 画面を示すデータを受け取る表示器側通信手段、 受け取ったデ一タを端 末装置が表示可能な形式に変換する変換手段、 およびネッ トワークを介 して上記端末装.置と通信して、 上記変換手段が形式変換したデータを送 信する端末側通信手段とを有する制御用サーバ装置とを含んでいること を特徴とする制御システム。
1 2 . 制御用サーバ装置がプログラマブル表示器の画面を示すデータ を受け取る受信工程と、
上記受信工程で受け取ったデータを、 端末装置が表示可能な形式に変 換する変換工程と、
ネッ トワークを介して上記端末装置と通信して、 変換したデー夕を送 信する送信工程とを含んでいることを特徴とする通信方法。
1 3 . プログラマブル表示器に接続され、 当該プログラマブル表示器 の画面を示すデータを受け取る表示器側通信手段と、 ネッ トワークを介 して端末装置と通信する端末側通信手段とを備えたコンピュー夕を制御 用サーバ装置として動作させる通信制御プログラムであって、 ' 上記表示側通信手段が受け取ったデータを、 上記端末装置が表示可能 に変換する変換手段として上記コンピュータを動作させると共に、 上記 端末側通信手段を制御して、 上記変換手段が形式変換したデータを上記 端末装置に送信させる通信制御プログラムが記録された記録媒体。
1 4 . 制御プログラムに従って制御対象を制御する制御ュニッ ト、 お よび上記制御ュニッ ト とシリアルインタ一フヱ一スを介して通信して、 当該制御ュニッ トの制御状態を表示または制御する制御用表示装置を有 する口一カル制御システムに広域ネツ トヮ一クを介して接続可能な広域 ネッ トワーク通信手段と、
制御プログラムの転送先となる制御ュニッ トが設けられた口一力ル制 御システムを予め設定すると共に、 制御プログラム作成手段がシ リ アル ポ一トへ出力する制御プログラムをシリアルポートの代わりに受け取り - 制御プログラムと転送先の制御ュニッ ト とを示す指示データを当該ロー 力ル制御システムへ送信して、 制御プ口グラムの更新を指示するよう に 上記広域ネッ トワーク通信手段へ指示するシ リアルポート模擬手段とを 含んでいることを特徴とする制御用端末装置。
1 5 . 制御プログラムに従って制御対象を制御する制御ュニッ ト、 な らびに当該制御ュニッ トの制御状態を表示または制御する制御用表示装 置であって、 上記シリアルイ ンターフヱ一スを介し、 上記制御ユニッ ト の機種に専用のプロ トコルで通信して、 当該制御ュニッ トの制御状態を 表示または制御する専用プロ トコル通信手段と、 上記機種に独立して予 め定められた共通のプロ トコルにて、 上記シリアルイ ンタ一フェースと は別のネッ トワークと通信する共'通プロ トコル通信手段と、 上記共通お よび専用プロ トコル通信手段の通信を中継する中継手段とを有する制御 用表示装置を含むローカル制御システムと、
' 上記ローカル制御システムに広域ネッ トワークを介して接続可能な広 域ネッ トワーク通信手段、 および制御プログラムの転送先となる制御ュ ニッ トが設けられた口一カル制御システムを予め設定すると共に、 制御 プ口グラム作成手段がシリ アルポートへ出力する制御プログラムをシリ アルポートの代わりに受け取り、 制御プログラムと転送先の制御ュニッ ト とを示す指示データを当該ローカル制御システムへ送信して、 制御プ 口グラムの更新を指示するように上記広域ネッ トワーク通信手段へ指示 するシ リアルポ一ト模擬手段を有する制御用端末装置とを含み、
上記ローカル制御システムが、 上記広域ネッ トワークを介して、 上記 広域ネッ トワーク通信手段から受け取った指示データに基づいて、 送信 先の制御ュニッ トが接続された制御用表示装置を特定すると共に、 当該 制御用表示装置へ、 上記共通プロ トコルで上記ネッ トワークを介して制 御プログラムの更新を指示する表示装置特定手段を有していることを特 徴とする制御システム。
1 6 . 制御プログラムに従って制御対象を制御する制御ュニッ ト と、 上記制御ュニッ 卜 とシリアルイ ンタ一フヱ一スを介して通信して、 当該 制御ュニッ トの制御状態を表示または制御する制御用表示装置とが設け られたローカル制御システムに広域ネッ トワークを介して接続可能な広 域ネッ トワーク通信手段が設けられたコ ンピュータを制御用端末装置と して動作させるプログラムが記録された記録媒体であって、
制御プログラムの転送先となる制御ュニッ トが設けられたローカル制 御システムを予め設定すると共に、 制御プログラム作成手段がシリアル ポー トへ出力する制御プログラムをシリアルポートの代わりに受け取り · 制御プログラムと転送先の制御ュニッ ト とを示す指示データを当該ロー 力ル制御システムへ送信して、 制御プ口グラムの更新を指示するように 上記広域ネッ トワーク通信手段へ指示するシ リアルポート模擬手段とし て、 上記コ ンピュータを動作させるプログラムが記録された記録媒体。
1 7 . デバイスの状態を予め作成された表示用画面に表示すると共に 該デバイスへの制御指示を上記表示用画面を介して与える制御用表示装 置から上記表示用画面のデ一タである画面データおよび上記デバィスの 状態を示すデータであるデバイスデータを取得する取得手段と、
取得された上記画面デ一タおよび上記デバィスデータに基づいて、 端 末装置の表示面上に上記表示用画面を表示させるための端末用データを 生成する生成手段と、
上記端末用データを上記端末装置に送信するようにネッ トワークを介 して上記端末装置と通信する通信手段とを備えているこ とを特徴とする 制御システム。
1 8 . デバイスの状態を予め作成された表示用画面に表示すると共に 該デバイスへの制御指示を上記表示用画面を介して与える制御用表示装 置であって、 上記表示用画面のデ一タである画面データを記憶する記憶 手段と、 端末装置からの要求に応じて上記記憶手段に記憶された上記画 面データを送信する送信手段とを有する制御用表示装置と、
上記デバィスの状態を示すデー夕であるデバイスデータを上記制御用 表示—装置から取得すると共に、 ネッ トワークを介して上記端末装置と通 信可能である通信手段と、
送信された上記画面デー夕に対応する上記デバィスデータを上記通信 手段に問い合わせる動作と、 問い合わせへの応答に応じて上記端末装置 で上記表示用画面を表示する動作とを上記端末装置に実行させる実行プ ログラムを記憶する実行プログラム記憶手段と、
取得された上記画面デ一夕および上記デバィスデータに基づいて、 端 末装置の表示面上に上記表示用画面を表示させるための端末用デー夕を 生成する生成手段とを含み、
上記通信手段が、 上記端末装置に上記各動作を行わせるように上記実 ' 行プログラムおよび上記端末用デ一タを上記端末装置へ送信すると共に、 該端末装置が問い合わせるデバイスデータを取得して該端末装置に送信 することを特徴とする制御システム。
1 9 . デバイスの状態を予め作成された表示用画面に表示すると共に、 該デバイスへの制御指示を上記表示用画面を介して与える制御用表示装 置から上記表示用画面のデ一タである画面データおよび上記デバィスの 状態を示すデータであるデバィスデータを取得する取得処理と、
取得された上記画面デ一タおよび上記デバィスデータに基づいて、 端 末装置の表示面上に上記表示用画面を表示させるための端末用デ一タを 生成する'生成処理と、
上記端末用デ一タを上記端末装置に送信するようにネッ トワークを介 して上記端末装置と通信する通信処理とを実行する制御用通信プログラ ムを記録したコ ンピュータ読み取り可能な記録媒体。
2 0 . デバイスの状態を予め作成された表示用画面に表示すると共に- 該デバイスへの制御指示を上記表示用画面を介して与える制御用表示装 置であって、 上記表示用画面のデ一タである画面データを記憶する記憶 手段と、 端末装置からの要求に応じて上記記憶手段に記憶された上記画 面データを送信する送信手段とを有する制御用表示装置が設けられた制 御システムにて使用されるコ ンピュータで読み取り可能な記録媒体であ つて、
上記デバィスの状態を示すデ,一タであるデバイスデータを上記制御用 表示装置から取得すると共に、 ネッ トワークを介して上記端末装置と通 信可能である通信処理と、
送信された上記画面データに対応する上記デバィスデータを上記通信 処理に問い合わせる動作と、 問い合わせへの応答に応じて上記端末装置 で上記表示用画面を表示する動作とを上記端末装置に実行させる実行プ ログラムを記憶する実行プログラム記憶処理と、
取得された上記画面デー夕および上記デバィスデ一夕に基づいて、 端 末装置の表示面上に上記表示用画面を表示させるための端末用デ一タを 生成する生成処理とを実行する制御用通信プログラムを記録し、
上記通信処理が、 上記端末装置に上記各動作を行わせるように上記実 行プログラムおよび上記端末用データを上記端末装置へ送信すると共に, 該端末装置が問い合わせるデバイスデータを取得して該端末装置に送信 することを特徴とする記録媒体。
1 . デバイスの状態を予め作成された表示用画面に表示すると共に- 該デバイスへの制御指示を上記表示用画面を介して与える制御用表示装 置と、
上記制御用表示装置から上記デバィスの状態を示すデータであるデバ イスデータを取得する一方、 該デバイスデータを送信するサーバ側通信 手段を有するサーバ装置と、
上記表示用画面のデ一タである画面データを表示処理に適した形態で 格納する端末側格納手段、 該端末側格納手段に格納された上記画面デー 夕に対応する上記デバィスデータの取得を上記サーバ側通信手段に問い 合わせると共に、 上記サーバ側通信手段から送信された上記デバィスデ 一夕に応じて上記表示用画面を表示する表示処理手段、 ならびに該表示 処理手段による問い合わせおよびその応答である上記デバィスデ一タを 受けるための通信を上記サーバ側通信手段との間でローカルネッ トヮ一 クを介して行う端末側通信手段を有する複数の端末装置とを備えている ことを特徴とする制御システム。
2 2 . 上記サーバ装置が、 上記画面データを表示処理に適した形態で 格納するサーバ側格納手段、 および上記サーバ側通信手段と公開ネッ ト ワーク との間の通信を中継する通信中継手段を有し、 上記サーバ側通信 手段が、 上記サーバ側格納手段に格納された上記画面データを取得する 一方、 該画面データを上記通信中継手段に与え、
上記表示処理手段が、 上記サーバ側格納手段に格納された上記画面デ 一夕およびそれに対応する上記デバィスデ一夕の取得を上記公開ネッ ト ワークによる上記中継手段を介した中継通信で上記サーバ側通信手段に 問い合わせると共に、 上記サーバ側通信手段から上記中継通信で送信さ れた上記画面データおよびそれに対応する上記デバィスデータに応じて 上記表示用画面を表示し、 さ らに上記端末側格納手段に格納された画面 データを取得するときに上記サーバ側通信手段に上記ローカルネッ トヮ ークを介した通信を行わせる一方、 上記サーバ側格納手段に格納された 画面データを取得するときに上記サーバ側通信手段に上記公開ネッ トヮ 一クを介した通信を行わせることを特徴とする請求項 2 1 に記載の制御 システム。
2 3 . デバイスの状態を予め作成された表示用画面に表示すると共に. 該デバイスへの制御指示を上記表示用画面を介して与える制御用表示装 置と、 上記制御用表示装置から上記デバィスの状態を示すデータである デバイスデータを取得する一方、 該デバイスデータを送信するサーバ側 通信手段を有するサーバ装置と、 該サーバ装置と通信する複数の端末装 置とを備えた制御システムにおいて、
上記端末装置が有する上記表示用画面のデータである画面データを表 示処理に適した形態で格納する端末側格納手段に対する上記画面データ の格納処理と、
上記端末装置が有する、 該端末側格納手段に格納された上記画面デー タに対応する上記デバィスデータの取得を上記サーバ側通信手段に問い 合わせると共に、 上記サーバ側通信手段から送信された上記デバイスデ ―タに応じて上記表示用画面を表示する表示処理手段と、
該表示処理手段による問い合わせおよびその応答である上記デバィス デ一夕を受けるための通信を上記サーバ側通信手段との間で口一カルネ ッ トワークを介して行う端末側通信手段とをコ ンピュータに実行させる 通信制御プログラムが記録された記録媒体。
2 4 . 上記画面データを表示処理に適した形態で格納するサーバ側格 納手段、 および上記サーバ側通信手段と公開ネッ トワークとの間の通信 を中継する通信中継手段をさ らに有し、 上記サーバ側通信手段が、 上記 サーバ側格納手段に格納された上記画面デ一タを取得する一方、 該画面 デ一タを上記通信中継手段に与える上記サーバ装置における上記サーバ 側格納手段および上記サーバ側格納手段に対する上記画面データの格納 処理を上記通信制御プログラムがコンピュー夕に実行させ、
上記表示処理手段が、 上記サーバ側格納手段に格納された上記画面デ 一夕およびそれに対応する上記デバィスデータの取得を上記公開ネッ ト ワークによる上記中継手段を介した中継通信で上記サーバ側通信手段に 問い合わせると共に、 上記サーバ側通信手段から上記中継通信で送信さ れた上記画面デ一夕およびそれに対応する上記デバイ-スデータに応じて 上記表示用画面を表示し、 さ らに上記端末側格納手段に格納された画面 データを取得するときに上記サーバ側通信手段に上記口一カルネッ トヮ 一クを介した通信を行わせる一方、 上記サーバ側格納手段に格納された 画面データを取得するときに上記サーバ側通信手段に上記公開ネッ トヮ
―クを介した通信を行わせることを特徴.とする請求項 1 3 に記載の記録 媒体。
2 5 . 入力.機器および出力機器が接続された制御装置と、 該制御装置 による該入出力機器の制御状態を表示し、 かつ上記制御装置に制御指示 を与える表示型制御装置との間で専用ネッ トワークを介して制御装置に 固有の通信プロ トコルを用いて通信を行い、 上記表示型制御装置の上位 に設けられるホス トコンピュータと少なく とも 1 つの上記表示型制御装 置との間で共通ネッ トワークを介して共通の通信プロ トコルを用いて通 信を行う ことによつて上記制御装置に関するデータを集積する制御シス テムであって、
上記表示型制御装置が、 上記両ネッ トワークで用いられる通信プロ ト コルを上記両ネッ トワークで用いられる通信プロ トコルに互いに変換す るプロ トコル変換手段と、 予め設定されている配信条件が満たされたと きに上記制御装置の制御状態を表し実行されたユーザプログラム、 該ュ 一ザプログラムにおいて、 上記入出力機器のァ ドレスに対応付けられ、 ' 上記制御指示のデータおょぴ該制御指示データの結果として得られる上 記出力デ一タによって変化する各変化要素、 ならぴに該変化要素に対応 する上記制御指示デー夕および上記出力デ一タを上記ホス トコンピュ一 夕に配信する配信手段とを有し、
上記ホス トコンピュータが、 配信された上記ユーザプログラム、 上記 - 変化要素および上記雨デー夕を上記表示型制御装置単位で時系列に順次 ' 蓄積する蓄積手段と、 該蓄積手段に蓄積された上記ユーザプログラム、 上記変化要素および上記両データを連続して検索し、 かつ表示する検索 手段と、 端末装置からの要求に応じて上記検索手段によって検索された 上記ユーザプログラムを上記端末装置が実行可能な実行プログラムに変 換する変換手段と、 該実行プログラム、 上記変化要素および上記雨デー タを、 上記ユーザプログラムにおいて上記変化要素を上記両データに基 づいて変化させるように上記実行プログラムを実行する上記端末装置へ 送信する通信手段-とを有していることを特徴とする制御システム。
2 6 . 入力機器および出力機器が接続された制御装置と、 該制御装置 による該入出力機器の制御状態を表示し、 かつ上記制御装置に制御指示 を与える表示型制御装置との間で専用ネッ トワークを介して制御装置に 固有の通信プロ トコルを用いて通信を行い、 上記表示型制御装置の上位 に設けられるホス トコンピュ一タと少なく とも 1 つの上記表示型制御装 置との間で共通ネッ トワークを介して共通の通信プロ トコルを用いて通 信を行う ことによつて上記制御装置に関するデ一タを集積するデータ集 積方法であって、
上記表示型制御装置において、 上記両ネッ トワークで用いられる通信 プロ トコルを相互に変^すると共に、 予め設定されている配信条件が満 たされたときに上記制御装置の制御状態を表し実行されたユーザプログ ラム、 該ユーザプログラムにおいて、 上記入出力機器のァ ドレスに対応 付けられ、 上記制御指示のデー夕およぴ該制御指示データの結果として 得られる上記出力デ一タによつて変化する各変化要素、 ならびに該変化 要素に対応する上記制御指示データおよび上記出力データを上記ホス ト コンピュータに配信し、
上記ホス トコンピュータに配信された上記ユーザプログラム、 上記変 化要素および上記両データを上記表示型制御装置単位で時系列に順次蓄 積し、 蓄積された上記ユーザプログラム、 '上記変化要素および上記両デ 一夕を連続して検索し、 かつ表示し、 端末装置からの要求に応じて検索 • された上記ユーザプログラムを上記端末装置が実行可能な実行プログラ ムに変換し、 該実行プログラム、 上記変化要素および上記両データを、 上記ユーザプログラムにおいて上記変化要素を上記両デ一タに基づいて 変化させるように上記実行プログラムを実行する上記端末装置へ送信す ることを特徴とするデータ集積方法。
2 7 . 入力機器および出力機器が接続された制御装置と、 該制御装置 による該入出力機器の制御状態を表示し、 かつ上記制御装.置に制御指示 を与える表示型制御装置との間で専用ネッ トワークを介して制御装置に 固有の通信プロ トコルを用いて通信を行わせ、 上記表示型制御装置の上 位に設けられるホス トコンピュータ と少なく とも 1 つの上記表示型制御 装置との間で共通ネッ トワークを介して共通の通信プロ トコルを用いて 通信を行わせることによって上記制御装置に関するデータを集積するた めのプログラムを記録したコ ンピュー夕読み取り可能な記録媒体であつ て、
上記表示型制御装置において、 上記両ネッ トワークで用いられる通信 • プロ トコルを相互に変換すると共に、 予め設定されている配信条件が満 たされたときに上記制御装置の制御状態を表し実行されたユーザプログ ラム、 該ユーザプログラムにおいて、 上記入出力機器のァ ドレスに対応 付けられ、 上記制御指示のデータおよび該制御指示デー夕の結果と して 得られる上記出力データによつて変化する各変化要素、 ならびに該変化 要素に対応する上記制御指示データおよび上記出力データを上記ホス ト コンピュータに配信する処理と.、
上記ホス トコ ンピュータに配信された上記ユーザプログラム、 上記変 化要素および上記両データを上記表示型制御装置単位で時系列に順次蓄 積する処理と、 蓄積された上記ユーザプログラム、 上記変化要素および 上記両データを連続して検索し、 かつ表示する処理と、 検索された上記 ユーザプログラムを上記端末装置が実行可能な実行プログラムに変換し. 該実行プログラム、 上記変化要素および上記両データを、 上記ユーザプ 口グラムにおいて上記変化要素を上記両データに基づいて変化させるよ うに上記実行プログラムを実行する上記端末装置へ送信する処理とを実 行するためのプログラムを記録した記録媒体。
PCT/JP2001/002079 2000-03-17 2001-03-15 Serveur de commande, terminal de commande, systeme de commande et support d'enregistrement contenant un programme de communication de commande WO2001069334A1 (fr)

Priority Applications (8)

Application Number Priority Date Filing Date Title
US10/221,779 US7467231B2 (en) 2000-03-17 2001-03-15 Control server, control terminal, control system, and recording medium storing control communication program
EP01912414A EP1280027B1 (en) 2000-03-17 2001-03-15 Control server, control terminal, control system, and recording medium storing control communication program
AU2001241163A AU2001241163A1 (en) 2000-03-17 2001-03-15 Control server, control terminal, control system, and recording medium storing control communication program
DE60137921T DE60137921D1 (de) 2000-03-17 2001-03-15 Steuerserver, steuer-terminal, steuersystem und aufzeichnungsmedium-speichersteuerkommunikationsprogramm
CNB2004100898694A CN1306351C (zh) 2000-03-17 2001-03-15 控制用服务器装置、控制用终端装置、控制系统
US11/371,026 US7937496B2 (en) 2000-03-17 2006-03-09 Control server, control terminal, control system, and recording medium storing control communication program
US11/371,020 US7953892B2 (en) 2000-03-17 2006-03-09 Control server, control terminal, control system, and recording medium storing control communication program
US11/370,952 US7970941B2 (en) 2000-03-17 2006-03-09 Control server, control terminal, control system, and recording medium storing control communication program

Applications Claiming Priority (10)

Application Number Priority Date Filing Date Title
JP2000077002A JP3883775B2 (ja) 2000-03-17 2000-03-17 制御システム用サーバ装置、制御システム、制御システム用サーバ装置の通信方法、および、そのプログラムが記録された記録媒体
JP2000-77002 2000-03-17
JP2000095085A JP3618632B2 (ja) 2000-03-30 2000-03-30 制御用端末装置、制御システム、および、そのプログラムが記録された記録媒体
JP2000-95085 2000-03-30
JP2000099664A JP3621326B2 (ja) 2000-03-31 2000-03-31 データ集積システム、データ集積方法およびデータ集積のためのプログラムを記録した記録媒体
JP2000-99664 2000-03-31
JP2000277243A JP3847542B2 (ja) 2000-09-12 2000-09-12 制御システムおよびプログラムを記録した記録媒体
JP2000-277254 2000-09-12
JP2000-277243 2000-09-12
JP2000277254A JP3621336B2 (ja) 2000-09-12 2000-09-12 制御用通信システムおよび制御用通信プログラムを記録した記録媒体

Related Child Applications (4)

Application Number Title Priority Date Filing Date
US10221779 A-371-Of-International 2001-03-15
US11/371,026 Division US7937496B2 (en) 2000-03-17 2006-03-09 Control server, control terminal, control system, and recording medium storing control communication program
US11/370,952 Division US7970941B2 (en) 2000-03-17 2006-03-09 Control server, control terminal, control system, and recording medium storing control communication program
US11/371,020 Division US7953892B2 (en) 2000-03-17 2006-03-09 Control server, control terminal, control system, and recording medium storing control communication program

Publications (2)

Publication Number Publication Date
WO2001069334A1 true WO2001069334A1 (fr) 2001-09-20
WO2001069334A8 WO2001069334A8 (fr) 2001-11-29

Family

ID=27531454

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2001/002079 WO2001069334A1 (fr) 2000-03-17 2001-03-15 Serveur de commande, terminal de commande, systeme de commande et support d'enregistrement contenant un programme de communication de commande

Country Status (8)

Country Link
US (1) US7970941B2 (ja)
EP (3) EP1758002B1 (ja)
KR (3) KR100625604B1 (ja)
CN (3) CN1307495C (ja)
AU (1) AU2001241163A1 (ja)
DE (2) DE60139431D1 (ja)
TW (1) TW539990B (ja)
WO (1) WO2001069334A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1431877A2 (de) * 2002-09-20 2004-06-23 Sick AG Parametrier-/Diagnosesystem für Feldgeräte
WO2004057681A2 (de) * 2002-12-19 2004-07-08 Krauss-Maffei Kunststofftechnik Gmbh Verfahren für eine abbildgetreue, visuelle fernbedienung
JPWO2014020705A1 (ja) * 2012-07-31 2016-07-11 発紘電機株式会社 表示器管理システム、そのサーバ装置、プログラマブル表示器、運用制御方法

Families Citing this family (64)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1582948B1 (en) * 2004-03-31 2009-06-24 Omron Corporation Development aid device
JP4322770B2 (ja) * 2004-09-30 2009-09-02 株式会社デジタル 画面作成装置、画面作成プログラムおよびそれを記録した記録媒体
US20060095855A1 (en) * 2004-11-03 2006-05-04 Britt Clinton D HMI reconfiguration method and system
US20070055386A1 (en) 2004-11-03 2007-03-08 Rockwell Automation Technologies, Inc. Abstracted display building method and system
JP4426492B2 (ja) 2005-03-30 2010-03-03 Ykk株式会社 プログラマブル・ターミナル・システム
US20060224250A1 (en) * 2005-04-01 2006-10-05 Rockwell Automation Technologies, Inc. Industrial automation interface systems and methods
JP4806625B2 (ja) * 2006-02-20 2011-11-02 株式会社リコー 画像処理装置、画像処理方法、画像処理プログラム及び画像処理システム
US20070283260A1 (en) * 2006-06-06 2007-12-06 Yu-Feng Sun Human-machine Interface System with Device Bridge and Method for Designing and Operating the Same
JP2008165399A (ja) * 2006-12-27 2008-07-17 Fanuc Ltd シミュレーションデータ作成支援装置
FR2912275B1 (fr) * 2007-02-02 2009-04-03 Streamezzo Sa Procede de transmission d'au moins un contenu representatif d'un service, depuis un serveur vers un terminal, dispositif et produit programme d'ordinateur correspondants
JP2008250473A (ja) * 2007-03-29 2008-10-16 Fujifilm Corp 通信制御装置及び制御方法
DE102007029930A1 (de) * 2007-06-28 2009-01-02 Dürr Systems GmbH Verfahren und Vorrichtung zur Überwachung einer technischen Anlage
KR100915661B1 (ko) * 2007-08-17 2009-09-04 주식회사 마이다스엔지니어링 피엘씨 데이터 관리 시스템 및 방법
TWI417764B (zh) * 2007-10-01 2013-12-01 Giga Byte Comm Inc A control method and a device for performing a switching function of a touch screen of a hand-held electronic device
ITMO20080148A1 (it) * 2008-05-21 2009-11-22 Fantuzzi Reggiane Spa Sistema per la creazione e configurazione di una rete di dispositivi
CN101644919A (zh) * 2008-08-04 2010-02-10 施耐德电器工业公司 工业人机界面视觉检测系统和方法
US8519996B2 (en) 2008-09-30 2013-08-27 Rockwell Automation Technologies, Inc. Method and system for conversion of graphical representations of automation environments
US20130041479A1 (en) * 2008-10-15 2013-02-14 Shuo Zhang Automated control system and supervisor scheduler usable with same
KR101457563B1 (ko) 2008-11-11 2014-11-04 삼성전자주식회사 멀티 디스플레이 장치
JP5454783B2 (ja) * 2009-03-13 2014-03-26 オムロン株式会社 Plcのプログラミングにおける変数名の入力支援方法、plcのプログラミングにおける変数名の入力支援装置、及びコンピュータプログラム
WO2011108026A1 (ja) * 2010-03-04 2011-09-09 三菱電機株式会社 プログラマブル表示器を備えた制御システム及びプログラマブル表示器並びにその作画データ作成手段
KR101303866B1 (ko) 2010-10-19 2013-09-04 세메스 주식회사 기판 처리 장치의 모니터링 방법
CN103180789B (zh) 2010-10-27 2016-03-02 三菱电机株式会社 日志设定装置、日志设定方法
JP5879706B2 (ja) * 2011-03-15 2016-03-08 オムロン株式会社 制御システム、操作端末およびプログラム
WO2013084321A1 (ja) * 2011-12-07 2013-06-13 三菱電機株式会社 プログラマブル表示器用画面データ編集装置
KR101707698B1 (ko) * 2012-01-02 2017-02-27 엘에스산전 주식회사 다중 플랫폼을 위한 프로젝트정보 처리 장치 및 방법
JP6015068B2 (ja) * 2012-03-30 2016-10-26 オムロン株式会社 制御機器および制御機器の更新時間表示方法
JP6024326B2 (ja) * 2012-09-13 2016-11-16 オムロン株式会社 制御装置、制御システム、制御方法、プログラムおよびその記録媒体
JP5805612B2 (ja) * 2012-11-16 2015-11-04 株式会社デジタル プログラマブル表示器、制御プログラムおよび制御システム
CN104813246B (zh) * 2012-11-22 2017-06-30 三菱电机株式会社 程序生成辅助装置以及方法
US9769132B2 (en) * 2012-12-20 2017-09-19 Mitsubishi Electric Corporation Control system for securely protecting a control program when editing, executing and transmitting the control program
JP5934428B2 (ja) * 2013-02-28 2016-06-15 発紘電機株式会社 プログラマブル表示器、プログラマブルコントローラシステム、プログラム
KR101616683B1 (ko) * 2013-05-09 2016-04-29 미쓰비시덴키 가부시키가이샤 프로그래머블 표시기
US20150186119A1 (en) * 2013-12-31 2015-07-02 Rockwell Automation Technologies, Inc. Industrial automation device with editor and graphical object mobile visualization
JP6343953B2 (ja) * 2014-02-13 2018-06-20 オムロン株式会社 プログラマブル表示器、携帯端末装置、データ処理方法、およびプログラム
WO2015140908A1 (ja) 2014-03-17 2015-09-24 三菱電機株式会社 管理システム、ゲートウェイ装置、サーバー装置、管理方法、ゲートウェイ方法、管理処理実行方法及びプログラム
JP2016012172A (ja) * 2014-06-27 2016-01-21 オムロン株式会社 通信システム、プログラマブル表示器、情報処理装置、動作制御方法、情報処理方法、およびプログラム
EP3021557B1 (en) 2014-11-14 2019-07-10 Omron Corporation Control network system
JP5818050B1 (ja) * 2015-01-28 2015-11-18 ビックリック株式会社 ステータス判定システム
JP6325500B2 (ja) * 2015-09-17 2018-05-16 ファナック株式会社 Cncの動作状況をコメント中に追加表示可能なラダー図モニタ装置
KR102104532B1 (ko) * 2015-10-29 2020-04-27 미쓰비시덴키 가부시키가이샤 프로그래머블 표시기, 정보 처리 장치, 화면 데이터 작성 지원 프로그램, 및 화면 표시 시스템
JP6269643B2 (ja) 2015-12-01 2018-01-31 株式会社安川電機 産業機器システム、産業機器、端末装置、サーバ及び産業機器のパラメータ編集方法
CN107346125B (zh) * 2016-05-05 2019-11-19 中冶长天国际工程有限责任公司 一种移动机旁操作方法及系统
CN106325200B (zh) * 2016-08-30 2019-04-23 江苏永冠给排水设备有限公司 一种基于联网自助的次氯酸钠发生器设备群控系统的实现方法
CN106371390B (zh) * 2016-08-30 2018-12-28 江苏永冠给排水设备有限公司 一种基于次氯酸钠发生器设备控制系统的实现方法
CN106365249B (zh) * 2016-08-30 2019-04-23 江苏永冠给排水设备有限公司 一种基于去除硝酸盐水处理设备控制系统的实现方法
CN106444601B (zh) * 2016-08-30 2018-12-28 江苏永冠给排水设备有限公司 一种基于联网自助的去除硝酸盐水处理设备群控系统的实现方法
CN107797525B (zh) * 2016-08-31 2020-12-04 湖南中冶长天节能环保技术有限公司 一种生产参数智能管理方法、系统和移动终端服务器
JP2018067248A (ja) * 2016-10-21 2018-04-26 富士通株式会社 制御プログラム、制御方法、及び情報処理装置
CN108255124B (zh) 2016-12-28 2021-05-14 欧姆龙株式会社 对plc进行程序和参数传递的方法、装置和系统
JP2019003492A (ja) * 2017-06-16 2019-01-10 横河電機株式会社 機器管理装置、機器管理プログラム、および記録媒体
JP2019061299A (ja) * 2017-09-22 2019-04-18 オムロン株式会社 情報機器、端末装置およびプログラム
JP7077604B2 (ja) * 2017-12-21 2022-05-31 オムロン株式会社 操作受付装置、制御システム、制御方法、及び、制御プログラム
JP2019153201A (ja) * 2018-03-06 2019-09-12 株式会社東芝 モータ制御システム
JP6856048B2 (ja) * 2018-04-03 2021-04-07 オムロン株式会社 制御システムおよび制御方法
JP6473916B1 (ja) 2018-06-22 2019-02-27 ソフトサーボシステムズ株式会社 モーション制御プログラム、モーション制御方法及びモーション制御装置
KR102287969B1 (ko) 2018-06-22 2021-08-09 소프트 서보 시스템즈 가부시키가이샤 모션 제어 프로그램, 모션 제어 방법 및 모션 제어 장치
SG11202010173TA (en) 2018-06-22 2020-11-27 Soft Servo Systems Inc Motion control program, motion control method, and motion control device
CN108965271A (zh) * 2018-07-02 2018-12-07 汕头超声印制板(二厂)有限公司 一种secs/gem通讯方法
JP6870664B2 (ja) * 2018-07-10 2021-05-12 株式会社安川電機 制御システム、制御装置及びプログラム
JP7172397B2 (ja) * 2018-10-02 2022-11-16 オムロン株式会社 制御システム、サポート装置およびプログラム
JP7303424B2 (ja) * 2019-05-22 2023-07-05 オムロン株式会社 情報提供システム、サーバおよび情報提供方法
CN110347409B (zh) * 2019-07-12 2021-07-16 威创集团股份有限公司 自动控制方法、客户端和服务器
EP3809221A1 (en) * 2019-10-18 2021-04-21 CODESYS Holding GmbH Data coupling between an industrial controller unit and a visualization unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225831A (ja) * 1994-02-11 1995-08-22 Digital:Kk 表示制御装置用のデータ作成支援装置
JPH08286734A (ja) * 1995-04-12 1996-11-01 Idec Izumi Corp プログラマブル表示器
JPH0916215A (ja) * 1995-06-30 1997-01-17 Idec Izumi Corp プログラマブル表示器
JPH10333896A (ja) * 1997-06-04 1998-12-18 Omron Corp テーブルリファレンス方法および装置

Family Cites Families (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US700023A (en) * 1901-09-06 1902-05-13 William N Shinn Carpenter's tool.
JPH0969001A (ja) 1995-09-01 1997-03-11 Fuji Electric Co Ltd 操作表示器
JPH09108998A (ja) 1995-10-18 1997-04-28 Kubota Corp 生産システムにおける設備履歴管理方法
ES2136467T3 (es) * 1996-01-17 1999-11-16 Siemens Ag Aparato de automatizacion.
JP3378148B2 (ja) 1996-07-24 2003-02-17 三菱電機株式会社 遠隔地監視装置
JPH10224386A (ja) 1997-02-07 1998-08-21 Digital Electron Corp データ通信方法
JPH10254513A (ja) 1997-03-06 1998-09-25 Toshiba Mach Co Ltd プログラマブルロジックコントローラ用通信プロトコル変換器
US6199104B1 (en) * 1997-04-28 2001-03-06 Sabre Inc. Server-based host monitor
JP3739897B2 (ja) 1997-07-07 2006-01-25 株式会社東芝 プログラマブルコントローラ
JP3338634B2 (ja) 1997-07-09 2002-10-28 株式会社デンソー 分散処理型の制御装置
JPH1185224A (ja) 1997-09-10 1999-03-30 Toshiba Corp プログラムローディング装置
US6282454B1 (en) 1997-09-10 2001-08-28 Schneider Automation Inc. Web interface to a programmable controller
US6321272B1 (en) * 1997-09-10 2001-11-20 Schneider Automation, Inc. Apparatus for controlling internetwork communications
JPH11109933A (ja) 1997-09-30 1999-04-23 Fuji Electric Co Ltd 監視制御システム
JP3400315B2 (ja) * 1997-09-30 2003-04-28 株式会社デジタル プロフィバスデータ伝送方式
JPH11122679A (ja) 1997-10-14 1999-04-30 Katsumata Denki Seisakusho:Kk 遠隔監視制御方式および遠隔監視制御方法
JPH11266287A (ja) 1997-12-04 1999-09-28 Olympus Optical Co Ltd 分散制御システム
JP3550292B2 (ja) 1997-12-19 2004-08-04 株式会社東芝 コントローラシステム
JPH11249713A (ja) 1998-03-05 1999-09-17 Keyence Corp 遠隔入出力装置用親局ユニット
DE19812901A1 (de) * 1998-03-18 1999-09-23 Bb Data Inf & Komm Syst Gmbh Computernetz mit Daten- oder Kommunikationsendsystemen
KR100264149B1 (ko) * 1998-04-14 2000-08-16 이종수 이더넷 통신모듈 및 그의 제어방법
DE19818041B4 (de) * 1998-04-22 2008-04-03 Siemens Ag Verfahren zur Erzeugung einer Oberfläche zum Bedienen und Beobachten von Leitsystemen
KR100451315B1 (ko) 1998-04-27 2004-10-11 가부시끼가이샤 디지탈 제어시스템, 표시장치 및 제어용 호스트 컴퓨터 및 데이터전송방법
JPH11345149A (ja) 1998-06-01 1999-12-14 Mitsubishi Electric Corp リモートメンテナンスシステム
JP2000004252A (ja) 1998-06-15 2000-01-07 Ricoh Co Ltd ネットワーク通信システムの制御方法
US6363422B1 (en) * 1998-06-24 2002-03-26 Robert R. Hunter Multi-capability facilities monitoring and control intranet for facilities management system
US6300947B1 (en) * 1998-07-06 2001-10-09 International Business Machines Corporation Display screen and window size related web page adaptation system
JP3479222B2 (ja) 1998-07-28 2003-12-15 株式会社デジタル プログラム式表示装置用の表示画面作成支援装置
JP3455681B2 (ja) 1998-08-20 2003-10-14 株式会社東芝 広域プラント監視制御システム
US6496862B1 (en) * 1998-08-25 2002-12-17 Mitsubishi Electric Research Laboratories, Inc. Remote monitoring and control of devices connected to an IEEE 1394 bus via a gateway device
DE29823119U1 (de) * 1998-12-28 1999-02-25 Siemens AG, 80333 München Automatisierungsgerät
JP2000194416A (ja) 1998-12-28 2000-07-14 Canon Inc デ―タ表示装置及び方法
US7230582B1 (en) * 1999-02-12 2007-06-12 Fisher-Rosemount Systems, Inc. Wearable computer in a process control environment
US6538673B1 (en) * 1999-08-23 2003-03-25 Divine Technology Ventures Method for extracting digests, reformatting, and automatic monitoring of structured online documents based on visual programming of document tree navigation and transformation
US6477529B1 (en) * 1999-12-06 2002-11-05 Research In Motion Limited Apparatus and method for dynamically limiting information sent to a viewing device
US6751650B1 (en) * 2000-01-31 2004-06-15 Journyx, Inc. Method and apparatus for monitoring contractor performance
US6593944B1 (en) * 2000-05-18 2003-07-15 Palm, Inc. Displaying a web page on an electronic display device having a limited display area
JP3822024B2 (ja) * 2000-05-24 2006-09-13 シャープ株式会社 データ転送装置
US6690394B1 (en) * 2000-10-24 2004-02-10 Alex J. Harui Method and apparatus for delivering web data to a wireless device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225831A (ja) * 1994-02-11 1995-08-22 Digital:Kk 表示制御装置用のデータ作成支援装置
JPH08286734A (ja) * 1995-04-12 1996-11-01 Idec Izumi Corp プログラマブル表示器
JPH0916215A (ja) * 1995-06-30 1997-01-17 Idec Izumi Corp プログラマブル表示器
JPH10333896A (ja) * 1997-06-04 1998-12-18 Omron Corp テーブルリファレンス方法および装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1280027A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1431877A2 (de) * 2002-09-20 2004-06-23 Sick AG Parametrier-/Diagnosesystem für Feldgeräte
EP1431877A3 (de) * 2002-09-20 2005-12-07 Sick AG Parametrier-/Diagnosesystem für Feldgeräte
US7082340B2 (en) 2002-09-20 2006-07-25 Sick Ag Parameterization and diagnostic system for field devices
WO2004057681A2 (de) * 2002-12-19 2004-07-08 Krauss-Maffei Kunststofftechnik Gmbh Verfahren für eine abbildgetreue, visuelle fernbedienung
WO2004057681A3 (de) * 2002-12-19 2005-02-10 Krauss Maffei Kunststofftech Verfahren für eine abbildgetreue, visuelle fernbedienung
JPWO2014020705A1 (ja) * 2012-07-31 2016-07-11 発紘電機株式会社 表示器管理システム、そのサーバ装置、プログラマブル表示器、運用制御方法

Also Published As

Publication number Publication date
DE60139431D1 (de) 2009-09-10
CN1607481A (zh) 2005-04-20
CN1206578C (zh) 2005-06-15
KR20020086926A (ko) 2002-11-20
AU2001241163A1 (en) 2001-09-24
EP1752843A2 (en) 2007-02-14
US20060179120A1 (en) 2006-08-10
EP1280027A4 (en) 2004-09-15
KR100625604B1 (ko) 2006-09-20
KR100706650B1 (ko) 2007-04-13
TW539990B (en) 2003-07-01
CN1307495C (zh) 2007-03-28
EP1758002A1 (en) 2007-02-28
KR20060096124A (ko) 2006-09-06
DE60137921D1 (de) 2009-04-23
CN1418332A (zh) 2003-05-14
EP1280027A1 (en) 2003-01-29
WO2001069334A8 (fr) 2001-11-29
US7970941B2 (en) 2011-06-28
CN1306351C (zh) 2007-03-21
CN1607480A (zh) 2005-04-20
KR100706648B1 (ko) 2007-04-13
EP1752843A3 (en) 2007-02-28
EP1752843B1 (en) 2011-07-27
EP1280027B1 (en) 2009-03-11
EP1758002B1 (en) 2009-07-29
KR20060096125A (ko) 2006-09-06

Similar Documents

Publication Publication Date Title
WO2001069334A1 (fr) Serveur de commande, terminal de commande, systeme de commande et support d&#39;enregistrement contenant un programme de communication de commande
US7467231B2 (en) Control server, control terminal, control system, and recording medium storing control communication program
CN100368988C (zh) 编辑装置
US7275096B2 (en) Computerized system and method for web enabling and/or web management of embedded applications
JP3925557B2 (ja) パラメータ設定装置
CN106383456A (zh) 方法和人机接口
JP2003076405A (ja) 制御用表示装置、制御システム、制御プログラムおよびそれを記録した記録媒体
JP4462443B2 (ja) パラメータ設定装置
JP3621326B2 (ja) データ集積システム、データ集積方法およびデータ集積のためのプログラムを記録した記録媒体
CN104793506A (zh) 面向物联网智能家庭设备控制的可移植控制方法及系统
JP2001282326A (ja) プログラマブル表示器の画面シミュレーション装置、画面シミュレーション方法および画面シミュレーションのためのプログラムを記録した記録媒体
JP3621336B2 (ja) 制御用通信システムおよび制御用通信プログラムを記録した記録媒体
JP2002091911A (ja) ネットワーク情報作成方法およびそのプログラムを記録した記録媒体ならびにその方法を実行する制御用通信システム
JP3638878B2 (ja) 制御システム、そのプログラム、および、それが記録された記録媒体
CN107561950A (zh) 楼宇中控制器的编程方法及提供控制器编程工具的服务器
JP2002091912A (ja) 制御システム
Rongiers Digital Twin of the Vertical Warehouse Application
JP3730101B2 (ja) 制御システム、制御システムのデータ書込/読出方法およびそのデータ書込/読出のためのプログラムを記録した記録媒体
JP2001282315A (ja) 制御用サーバ装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
AK Designated states

Kind code of ref document: C1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: C1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

CFP Corrected version of a pamphlet front page

Free format text: UNDER (72, 75) REPLACE "TANIGAWA, SHUNU (JP/JP)" BY "TANIGAWA, SHUNU (KR/KR)

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 018066925

Country of ref document: CN

Ref document number: 1020027012219

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2001912414

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020027012219

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 10221779

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 2001912414

Country of ref document: EP

WWR Wipo information: refused in national office

Ref document number: 1020027012219

Country of ref document: KR