WO2014091623A1 - Système de contrôleur programmable, dispositif d'affichage programmable pour celui-ci, dispositif d'assistance et programme - Google Patents

Système de contrôleur programmable, dispositif d'affichage programmable pour celui-ci, dispositif d'assistance et programme Download PDF

Info

Publication number
WO2014091623A1
WO2014091623A1 PCT/JP2012/082518 JP2012082518W WO2014091623A1 WO 2014091623 A1 WO2014091623 A1 WO 2014091623A1 JP 2012082518 W JP2012082518 W JP 2012082518W WO 2014091623 A1 WO2014091623 A1 WO 2014091623A1
Authority
WO
WIPO (PCT)
Prior art keywords
symbol
item
data
display
registered
Prior art date
Application number
PCT/JP2012/082518
Other languages
English (en)
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 JP2014551820A priority Critical patent/JP5870214B2/ja
Priority to CN201280069484.4A priority patent/CN104106015B/zh
Priority to PCT/JP2012/082518 priority patent/WO2014091623A1/fr
Priority to TW102140703A priority patent/TWI582555B/zh
Publication of WO2014091623A1 publication Critical patent/WO2014091623A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Definitions

  • the present invention relates to a system having a programmable display or the like.
  • 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.
  • Predetermined processing refers to, for example, reading stored data in the predetermined area (allocated memory) of a memory device (referred to as an external memory) in a connected device, and determining the display content of an item based on this 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 (shared memory) in the programmable display, and the display contents of the item are determined and displayed based on the stored data.
  • a memory device shared memory
  • the process of reading the data stored in the external memory and storing it in the shared memory is executed, for example, periodically by a predetermined functional unit (here, a communication unit not shown) of the programmable display.
  • the communication unit communicates with various connected devices such as the PLC main body and a temperature control device, acquires data stored in a predetermined storage area of the external memory in the connected device, and shares the data with the shared device. Overwrite and store in a predetermined area of memory.
  • a function unit (referred to as an item display unit) that performs display control related to the various items in the programmable display device controls the item display content by periodically accessing the shared memory.
  • a predetermined calculation may be performed on the data (stored data in the allocated memory area) acquired from the shared memory, and the calculation result may be displayed. For example, if the stored data in the allocated memory area is a numerical value in g (grams), but there is an item that displays in kg (kilograms), an operation is performed to divide the acquired data by 1000. This calculation result is displayed.
  • Patent Document 1 simplifies the input of incidental information about components arranged on a screen displayed by a symbol or a programmable display in a PLC control procedure program (such as a ladder diagram). It is an invention that makes it possible to efficiently create.
  • a control procedure program is created on a ladder window by the ladder editor 32a, and a screen is created on the drawing window by the drawing editor 32b.
  • data including the address of the input / output device 4 relating to the ladder symbol and the corresponding variable name (for example, SW1) is registered in the data file 33.
  • the drawing editor 32b refers to the variable name copied to the memory unit 34 by the copy function unit 32c, displays a corresponding mark (part) on the drawing window, and displays the variable name as additional information. Is displayed on the mark. JP 2001-75616 A
  • An object of the present invention is to register each symbol information in which an arbitrary arithmetic expression is described in advance and associate an arbitrary item with arbitrary symbol information, thereby causing the item to be displayed based on arithmetic processing. It is to provide a programmable controller system, a programmable display device, a support device, and the like.
  • the programmable controller system of the present invention is a programmable controller system having a programmable display and a support device connected to the programmable display, and has the following configurations.
  • the support apparatus includes symbol information storage means and symbol association means.
  • the symbol information storage means stores information on a symbol in which an external memory area is registered or a symbol in which an arithmetic expression is registered.
  • the symbol association means associates an arbitrary symbol with an item constituting screen data for the programmable display.
  • the programmable display has screen data storage means, item data processing means, and screen display means.
  • the screen data storage means stores the screen data including the item associated with the symbol.
  • the item data processing means executes an arithmetic process using the arithmetic expression for the item associated with the symbol in which the arithmetic expression is registered.
  • the screen display means is means for performing screen display by the respective items, and for the item associated with the symbol in which the arithmetic expression is registered, display using the arithmetic processing result is performed.
  • FIG. 1 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.
  • (A) to (f) are examples of various screens related to symbol information registration and association work. It is a processing function figure of the programmable display of this example.
  • (A), (b) is a specific example (part 1) of various data.
  • (A) to (c) are specific examples (part 2) of various data. It is a process flowchart figure of a communication process part. It is a process flowchart figure of an item process part.
  • FIG. 1 is a schematic configuration diagram of the entire system including the programmable display 1 of this example.
  • the configuration shown in FIG. 1 is an example, and the present invention is not limited to this example.
  • the configuration in which the programmable display device 1 is not necessarily connected to the drawing editor device 5 may be used, and the programmable display device 1 and the drawing editor device 5 may exist separately. Any device can be used as long as the programmable display 1 stores screen data (including symbol information) or the like according to the present method and displays the screen for the programmable display using the screen data (including symbol information) or the like. good.
  • the programmable controller system shown in FIG. 1 has various connection devices 4 and a programmable display 1 connected to the various connection devices 4 via a communication line 6. Further, the programmable display device 1 is connected to the drawing editor device 5 via the communication line 3.
  • 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.
  • the programmable display 1 displays an operation display screen based on the screen data as well as the memory device (external device) of the connection device 4 for each item on the screen. Data is acquired from a predetermined storage area (allocated memory area) of the memory), and the display content is controlled.
  • the drawing editor device 5 corresponds to the support device in the background art, and supports the user to arbitrarily create data (screen data) for displaying the operation display screen on the programmable display 1. It has the function to do.
  • the drawing editor device 5 may be regarded as an example of a support device for supporting creation of a screen (screen data) for a programmable display. Further, the user may set a desired storage area related to the memory device in the connected device 4 as the allocated memory area for the items arranged on the screen.
  • the screen data includes predetermined information for each item arranged on the screen (referred to as item information; for example, the item image, the arrangement position coordinates, the address of the allocation memory area (allocation memory address), etc.) Is included.
  • item information for example, the item image, the arrangement position coordinates, the address of the allocation memory area (allocation memory address), etc.
  • the allocated memory area may be registered in symbol information described later.
  • the item information includes identification information (such as a symbol name and a symbol ID described later) of the corresponding symbol information.
  • calculation processing is registered in the item information, but in this method, calculation processing is not registered in item information. In this method, the arithmetic processing is registered in the symbol information.
  • the symbol information is added to the screen data and downloaded to the programmable display 1.
  • the programmable display 1 displays the operation display screen based on the screen data (including symbol information) described above.
  • the calculation process is executed in conjunction with the communication process with the connected device 4 to store the calculation result.
  • display is performed using the calculation result (without performing the calculation process). Details will be described later.
  • FIG. 2 is a configuration example of the programmable display 1 of this example.
  • 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, etc.), a RAM 13, a communication controller 14, a graphic controller 15, a touch panel controller 16, etc., 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.
  • a program for example, a main body program 21 described later
  • Various calculation results are stored in, for example, the RAM 13 or the ROM 12.
  • the ROM 12 stores screen data 22 and symbol information 51, which will be described later. In this sense, the ROM 12 can also be referred to as a screen data storage unit or a symbol information storage unit.
  • the screen data 22 includes, for example, data relating to display of the image, display position coordinates, size, and the like of each item such as the switch and the lamp described above. Further, the screen data 22 may have data (allocated memory address or the like) related to access to the memory of the connected device 4 as in the conventional case. However, in this example, such data related to access to the memory of the connected device 4 may be included in the symbol information 51 instead of the screen data 22.
  • the allocated memory address is an address of the allocated memory area.
  • the allocated memory area may be called an “external memory area” in terms of the storage area of the “external memory” (memory device in the connected device).
  • the symbol information 51 it should be called an “external memory area” rather than an “allocated memory area”. This is because the symbol information 51 is not a “memory area pre-assigned to each item”.
  • the “external memory area” of a symbol can be regarded as substantially corresponding to the allocated memory area of the item by associating the item with the symbol.
  • the processing of the CPU 11 includes, for example, processing for periodically obtaining stored data in the allocated memory area.
  • This acquired data is temporarily stored, for example, in the shared memory 53 described later.
  • This data acquisition / storage process is executed for each item based on the screen data 22 (in some cases, based on the symbol information 51).
  • a predetermined calculation process may be performed on the acquired data based on the symbol information 51.
  • the calculation processing result is stored in a calculation result storage memory 54 described later.
  • the shared memory 53 and the calculation result storage memory 54 may be a part of the storage area of the RAM 13 or the ROM 12 or may be another memory (not shown). Further, by the processing of the CPU 11, for example, display data based on the screen data 22, the acquired data, the arithmetic processing result, and the like are developed (drawn) on, for example, the RAM 13 (or a video RAM (not shown)). Based on this drawing, the graphic controller 15 displays the above-described operation display screen on the display 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.
  • the operation display screen is basically displayed in which a plurality of item images are arranged at predetermined positions.
  • 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.
  • the drawing editor device 5 includes a drawing editor 31.
  • the drawing editor 31 has a function for assisting the user in creating a screen (operation display screen) for an arbitrary programmable display.
  • As an existing function related to this support function there is a function of selecting each desired item from various pre-registered items and placing it at a desired position on the screen. Further, there is an existing function that allows the user to set an address (allocated memory address) of an arbitrary memory device of an arbitrary connected device 4 to an item arranged on the screen.
  • the drawing editor 31 of this example has various functions of the symbol information registration unit 31a and the symbol association unit 31b shown in addition to the existing functions.
  • the symbol information registration unit 31a has a function of allowing the user to register desired symbol information by, for example, displaying various windows shown in FIGS. 4A to 4E described later.
  • the symbol information includes a symbol name, a symbol type (“address” or “calculation”), an address, etc., as will be described later with reference to FIG. This “address” corresponds to the allocated memory address, but may further include an arithmetic expression.
  • the symbol information created by the symbol information registration unit 31a is stored in the symbol information storage unit 31c.
  • the symbol association unit 31b is a functional unit that allows a user to associate an arbitrary symbol with an arbitrary item arranged on the screen. This association is performed using, for example, the symbol name, but is not limited to this example. For items associated with symbols, it is not necessary to set the allocated memory address, and it is not necessary to set arithmetic expressions one by one.
  • a plurality of items may be associated with one symbol. Thereby, for example, the trouble of setting the allocated memory address can be reduced.
  • 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 is composed of the above-described numerical display, image display of various items such as lamps, switches, etc., and the display content of each item is, for example, data acquired from the allocated memory area of the memory device in each connected device 4 (above (Acquired data) is updated at any time.
  • the memory device in the connected device 4 may be referred to as “external memory”.
  • the shared memory 53 and the calculation result storage memory 54 described later may be referred to as “internal memory”.
  • the CPU 11 based on the main body program 21 and the communication program 23, the CPU 11 performs the acquisition / storage process of the acquisition data, the calculation process, the display control process of the operation display screen, and the like.
  • the display control process for the operation display screen is performed by using the screen data 22, the symbol information 51, the acquired data, the calculation processing result, and the like. In this way, the display content of each item image on the operation display screen (numerical display such as temperature, lighting / extinguishing of lamp, etc.) is updated at any time based on the acquired data and the calculation processing result. is there.
  • the screen data 22 (symbol information 51 is added), for example, a screen data file 32 (symbol information 51 is added) arbitrarily created in advance on the drawing editor device 5 side is downloaded to the programmable display 1.
  • the communication program 23 is a program in which, for example, a part of a group of communication program files 33 previously stored on the drawing editor device 5 side is downloaded and stored in the programmable display 1.
  • the CPU 11 determines the operation display screen based on the main body program 21, the communication program 23, the screen data 22, the symbol information 51, the acquired data, the calculation processing result based on the acquired data, and the like. Perform display control.
  • the numerical display item is periodically read out from the assigned memory area of the numerical display item, and the numerical display item is determined according to the acquired data or the calculation processing result based on the acquired data. Update the display content of.
  • 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.
  • the various processing functions of the programmable display 1 of this example are basically realized by the CPU 11 executing the main body program 21 and the communication program 23 and referring to various data required during the processing. However, the calculation process based on the acquired data executes a calculation included in the symbol information 51.
  • this calculation process is executed not during the process related to display update but during the process related to data acquisition (communication with the connected device 4 or the like), and the calculation result is stored in the calculation result storage memory 54 described later.
  • the calculation result storage memory 54 is accessed to acquire and display the calculation result. As a result, it is not necessary to execute the calculation process for each process related to the display update, and the processing efficiency is improved. Details will be described later.
  • the drawing editor 31 has a function of allowing the user (developer, etc.) to arbitrarily set the symbol information.
  • FIG. 4 shows examples of various windows related to the symbol information setting operation.
  • FIG. 4A is an example of the symbol information registration window 34 (main setting window). For example, when the user designates (clicks) the “symbol type” field or the “address” field of the record of an arbitrary item on the symbol information registration window 34, it is shown in FIGS. 4B to 4D. Various windows are displayed. This supports the setting work by the user. Further, the window 38 shown in FIG. 4E is displayed by a predetermined operation on the window 37 shown in FIG.
  • the user can arbitrarily set various symbol information such as the illustrated symbol name, symbol type, address, etc. for each symbol on the symbol information registration window 34.
  • symbol ID shown is an ID for identifying each symbol, but in this example, serial numbers such as 0, 1, 2,.
  • the user can set a desired name in the “symbol name” field shown for each symbol.
  • the symbol type (whether only data acquisition or calculation is performed) can be set. For example, when the user designates the “symbol type” field shown in the figure, for example, a symbol type selection window 35 shown in FIG. 4B is displayed. As a result, the user selects either “address” or “calculation” shown in the figure on the symbol type selection window 35. Select “Address” if only data acquisition is required, and select “Calculation” if calculation is also performed.
  • the user can set an address corresponding to the allocated memory address in the “address” column on the symbol information registration window 34.
  • an address selection window 36 shown in FIG. 4C is displayed for symbols having the symbol type “address”.
  • the user can set, for example, a desired connected device, the desired memory device, and an address of a desired storage area in the memory device on the address selection window 36.
  • a desired connected device (here, “PLC1 memory”) may be set.
  • the connected device setting information is also stored in the item list 52, the symbol information 51, or the shared information. It is included in the memory 53 and the like.
  • the setting information of the connected device is basically omitted. However, it is only omitted, and actually, the device names 74 and 82 and the operation target device name 77 include not only the memory device name but also the identification information of the set connected device (the connected device name). ) May also be included.
  • an operation selection window 37 shown in FIG. 4D is displayed.
  • This calculation formula is, for example, a calculation based on the “acquired data”.
  • an address or the like corresponding to the allocated memory address is set in the “arithmetic memory” column shown in the figure.
  • calculations such as addition / subtraction and subtraction are set. Note that this may be selected, for example, on the calculation mode selection window 38 shown in FIG.
  • a numerical value such as 100 or 1000 can be arbitrarily set, but other addresses other than the allocated memory address can also be set.
  • “D02100” meaning the address 02100 of the memory device D is set to “arithmetic memory”
  • “D00300” is set to “memory to be computed”.
  • the “calculation mode” is addition. That is, an arithmetic expression is set to add the storage data “D00300” to the storage data “D02100”.
  • symbol information arbitrarily set by the user or the like (including the content shown in FIG. 4A, for example) is stored in the storage device of the drawing editor device 5, and will be described below with reference to FIG. Referenced during association work.
  • the symbol information is downloaded to the programmable display 1 together with the screen data.
  • FIG. 4F is a diagram for explaining the work of associating symbols with items.
  • a user selects and designates an arbitrary item image in a state where a plurality of desired item images are arranged on the screen for creating an arbitrary operation display screen on the drawing editor device 5, various settings can be made for the item.
  • a window is displayed.
  • an illustrated symbol information association window 39 for associating an arbitrary symbol with this item is also displayed.
  • symbol information association window 39 for example, a symbol name list is displayed as shown in the figure.
  • this symbol is associated with this item.
  • the name or ID of the selected symbol is added as information (image, arrangement coordinates, etc.) of this item in the screen data file 32.
  • the symbol information 51 includes information (an allocated memory address or an arithmetic expression using the allocated memory address, etc.) set in the “address” column shown in FIG. As a result, for an item associated with an arbitrary symbol, access to the allocated memory area, arithmetic processing, and the like are performed using the setting information of the associated symbol.
  • association between items and symbols is not limited to one-to-one, and may be many-to-one, for example.
  • different display forms for example, numerical display and graph display
  • a numerical display item and a graph display item are associated with one symbol. Also good. As a result, it is possible to reduce the trouble of setting the allocated memory address and the like.
  • 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 illustrated item generation unit 41, item processing schedule unit 42, item processing unit 43, communication processing unit 44 (44-1, 44-2, etc.), shared memory generation processing unit 45, memory read processing unit 46, memory book
  • the following processing functions of various processing function units such as the embedded processing unit 47 are realized.
  • the programmable display 1 holds the screen data 22 to which the symbol information 51 is added as described above.
  • the programmable display 1 there are memory areas of a shared memory 53 and an operation result storage memory 54 shown in the figure.
  • the item generation unit 41, the item processing schedule unit 42, the item processing unit 43, the shared memory generation processing unit 45, the memory read processing unit 46, and the memory write processing unit 47 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. Further, the screen data 22 and the symbol information 51 may be referred to when executing the processing of the various processing functions.
  • the item generation unit 41 generates an item list 52 based on the screen data 22 or the like. This is generated, for example, by extracting a part of the screen data 22 (a processed flag 68 described later may be added).
  • FIG. 6A shows a data configuration diagram of the item list 52.
  • the item list 52 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, symbol information 67, and processed flag 68.
  • the symbol information 67 is registered only in the case of an item associated with a symbol. Except for the symbol information 67, it may be regarded as the same as the prior art, 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 device indicated by the device name 64 is an area assigned to the item (the above-mentioned assigned memory area).
  • the memory device indicated by the device name 64 is a memory device in the connected device 4.
  • symbol information 67 information (symbol name, symbol ID, etc.) indicating a symbol (for example, the symbol selected in FIG. 4F) associated with the item is stored. Note that the information is not limited to the symbol name and symbol ID, and any information can be used as long as it can specify the symbol associated with the item.
  • the symbol information 67 may further store an item type (“address” or “calculation”).
  • FIG. 6B shows a data configuration diagram of the symbol information 51.
  • the symbol information 51 in the illustrated example includes data items of a symbol ID 71, a symbol name 72, a symbol type 73, a device name 74, an address 75, an operation type 76, an operation target device name 77, and an operation target address 78.
  • the symbol ID 71 is an ID for identifying each symbol, and is, for example, a serial number assigned for each new symbol registration such as “symbol ID” shown in FIG. 4A, but is not limited to this example.
  • the symbol name 72 is a name of each symbol, for example, a name arbitrarily set by the user in FIG. For example, either “address” or “calculation” described in FIG. 4A is stored in the symbol type 73 (for example, the selection result on the symbol type selection window 35 in FIG. 4B is stored). )
  • the device name 74 and the address 75 store, for example, the memory device name and address set on the windows of FIG. 4A and FIG. 4C. However, data is not stored in the operation type 76, the operation target device name 77, and the operation target address 78.
  • the device name 74 and the address 75 store, for example, the memory device name and address set in the “calculation memory” column of FIG. Furthermore, the device name 77 and the operation address 78 store the memory device name and address set in the “operation memory” column of FIG. However, when an arbitrary numerical value (for example, a memory device name (for example, 100) that is not a memory device name (for example, D)) is set in the “operation memory” column of FIG. There is no data, and the set value is stored in the operand address 78.
  • an arbitrary numerical value for example, a memory device name (for example, 100) that is not a memory device name (for example, D)
  • the communication processing unit 44 if there is data in the operation target device name 77, data acquisition processing based on the operation target device name 77 and the operation target address 78 is performed. However, when there is no data in the operation target device name 77, data acquisition processing based on the operation target device name 77 and the operation target address 78 is not performed. If there is no data in the operation target device name 77, the operation is performed using the value of the operation target address 78 as it is. Furthermore, the calculation type 76 stores calculation expressions such as addition and subtraction set in the “calculation mode” column on the window of FIG.
  • the device name 74 and the operation target device name 77 may include not only the memory device name but also the above-mentioned connected device name. Further, the memory device name is not limited to the name, and may be information for identifying some memory device.
  • the programmable display device 1 When the programmable display device 1 subsequently accesses the allocated memory area based on the symbol information 51 (or further calculates based on the access result), for example, the following processing is performed.
  • symbol type 73 With reference to the symbol type 73, it is recognized whether it is “address” or “calculation”. When the symbol type 73 is “address”, the storage data in the allocated memory area indicated by the device name 74 and the address 75 is acquired.
  • the symbol type 73 is “calculation”
  • the storage data in the allocated memory area indicated by the device name 74 and the address 75 is acquired, and the memory address indicated by the operation target device name 77 and the operation address 78 is stored. Acquire data for operation. Then, the calculation indicated by the calculation type 76 is executed using these two acquired data.
  • 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. 9 described later (in other words, cyclically executes the processing of FIG. 9).
  • the item processing unit 43 executes processing related to update of the display content of the image for each item based on the item list 52, stored data in the shared memory 53 and the calculation result storage memory 54 described later, and the like. .
  • the data read processing from the memories 53 and 54 is executed by the memory read processing unit 46.
  • the memory read processing unit 46 may be regarded as a part of the function of the item processing unit 43.
  • the memory read processing unit 46 is basically described as a part of the function of the item processing unit 43.
  • the processing of the memory read processing unit 46 is also included in the processing flowchart of the item processing unit 43 of FIG. 9 described later.
  • the item processing unit 43 (including the memory read processing unit 46) may be referred to as a screen display unit.
  • the memory read processing unit 46 reads out data corresponding to each item, which may be read from the shared memory 53 or read from the calculation result storage memory 54 depending on the item.
  • the shared memory generation processing unit 45 generates a data storage area (record) for each item in the shared memory 53 based on the item list 52, the symbol information 51, and the like.
  • the shared memory 53 and the calculation result storage memory 54 will be described.
  • FIG. 7A shows a specific example of the shared memory 53
  • FIG. 7B shows a specific example of the calculation result storage memory 54
  • the shared memory 53 in the example shown in FIG. 7A includes data items of a port 81, a device name 82, an address 83, data 84, and “calculation symbol association information” 85.
  • the data items other than “association information to the calculation symbol” 85 may be substantially the same as the conventional one. Therefore, a brief description will be given below.
  • the port 81 is identification information (communication port number) of the communication port, and is substantially information for identifying the connection device 4 of the communication partner.
  • the communication port number corresponding to the connected device can be determined based on the connected device name included in the device name 64 (74) (a connection device-communication port number correspondence table (not shown) or the like). , Registered in advance).
  • the device 82 is identification information of a memory device (external memory) in the connection device 4 of the communication partner.
  • the address 83 is an address of a predetermined storage area in the external memory indicated by the device 82, and the data 84 stores data acquired from this storage area.
  • the shared memory generation processing unit 45 stores the determined communication port number in the port 81 for each item. Further, regarding the device name 82 and the address 83, the data storage area (record) for each item described above is generated by storing data as described below.
  • the shared memory generation processing unit 45 sets the device name 64 and the address 65 when there is no data in the symbol information 67 for each item information of the item list 52, for example. And stored in the device name 82 and address 83 of the shared memory 53.
  • the symbol information 51 is searched using the symbol information 67 to recognize the corresponding record, and the device name 74 and address 75 of the corresponding record are stored in the shared memory 53. Stored in the device name 82 and address 83 of the device.
  • the symbol ID 71 is stored in the “association information to the calculation symbol” 85.
  • the data is stored in the “calculation symbol association information” 85 only for items associated with the “calculation” type symbol.
  • the calculation result storage memory 54 in the example shown in FIG. 8B stores a calculation result 92 in association with the symbol ID 91.
  • the calculation process is executed, and the calculation process result is stored in the calculation result 92. Then, for such an item, the memory read processing unit 46 acquires data of the calculation result 92.
  • the memory read processing unit 46 refers to the item list 52 and determines, for each item, whether or not the item is associated with a symbol. In this example, when there is data in the symbol information 67, it is determined that the symbol information 67 is associated with the symbol. Regarding the items not associated with the symbol, there should be data in the device name 64 and the address 65, and based on these, the data 84 of the corresponding record in the shared memory 53 is read.
  • the symbol information 51 is searched using the symbol information 67 to refer to the corresponding record.
  • the symbol type 73 in the corresponding record is “address”
  • the data 84 of the corresponding record in the shared memory 53 is read based on the device name 74 and the address 75.
  • the calculation result is read from the calculation result storage memory 54 based on the symbol ID 71.
  • the item processing unit 43 does not need to execute the calculation process for each display update, and the processing load is reduced.
  • the calculation processing is executed by the communication processing unit 44 during communication processing (data acquisition processing from the allocated memory area) as will be described later.
  • 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 operation display screen is displayed. The drawing data is updated by the item processing unit 43 as needed, for example, every time processing shown in FIG.
  • the communication processing unit 44 is a communication processing unit 44-1 or 44-1 provided for each connection device 4 (4-1 or 4-2). That is, the illustrated communication processing unit 44-1 performs communication with the connection device 4-1 via the communication line 6 using the communication port WAY1 corresponding to the connection device 4-1, and the external memory thereof. Stored data in a predetermined area (allocated memory area).
  • the illustrated communication processing unit 44-2 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, and externally transmits the communication port WAY2. Data stored in a predetermined area (allocated memory area) of the memory is acquired.
  • the acquisition process itself of the stored data in the allocated memory area may be basically the same as the conventional process, but in the case of this method, data may be acquired from a plurality of memory areas depending on the item.
  • Such an item is basically an item associated with a “computation” type symbol, and data is also stored in the device name 77 to be computed. As described above, in the case of calculation such as “ ⁇ 100”, there is no data in the operation target device name 77.
  • Each of the communication processing units 44-1 and 44-2 in this example further includes a processing function of the memory writing processing unit 47.
  • the memory write processing unit 47 is described as a part of the function of the communication processing unit 44. Therefore, the processing of the memory write processing unit 47 is also included in the flowchart of the communication processing unit 44 of FIG.
  • the memory write processing unit 47 (item data processing unit) first stores the acquired storage data (referred to as acquisition data) in a predetermined area of the shared memory 53 by overwriting. Further, for an item associated with the “calculation” type symbol, a predetermined calculation is performed and the calculation result is stored in the calculation result storage memory 54.
  • the memory write processing unit 47 may overwrite and store the acquired data in the predetermined area of the shared memory 53 only when the existing data in the predetermined area of the shared memory 53 is different from the acquired data. Furthermore, only when the acquired data is overwritten and stored in a predetermined area of the shared memory 53, the predetermined calculation process may be executed and the calculation result stored in the calculation result storage memory 54 may be executed. As a result, useless calculations (calculations in which the calculation result is the same as the previous calculation) can be prevented from being executed, the processing load can be reduced, and the processing efficiency is improved.
  • FIG. 8 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. 8 cyclically (at regular intervals).
  • the shared memory 53 is referred to, and the memory list 55 relating to the connected device 4 that the user is in charge of is generated (step S1).
  • the memory list 55 related to the connected device 4-1 is generated.
  • FIG. 7C shows a data configuration example of the memory list 55.
  • the memory list 55 includes data items of a device name 101, an address 102, data 103, and error information 104.
  • the communication processing unit 44-1 extracts all the records in which the port 81 is “WAY 1” from the shared memory 53.
  • the information of the device name 82, address 83, and data 84 of each extracted record is stored in the device name 101, address 102, and data 103.
  • the memory list 55 related to the connected device 4-1 is generated.
  • the error information 74 is not necessarily required. Instead, flag information indicating whether or not the processing has been completed may be stored. Thereafter, referring to the generated memory list 55, the processes of steps S2 to S7 are repeatedly executed until the determination of step S7 becomes NO.
  • an unprocessed record is taken out from the memory list 55 (a record to be processed), 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 memory read command (step S3).
  • the memory read command includes information (allocated memory address) for specifying an access destination such as the device name 71 and the address 72.
  • the connected device 4 reads out data from the storage area indicated by the allocated memory address and performs response processing for returning the read data. However, if data read fails for some reason, a memory read error or the like is returned.
  • Step S4 When there is a normal response from the connected device 4, the communication processing unit 44 overwrites and stores the read data included in this response in the column of the data 84 in the record corresponding to the processing target record in the shared memory 53. (Step S4).
  • the overwrite storage process in step S4 may not be performed. .
  • step S5 it is determined whether or not there is an association with the calculation symbol. For example, when an arbitrary symbol ID is stored in the “association information to operation symbol” 55 in the record stored in step S4, it is determined that there is an association to the operation symbol ( Step S5, YES).
  • step S6 a predetermined calculation process (step S6) is executed.
  • the process of step S6 may not be executed regardless of the determination result of step S5. That is, when the read data from the allocated memory area is the same as the previous read data from the allocated memory area, the calculation result is the same as the previous data, so that the calculation is not performed. As a result, useless calculation execution can be avoided.
  • step S6 for example, the corresponding record in the symbol information 51 is searched using the symbol ID stored in the “association information with calculation symbol” 55 described above. Then, the device name 77 and the operation address 78 in the corresponding record are used to access the connection device 4 to acquire the storage data in the corresponding storage area, and the acquired data and the data stored in the above step S4 (data 84). ) To execute the calculation of the calculation type 76 of the corresponding record.
  • the stored data of the operation target address 78 is not an address but an arbitrary numerical value. Therefore, in this case, the calculation of the calculation type 76 of the corresponding record is executed using the stored data of the calculation target address 78 and the data (data 84) stored in step S4.
  • the “operating memory” (the operating device name 77 and the operating address 78) is also stored in the shared memory 53 and the memory list 55, and the processing of steps S3 and S4 is performed. At this time, the stored data in the “computed memory” may be read and stored in the shared memory 53. In this case, as a matter of course, it is not necessary to read out the stored data of the “memory to be operated” in step S6.
  • step S6 finally, the calculation result is stored in the corresponding record of the calculation result storage memory 54.
  • the corresponding record is a record whose symbol ID 91 is the same as the symbol ID of the “association information with calculation symbol” 55 described above.
  • step S5 is NO or after executing the process of step S6, it is checked whether or not an unprocessed record remains in the memory list 55 (step S7, YES), the process returns to step S2. If it does not remain (step S7, NO), this process ends.
  • FIG. 9 is a processing flowchart of the item processing unit 43. As described above, the processing in FIG. 9 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 52 (step S11). For example, the processed flag 68 of all records in the item list 52 is set to “unprocessed”. Thereafter, the processes in steps S12 to S20 are repeatedly executed until NO in step S20 described later.
  • the following processes are executed with an arbitrary record among the records whose flag 68 is “unprocessed” as a process target record.
  • the symbol information 67 will be described using an example in which not only associated symbol identification information (symbol name, symbol ID, etc.) but also a symbol type is included.
  • the symbol information 51 may be retrieved by searching the symbol information 51 using the symbol name or symbol ID.
  • the symbol information 67 of the processing target record is referenced to determine whether the symbol type is “calculation”, “address”, or there is no symbol association. As described above, if there is no stored data in the symbol information 67, it is assumed that there is no symbol association (NO in step S13 and NO in step S14), and the process of step S17 is executed as it is.
  • step S17 the corresponding record in the shared memory 53 is searched using the device name 64 and address 65 of the process target record and the data is acquired (step S17). That is, for example, a record whose device name 82 and address 83 are the same as the device name 64 and address 65 of the processing target record is the corresponding record. Then, the data 84 of the corresponding record is acquired (step S17).
  • the symbol type (“operation” or “address”) is also stored in the symbol information 67 in the above-described example, and by referring to this, it is “operation” or “address”. Determine if there is.
  • step S13 When the symbol type is “address” (step S13 is NO and step S14 is YES), the symbol information 51 is searched using the symbol name stored in the symbol information 67, the device name 74 and the address 75 of the corresponding record. Is acquired (step S15). And the process of step S17 is performed. In the process of step S17 in this case, a record whose device name 82 and address 83 are the same as the acquired device name 74 and address 75 is the corresponding record. Then, the data 84 of the corresponding record is acquired (step S17).
  • step S13 when the symbol type is “calculation” (step S13, YES), the calculation result storage memory 54 is searched using the symbol ID of the symbol information 67 to obtain the calculation result 92 of the corresponding record ( Step S16).
  • the display process may be performed as usual. That is, using the data acquired in step S16 or step S17, further using the information of the processing target record (item image, coordinates, size, etc.), a normal item drawing process (for example, developed on the RAM 13) is performed. This is performed (step S18).
  • step S18 When the execution of step S18 is completed, the processed flag 68 of the processing target record in the item list 52 is changed to “processed” (step S19). If unprocessed records remain in the item list 52 (step S20, YES), the process returns to step S12. If all the records have been processed (step S19, NO), the process ends.
  • the programmable display device As described above, according to the programmable controller system of the present example, the programmable display device, the support device, etc., each symbol information in which an arbitrary arithmetic expression is described in advance is registered in the support device, and an arbitrary item is registered. Is associated with arbitrary symbol information. Thereby, in a programmable display, the display based on arithmetic processing regarding this item can be performed.
  • the calculation process is executed at the time of data acquisition and the calculation result is stored, so that the display update is performed using the calculation result in the cyclic screen display update process.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Selon l'invention, des informations pour des symboles pour chacun desquels une expression arithmétique quelconque est indiquée sont enregistrées au préalable dans un dispositif d'éditeur d'image (5). Parmi des éléments qui constituent un écran d'un dispositif d'affichage programmable, un élément sur lequel un traitement arithmétique est exécuté est associé à un symbole correspondant. En résultat de ce qui précède, dans le dispositif d'affichage programmable, lors de l'exécution d'un traitement concernant l'élément, un traitement arithmétique qui utilise l'expression arithmétique et analogue du symbole associé est exécuté, et sur la base de ce traitement arithmétique, un affichage de résultats est effectué.
PCT/JP2012/082518 2012-12-14 2012-12-14 Système de contrôleur programmable, dispositif d'affichage programmable pour celui-ci, dispositif d'assistance et programme WO2014091623A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2014551820A JP5870214B2 (ja) 2012-12-14 2012-12-14 プログラマブルコントローラシステム、そのプログラマブル表示器、支援装置、プログラム
CN201280069484.4A CN104106015B (zh) 2012-12-14 2012-12-14 可编程控制器系统、其可编程显示器、辅助装置、程序
PCT/JP2012/082518 WO2014091623A1 (fr) 2012-12-14 2012-12-14 Système de contrôleur programmable, dispositif d'affichage programmable pour celui-ci, dispositif d'assistance et programme
TW102140703A TWI582555B (zh) 2012-12-14 2013-11-08 A programmable controller system, a programmable display, a support device, a program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/082518 WO2014091623A1 (fr) 2012-12-14 2012-12-14 Système de contrôleur programmable, dispositif d'affichage programmable pour celui-ci, dispositif d'assistance et programme

Publications (1)

Publication Number Publication Date
WO2014091623A1 true WO2014091623A1 (fr) 2014-06-19

Family

ID=50933939

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/082518 WO2014091623A1 (fr) 2012-12-14 2012-12-14 Système de contrôleur programmable, dispositif d'affichage programmable pour celui-ci, dispositif d'assistance et programme

Country Status (4)

Country Link
JP (1) JP5870214B2 (fr)
CN (1) CN104106015B (fr)
TW (1) TWI582555B (fr)
WO (1) WO2014091623A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6852519B2 (ja) * 2016-04-04 2021-03-31 オムロン株式会社 プログラム作成支援装置、プログラム作成支援装置の制御方法、およびプログラム作成支援装置の制御プログラム
CN109196454B (zh) * 2016-06-03 2020-02-14 三菱电机株式会社 可编程显示器、画面显示系统以及可编程显示器的控制方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002033892A (ja) * 2000-07-13 2002-01-31 Sharp Corp 画像処理装置および画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体
JP2005004598A (ja) * 2003-06-13 2005-01-06 Toshiba Mitsubishi-Electric Industrial System Corp プラント監視支援システム
JP4994517B1 (ja) * 2011-02-21 2012-08-08 三菱電機株式会社 エンジニアリング装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263245A (ja) * 1995-03-28 1996-10-11 Idec Izumi Corp プログラマブル表示器の表示画面作成装置
CN100368988C (zh) * 1999-08-31 2008-02-13 迪吉多电子股份有限公司 编辑装置
JP3910184B2 (ja) * 2004-03-29 2007-04-25 ファナック株式会社 シーケンスプログラム編集装置
JP2008159002A (ja) * 2006-12-26 2008-07-10 Toshiba Corp プラント制御システム、監視操作装置及びプラント監視プログラム
KR101016076B1 (ko) * 2007-01-10 2011-02-17 미쓰비시덴키 가부시키가이샤 프로그래머블 표시기 및 제어 시스템
US20090089671A1 (en) * 2007-09-28 2009-04-02 Rockwell Automation Technologies, Inc. Programmable controller programming with embedded macro capability
JP2009157533A (ja) * 2007-12-25 2009-07-16 Fuji Electric Systems Co Ltd プログラマブルコントローラシステム
WO2011089688A1 (fr) * 2010-01-20 2011-07-28 三菱電機株式会社 Système de dispositif de contrôle programmable et système de développement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002033892A (ja) * 2000-07-13 2002-01-31 Sharp Corp 画像処理装置および画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体
JP2005004598A (ja) * 2003-06-13 2005-01-06 Toshiba Mitsubishi-Electric Industrial System Corp プラント監視支援システム
JP4994517B1 (ja) * 2011-02-21 2012-08-08 三菱電機株式会社 エンジニアリング装置

Also Published As

Publication number Publication date
JPWO2014091623A1 (ja) 2017-01-05
TW201439699A (zh) 2014-10-16
TWI582555B (zh) 2017-05-11
CN104106015B (zh) 2017-03-15
JP5870214B2 (ja) 2016-02-24
CN104106015A (zh) 2014-10-15

Similar Documents

Publication Publication Date Title
JP6006399B2 (ja) プログラマブル表示器、そのプログラム
JP5934428B2 (ja) プログラマブル表示器、プログラマブルコントローラシステム、プログラム
JP2014032529A (ja) Plcシステム、その作画エディタ装置、プログラマブル表示器
JP2007286824A (ja) ソフトウェアの起動言語を統一する装置、ソフトウェアの起動言語を統一する方法およびプログラム
WO2015170408A1 (fr) Système de commande de surveillance, terminal de surveillance, et programme de surveillance
JP5870214B2 (ja) プログラマブルコントローラシステム、そのプログラマブル表示器、支援装置、プログラム
JP2007072518A (ja) 制御装置のヒューマン・マシン・インタフェース装置
JP4941674B2 (ja) シミュレーション・システム
JP6033394B2 (ja) プログラマブル表示器、そのプログラム
JP2012168900A (ja) プログラミング装置、プログラム
JP5883936B2 (ja) プログラマブルコントローラシステム
CN111971650A (zh) 绘图装置、绘图程序及存储介质
JP6207694B2 (ja) プログラマブル表示器、プログラム
JP5970080B2 (ja) プログラマブル表示器、プログラム
JP6095743B2 (ja) 支援装置、プログラム
WO2014112059A1 (fr) Système de dispositif de commande apte à être programmé, dispositif d'affichage apte à être programmé, dispositif de support et programme
JP6230368B2 (ja) プログラマブルコントローラシステム、そのプログラマブル表示器、支援装置
JP5883953B2 (ja) プログラマブルコントローラシステム、そのプログラマブル表示器、作画エディタ装置、プログラム
JPWO2020089963A1 (ja) データ管理システム、プログラマブル表示器、およびデータ管理プログラム
JP2020087265A (ja) 情報処理プログラムおよび情報処理装置
JP5926584B2 (ja) Plcシステム、そのプログラマブル表示器、作画エディタ装置
JP6333279B2 (ja) プログラマブル表示器、プログラム
JP4878586B2 (ja) プログラマブル表示器用画面生成装置、そのプログラム
JP2004178303A (ja) 表示装置、画面データ生成装置、および、そのプログラム

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2014551820

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 12889947

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12889947

Country of ref document: EP

Kind code of ref document: A1