WO2014083646A1 - Programmable indicator and program - Google Patents

Programmable indicator and program Download PDF

Info

Publication number
WO2014083646A1
WO2014083646A1 PCT/JP2012/080792 JP2012080792W WO2014083646A1 WO 2014083646 A1 WO2014083646 A1 WO 2014083646A1 JP 2012080792 W JP2012080792 W JP 2012080792W WO 2014083646 A1 WO2014083646 A1 WO 2014083646A1
Authority
WO
WIPO (PCT)
Prior art keywords
item
data
predetermined
error
display
Prior art date
Application number
PCT/JP2012/080792
Other languages
French (fr)
Japanese (ja)
Inventor
欣史 古山
Original Assignee
発紘電機株式会社
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
Application filed by 発紘電機株式会社 filed Critical 発紘電機株式会社
Priority to CN201280069482.5A priority Critical patent/CN104106014B/en
Priority to PCT/JP2012/080792 priority patent/WO2014083646A1/en
Priority to JP2014549696A priority patent/JP5970080B2/en
Priority to TW102140702A priority patent/TWI594095B/en
Publication of WO2014083646A1 publication Critical patent/WO2014083646A1/en

Links

Images

Classifications

    • 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/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14097Display of error messages

Definitions

  • the present invention relates to a programmable display.
  • a programmable display is connected to various connected devices such as a PLC main body and a temperature control device, and items such as numerical displays and lamps for displaying the status of these connected devices, and for users to give arbitrary instructions. Displays an image of items such as switches. An item is also called a screen component or the like.
  • images of a plurality of screen components (items) are displayed on the screen of the programmable display (referred to as an operation display screen).
  • Data or the like for displaying such an operation display screen (referred to as screen data or the like) is arbitrarily created in advance by a developer or the like in a support device (not shown) and downloaded from the support device to a programmable display. .
  • the screen data includes, for each item, data such as an image of the item (switch image or lamp image), display position coordinates, and an address (assigned memory address) of a predetermined area of the external memory described later. It is. In addition, some programs may be included.
  • Each of the above items displays the status of the component corresponding to an arbitrary component of an arbitrary connected device, or accepts an ON / OFF instruction for the component.
  • the current temperature is displayed as a numerical value as needed.
  • the display control related to the various items is realized by, for example, periodically executing predetermined processing for each item.
  • the predetermined processing is, for example, reading stored data in the predetermined area (allocated memory) of a memory device (external memory) in the connected device, and determining / displaying the display contents of the item based on the stored data.
  • the connected device updates the stored data in a predetermined area of the external memory as needed (for example, the temperature measurement value is updated as needed in the temperature control device).
  • the data read from the external memory is temporarily stored in a predetermined area of a memory device (referred to as internal memory) in the programmable display, and the display contents of the item are determined and displayed based on the stored data.
  • a memory device referred to as internal memory
  • the process of reading out the data stored in the external memory and storing it in the internal memory is executed, for example, periodically by a predetermined functional unit of the programmable display (here, a communication unit not shown).
  • the communication unit communicates with various connected devices such as the PLC main body and the temperature control device, for example, acquires data stored in a predetermined storage area of the external memory in the connected device, and stores the data in the internal device Overwrite and store in a predetermined area of memory.
  • the function part (it shall be called an item display part) which performs the display control which concerns on the said various items in a programmable display controls an item display content by accessing an internal memory regularly.
  • the data acquisition process of the external memory fails if there is a communication error with the connected device, or if there is any abnormality (including temporary memory) in the external memory itself or its specified storage area. There is.
  • the item display unit displays a window for notifying an error such as “occurrence of communication error with the PLC main body” on the screen. And cautioned the user.
  • Patent Document 1 discloses that an external video is displayed as an overlay on the original operation screen.
  • JP 2002-140104 A discloses that an external video is displayed as an overlay on the original operation screen.
  • a communication error with a connected device is detected and a warning is displayed. This can be said to warn that the display content of the item related to the connected device in which a communication error or the like has occurred is in an unreliable state (not the current value, etc.).
  • An object of the present invention is to specify the item and display an error corresponding to the item display when the memory data associated with an arbitrary item cannot be obtained for some reason. It is to provide a programmable display or the like that can distinguish an abnormal item display at a glance.
  • the programmable display of this invention is a programmable display connected to a predetermined connection apparatus, Comprising: It has a communication processing means, an item display means, and an error notification means.
  • the communication processing means reads the data held in the storage area of the predetermined connected device.
  • the item display means displays each item indicating various states of the predetermined connected device based on the data read by the communication processing means.
  • the error notification means displays a predetermined error image corresponding to the item related to the reading failure when the data reading process by the communication processing means fails.
  • FIG. 1 is a schematic configuration diagram of the entire system including the programmable display 1 of this example.
  • the programmable controller system shown in FIG. 1 includes various connection devices 4 and a programmable display 1 that is connected to the various connection devices 4 via a communication line 6. Furthermore, the structure by which the programmable display 1 was connected to the drawing editor apparatus 5 via the communication line 3 may be sufficient. However, the drawing editor device 5 is not necessarily required (only an example is shown).
  • the programmable display 1 is provided with a plurality of communication interfaces 2 (communication ports), and is connected to various connection devices 4 and the drawing editor device 5 by the communication line 3 / communication line 6 connected to each communication interface 2. ing.
  • FIG. 2 is a configuration example of the programmable display 1 of this example.
  • the programmable display device 1 has a function of displaying the operation display screen based on the above-described screen data and the like in substantially the same manner as the above-described conventional example, but further, an item related to the error when a specific error occurs It has a function of displaying a specific mark or the like corresponding to the display. Details will be described later.
  • the illustrated programmable display 1 includes a display operation control device 10, a touch panel 18, a display 19, the communication interface 2, and the like.
  • the display operation control device 10 includes a CPU 11, a ROM 12 (flash memory or the like), a RAM 13, a communication controller 14, a graphic controller 15, a touch panel controller 16, and the like, which are connected to a bus 17.
  • the CPU 11 is a central processing unit (arithmetic processor) that controls the entire display operation control device 10.
  • the CPU 11 performs a predetermined calculation operation (processing) by executing a program (for example, a main body program 21 described later) stored in the ROM 12 in advance. For example, the processing described in FIG. 5, FIG. 7, FIG.
  • Various calculation results are stored in, for example, the RAM 13 or the ROM 12.
  • the ROM 12 stores the screen data (screen data 22 described later) and the like described in the background art.
  • the screen data includes, for each item such as the above-described switch, lamp, etc., data related to display such as an image of the item, display position coordinates and size, and the allocated memory address (allocated memory area). Data relating to memory access, etc.
  • the processing of the CPU 11 includes, for example, processing for acquiring “storage data such as an allocated memory address for each item” (storage data in a predetermined area of the external memory) described in the background art. This acquired data is temporarily stored, for example, in the shared memory 45 described later. Note that the shared memory 45 may be a part of the storage area of the RAM 13 or the ROM 12 or may be another memory (not shown).
  • display target data based on, for example, the screen data or the acquired data is developed (drawn) on, for example, the RAM 13 (or a video RAM (not shown)) by the processing of the CPU 11.
  • the graphic controller 15 displays the above-described operation display screen on the display 19. For example, when a lamp is taken as an example, the screen data includes a turn-off image and a turn-on image. If the acquired data is “0”, the turn-off image is displayed. It becomes data.
  • the display processing itself of the operation display screen based on the screen data and the acquired data may be substantially the same as the conventional one.
  • a specific mark (! Etc.) to be described later may be displayed.
  • the contents of the acquired data may be reflected in the display contents of the operation display screen as described above.
  • the stored data is changed to ‘0’ while the lighting image is displayed because the acquired data at a certain time is ‘1’.
  • acquisition of the stored data fails for some reason, the lit image remains displayed even though it must be switched to the extinguished image.
  • the lighting image is still displayed in such a case.
  • a specific mark (! Or the like) described later is displayed in correspondence with this lighting image (overlaid on this lighting image; or near this lighting image).
  • the operator or the like can recognize that the display of the lighting image may be wrong (does not reflect the current state; it remains in the past state).
  • the display 19 is made of, for example, a liquid crystal panel, and a touch panel 18 is provided so as to overlap the liquid crystal panel.
  • the operation display screen is basically displayed in which a plurality of item images are arranged at predetermined positions. However, in the case of this method, a specific mark (! Etc.) may be further displayed as described above.
  • the communication controller 14 performs communication (data transmission / reception etc.) with the connection device 4 and the drawing editor device 5 such as a PLC main body (not shown), a temperature control device, etc.
  • the detection result of the pressing operation (touch) position on the touch panel 18 by the operator or the like is taken into the CPU 11 or the like via the touch panel controller 16 and analyzed. For example, analysis is performed based on the display position coordinates and size data of each item. For example, when an operator or the like touches the display position of the image of the switch, the CPU 11 or the like analyzes that an operation on the switch has been performed.
  • FIG. 3 shows a software configuration diagram of the system.
  • various programs / data such as a main body program 21, screen data 22, and communication program 23 are stored in, for example, the ROM 12 (flash memory or the like).
  • the CPU 11 reads / executes / references these programs / data, etc., thereby performing display control of the operation display screen for the programmable display.
  • This operation display screen includes the above-described numerical display, image display of various items such as lamps, switches, and the like.
  • the display content of each item image is, for example, data acquired from each connected device 4 (external memory; allocated memory area) ( It is updated from time to time to reflect the above acquired data.
  • the CPU 11 performs processing based on the main body program 21 and the screen data 22, whereby the operation display screen is displayed.
  • the display contents of each screen component on this operation display screen are shown in the communication result with each connected device 4 by the communication program 23 (the acquired data etc.). Based on this, it is updated as needed.
  • the screen data 22 is stored, for example, by downloading a screen data file 32 arbitrarily created in advance on the drawing editor device 5 side to the programmable display device 1.
  • the communication program 23 is a program in which, for example, a communication program file 33 (part thereof) stored in advance on the drawing editor device 5 side is downloaded and stored in the programmable display device 1.
  • the CPU 11 performs display control of the operation display screen based on the main body program 21, screen data 22, acquired data, and the like. For example, regarding an item such as a numerical display or a lamp, data is periodically read from the allocated memory area of the item, and the display content of the item is updated based on the read data. Alternatively, for example, regarding an item such as a switch, when a user touches a desired switch on the operation display screen (when an ON / OFF operation is performed), switch ON image display / switch OFF image display is performed. The CPU 11 also controls the connection device 4 according to the switch operation.
  • the allocated memory area corresponds to a predetermined storage area (allocated memory address) of the external memory in the background art.
  • a memory corresponding to the external memory is referred to as “device memory”.
  • a memory corresponding to the internal memory is referred to as a “display memory”.
  • the “device memory” is a memory provided in the connected device 4 and is used for memory allocation of each item. As described above, the display content of each item is determined and updated based on the stored data in the allocated memory area.
  • the read data from the allocated memory area is temporarily stored in the “display memory” (internal memory) in the programmable display 1, and the item display control is performed based on this.
  • display memory internal memory
  • the communication program 23 of the programmable display 1 is a program for communicating with the connection device 4 via the communication line 6.
  • each connected device 4 has a communication protocol (communication rule) unique to each model and performs communication between the programmable display 1 and the connected device 4 in accordance with this communication rule. Therefore, the communication program 23 needs to be developed for each model of each connected device 4.
  • the CPU 11 and the like execute the communication program 23 to realize communication processing with the connected device 4.
  • the communication between the programmable display 1 and the drawing editor device 5 is performed by, for example, the main body program 21 and the drawing editor 31 (a communication function is incorporated in the drawing editor 31). This is not particularly relevant and will not be shown or described.
  • the connection device 4 such as the PLC main body has various manufacturers and models, each manufacturer / model has its own communication program, and the communication program 23 depends on the manufacturer / model of the connection device 4 depending on the case. Multiple types will be provided.
  • the communication program 23 is normally stored in advance as a plurality of communication program files 33 (a plurality of communication programs developed for each model) in an HD (hard disk) (not shown) in the drawing editor device 5. Then, when the user selects / designates an arbitrary connected device 4 using the drawing editor 31, the drawing editor device 5 transfers the communication program file 33 corresponding to the selected connected device 4 to the programmable display device 1, The communication program 23 is stored.
  • Access to the device memory in the connected device 4 is performed by various settings of the drawing editor 31 (settings when creating the screen data file 32). For example, when the user arranges a numerical display item in the screen at the time of creating the screen data file 32 and designates an arbitrary address of the device memory with respect to the numerical display item, the programmable display device 1 has the designated address of the device memory. You can set the operation to read and display data periodically. In other words, if this screen data file 32 is downloaded to the programmable display device 1 and used as the screen data 22, the programmable display device 1 periodically reads the data at the specified address in the device memory (further acquired data). Are temporarily stored in the display memory), and numerical values are displayed on the screen based on the acquired data.
  • a program for realizing various processes such as access to the device memory, temporary storage of acquired data, and screen display may be included in the main body program 21, for example, or the screen data file 32 (screen data 22). May be included.
  • the CPU 11 executes such a program, for example, the above-described various operations (or operations described in FIGS. 5, 7, and 8 described later) are realized.
  • the screen data file 32 when the screen data file 32 is created, for example, when a switch is arranged in the screen and an arbitrary address of the device memory is designated as an output memory, the device is displayed when the switch is pressed on the display operation screen of the programmable display 1. You can set the operation to write to the specified memory address.
  • the access processing to the device memory and the update processing of the item display content itself may be substantially the same as the conventional one.
  • a specific mark (! Or the like), which will be described later, may be displayed on the operation display screen (for example, when a communication error with an arbitrary connected device 4 occurs). This will be described in detail below with reference to FIG.
  • FIG. 4 shows an example of the operation display screen when a specific error occurs in the programmable display 1 of this example.
  • the specific error is a failure in reading data (data acquisition) from the allocated memory area of the device memory related to an arbitrary item, and may be caused by a communication error with the connected device 4, for example.
  • Corresponding to the image display of the item related to the data acquisition failure it is one of the features of the present method to display a specific mark registered in advance (here, the! Mark shown in the figure).
  • a specific mark (!) which is an example of a predetermined error image, is displayed so as to partially overlap each item image shown.
  • the present invention is not limited to this example.
  • a specific mark (!) May be displayed near each item image.
  • the specific mark (!) Is displayed in correspondence with the image display of the item related to the data acquisition failure.
  • the predetermined error image is, for example, some kind of still image, and an example of this still image is the above “!”.
  • the predetermined error image is not limited to this example, and is any kind of still image registered in advance. Good.
  • the predetermined error image is not limited to a still image, and may be a moving image, a photograph, a sentence, an animation, or a combination thereof.
  • a certain still image, a pre-registered still image, a moving image, a photograph, a sentence, an animation, or a combination thereof is defined as a predetermined error image (also referred to as an error image).
  • FIG. 5 is a processing function diagram of the programmable display of this example.
  • a predetermined program for example, the main body program 21, the communication program 23, etc.
  • various processing function units shown in a dotted line in FIG. 5 are realized. That is, the following processing functions of various processing function units such as the item generation unit 41, the item processing schedule unit 42, the item processing unit 43, and the communication processing unit 44 (44-1, 44-2, etc.) shown in the figure are realized.
  • the item generation unit 41, the item processing schedule unit 42, and the item processing unit 43 are realized by the main body program 21.
  • the communication processing unit 44 is realized by the main body program 21 and the communication program 23.
  • the screen data 22 and the error display image data 47 shown in the figure are used.
  • the error display image data 47 is the specific mark (in this example!) Stored in advance in the ROM 12 or the like in this example, but is not limited to this example.
  • the item generation unit 41 generates an item list 46 based on the screen data 22 or the like. This is generated, for example, by extracting a part of the screen data 22 (further, a processed flag 67 described later is added).
  • FIG. 9A shows a data configuration diagram of the item list 46.
  • the item list 46 in the illustrated example includes data items of item type 61, coordinates 62, size 63, device name 64, address 65, “data for each item type” 66, and processed flag 67. Except for the processed flag 67, it may be regarded as the same as the conventional one, and will be briefly described below.
  • the item type 61 stores item type identification information indicating the type of the item (switch, lamp, numerical display, etc.).
  • “Data for each item type” 66 stores accompanying information such as image data of the item (item image; an image of any switch if the item type is a switch).
  • Data indicating the display position and size of the item image on the screen is stored in the coordinates 62 and size 63. These are data related to image display on the operation display screen of each item.
  • the device name 64 and the address 65 are memory allocation information related to each item, and correspond to the allocated memory address. That is, the storage area indicated by the address 65 in the memory indicated by the device name 64 is an area assigned to the item (the assigned memory area). For example, if the item type 61 is a lamp, flag data indicating lighting / extinguishing of the lamp is stored in this storage area.
  • the memory indicated by the device name 64 is the device memory (memory in any connected device 4).
  • the item processing schedule unit 42 performs schedule management such as display state update processing of each item image by the item processing unit 43. That is, the item processing schedule unit 42 periodically calls the item processing unit 43, for example, and executes, for example, the processing of FIG. 8 described later (in other words, the processing of FIG. 8 is executed cyclically).
  • the item processing unit 43 executes processing (processing as an item display unit) related to updating the display contents of the image for each item based on the item list 46 and data stored in the shared memory 45 described later. To do. At this time, the present technique further displays a specific mark (! In some cases.
  • the item processing unit 43 corresponds to the image display of an item related to a specific error (data acquisition failure related to item display; for example, a communication error with the connected device 4 or the like) (for example, a partly overlapping form). And) processing for displaying the error display image data 47 (specific mark (!) (Processing as error notification means) is also performed. Details will be described later using a specific example of data stored in the shared memory 45 shown in FIG.
  • the shared memory 45 corresponds to the display memory.
  • the item processing unit 43 draws (decompresses) each item image on the RAM 13. At that time, depending on the type of item, the acquired data is also drawn (developed) on the RAM 13 together. As a result, the graphic controller 15 displays the drawing data on the display, whereby the display operation screen is displayed. This drawing data is updated by the item processing unit 43 as needed, for example, every time processing shown in FIG. In some cases, the specific mark (! Or the like is also drawn, resulting in a display as shown in FIG. 4, for example.
  • the communication processing unit 44 is a communication processing unit 44-1 or 44-1 (communication processing unit) provided corresponding to each connected device 4 (4-1 or 4-2). That is, the illustrated communication processing unit 44-1 communicates with the connected device 4-1 via the communication line 6 using the communication port WAY1 corresponding to the connected device 4-1, and the device memory Stored data in a predetermined area (allocated memory area). The acquired data is overwritten and stored in a predetermined area of the shared memory 45.
  • the communication processing unit 44-2 shown in the figure performs communication with the connection device 4-2 via the communication line 6 using the communication port WAY2 corresponding to the connection device 4-2.
  • Data stored in a predetermined area (allocated memory area) of the memory is acquired.
  • the acquired data is overwritten and stored in a predetermined area of the shared memory 45.
  • the acquisition processing of the storage data in the allocated memory area and the storage processing itself in the shared memory may be substantially the same as in the past.
  • the shared memory 45 Record error information in the corresponding area.
  • This corresponding area is a column of error information 55 to be described later of the corresponding record on the shared memory 45 related to this item when there is a data acquisition failure related to an arbitrary item, for example.
  • the specific mark (!) Is drawn for an item for which data acquisition has failed.
  • a specific mark (!) Is displayed on the operation display screen corresponding to the image of the item for which data acquisition has failed.
  • FIG. 6 shows a specific example of the shared memory 45.
  • FIG. 6A shows a data structure example of the shared memory 45
  • FIG. 6B shows a data storage example.
  • the storage data 50 of the shared memory 45 includes data items of a port 51, a device name 52, an address 53, data 54, and error information 55.
  • data items other than the error information 55 may be substantially the same as in the past. Therefore, a brief description will be given below.
  • the port 51 is identification information or the like of the communication port, and is substantially information for identifying the connection device 4 of the communication partner.
  • the device 52 is identification information of a memory device (device memory) in the connection device 4 of the communication partner.
  • the address 53 is an address of a predetermined storage area in the device memory indicated by the device 52, and the data 54 stores data acquired from this storage area.
  • each record shown in FIG. 6B corresponds to each item.
  • each record shown in FIG. 6B is generated.
  • a link between the record and the item is formed.
  • a record corresponding to this item is referred to in the shared memory 45.
  • information indicating the occurrence of a specific error may be stored by the communication processing unit 44. That is, when the communication processing unit 44 fails to obtain data from the allocated memory area related to an arbitrary item, the communication processing unit 44 includes information indicating the occurrence of a specific error in the error information 55 in the corresponding record of the item in the shared memory 45 (illustration shown). "Error" is stored.
  • the address 200 in the memory device D of the connected device 4-1 is the “allocated memory address” of this item.
  • the current stored data of this “allocated memory address” is “1000”.
  • the error information 55 is “error”, this numerical value is not always correct.
  • the data “12345” is stored at the address 100 in the memory device D of the connected device 4-1. It is not always correct information. This is because “error” is stored in the error information 55 of the first record.
  • the communication processing unit 44-1 tried to acquire data from the address 100 of the memory device D of the connected device 4-1, but the data acquisition failed due to a communication error or the like, so the error of the first record Information 55 stores “error” as illustrated.
  • the data '12345' may be old data, not current data.
  • a specific mark (!) Is displayed, for example, partially overlapping on the image display of an item corresponding to the first record (for example, it can be determined by the link).
  • the operator or the like can recognize that “12345” displayed on the screen may not be a correct value.
  • the item processing unit 43 periodically refers to the corresponding record in the shared memory 45 for each item, as shown in FIG. Processing for determining and updating the display content of the item image is performed. Although this process itself may be substantially the same as the conventional one, the item processing unit 43 of this example further refers to the error information 45 and performs a process based on this.
  • the item processing unit 43 only performs the same processing as the conventional one.
  • the item processing unit 43 places the error display image data 47 (specific mark (!)) At the display position of the image of the item, for example.
  • the item image is displayed so as to overlap (for example, displayed as in the example shown in FIG. 4).
  • this is an example, and the present invention is not limited to this example.
  • FIG. 7 is a processing flowchart of the communication processing unit 44.
  • each of the communication processing units 44-1 and 44-2 executes the process of FIG. 7 cyclically (at a regular cycle).
  • the memory list 101 related to the connected device 4 that the user is in charge of is generated with reference to the shared memory 45 (step S1). For example, in the case of processing by the communication processing unit 44-1, the memory list 101 related to the connected device 4-1 is generated.
  • FIG. 9B shows a data configuration example of the memory list 101.
  • the memory list 101 includes data items of a device name 71, an address 72, data 73, and error information 74.
  • the memory list 101 includes data items of a device name 71, an address 72, data 73, and error information 74.
  • the communication processing unit 44-1 all records whose port 51 is “WAY 1” are extracted from the shared memory 45, and the device name 52, address 53, data 54, error information 55 of each extracted record are extracted. Is stored in the device name 71, the address 72, the data 73, and the error information 74, the memory list 101 related to the connected device 4-1 is generated.
  • the data 73 and the error information 74 are not necessarily required. Instead, flag information indicating whether or not the processing has been completed may be stored.
  • step S3 the processes in steps S2 to S7 are repeatedly executed until the determination in step S7 becomes NO. That is, an unprocessed record is taken out from the memory list 101 (as a process target record), and a memory read command based on the contents of this record is generated and transmitted to the connected device 4 in charge via the communication line 6 (Ste S2). Then, it waits for a response from the connected device 4 to this command (step S3).
  • This command includes information (allocated memory address) for specifying an access destination such as the device name 71 and address 72, and the connected device 4 reads data from the storage area indicated by the allocated memory address, and reads the read data. The response process is sent back. However, if data read fails for some reason, a memory read error or the like is returned.
  • the communication processing unit 44 when there is no response even after a predetermined time has elapsed from the time of command transmission (such as a communication error), or when the response content is a memory read error or the like, the communication processing unit 44 generates a specific error. It is determined that it has occurred (step S4, YES), and "error" is stored in the column of the error information 55 in the record corresponding to the processing target record in the shared memory 45 (step S6).
  • step S4 when there is a normal response from the connected device 4 (step S4, NO), the read data included in this response is stored in the column of the data 54 in the record corresponding to the processing target record in the shared memory 45. Store (step S5). At this time, if “error” is stored in the error information 55 column, it is cleared (or “normal” is stored).
  • step S7 After executing any of the processes in steps S5 and S6, it is checked whether or not an unprocessed record remains in the memory list 101. If it remains (YES in step S7), the process returns to step S2. If it does not remain (step S7, NO), this process ends.
  • FIG. 8 is a processing flowchart of the item processing unit 43. As described above, the processing in FIG. 8 is cyclically executed under the management of the item processing schedule unit 42.
  • the item processing unit 43 first executes an initialization process of the item list 46 (step S11). For example, the processed flag 67 of all records in the item list 46 is set to “unprocessed”. Thereafter, the processes in steps S12 to S19 are repeatedly executed until NO in step S19 described later.
  • step S12 an arbitrary record among the records in which the flag 67 is “unprocessed” is set as a processing target record, and the device name 64, the address 65, etc. are obtained by referring to the processing target record (step S12), using these, the corresponding record in the shared memory 45 is searched and its data is acquired (step S13). That is, for example, a record whose device name 52 and address 53 are the same as the device name 64 and address 65 is the corresponding record. Then, the data 54 and error information 55 of the corresponding record are acquired as memory information 102 (step S13).
  • the memory information 102 includes data 81 and error information 82 shown in FIG. 9C, which are the acquired data 54 and error information 55 described above. Based on the memory information 102, it is determined whether or not a specific error (communication error, memory read error, etc.) has occurred (step S14). This is determined by whether the error information 82 is “error” or “normal”. Naturally, if the error information 82 is “error”, it is determined that a specific error has occurred (step S14, YES), and the process proceeds to step S16. On the other hand, if the error information 82 is “normal”, it is determined that there is no specific error (step S14, NO), and the process proceeds to step S15.
  • a specific error communication error, memory read error, etc.
  • step S14 If there is no specific error (step S14, NO), the conventional display process is performed. That is, a normal item drawing process (for example, expanding on the RAM 13) using the data 81 and information of the processing target record (item image, coordinates, size, etc.) is performed (step S15).
  • step S14 when there is a specific error (step S14, YES), an item drawing process at the time of an error by this method using the information of the processing target record and the error display image data 47 is performed (steps S16 and S17).
  • step S16 a process of determining the display position coordinates of the error display image data 47 (specific mark (! Etc.)) is performed (step S16).
  • step S17 a process of drawing the specific mark (!) At the coordinates determined in step S16 (for example, developing on the RAM 13) is performed (step S17). Before that, the item drawing process similar to step S15 may be performed, but this process may not be performed.
  • the graphic controller 15 displays the drawing data on the RAM 13 on the display. Therefore, in the processing example described above, a specific mark (! Is displayed in the upper right corner of the image of the item in which the specific error has occurred.
  • step S15 When the execution of step S15 or steps S16 and S17 is completed, the flag 67 of the process target record in the item list 46 is changed to “processed” (step S18).
  • step S19, YES If an unprocessed record remains in the item list 46 (step S19, YES), the process returns to step S12. If all the records have been processed (step S19, NO), this process is terminated.

Abstract

A communication processing unit (44) reads out data from a predetermined storage area assigned for each item in memory within a connected apparatus (4) and stores the same in shared memory. At the time, in a case of failure of data readout related to an arbitrary item, error information related to the item is stored in the shared memory. An item processing unit (43), in relation to the item for which the error information has been stored, displays error display image data (47) corresponding to the item image.

Description

プログラマブル表示器、プログラムProgrammable display, program
 本発明は、プログラマブル表示器に関する。 The present invention relates to a programmable display.
 プログラマブル表示器は、一般的に、PLC本体や温調装置等の各種接続機器と接続して、これら接続機器の状態表示を行う数値表示やランプ等のアイテムや、ユーザが任意の指示を出す為のスイッチ等のアイテムの画像を表示する。尚、アイテムは、画面部品等とも呼ばれている。プログラマブル表示器の画面(操作表示画面と呼ぶものとする)には、通常、複数の画面部品(アイテム)の画像が表示される。この様な操作表示画面を表示する為のデータ等(画面データ等と呼ばれる)は、予め不図示の支援装置において開発者等によって任意に作成されて、支援装置からプログラマブル表示器にダウンロードされている。 In general, a programmable display is connected to various connected devices such as a PLC main body and a temperature control device, and items such as numerical displays and lamps for displaying the status of these connected devices, and for users to give arbitrary instructions. Displays an image of items such as switches. An item is also called a screen component or the like. Usually, images of a plurality of screen components (items) are displayed on the screen of the programmable display (referred to as an operation display screen). Data or the like for displaying such an operation display screen (referred to as screen data or the like) is arbitrarily created in advance by a developer or the like in a support device (not shown) and downloaded from the support device to a programmable display. .
 上記画面データには、上記各アイテム毎に、そのアイテムの画像(スイッチの画像やランプの画像)や表示位置座標、更に後述する外部メモリの所定領域のアドレス(割当メモリアドレス)等のデータが含まれている。更に何らかのプログラム等が含まれている場合もある。 The screen data includes, for each item, data such as an image of the item (switch image or lamp image), display position coordinates, and an address (assigned memory address) of a predetermined area of the external memory described later. It is. In addition, some programs may be included.
 上記各アイテムは、例えば、それぞれが任意の接続機器の任意の構成要素に対応して、当該構成要素の状態表示を行ったり、当該構成要素のON/OFFの指示を受け付けるものである。例えば、温調装置の温度測定値を数値表示するアイテムの場合、随時、現在の温度を数値で表示することになる。 Each of the above items, for example, displays the status of the component corresponding to an arbitrary component of an arbitrary connected device, or accepts an ON / OFF instruction for the component. For example, in the case of an item that displays the temperature measurement value of the temperature control device as a numerical value, the current temperature is displayed as a numerical value as needed.
 上記各種アイテムに係る表示制御は、上記各アイテム毎に、例えば定期的に所定の処理を実行することで実現される。所定の処理とは、例えば、接続機器内のメモリデバイス(外部メモリとする)の上記所定領域(割当メモリ)の格納データを読出して、この格納データに基づいてアイテムの表示内容を決定・表示するものである。尚、接続機器は、随時、上記外部メモリの所定領域の格納データを更新している(例えば上記温調装置において上記温度測定値を随時更新している)。 The display control related to the various items is realized by, for example, periodically executing predetermined processing for each item. The predetermined processing is, for example, reading stored data in the predetermined area (allocated memory) of a memory device (external memory) in the connected device, and determining / displaying the display contents of the item based on the stored data. Is. The connected device updates the stored data in a predetermined area of the external memory as needed (for example, the temperature measurement value is updated as needed in the temperature control device).
 また、上記外部メモリから読出したデータを、プログラマブル表示器内のメモリデバイス(内部メモリとする)の所定領域に一時的に格納して、この格納データに基づいてアイテムの表示内容を決定・表示する構成もある。 Further, the data read from the external memory is temporarily stored in a predetermined area of a memory device (referred to as internal memory) in the programmable display, and the display contents of the item are determined and displayed based on the stored data. There is also a configuration.
 この例の場合、外部メモリの格納データを読み出して内部メモリに格納する処理は、プログラマブル表示器の所定の機能部(ここでは不図示の通信部とする)が、例えば定期的に実行する。上記通信部は、例えば、上記PLC本体や温調装置等の各種接続機器と通信を行って、接続機器内の上記外部メモリの所定の記憶領域の格納データを取得して、このデータを上記内部メモリの所定領域に上書き格納する。そして、プログラマブル表示器における上記各種アイテムに係る表示制御を行う機能部(アイテム表示部というものとする)は、定期的に内部メモリにアクセスすることで、アイテム表示内容を制御する。 In the case of this example, the process of reading out the data stored in the external memory and storing it in the internal memory is executed, for example, periodically by a predetermined functional unit of the programmable display (here, a communication unit not shown). The communication unit communicates with various connected devices such as the PLC main body and the temperature control device, for example, acquires data stored in a predetermined storage area of the external memory in the connected device, and stores the data in the internal device Overwrite and store in a predetermined area of memory. And the function part (it shall be called an item display part) which performs the display control which concerns on the said various items in a programmable display controls an item display content by accessing an internal memory regularly.
 但し、接続機器との通信エラーや、外部メモリ自体やその所定の記憶領域に何らかの異常(一時的なものも含む)が生じていた場合等には、上記外部メモリのデータ取得処理が失敗する場合がある。この様な場合、上記通信部は通信相手の接続機器は認識できているので、上記アイテム表示部が例えば「PLC本体との通信エラー発生」等のエラーを通知するウィンドウを画面上に表示する等して、ユーザに注意を促していた。 However, the data acquisition process of the external memory fails if there is a communication error with the connected device, or if there is any abnormality (including temporary memory) in the external memory itself or its specified storage area. There is. In such a case, since the communication unit can recognize the connected device of the communication partner, the item display unit displays a window for notifying an error such as “occurrence of communication error with the PLC main body” on the screen. And cautioned the user.
 また、例えば特許文献1には、外部からの映像を、本来の操作画面にオーバーレイ表示すること等が開示されている。
特開2002-140104号公報
Further, for example, Patent Document 1 discloses that an external video is displayed as an overlay on the original operation screen.
JP 2002-140104 A
 上述したように、従来では、接続機器との通信エラー等を検出して警告表示することが行われている。これは、通信エラー等が生じた接続機器に係るアイテムの表示内容が、信頼できない状態にあること(現在値ではない等)を警告するものと言える。 As described above, conventionally, a communication error with a connected device is detected and a warning is displayed. This can be said to warn that the display content of the item related to the connected device in which a communication error or the like has occurred is in an unreliable state (not the current value, etc.).
 しかしながら、必ずしも、オペレータが、この表示を見ることで信頼出来ないアイテムを判別できるとは限らない。例えば、「温調装置との通信エラー発生」の表示を見て、どのアイテム(1または複数)が温調装置に関する状態表示を行うアイテムであるのか判断することは、必ずしも出来なかった。更に、外部メモリの所定の記憶領域のデータのみが取得エラーとなった場合、この記憶領域に係るアイテムについてエラー表示することはできなかった。 However, it is not always possible for the operator to discriminate unreliable items by looking at this display. For example, it is not always possible to determine which item (one or more) is an item for displaying the status related to the temperature control device by looking at the display of “communication error with temperature control device”. Furthermore, when only the data in a predetermined storage area of the external memory has an acquisition error, it is not possible to display an error for an item related to this storage area.
 本発明の課題は、任意のアイテムに関連付けられたメモリデータの取得が何らかの原因で出来ない状態となった場合、このアイテムを特定すると共にこのアイテム表示に対応してエラー表示を行うことで、オペレータが一目で異常なアイテム表示を判別することができるようにするプログラマブル表示器等を提供することである。 An object of the present invention is to specify the item and display an error corresponding to the item display when the memory data associated with an arbitrary item cannot be obtained for some reason. It is to provide a programmable display or the like that can distinguish an abnormal item display at a glance.
 本発明のプログラマブル表示器は、所定の接続機器に接続されるプログラマブル表示器であって、通信処理手段と、アイテム表示手段と、エラー通知手段とを有する。
 通信処理手段は、前記所定の接続機器の記憶領域に保持されたデータを読み出す。
The programmable display of this invention is a programmable display connected to a predetermined connection apparatus, Comprising: It has a communication processing means, an item display means, and an error notification means.
The communication processing means reads the data held in the storage area of the predetermined connected device.
 アイテム表示手段は、当該通信処理手段によって読み出された前記データに基づいて、前記所定の接続機器の各種状態を示す各アイテムを表示する。
 エラー通知手段は、前記通信処理手段による前記データの読出し処理が失敗した場合、該読出し失敗に係る前記アイテムに対応させて所定のエラーイメージを表示する。
The item display means displays each item indicating various states of the predetermined connected device based on the data read by the communication processing means.
The error notification means displays a predetermined error image corresponding to the item related to the reading failure when the data reading process by the communication processing means fails.
本例のプログラマブル表示器を含むシステム全体の概略構成図である。It is a schematic block diagram of the whole system containing the programmable display of this example. 本例のプログラマブル表示器の構成例である。It is a structural example of the programmable display of this example. 本システムのソフトウェア構成図である。It is a software block diagram of this system. エラー発生時の操作表示画面例である。It is an example of an operation display screen when an error occurs. 本例のプログラマブル表示器の処理機能図である。It is a processing function figure of the programmable display of this example. 共有メモリに関する具体例であり、(a)はデータ構造例、(b)はデータ格納例である。It is a specific example regarding a shared memory, (a) is a data structure example, (b) is a data storage example. 通信処理部の処理フローチャート図である。It is a process flowchart figure of a communication process part. アイテム処理部の処理フローチャート図である。It is a process flowchart figure of an item process part. (a)~(c)は、各種データ構成図である。(A)-(c) are various data block diagrams.
 以下、図面を参照して本発明の実施の形態について説明する。
 図1は、本例のプログラマブル表示器1を含むシステム全体の概略構成図である。
 図1に示すプログラマブルコントローラシステムは、各種接続機器4と、通信ライン6を介して各種接続機器4に接続するプログラマブル表示器1とを有する。更に、プログラマブル表示器1が、通信ライン3を介して作画エディタ装置5に接続された構成であってもよい。但し、作画エディタ装置5は、必ずしも必要なわけではない(一例を示しているに過ぎない)。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram of the entire system including the programmable display 1 of this example.
The programmable controller system shown in FIG. 1 includes various connection devices 4 and a programmable display 1 that is connected to the various connection devices 4 via a communication line 6. Furthermore, the structure by which the programmable display 1 was connected to the drawing editor apparatus 5 via the communication line 3 may be sufficient. However, the drawing editor device 5 is not necessarily required (only an example is shown).
 プログラマブル表示器1には、複数の通信インタフェース2(通信ポート)が備えられており、各通信インタフェース2に接続された通信ライン3/通信ライン6によって各種接続機器4や作画エディタ装置5と接続されている。 The programmable display 1 is provided with a plurality of communication interfaces 2 (communication ports), and is connected to various connection devices 4 and the drawing editor device 5 by the communication line 3 / communication line 6 connected to each communication interface 2. ing.
 図2は、本例のプログラマブル表示器1の構成例である。
 プログラマブル表示器1は、上述した従来例と略同様に上述した画面データ等に基づく操作表示画面の表示等を行う機能を有するが、更に、特定のエラーが生じた場合に当該エラーに関係するアイテム表示に対応させて特定マーク等を表示する機能を有する。詳しくは後述する。
FIG. 2 is a configuration example of the programmable display 1 of this example.
The programmable display device 1 has a function of displaying the operation display screen based on the above-described screen data and the like in substantially the same manner as the above-described conventional example, but further, an item related to the error when a specific error occurs It has a function of displaying a specific mark or the like corresponding to the display. Details will be described later.
 図示のプログラマブル表示器1は、表示操作制御装置10と、タッチパネル18、ディスプレイ19、上記通信インタフェース2等を有する。
 表示操作制御装置10は、CPU11、ROM12(フラッシュメモリ等)、RAM13、通信コントローラ14、グラフィックコントローラ15、タッチパネルコントローラ16等より成り、これらがバス17に接続されている。
The illustrated programmable display 1 includes a display operation control device 10, a touch panel 18, a display 19, the communication interface 2, and the like.
The display operation control device 10 includes a CPU 11, a ROM 12 (flash memory or the like), a RAM 13, a communication controller 14, a graphic controller 15, a touch panel controller 16, and the like, which are connected to a bus 17.
 CPU11は、表示操作制御装置10全体を制御する中央処理装置(演算プロセッサ)である。CPU11は、ROM12に予め格納されているプログラム(例えば後述する本体プログラム21等)を実行することで、所定の演算動作(処理)を行う。例えば後述する図5や図7、図8等で説明する処理を実行する。各種の演算結果は、例えばRAM13やROM12に格納される。 The CPU 11 is a central processing unit (arithmetic processor) that controls the entire display operation control device 10. The CPU 11 performs a predetermined calculation operation (processing) by executing a program (for example, a main body program 21 described later) stored in the ROM 12 in advance. For example, the processing described in FIG. 5, FIG. 7, FIG. Various calculation results are stored in, for example, the RAM 13 or the ROM 12.
 また、ROM12には、上記背景技術で説明した画面データ(後述する画面データ22)等が格納されている。上記のように、画面データは、例えば上述したスイッチ、ランプ等の各アイテム毎に、そのアイテムの画像や表示位置座標や大きさ等の表示に係わるデータや、上記割当メモリアドレス(割当メモリ領域)等のメモリアクセスに係わるデータ等を有する。 The ROM 12 stores the screen data (screen data 22 described later) and the like described in the background art. As described above, the screen data includes, for each item such as the above-described switch, lamp, etc., data related to display such as an image of the item, display position coordinates and size, and the allocated memory address (allocated memory area). Data relating to memory access, etc.
 上記CPU11の処理には、例えば上記背景技術で説明した“各アイテム毎の割当メモリアドレス等の格納データ”(上記外部メモリの所定領域の格納データ)を取得する処理等が含まれる。この取得データは、例えば後述する共有メモリ45に一時的に格納される。尚、共有メモリ45は、上記RAM13やROM12の記憶領域の一部であってもよいし、不図示の他のメモリであってもよい。 The processing of the CPU 11 includes, for example, processing for acquiring “storage data such as an allocated memory address for each item” (storage data in a predetermined area of the external memory) described in the background art. This acquired data is temporarily stored, for example, in the shared memory 45 described later. Note that the shared memory 45 may be a part of the storage area of the RAM 13 or the ROM 12 or may be another memory (not shown).
 また、上記CPU11の処理によって、例えば上記画面データや上記取得データ等に基づく表示対象データが、例えばRAM13(あるいは不図示のビデオRAM)上に展開(描画)される。この描画に基づいてグラフィックコントローラ15が、ディスプレイ19上に上述した操作表示画面等を表示する。例えばランプを例にすると、上記画面データには消灯画像と点灯画像とが含まれており、上記取得データが‘0’であれば消灯画像、‘1’であれば点灯画像が、上記表示対象データとなる。 Further, display target data based on, for example, the screen data or the acquired data is developed (drawn) on, for example, the RAM 13 (or a video RAM (not shown)) by the processing of the CPU 11. Based on this drawing, the graphic controller 15 displays the above-described operation display screen on the display 19. For example, when a lamp is taken as an example, the screen data includes a turn-off image and a turn-on image. If the acquired data is “0”, the turn-off image is displayed. It becomes data.
 尚、上記画面データや取得データ等に基づく操作表示画面の表示処理自体は、従来と略同様であってよい。本手法では、この様な表示に加えて、更に後述する特定マーク(!など)を表示する場合があるものである。 It should be noted that the display processing itself of the operation display screen based on the screen data and the acquired data may be substantially the same as the conventional one. In this method, in addition to such display, a specific mark (! Etc.) to be described later may be displayed.
 すなわち、操作表示画面の表示内容には、上記のように取得データ(外部メモリの所定領域の格納データ)の内容が反映される場合がある。例えば上記ランプの例の場合、ある時点での取得データが‘1’であった為に点灯画像を表示している状態で、格納データが‘0’に変わったとする。しかし、何らかの原因でこの格納データの取得に失敗した場合、本来であれば消灯画像に切り替わらなければならないのに、点灯画像が表示されたままとなってしまう。 That is, the contents of the acquired data (stored data in a predetermined area of the external memory) may be reflected in the display contents of the operation display screen as described above. For example, in the case of the above lamp, it is assumed that the stored data is changed to ‘0’ while the lighting image is displayed because the acquired data at a certain time is ‘1’. However, if acquisition of the stored data fails for some reason, the lit image remains displayed even though it must be switched to the extinguished image.
 本手法においても、この様なケースでは点灯画像が表示されたままとなる。しかしながら、この点灯画像に対応させて(この点灯画像に重ねて;あるいはこの点灯画像の近くに)後述する特定マーク(!など)を表示する。これによって、オペレータ等は、この点灯画像の表示が間違っている(現状を反映させていない;過去の状態のままである)可能性があると認識できる。 In this method, the lighting image is still displayed in such a case. However, a specific mark (! Or the like) described later is displayed in correspondence with this lighting image (overlaid on this lighting image; or near this lighting image). As a result, the operator or the like can recognize that the display of the lighting image may be wrong (does not reflect the current state; it remains in the past state).
 ディスプレイ19は、例えば液晶パネル等より成り、この液晶パネル上に重ねるようにしてタッチパネル18が設けられる。ディスプレイ19上には、基本的には、複数のアイテム画像が所定位置に配置されて成る上記操作表示画面が表示される。但し、本手法の場合、上記の通り、特定マーク(!など)が更に表示される場合もある。 The display 19 is made of, for example, a liquid crystal panel, and a touch panel 18 is provided so as to overlap the liquid crystal panel. On the display 19, the operation display screen is basically displayed in which a plurality of item images are arranged at predetermined positions. However, in the case of this method, a specific mark (! Etc.) may be further displayed as described above.
 また、通信コントローラ14は、通信インタフェース2を介して、不図示のPLC本体等や温調装置等である接続機器4や作画エディタ装置5との通信(データ送受信等)を行う。 Further, the communication controller 14 performs communication (data transmission / reception etc.) with the connection device 4 and the drawing editor device 5 such as a PLC main body (not shown), a temperature control device, etc.
 オペレータ等によるタッチパネル18上での押圧操作(タッチ)位置の検知結果は、タッチパネルコントローラ16を介してCPU11等に取り込まれて解析される。例えば各アイテムの上記表示位置座標や大きさのデータ等に基づいて、解析することになる。例えば、上記スイッチの画像の表示位置をオペレータ等がタッチすると、CPU11等は、このスイッチに対する操作が行われたものと解析することになる。 The detection result of the pressing operation (touch) position on the touch panel 18 by the operator or the like is taken into the CPU 11 or the like via the touch panel controller 16 and analyzed. For example, analysis is performed based on the display position coordinates and size data of each item. For example, when an operator or the like touches the display position of the image of the switch, the CPU 11 or the like analyzes that an operation on the switch has been performed.
 図3に、上記本システムのソフトウェア構成図を示す。
 プログラマブル表示器1においては、本体プログラム21、画面データ22、通信プログラム23等の各種プログラム/データが、例えば上記ROM12(フラッシュメモリ等)に格納されている。これらのプログラム/データ等をCPU11が読出し・実行/参照等することで、プログラマブル表示器用の上記操作表示画面等の表示制御等が行なわれる。この操作表示画面は、上述した数値表示、ランプ、スイッチ等の各種アイテムの画像表示から成り、各アイテム画像の表示内容は、例えば各接続機器4(外部メモリ;割当メモリ領域)から取得したデータ(上記取得データ)を反映させる形で随時更新される。
FIG. 3 shows a software configuration diagram of the system.
In the programmable display 1, various programs / data such as a main body program 21, screen data 22, and communication program 23 are stored in, for example, the ROM 12 (flash memory or the like). The CPU 11 reads / executes / references these programs / data, etc., thereby performing display control of the operation display screen for the programmable display. This operation display screen includes the above-described numerical display, image display of various items such as lamps, switches, and the like. The display content of each item image is, for example, data acquired from each connected device 4 (external memory; allocated memory area) ( It is updated from time to time to reflect the above acquired data.
 基本的には、CPU11が本体プログラム21と画面データ22とに基づく処理を行うことで、上記操作表示画面が表示される。そして、この操作表示画面上の各画面部品の表示内容(温度等の数値表示やランプの点灯/消灯など)は、通信プログラム23による各接続機器4との通信結果(上記取得データ等)等に基づいて、随時、更新等されるものである。 Basically, the CPU 11 performs processing based on the main body program 21 and the screen data 22, whereby the operation display screen is displayed. The display contents of each screen component on this operation display screen (numerical display such as temperature, lighting / extinguishing of lamp, etc.) are shown in the communication result with each connected device 4 by the communication program 23 (the acquired data etc.). Based on this, it is updated as needed.
 上記画面データ22は、例えば予め作画エディタ装置5側で任意に作成された画面データファイル32が、プログラマブル表示器1にダウンロードされた格納されたものである。また、上記通信プログラム23も、例えば予め作画エディタ装置5側に格納されていた通信プログラムファイル33(その一部)が、プログラマブル表示器1にダウンロードされて格納されたものである。 The screen data 22 is stored, for example, by downloading a screen data file 32 arbitrarily created in advance on the drawing editor device 5 side to the programmable display device 1. Also, the communication program 23 is a program in which, for example, a communication program file 33 (part thereof) stored in advance on the drawing editor device 5 side is downloaded and stored in the programmable display device 1.
 上述したように、基本的には、CPU11が、本体プログラム21と画面データ22と取得データ等に基づく上記操作表示画面の表示制御を行う。例えば、数値表示やランプ等のアイテムに関して、定期的に、そのアイテムの割当メモリ領域からデータを読み出して、そのアイテムの表示内容を当該読出データに基づいて更新する。あるいは、例えばスイッチ等のアイテムに関しては、ユーザが、この操作表示画面上の所望のスイッチをタッチすると(ON/OFF操作すると)、スイッチON画像表示/スイッチOFF画像表示が行われる。また、CPU11は、このスイッチ操作に応じた接続機器4の制御も行う。 As described above, basically, the CPU 11 performs display control of the operation display screen based on the main body program 21, screen data 22, acquired data, and the like. For example, regarding an item such as a numerical display or a lamp, data is periodically read from the allocated memory area of the item, and the display content of the item is updated based on the read data. Alternatively, for example, regarding an item such as a switch, when a user touches a desired switch on the operation display screen (when an ON / OFF operation is performed), switch ON image display / switch OFF image display is performed. The CPU 11 also controls the connection device 4 according to the switch operation.
 尚、上記割当メモリ領域は、上記背景技術における外部メモリの所定の記憶領域(割当メモリアドレス)に相当するものである。尚、以後、上記外部メモリに相当するメモリを“機器メモリ”と呼ぶものとする。また、上記内部メモリに相当するメモリを“表示器メモリ”と呼ぶものとする。 The allocated memory area corresponds to a predetermined storage area (allocated memory address) of the external memory in the background art. Hereinafter, a memory corresponding to the external memory is referred to as “device memory”. A memory corresponding to the internal memory is referred to as a “display memory”.
 尚、既に従来で述べたように、上記“機器メモリ”(外部メモリ)は、接続機器4が備えるメモリであって、各アイテムのメモリ割当が行われるものである。上記のように、各アイテムの表示内容は、この割当メモリ領域の格納データに基づいて決定・更新される。 Note that, as already described above, the “device memory” (external memory) is a memory provided in the connected device 4 and is used for memory allocation of each item. As described above, the display content of each item is determined and updated based on the stored data in the allocated memory area.
 そして、従来で述べたように、この割当メモリ領域からの読出しデータを、プログラマブル表示器1内の“表示器メモリ”(内部メモリ)に一時的に格納し、これに基づいてアイテム表示制御を行う構成がある。 As described above, the read data from the allocated memory area is temporarily stored in the “display memory” (internal memory) in the programmable display 1, and the item display control is performed based on this. There is a configuration.
 すなわち、例えば後述する各通信処理部44等によって定期的に、接続機器4内のメモリデバイス(機器メモリ)の所定の記憶領域からデータを読み出して、この読出データを上記表示器メモリに格納する処理が行われる。そして、表示器メモリの格納データ等に基づいて、上記操作表示画面の表示制御が行われることになる。これによって、操作表示画面上の各アイテム画像の表示内容が、そのアイテムに対応する割当メモリ領域の最新の格納データの内容を反映させたものとなる。 That is, for example, a process of periodically reading data from a predetermined storage area of a memory device (equipment memory) in the connection device 4 and storing the read data in the display device memory by each communication processing unit 44 described later. Is done. Then, display control of the operation display screen is performed based on data stored in the display memory. As a result, the display contents of each item image on the operation display screen reflect the contents of the latest stored data in the allocated memory area corresponding to the item.
 但し、何らかの原因によって任意のアイテムの割当メモリ領域の格納データを取得できなかった場合等には、そのアイテム画像の表示内容が最新データを反映させたものではない(よって信頼性が低い)ものとなる可能性がある。通信エラーが原因の場合、エラーとなった通信相手の接続機器4に係わるアイテム全てについて、その表示内容が信頼性が低いものとなる可能性がある。従来では上記の通り、オペレータ等は、エラー発生したことは知ることが出来ても、どのアイテム画像の表示内容が信頼性が低いのかを判断することは困難であった。これに対して、本手法によれば、誰でも簡単に、どのアイテム画像の表示内容が信頼性が低いのかを認識することができる。 However, if the stored data in the allocated memory area of any item cannot be obtained for some reason, the display content of the item image does not reflect the latest data (and therefore has low reliability). There is a possibility. When the cause is a communication error, there is a possibility that the display contents of all the items related to the connection device 4 of the communication partner that caused the error may be unreliable. Conventionally, as described above, even if an operator can know that an error has occurred, it has been difficult to determine which item image display content has low reliability. On the other hand, according to this method, anyone can easily recognize which item image display content has low reliability.
 プログラマブル表示器1の通信プログラム23は、通信ライン6を介して接続機器4と通信を行うためのプログラムである。通常、接続機器4の機種毎等に固有の通信プロトコル(通信規定)を持ち、この通信規定に従って、プログラマブル表示器1-接続機器4間での通信を行う。そのため、通信プログラム23は、各接続機器4の機種毎等に開発が必要となる。尚、当然、CPU11などが通信プログラム23を実行することで、接続機器4との通信処理が実現される。 The communication program 23 of the programmable display 1 is a program for communicating with the connection device 4 via the communication line 6. Usually, each connected device 4 has a communication protocol (communication rule) unique to each model and performs communication between the programmable display 1 and the connected device 4 in accordance with this communication rule. Therefore, the communication program 23 needs to be developed for each model of each connected device 4. Of course, the CPU 11 and the like execute the communication program 23 to realize communication processing with the connected device 4.
 尚、プログラマブル表示器1-作画エディタ装置5間の通信は、例えば本体プログラム21と作画エディタ31とによって行う(通信機能が作画エディタ31に組み込まれている)。これについては特に関係ないので、図示・説明しない。PLC本体等である接続機器4は、様々なメーカー・機種があり、各メーカー/機種毎に独自の通信プログラムがあり、上記通信プログラム23は、接続機器4のメーカー/機種に応じて場合によっては複数種類備えられるものとなる。 The communication between the programmable display 1 and the drawing editor device 5 is performed by, for example, the main body program 21 and the drawing editor 31 (a communication function is incorporated in the drawing editor 31). This is not particularly relevant and will not be shown or described. The connection device 4 such as the PLC main body has various manufacturers and models, each manufacturer / model has its own communication program, and the communication program 23 depends on the manufacturer / model of the connection device 4 depending on the case. Multiple types will be provided.
 通信プログラム23は、通常、作画エディタ装置5内の不図示のHD(ハードディスク)内に、複数の通信プログラムファイル33(各機種毎に開発済の複数の通信プログラム)として予め記憶されている。そして、作画エディタ装置5は、作画エディタ31によりユーザが任意の接続機器4を選択・指定すると、該選択された接続機器4に応じた通信プログラムファイル33を、プログラマブル表示器1に転送して、上記通信プログラム23として記憶させる。 The communication program 23 is normally stored in advance as a plurality of communication program files 33 (a plurality of communication programs developed for each model) in an HD (hard disk) (not shown) in the drawing editor device 5. Then, when the user selects / designates an arbitrary connected device 4 using the drawing editor 31, the drawing editor device 5 transfers the communication program file 33 corresponding to the selected connected device 4 to the programmable display device 1, The communication program 23 is stored.
 接続機器4内の機器メモリへのアクセスは、作画エディタ31の各種設定(画面データファイル32作成時の設定)により行う。
 例えば、ユーザが、画面データファイル32作成時に、画面内に数値表示アイテムを配置すると共にこの数値表示アイテムに関して機器メモリの任意のアドレスを指定することで、プログラマブル表示器1が機器メモリの指定アドレスのデータを周期的に読み込んで表示する動作を設定できる。換言すれば、この画面データファイル32をプログラマブル表示器1にダウンロードして画面データ22として使用させれば、プログラマブル表示器1は、機器メモリの指定アドレスのデータを周期的に読み込む動作(更に取得データを表示器メモリに一時的に格納する動作)と、取得データに基づいて画面上に数値表示する動作等を行うことになる。
Access to the device memory in the connected device 4 is performed by various settings of the drawing editor 31 (settings when creating the screen data file 32).
For example, when the user arranges a numerical display item in the screen at the time of creating the screen data file 32 and designates an arbitrary address of the device memory with respect to the numerical display item, the programmable display device 1 has the designated address of the device memory. You can set the operation to read and display data periodically. In other words, if this screen data file 32 is downloaded to the programmable display device 1 and used as the screen data 22, the programmable display device 1 periodically reads the data at the specified address in the device memory (further acquired data). Are temporarily stored in the display memory), and numerical values are displayed on the screen based on the acquired data.
 尚、上記機器メモリへのアクセスや取得データの一時的格納や画面表示等の各種処理を実現させるプログラムは、例えば本体プログラム21に含まれていてもよいし、画面データファイル32(画面データ22)に含まれていてもよい。何れにしても、この様なプログラムを例えば上記CPU11が実行することで、上記各種動作(あるいは後述する図5、図7、図8で説明する動作など)が実現されることになる。 A program for realizing various processes such as access to the device memory, temporary storage of acquired data, and screen display may be included in the main body program 21, for example, or the screen data file 32 (screen data 22). May be included. In any case, when the CPU 11 executes such a program, for example, the above-described various operations (or operations described in FIGS. 5, 7, and 8 described later) are realized.
 あるいは、画面データファイル32作成時に、例えば画面内にスイッチを配置すると共に出力メモリとして機器メモリの任意のアドレスを指定すると、プログラマブル表示器1の表示操作画面上でスイッチが押されたときに該機器メモリの指定アドレスに書き込む動作を設定できる。 Alternatively, when the screen data file 32 is created, for example, when a switch is arranged in the screen and an arbitrary address of the device memory is designated as an output memory, the device is displayed when the switch is pressed on the display operation screen of the programmable display 1. You can set the operation to write to the specified memory address.
 何れにしても、上記機器メモリへのアクセス処理や、アイテム表示内容の更新処理自体は、従来と略同様であっても構わない。本手法では、上記操作表示画面上に更に後述する特定マーク(!など)が表示される場合があるものである(例えば任意の接続機器4との通信エラー発生時など)。これについて、以下、図4以降を参照して詳しく説明する。 In any case, the access processing to the device memory and the update processing of the item display content itself may be substantially the same as the conventional one. In this method, a specific mark (! Or the like), which will be described later, may be displayed on the operation display screen (for example, when a communication error with an arbitrary connected device 4 occurs). This will be described in detail below with reference to FIG.
 図4に、本例のプログラマブル表示器1における特定のエラー発生時の上記操作表示画面例を示す。
 上記特定のエラーとは、任意のアイテムに係わる上記機器メモリの割当メモリ領域からのデータ読出し(データ取得)失敗であり、例えば接続機器4との通信エラー等が原因となる。このデータ取得失敗に係るアイテムの画像表示に対応して、予め登録されている特定のマーク(ここでは図示の!マークとする)を表示することが、本手法の特徴の1つである。
FIG. 4 shows an example of the operation display screen when a specific error occurs in the programmable display 1 of this example.
The specific error is a failure in reading data (data acquisition) from the allocated memory area of the device memory related to an arbitrary item, and may be caused by a communication error with the connected device 4, for example. Corresponding to the image display of the item related to the data acquisition failure, it is one of the features of the present method to display a specific mark registered in advance (here, the! Mark shown in the figure).
 図4に示す例では、図示の各アイテム画像に一部重ねるようにして、所定のエラー画像の一例である特定マーク(!)が表示されている。但し、この例に限らず、例えば各アイテム画像の近くに特定マーク(!)が表示されるようにしてもよい。何れにしても、データ取得失敗に係るアイテムの画像表示に対応させて、特定マーク(!)が表示されるように構成する。 In the example shown in FIG. 4, a specific mark (!), Which is an example of a predetermined error image, is displayed so as to partially overlap each item image shown. However, the present invention is not limited to this example. For example, a specific mark (!) May be displayed near each item image. In any case, the specific mark (!) Is displayed in correspondence with the image display of the item related to the data acquisition failure.
 尚、所定のエラー画像は、例えば一例としては何らかの静止画であり、この静止画の一例が上記“!”であるが、勿論、この例に限らず、予め登録された何らかの静止画であってよい。また、所定のエラー画像は、静止画に限るものではなく、動画、写真、文章、アニメーション等であってもよく、あるいはこれらの組み合わせ等であってもよい。本発明では、何らかの静止画、予め登録された静止画、そして動画、写真、文章、アニメーション等、あるいはこれらの組み合わせたものを所定のエラー画像と定義する(エラーイメージともいう)。 The predetermined error image is, for example, some kind of still image, and an example of this still image is the above “!”. Of course, the predetermined error image is not limited to this example, and is any kind of still image registered in advance. Good. The predetermined error image is not limited to a still image, and may be a moving image, a photograph, a sentence, an animation, or a combination thereof. In the present invention, a certain still image, a pre-registered still image, a moving image, a photograph, a sentence, an animation, or a combination thereof is defined as a predetermined error image (also referred to as an error image).
 図示の例では、3種類のアイテム画像を示すが、全てに上記特定マーク(!)が表示されているので、ユーザは、例えば、3つのアイテム画像全ての表示内容が、信用できない状態であると認識できる。 In the illustrated example, three types of item images are shown, but since the specific mark (!) Is displayed on all, the user is in a state where the display contents of all the three item images are unreliable, for example. Can be recognized.
 あるいは図示しないが例えば3種類のアイテム画像のうちの1つのアイテム画像のみに対応して特定マーク(!)が表示されるケースも有り得る。この例の場合、この1つのアイテム画像の表示内容は信用できない状態であるが、残りの2つのアイテム画像の表示内容は信用できる状態であると認識できる。 Alternatively, although not shown, there may be a case where a specific mark (!) Is displayed corresponding to only one item image of three types of item images. In the case of this example, the display content of this one item image is in an unreliable state, but the display content of the remaining two item images can be recognized as being in a reliable state.
 図5は、本例のプログラマブル表示器の処理機能図である。
 CPU11が、例えば上記ROM12に記憶されている所定のプログラム(例えば上記本体プログラム21、通信プログラム23等)を実行することにより、例えば図5の点線内に示す各種処理機能部が実現される。すなわち、図示のアイテム生成部41、アイテム処理スケジュール部42、アイテム処理部43、通信処理部44(44-1、44-2等)等の各種処理機能部の下記の処理機能が実現される。
FIG. 5 is a processing function diagram of the programmable display of this example.
When the CPU 11 executes a predetermined program (for example, the main body program 21, the communication program 23, etc.) stored in the ROM 12, for example, various processing function units shown in a dotted line in FIG. 5 are realized. That is, the following processing functions of various processing function units such as the item generation unit 41, the item processing schedule unit 42, the item processing unit 43, and the communication processing unit 44 (44-1, 44-2, etc.) shown in the figure are realized.
 尚、例えば、アイテム生成部41とアイテム処理スケジュール部42とアイテム処理部43とは、本体プログラム21によって実現される。通信処理部44は、本体プログラム21と通信プログラム23とによって実現される。 Note that, for example, the item generation unit 41, the item processing schedule unit 42, and the item processing unit 43 are realized by the main body program 21. The communication processing unit 44 is realized by the main body program 21 and the communication program 23.
 また、これら処理機能の処理実行の際には、上記画面データ22や図示のエラー表示画像データ47が用いられる。尚、エラー表示画像データ47は、本例では予めROM12等に記憶されている上記特定マーク(本例では!)であるが、この例に限らない。 Further, when executing the processing of these processing functions, the screen data 22 and the error display image data 47 shown in the figure are used. The error display image data 47 is the specific mark (in this example!) Stored in advance in the ROM 12 or the like in this example, but is not limited to this example.
 アイテム生成部41は、上記画面データ22等に基づいて、アイテムリスト46を生成する。これは、例えば、画面データ22の一部を抽出する形で生成する(更に後述する処理済みフラグ67を追加する)。 The item generation unit 41 generates an item list 46 based on the screen data 22 or the like. This is generated, for example, by extracting a part of the screen data 22 (further, a processed flag 67 described later is added).
 ここで、図9(a)に、アイテムリスト46のデータ構成図を示す。
 図示の例のアイテムリスト46は、アイテムタイプ61、座標62、サイズ63、デバイス名64、アドレス65、“アイテムタイプ毎のデータ”66、処理済みフラグ67の各データ項目より成る。処理済みフラグ67以外は従来と同様と見做してよく、以下、簡単に説明する。
Here, FIG. 9A shows a data configuration diagram of the item list 46.
The item list 46 in the illustrated example includes data items of item type 61, coordinates 62, size 63, device name 64, address 65, “data for each item type” 66, and processed flag 67. Except for the processed flag 67, it may be regarded as the same as the conventional one, and will be briefly described below.
 アイテムタイプ61には、そのアイテムの種類(スイッチ、ランプ、数値表示等)を示すアイテム種別識別情報が格納される。
 “アイテムタイプ毎のデータ”66には、そのアイテムの画像データ(アイテム画像;アイテムタイプがスイッチであれば何らかのスイッチの画像)等の付随情報等が格納される。このアイテム画像の画面上での表示位置と大きさを示すデータが、上記座標62、サイズ63に格納される。これらが、各アイテムの操作表示画面上での画像表示に係わるデータである。
The item type 61 stores item type identification information indicating the type of the item (switch, lamp, numerical display, etc.).
“Data for each item type” 66 stores accompanying information such as image data of the item (item image; an image of any switch if the item type is a switch). Data indicating the display position and size of the item image on the screen is stored in the coordinates 62 and size 63. These are data related to image display on the operation display screen of each item.
 また、デバイス名64とアドレス65は、各アイテムに関するメモリ割当情報であり、上記割当メモリアドレスに相当する。つまり、デバイス名64が示すメモリにおけるアドレス65が示す記憶領域が、そのアイテムに割り当てられた領域(上記割当メモリ領域)である。この記憶領域に、例えばアイテムタイプ61がランプであれば、ランプの点灯/消灯を示すフラグデータ等が格納されることになる。尚、デバイス名64が示すメモリは、上記機器メモリ(任意の接続機器4内のメモリ)である。 The device name 64 and the address 65 are memory allocation information related to each item, and correspond to the allocated memory address. That is, the storage area indicated by the address 65 in the memory indicated by the device name 64 is an area assigned to the item (the assigned memory area). For example, if the item type 61 is a lamp, flag data indicating lighting / extinguishing of the lamp is stored in this storage area. The memory indicated by the device name 64 is the device memory (memory in any connected device 4).
 アイテム処理スケジュール部42は、アイテム処理部43による各アイテム画像の表示状態更新処理等のスケジュール管理を行う。つまり、アイテム処理スケジュール部42は、例えば定期的にアイテム処理部43を呼び出して例えば後述する図8の処理を実行させる(換言すれば、図8の処理をサイクリックに実行させる)。 The item processing schedule unit 42 performs schedule management such as display state update processing of each item image by the item processing unit 43. That is, the item processing schedule unit 42 periodically calls the item processing unit 43, for example, and executes, for example, the processing of FIG. 8 described later (in other words, the processing of FIG. 8 is executed cyclically).
 アイテム処理部43は、上記アイテムリスト46や後述する共有メモリ45の格納データ等に基づいて、各アイテム毎に、その画像の表示内容の更新等に係わる処理(アイテム表示手段としての処理)を実行する。その際、本手法では更に、場合によっては特定マーク(!)を表示する。 The item processing unit 43 executes processing (processing as an item display unit) related to updating the display contents of the image for each item based on the item list 46 and data stored in the shared memory 45 described later. To do. At this time, the present technique further displays a specific mark (!) In some cases.
 すなわち、アイテム処理部43は、特定のエラー(アイテム表示に係るデータ取得失敗;例えば接続機器4との通信エラー等が原因となる)に係わるアイテムの画像表示に対応させて(例えば一部重ねる形で)、エラー表示画像データ47(特定マーク(!))を表示する処理(エラー通知手段としての処理)も行うものである。詳細については、図6に示す共有メモリ45の格納データの具体例を用いて後に説明するものとする。尚、共有メモリ45は上記表示器メモリに相当する。 That is, the item processing unit 43 corresponds to the image display of an item related to a specific error (data acquisition failure related to item display; for example, a communication error with the connected device 4 or the like) (for example, a partly overlapping form). And) processing for displaying the error display image data 47 (specific mark (!)) (Processing as error notification means) is also performed. Details will be described later using a specific example of data stored in the shared memory 45 shown in FIG. The shared memory 45 corresponds to the display memory.
 また、アイテム処理部43は、各アイテム画像をRAM13上に描画(展開)する。その際、アイテムの種類によっては上記取得データも一緒にRAM13上に描画(展開)する。これによって、グラフィックコントローラ15が当該描画データをディスプレイ上に表示することで、上記表示操作画面が表示されることになる。この描画データは、アイテム処理部43によって例えば後述する図8の処理実行毎に随時更新される。また、場合によっては上記特定マーク(!)等も描画されることで、例えば図4に示すような表示となる場合もある。 Further, the item processing unit 43 draws (decompresses) each item image on the RAM 13. At that time, depending on the type of item, the acquired data is also drawn (developed) on the RAM 13 together. As a result, the graphic controller 15 displays the drawing data on the display, whereby the display operation screen is displayed. This drawing data is updated by the item processing unit 43 as needed, for example, every time processing shown in FIG. In some cases, the specific mark (!) Or the like is also drawn, resulting in a display as shown in FIG. 4, for example.
 通信処理部44は、各接続機器4(4-1、4-2)毎に対応して備えられる通信処理部44-1、44-1(通信処理手段)である。すなわち、図示の通信処理部44-1は、接続機器4-1に対応する通信ポートWAY1を使用して、通信ライン6を介して、接続機器4-1との通信を行って、その機器メモリの所定領域(割当メモリ領域)の格納データを取得する。取得データは、共有メモリ45の所定領域に上書き格納する。 The communication processing unit 44 is a communication processing unit 44-1 or 44-1 (communication processing unit) provided corresponding to each connected device 4 (4-1 or 4-2). That is, the illustrated communication processing unit 44-1 communicates with the connected device 4-1 via the communication line 6 using the communication port WAY1 corresponding to the connected device 4-1, and the device memory Stored data in a predetermined area (allocated memory area). The acquired data is overwritten and stored in a predetermined area of the shared memory 45.
 同様に、図示の通信処理部44-2は、接続機器4-2に対応する通信ポートWAY2を使用して、通信ライン6を介して、接続機器4-2との通信を行って、その機器メモリの所定領域(割当メモリ領域)の格納データを取得する。取得データは、共有メモリ45の所定領域に上書き格納する。 Similarly, the communication processing unit 44-2 shown in the figure performs communication with the connection device 4-2 via the communication line 6 using the communication port WAY2 corresponding to the connection device 4-2. Data stored in a predetermined area (allocated memory area) of the memory is acquired. The acquired data is overwritten and stored in a predetermined area of the shared memory 45.
 上記割当メモリ領域の格納データの取得処理や共有メモリへの格納処理自体は、従来と略同様であってもよいが、本手法では更にデータ取得失敗があった場合には、上記共有メモリ45の該当領域にエラー情報を記録する。この該当領域とは、例えば任意のアイテムに係わるデータ取得失敗があった場合、このアイテムに関する共有メモリ45上の該当レコードの後述するエラー情報55の欄である。 The acquisition processing of the storage data in the allocated memory area and the storage processing itself in the shared memory may be substantially the same as in the past. However, in the case where there is further data acquisition failure in this method, the shared memory 45 Record error information in the corresponding area. This corresponding area is a column of error information 55 to be described later of the corresponding record on the shared memory 45 related to this item when there is a data acquisition failure related to an arbitrary item, for example.
 これによって、その後に上記アイテム処理部43によるRAM13上の描画処理の際に、データ取得失敗したアイテムに関しては上記特定マーク(!)が描画される。これによって、操作表示画面上において上記データ取得失敗したアイテムの画像に対応して特定マーク(!)が表示されることになる。 Thus, in the subsequent drawing process on the RAM 13 by the item processing unit 43, the specific mark (!) Is drawn for an item for which data acquisition has failed. As a result, a specific mark (!) Is displayed on the operation display screen corresponding to the image of the item for which data acquisition has failed.
 図6に、上記共有メモリ45の具体例を示す。
 図6(a)には共有メモリ45のデータ構造例、図6(b)にはデータ格納例を示す。
 図6(a)に示す例では、共有メモリ45の格納データ50は、ポート51、デバイス名52、アドレス53、データ54、エラー情報55の各データ項目より成る。尚、これらのうち、エラー情報55以外のデータ項目は、従来と略同様であっても構わない。よって、以下、簡単に説明する。
FIG. 6 shows a specific example of the shared memory 45.
FIG. 6A shows a data structure example of the shared memory 45, and FIG. 6B shows a data storage example.
In the example shown in FIG. 6A, the storage data 50 of the shared memory 45 includes data items of a port 51, a device name 52, an address 53, data 54, and error information 55. Of these, data items other than the error information 55 may be substantially the same as in the past. Therefore, a brief description will be given below.
 ポート51は、上記通信ポートの識別情報等であり、実質的には通信相手の接続機器4を識別する情報となる。デバイス52は、通信相手の接続機器4内のメモリデバイス(機器メモリ)の識別情報である。アドレス53は、デバイス52が示す機器メモリにおける所定の記憶領域のアドレスであり、データ54にはこの記憶領域から取得したデータが格納される。 The port 51 is identification information or the like of the communication port, and is substantially information for identifying the connection device 4 of the communication partner. The device 52 is identification information of a memory device (device memory) in the connection device 4 of the communication partner. The address 53 is an address of a predetermined storage area in the device memory indicated by the device 52, and the data 54 stores data acquired from this storage area.
 尚、ポート51とデバイス名52とアドレス53とが、各アイテムの上記“割当メモリアドレス”に相当すると見做してよい。つまり、図6(b)に示す各レコードは、各アイテムに対応するものである。画面データ22等に含まれる各アイテム毎の上記割当メモリアドレスを、ポート51、デバイス名52、及びアドレス53に格納することで、図6(b)に示す各レコードが生成される。尚、その際に、レコードとアイテムとのリンクを形成しておく。これによって、任意のアイテムの表示更新処理等を行う際には、共有メモリ45においてこのアイテムに対応するレコードを参照することになる。 It should be noted that the port 51, the device name 52, and the address 53 may be regarded as corresponding to the “allocated memory address” of each item. That is, each record shown in FIG. 6B corresponds to each item. By storing the allocated memory address for each item included in the screen data 22 or the like in the port 51, the device name 52, and the address 53, each record shown in FIG. 6B is generated. At that time, a link between the record and the item is formed. As a result, when a display update process or the like of an arbitrary item is performed, a record corresponding to this item is referred to in the shared memory 45.
 そして、エラー情報55には、通信処理部44によって特定のエラー発生を示す情報が格納される場合がある。すなわち、通信処理部44は、任意のアイテムに係わる上記割当メモリ領域からのデータ取得に失敗した場合、共有メモリ45におけるこのアイテムの該当レコードにおけるエラー情報55に、特定のエラー発生を示す情報(図示の“エラー”)を格納する。 In the error information 55, information indicating the occurrence of a specific error may be stored by the communication processing unit 44. That is, when the communication processing unit 44 fails to obtain data from the allocated memory area related to an arbitrary item, the communication processing unit 44 includes information indicating the occurrence of a specific error in the error information 55 in the corresponding record of the item in the shared memory 45 (illustration shown). "Error") is stored.
 上記のことから、あるアイテムに関するレコードが図6(b)に示す例の2番目のレコードである場合、接続機器4-1のメモリデバイスDにおけるアドレス200番地が、このアイテムの“割当メモリアドレス”であり、図示の例ではこの“割当メモリアドレス”の現在の格納データは‘1000’であることになる。但し、エラー情報55が“エラー”である場合には、この数値が正しいとは限らない。 From the above, when the record for an item is the second record in the example shown in FIG. 6B, the address 200 in the memory device D of the connected device 4-1 is the “allocated memory address” of this item. In the illustrated example, the current stored data of this “allocated memory address” is “1000”. However, when the error information 55 is “error”, this numerical value is not always correct.
 たとえば、図6(b)に示す例の1番目のレコードの場合、接続機器4-1のメモリデバイスDにおけるアドレス100番地に、データ‘12345’が格納されてことが示されているが、これが正しい情報とは限らない。なぜなら、1番目のレコードのエラー情報55に“エラー”が格納されているからである。 For example, in the case of the first record in the example shown in FIG. 6B, it is shown that the data “12345” is stored at the address 100 in the memory device D of the connected device 4-1. It is not always correct information. This is because “error” is stored in the error information 55 of the first record.
 つまり、通信処理部44-1が、接続機器4-1のメモリデバイスDのアドレス100番地からのデータ取得を試みたが、通信エラー等が原因でデータ取得失敗した為、1番目のレコードのエラー情報55に図示のように“エラー”を格納している。この場合、上記データ‘12345’は、現在のデータではなく、古いデータであるかもしれない。本手法では、この様な場合、例えば1番目のレコードに対応するアイテム(例えば上記リンクにより判別できる)の画像表示に、特定マーク(!)を例えば一部重ねて表示する。これによって、オペレータ等は、例えば画面に表示されている上記‘12345’が、正しい数値ではない可能性があることを認識できる。 That is, the communication processing unit 44-1 tried to acquire data from the address 100 of the memory device D of the connected device 4-1, but the data acquisition failed due to a communication error or the like, so the error of the first record Information 55 stores “error” as illustrated. In this case, the data '12345' may be old data, not current data. In this method, in such a case, for example, a specific mark (!) Is displayed, for example, partially overlapping on the image display of an item corresponding to the first record (for example, it can be determined by the link). As a result, the operator or the like can recognize that “12345” displayed on the screen may not be a correct value.
 アイテム処理部43は、例えば後述する図8の処理のように、例えば定期的に各アイテム毎に、共有メモリ45の該当レコードを参照して、そのデータ54を取得して、これに基づいてそのアイテム画像の表示内容を決定・更新する処理を行う。この処理自体は従来と略同様であってもよいが、本例のアイテム処理部43は、更に、エラー情報45を参照して、これに基づいた処理を行う。 For example, the item processing unit 43 periodically refers to the corresponding record in the shared memory 45 for each item, as shown in FIG. Processing for determining and updating the display content of the item image is performed. Although this process itself may be substantially the same as the conventional one, the item processing unit 43 of this example further refers to the error information 45 and performs a process based on this.
 すなわち、アイテム処理部43は、エラー情報55が“正常”であれば、上記従来と同様の処理を行うだけである。一方、任意のアイテムに係わるエラー情報55が“エラー”である場合には、アイテム処理部43は、エラー表示画像データ47(特定マーク(!))を、そのアイテムの画像の表示位置に、例えば当該アイテム画像に重ねる形で表示する(例えば図4に示す例のように表示する)。但し、これは一例であり、この例に限らない。 In other words, if the error information 55 is “normal”, the item processing unit 43 only performs the same processing as the conventional one. On the other hand, when the error information 55 related to an arbitrary item is “error”, the item processing unit 43 places the error display image data 47 (specific mark (!)) At the display position of the image of the item, for example. The item image is displayed so as to overlap (for example, displayed as in the example shown in FIG. 4). However, this is an example, and the present invention is not limited to this example.
 図7は、通信処理部44の処理フローチャート図である。
 例えば図5の例では各通信処理部44-1、44-2が、各々、図7の処理をサイクリックに(定周期で)実行するものである。
FIG. 7 is a processing flowchart of the communication processing unit 44.
For example, in the example of FIG. 5, each of the communication processing units 44-1 and 44-2 executes the process of FIG. 7 cyclically (at a regular cycle).
 図7の処理例では、まず、共有メモリ45を参照して、自己が担当する接続機器4に係るメモリリスト101を生成する(ステップS1)。例えば、通信処理部44-1による処理の場合には、接続機器4-1に係るメモリリスト101を生成することになる。 In the processing example of FIG. 7, first, the memory list 101 related to the connected device 4 that the user is in charge of is generated with reference to the shared memory 45 (step S1). For example, in the case of processing by the communication processing unit 44-1, the memory list 101 related to the connected device 4-1 is generated.
 図9(b)に、このメモリリスト101のデータ構成例を示す。
 図示の例では、メモリリスト101は、デバイス名71、アドレス72、データ73、エラー情報74の各データ項目より成る。例えば上記通信処理部44-1の例の場合、共有メモリ45からポート51が“WAY1”であるレコードを全て抽出して、該各抽出レコードのデバイス名52、アドレス53、データ54、エラー情報55の情報を、上記デバイス名71、アドレス72、データ73、エラー情報74に格納することで、上記接続機器4-1に係るメモリリスト101を生成することになる。尚、データ73、エラー情報74は、必ずしも必要ないものである。代わりに、処理済みか否かを示すフラグ情報が格納されていてもよい。
FIG. 9B shows a data configuration example of the memory list 101.
In the illustrated example, the memory list 101 includes data items of a device name 71, an address 72, data 73, and error information 74. For example, in the case of the example of the communication processing unit 44-1, all records whose port 51 is “WAY 1” are extracted from the shared memory 45, and the device name 52, address 53, data 54, error information 55 of each extracted record are extracted. Is stored in the device name 71, the address 72, the data 73, and the error information 74, the memory list 101 related to the connected device 4-1 is generated. The data 73 and the error information 74 are not necessarily required. Instead, flag information indicating whether or not the processing has been completed may be stored.
 その後は、生成したメモリリスト101を参照しながら、ステップS7の判定がNOとなるまで、ステップS2~S7の処理を繰り返し実行する。
 すなわち、メモリリスト101から未処理のレコードを取り出して(処理対象レコードとし)、このレコードの内容に基づくメモリ読込コマンドを生成して自己が担当する接続機器4に通信ライン6を介して送信する(ステップS2)。そして、このコマンドに対する接続機器4からの応答待ちとなる(ステップS3)。このコマンドには、上記デバイス名71やアドレス72等のアクセス先を特定する情報(割当メモリアドレス)が含まれ、接続機器4はこの割当メモリアドレスが示す記憶領域からデータを読み出して、この読出しデータを返信する応答処理を行う。但し、何らかの理由でデータ読出しに失敗した場合には、メモリリードエラー等を返信する。
Thereafter, while referring to the generated memory list 101, the processes in steps S2 to S7 are repeatedly executed until the determination in step S7 becomes NO.
That is, an unprocessed record is taken out from the memory list 101 (as a process target record), and a memory read command based on the contents of this record is generated and transmitted to the connected device 4 in charge via the communication line 6 ( Step S2). Then, it waits for a response from the connected device 4 to this command (step S3). This command includes information (allocated memory address) for specifying an access destination such as the device name 71 and address 72, and the connected device 4 reads data from the storage area indicated by the allocated memory address, and reads the read data. The response process is sent back. However, if data read fails for some reason, a memory read error or the like is returned.
 通信処理部44は、例えば上記コマンド送信時から所定時間経過しても応答が無かった場合(通信エラーの場合など)、あるいは応答内容がメモリリードエラー等であった場合には、特定のエラーが発生したものと判定し(ステップS4,YES)、上記共有メモリ45において処理対象レコードに相当するレコードにおける上記エラー情報55の欄に“エラー”を格納する(ステップS6)。 For example, when there is no response even after a predetermined time has elapsed from the time of command transmission (such as a communication error), or when the response content is a memory read error or the like, the communication processing unit 44 generates a specific error. It is determined that it has occurred (step S4, YES), and "error" is stored in the column of the error information 55 in the record corresponding to the processing target record in the shared memory 45 (step S6).
 一方、接続機器4から正常応答があった場合には(ステップS4,NO)、この応答に含まれる上記読出しデータを、上記共有メモリ45において処理対象レコードに相当するレコードにおける上記データ54の欄に格納する(ステップS5)。尚、その際、エラー情報55の欄に“エラー”が格納されていた場合には、これをクリアする(あるいは“正常”を格納する)。 On the other hand, when there is a normal response from the connected device 4 (step S4, NO), the read data included in this response is stored in the column of the data 54 in the record corresponding to the processing target record in the shared memory 45. Store (step S5). At this time, if “error” is stored in the error information 55 column, it is cleared (or “normal” is stored).
 そして、上記ステップS5、S6の何れかの処理を実行後、メモリリスト101に未処理のレコードが残っているか否かをチェックし、残っている場合には(ステップS7,YES)ステップS2に戻り、残っていない場合には(ステップS7,NO)本処理を終了する。 Then, after executing any of the processes in steps S5 and S6, it is checked whether or not an unprocessed record remains in the memory list 101. If it remains (YES in step S7), the process returns to step S2. If it does not remain (step S7, NO), this process ends.
 図8は、アイテム処理部43の処理フローチャート図である。
 上記の通り、図8の処理は、アイテム処理スケジュール部42の管理のもとでサイクリックに実行される。
FIG. 8 is a processing flowchart of the item processing unit 43.
As described above, the processing in FIG. 8 is cyclically executed under the management of the item processing schedule unit 42.
 図8の処理例では、アイテム処理部43は、まず、アイテムリスト46の初期化処理を実行する(ステップS11)。これは、例えば、アイテムリスト46の全レコードの処理済みフラグ67を“未処理”にする。その後は、後述するステップS19がNOとなるまで、ステップS12~S19の処理を繰り返し実行する。 In the processing example of FIG. 8, the item processing unit 43 first executes an initialization process of the item list 46 (step S11). For example, the processed flag 67 of all records in the item list 46 is set to “unprocessed”. Thereafter, the processes in steps S12 to S19 are repeatedly executed until NO in step S19 described later.
 すなわち、アイテムリスト46においてフラグ67が“未処理”であるレコードのなかの任意のレコードを処理対象レコードとして、該処理対象レコードを参照してそのデバイス名64、アドレス65等を取得して(ステップS12)、これらを用いて共有メモリ45の該当レコードを検索してそのデータを取得する(ステップS13)。つまり、例えば、そのデバイス名52及びアドレス53が、上記デバイス名64及びアドレス65と同一であるレコードが、上記該当レコードである。そして、該当レコードのデータ54とエラー情報55をメモリ情報102として取得する(ステップS13)。 That is, in the item list 46, an arbitrary record among the records in which the flag 67 is “unprocessed” is set as a processing target record, and the device name 64, the address 65, etc. are obtained by referring to the processing target record (step S12), using these, the corresponding record in the shared memory 45 is searched and its data is acquired (step S13). That is, for example, a record whose device name 52 and address 53 are the same as the device name 64 and address 65 is the corresponding record. Then, the data 54 and error information 55 of the corresponding record are acquired as memory information 102 (step S13).
 尚、メモリ情報102は、図9(c)に示すデータ81、エラー情報82から成るものとし、これらは上記取得したデータ54とエラー情報55である。
 そして、上記メモリ情報102に基づいて、特定エラー(通信エラー、メモリリードエラー等)が発生したか否かを判定する(ステップS14)。これは、エラー情報82が“エラー”であるか“正常”であるかによって判定する。当然、エラー情報82が“エラー”であれば特定エラーが発生したと判定し(ステップS14,YES)ステップS16の処理へ移行する。一方、エラー情報82が“正常”であれば特定エラーは無いと判定し(ステップS14,NO)ステップS15の処理へ移行する。
The memory information 102 includes data 81 and error information 82 shown in FIG. 9C, which are the acquired data 54 and error information 55 described above.
Based on the memory information 102, it is determined whether or not a specific error (communication error, memory read error, etc.) has occurred (step S14). This is determined by whether the error information 82 is “error” or “normal”. Naturally, if the error information 82 is “error”, it is determined that a specific error has occurred (step S14, YES), and the process proceeds to step S16. On the other hand, if the error information 82 is “normal”, it is determined that there is no specific error (step S14, NO), and the process proceeds to step S15.
 特定エラーが無い場合には(ステップS14,NO)、従来通りの表示処理を行う。すなわち、データ81と上記処理対象レコードの情報(アイテムの画像や座標、サイズ等)を用いた通常のアイテム描画処理(例えばRAM13上に展開する)を行う(ステップS15)。 If there is no specific error (step S14, NO), the conventional display process is performed. That is, a normal item drawing process (for example, expanding on the RAM 13) using the data 81 and information of the processing target record (item image, coordinates, size, etc.) is performed (step S15).
 一方、特定エラーがある場合には(ステップS14,YES)、上記処理対象レコードの情報とエラー表示画像データ47を用いた、本手法によるエラー時のアイテム描画処理を行う(ステップS16、S17)。これは、まず、エラー表示画像データ47(特定マーク(!など))の表示位置座標を決定する処理を行う(ステップS16)。 On the other hand, when there is a specific error (step S14, YES), an item drawing process at the time of an error by this method using the information of the processing target record and the error display image data 47 is performed (steps S16 and S17). In this process, first, a process of determining the display position coordinates of the error display image data 47 (specific mark (! Etc.)) is performed (step S16).
 このステップS16の処理自体は、様々であってよいが、基本的には座標62(=X,Y)に基づいて、予め決められた所定のオフセット値等を用いることで、特定マーク(!)の表示位置座標を決定する。例えば、座標62はアイテム表示領域の左上角の座標である場合が多いので、特定マーク(!)をアイテム表示領域の右上角に表示させたい場合には、例えばサイズ63の“幅”を用いて、(X+幅,Y)を特定マーク(!)の表示位置座標とすればよい。 The processing in step S16 itself may be various, but basically, the specific mark (!) Is obtained by using a predetermined offset value determined in advance based on the coordinates 62 (= X, Y). Determine the display position coordinates. For example, since the coordinates 62 are often the coordinates of the upper left corner of the item display area, when a specific mark (!) Is to be displayed at the upper right corner of the item display area, for example, the “width” of size 63 is used. , (X + width, Y) may be the display position coordinates of the specific mark (!).
 そして、上記ステップS16で決定した座標に上記特定マーク(!)を描画する(例えばRAM13上に展開する)処理を行う(ステップS17)。尚、その前に、ステップS15と同様のアイテム描画処理も行うようにしてもよいが、この処理は行わなくても良い。 Then, a process of drawing the specific mark (!) At the coordinates determined in step S16 (for example, developing on the RAM 13) is performed (step S17). Before that, the item drawing process similar to step S15 may be performed, but this process may not be performed.
 尚、既に述べた通り、グラフィックコントローラ15が、RAM13上の描画データ等をディスプレイ上に表示させる。従って、上述した処理例では、特定エラーが生じたアイテムの画像の右上角に、特定マーク(!)が表示されることになる。 Note that, as already described, the graphic controller 15 displays the drawing data on the RAM 13 on the display. Therefore, in the processing example described above, a specific mark (!) Is displayed in the upper right corner of the image of the item in which the specific error has occurred.
 この様にして、特定エラーが生じたアイテムを特定すると共に、このアイテムの画像に対応させて(重ねて;あるいは近辺に)上記特定マーク(!)を表示させることで、オペレータ等は一目で、当該アイテム画像の内容は信頼できない等と認識することができる。 In this way, by specifying the item in which the specific error has occurred and displaying the specific mark (!) In correspondence with the image of this item (overlapping; or in the vicinity), the operator etc. at a glance, It can be recognized that the content of the item image is not reliable.
 上記ステップS15またはステップS16,S17の処理を実行完了したら、アイテムリスト46の処理対象レコードのフラグ67を“処理済”に変更する(ステップS18)。 When the execution of step S15 or steps S16 and S17 is completed, the flag 67 of the process target record in the item list 46 is changed to “processed” (step S18).
 そして、アイテムリスト46に未処理のレコードが残っていれば(ステップS19,YES)ステップS12に戻り、全て処理済みであれば(ステップS19,NO)本処理を終了する。 If an unprocessed record remains in the item list 46 (step S19, YES), the process returns to step S12. If all the records have been processed (step S19, NO), this process is terminated.
 以上説明したように、本例のプログラマブル表示器1等によれば、任意のアイテムに関連付けられたメモリデータの取得が何らかの原因で出来ない状態となった場合、このアイテムを特定すると共にこのアイテムに対応したエラー表示を行うことで、オペレータが一目で異常なアイテムを判別することができるようにする。
 
 
As explained above, according to the programmable display 1 etc. of this example, when acquisition of the memory data associated with an arbitrary item becomes impossible due to some reason, this item is specified and By displaying the corresponding error, the operator can identify an abnormal item at a glance.

Claims (9)

  1.  所定の接続機器に接続されるプログラマブル表示器であって、
     前記所定の接続機器の記憶領域に保持されたデータを読み出す通信処理手段と、
     当該通信処理手段によって読み出された前記データに基づいて、前記所定の接続機器の各種状態を示す各アイテムを表示するアイテム表示手段と、
     前記通信処理手段による前記データの読出し処理が失敗した場合、該読出し失敗に係る前記アイテムに対応させて所定のエラーイメージを表示するエラー通知手段と、
     を有することを特徴とするプログラマブル表示器。
    A programmable display connected to a predetermined connection device,
    Communication processing means for reading data held in a storage area of the predetermined connected device;
    Item display means for displaying each item indicating various states of the predetermined connected device based on the data read by the communication processing means;
    When the data read processing by the communication processing means fails, an error notification means for displaying a predetermined error image corresponding to the item related to the read failure;
    A programmable display device comprising:
  2.  予め前記アイテム毎に前記接続機器の任意の記憶領域が割り当てられており、
     前記通信処理手段は、前記アイテム毎に、そのアイテムに割り当てられた前記記憶領域である割当記憶領域に保持されたデータを読出し、
     前記エラー通知手段は、前記割当記憶領域からのデータ読出しに失敗したアイテム全てに対応させてそれぞれ前記エラーイメージを表示することを特徴とする請求項1記載のプログラマブル表示器。
    Arbitrary storage area of the connected device is allocated to each item in advance,
    The communication processing means reads, for each item, data held in an allocated storage area that is the storage area allocated to the item,
    2. The programmable display device according to claim 1, wherein the error notification unit displays the error image in correspondence with all items for which data reading from the allocation storage area has failed.
  3.  共有メモリを更に有し、
     前記通信処理手段は、前記アイテム毎に、前記割当記憶領域から読み出したデータである読出データを該共有メモリに格納し、前記データ読出しに失敗した場合には所定のエラー情報を該共有メモリに格納し、
     前記アイテム表示手段は、該共有メモリに格納された前記読出データに基づいて前記アイテムの表示を行い、
     前記エラー通知手段は、該共有メモリに前記エラー情報が格納されたアイテム全てについて、前記各アイテムの表示に対応させてそれぞれ前記エラーイメージを表示することを特徴とする請求項2記載のプログラマブル表示器。
    Further having shared memory,
    The communication processing means stores read data, which is data read from the allocation storage area, for each item in the shared memory, and stores predetermined error information in the shared memory when the data read fails. And
    The item display means displays the item based on the read data stored in the shared memory,
    3. The programmable display device according to claim 2, wherein the error notification unit displays the error image corresponding to the display of each item for all items in which the error information is stored in the shared memory. .
  4.  予め、前記アイテム毎に、その画像と表示位置座標と前記割当記憶領域を示す情報が格納された画面データ格納手段と、
     予め前記所定のエラーイメージを記憶するエラーイメージ記憶手段とを更に有し、
     前記エラー通知手段は、前記エラー情報が格納されたアイテムについて、それぞれ、その前記表示位置座標に基づいて、前記エラーイメージの表示位置を決定することを特徴とする請求項3記載のプログラマブル表示器。
    Screen data storage means in which information indicating the image, display position coordinates, and the allocated storage area is stored in advance for each item.
    Error image storage means for storing the predetermined error image in advance,
    4. The programmable display device according to claim 3, wherein the error notification unit determines a display position of the error image based on the display position coordinates of each item in which the error information is stored.
  5.  前記エラー通知手段は、前記エラーイメージを、前記エラー情報が格納されたアイテムの画像に一部重ねて表示させることを特徴とする請求項3または4記載のプログラマブル表示器。 The programmable display device according to claim 3 or 4, wherein the error notification means displays the error image partially overlapping the image of the item in which the error information is stored.
  6.  1以上の接続機器に接続され、少なくとも該各接続機器の各種状態を表示する1以上のアイテムの画像を画面上に表示するプログラマブル表示器であって、
     前記各アイテム毎に、そのアイテムに係わる所定の前記接続機器内の所定記憶領域の格納データを読み出す通信処理手段と、
     前記各アイテムの画像を表示する手段であって、前記所定記憶領域から読み出した前記格納データに基づいて、前記アイテム画像の表示を行うアイテム表示手段と、
     前記通信処理手段による任意のアイテムに係わる前記所定記憶領域の格納データの読出し処理が失敗した場合、該任意のアイテムの前記アイテム画像に対応させて所定のエラーイメージを表示するエラー通知手段と、
     を有することを特徴とするプログラマブル表示器。
    A programmable display that is connected to one or more connected devices and displays an image of at least one item that displays at least various states of each connected device on a screen,
    Communication processing means for reading stored data in a predetermined storage area in a predetermined connected device related to the item for each item;
    Means for displaying an image of each item, item display means for displaying the item image based on the stored data read from the predetermined storage area;
    An error notification means for displaying a predetermined error image corresponding to the item image of the arbitrary item when the reading processing of the data stored in the predetermined storage area relating to the arbitrary item by the communication processing means fails;
    A programmable display device comprising:
  7.  所定の接続機器に接続されるプログラマブル表示器のコンピュータを、
     前記所定の接続機器の記憶領域に保持されたデータを読み出す通信処理手段と、
     当該通信処理手段によって読み出された前記データに基づいて、前記所定の接続機器の各種状態を示す各アイテムを表示するアイテム表示手段と、
     前記通信処理手段による前記データの読出し処理が失敗した場合、該読出し失敗に係る前記アイテムに対応させて所定のエラーイメージを表示するエラー通知手段、
     として機能させるためのプログラム。
    A programmable display computer connected to a predetermined connection device,
    Communication processing means for reading data held in a storage area of the predetermined connected device;
    Item display means for displaying each item indicating various states of the predetermined connected device based on the data read by the communication processing means;
    An error notification means for displaying a predetermined error image corresponding to the item related to the read failure when the data read process by the communication processing means fails;
    Program to function as.
  8.  1以上の接続機器に接続され、少なくとも該各接続機器の各種状態を表示する1以上のアイテムの画像を画面上に表示するプログラマブル表示器のコンピュータを、
     前記各アイテム毎に、そのアイテムに係わる所定の前記接続機器内の所定記憶領域の格納データを読み出す通信処理手段と、
     前記各アイテムの画像を表示する手段であって、前記所定記憶領域から読み出した前記格納データに基づいて、前記アイテム画像の表示を行うアイテム表示手段と、
     前記通信処理手段による任意のアイテムに係わる前記所定記憶領域の格納データの読出し処理が失敗した場合、該任意のアイテムの前記アイテム画像に対応させて所定のエラーイメージを表示するエラー通知手段、
     として機能させるためのプログラム。
    A programmable display computer connected to one or more connected devices and displaying an image of at least one item displaying at least various states of each connected device on a screen;
    Communication processing means for reading stored data in a predetermined storage area in a predetermined connected device related to the item for each item;
    Means for displaying an image of each item, item display means for displaying the item image based on the stored data read from the predetermined storage area;
    An error notification means for displaying a predetermined error image corresponding to the item image of the arbitrary item when the reading processing of the data stored in the predetermined storage area relating to the arbitrary item by the communication processing means fails;
    Program to function as.
  9.  所定の接続機器に接続され、当該所定の接続機器の記憶領域をアクセスして前記記憶領域に保持されたデータを読み出し、前記所定の接続機器の各種状態を示す各アイテムを表示するプログラマブル表示器のアクセスエラー通知方法であって、
     前記所定の接続機器の記憶領域に保持されたデータの読出しに失敗すると、該読出し失敗に係る前記アイテムに対応させて所定のエラーイメージを表示することを特徴とするアクセスエラー通知方法。
     
     
    A programmable display that is connected to a predetermined connection device, accesses a storage area of the predetermined connection device, reads data held in the storage area, and displays each item indicating various states of the predetermined connection device An access error notification method,
    An access error notification method, comprising: displaying a predetermined error image corresponding to the item related to the read failure when reading of data held in the storage area of the predetermined connected device fails.

PCT/JP2012/080792 2012-11-28 2012-11-28 Programmable indicator and program WO2014083646A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201280069482.5A CN104106014B (en) 2012-11-28 2012-11-28 Programable display, program
PCT/JP2012/080792 WO2014083646A1 (en) 2012-11-28 2012-11-28 Programmable indicator and program
JP2014549696A JP5970080B2 (en) 2012-11-28 2012-11-28 Programmable display, program
TW102140702A TWI594095B (en) 2012-11-28 2013-11-08 Programmable display, program and access error notification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/080792 WO2014083646A1 (en) 2012-11-28 2012-11-28 Programmable indicator and program

Publications (1)

Publication Number Publication Date
WO2014083646A1 true WO2014083646A1 (en) 2014-06-05

Family

ID=50827320

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/080792 WO2014083646A1 (en) 2012-11-28 2012-11-28 Programmable indicator and program

Country Status (4)

Country Link
JP (1) JP5970080B2 (en)
CN (1) CN104106014B (en)
TW (1) TWI594095B (en)
WO (1) WO2014083646A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016012173A (en) * 2014-06-27 2016-01-21 オムロン株式会社 Programmable display
JP2017211822A (en) * 2016-05-25 2017-11-30 ケーズクリエイション合同会社 Data management device, and data management method, data management program and data management system of the same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034330A (en) * 1999-07-19 2001-02-09 Omron Corp Control information display input device and its controlling method
JP2003015705A (en) * 2001-07-02 2003-01-17 Mitsubishi Electric Corp Network system
JP2011204202A (en) * 2010-03-26 2011-10-13 Panasonic Electric Works Sunx Co Ltd Display device
WO2012050208A1 (en) * 2010-10-15 2012-04-19 三洋電機株式会社 Power management system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06324723A (en) * 1993-05-14 1994-11-25 Sharp Corp Programmable controller
JPH10320042A (en) * 1997-05-19 1998-12-04 Toshiba Eng Co Ltd Plant device operation state display device
JP4426492B2 (en) * 2005-03-30 2010-03-03 Ykk株式会社 Programmable terminal system
JP4710548B2 (en) * 2005-10-27 2011-06-29 横河電機株式会社 Field device management device
CN201707059U (en) * 2010-03-09 2011-01-12 杨明恭 Surface display automatic reading device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034330A (en) * 1999-07-19 2001-02-09 Omron Corp Control information display input device and its controlling method
JP2003015705A (en) * 2001-07-02 2003-01-17 Mitsubishi Electric Corp Network system
JP2011204202A (en) * 2010-03-26 2011-10-13 Panasonic Electric Works Sunx Co Ltd Display device
WO2012050208A1 (en) * 2010-10-15 2012-04-19 三洋電機株式会社 Power management system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016012173A (en) * 2014-06-27 2016-01-21 オムロン株式会社 Programmable display
US10401820B2 (en) 2014-06-27 2019-09-03 Omron Corporation Programmable indicator
JP2017211822A (en) * 2016-05-25 2017-11-30 ケーズクリエイション合同会社 Data management device, and data management method, data management program and data management system of the same

Also Published As

Publication number Publication date
JP5970080B2 (en) 2016-08-17
JPWO2014083646A1 (en) 2017-01-05
TWI594095B (en) 2017-08-01
TW201439698A (en) 2014-10-16
CN104106014B (en) 2016-08-24
CN104106014A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
JP6006399B2 (en) Programmable display, its program
US10838390B2 (en) Program creation support apparatus, control method for program creation support apparatus, and control program for program creation support apparatus
CN103838537A (en) Control device and information processing apparatus
JP5934428B2 (en) Programmable display, programmable controller system, program
JP4426492B2 (en) Programmable terminal system
CN112579187A (en) Optimization method and device for cold start of application program
JP5970080B2 (en) Programmable display, program
CN108845924B (en) Control response area display control method, electronic device, and storage medium
WO2015063847A1 (en) Programmable display apparatus and program
JP2006190202A (en) Data processor, set data generator, and their program and recording medium
JP6033394B2 (en) Programmable display, its program
JP2010102454A (en) Information processing apparatus and information processing program
JP5870214B2 (en) Programmable controller system, its programmable display, support device, program
JP7023807B2 (en) Management system, information processing device, setting management method, and program
JP5883936B2 (en) Programmable controller system
JP6207694B2 (en) Programmable display, program
JP6095743B2 (en) Support device, program
JP6230368B2 (en) Programmable controller system, its programmable display, support device
JP6333279B2 (en) Programmable display, program
JP5883953B2 (en) Programmable controller system, its programmable display, drawing editor device, program
JP2012208932A (en) Plc system, state display method, plc, and programmable display
KR101591968B1 (en) Method for auto recovery of symbolic link using integrity check and terminal using the same
CN107844103B (en) Method and device for displaying multiple errors on human-computer interface
JP2010102535A (en) Project file, method of testing the same, control system, and control display

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12889200

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014549696

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12889200

Country of ref document: EP

Kind code of ref document: A1