WO2019003351A1 - Drawing software, recording medium, and drawing device - Google Patents

Drawing software, recording medium, and drawing device Download PDF

Info

Publication number
WO2019003351A1
WO2019003351A1 PCT/JP2017/023787 JP2017023787W WO2019003351A1 WO 2019003351 A1 WO2019003351 A1 WO 2019003351A1 JP 2017023787 W JP2017023787 W JP 2017023787W WO 2019003351 A1 WO2019003351 A1 WO 2019003351A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen data
data
transfer
programmable display
editing
Prior art date
Application number
PCT/JP2017/023787
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 JP2018503693A priority Critical patent/JP6403919B1/en
Priority to CN201780077175.4A priority patent/CN110073298A/en
Priority to PCT/JP2017/023787 priority patent/WO2019003351A1/en
Publication of WO2019003351A1 publication Critical patent/WO2019003351A1/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Definitions

  • the present invention relates to drawing software, storage medium and drawing apparatus for creating screen data of a programmable display.
  • the programmable display is usually connected to a PLC (Programmable Logic Controller), which is an external device, and displays the status of the PLC.
  • the programmable display receives an input operation and controls the PLC according to the input operation.
  • Screen data for display on the programmable display can be optionally created using a drawing device on which drawing software is installed.
  • the screen data created by the drawing device is transferred from the drawing device to the programmable display.
  • the transfer of screen data is usually performed by a manual operation of a user who edits the screen data.
  • the programmable display performs screen display using the screen data transferred from the drawing device.
  • Patent Document 1 discloses a technique for shortening the time required to transfer screen data for a device for creating an operation screen used for operations and displays in various control means.
  • Patent Document 1 Even if it is possible to shorten the time of transfer of screen data itself, work for correction of screen data is not performed during transfer of screen data. It is difficult to improve the efficiency of debugging work.
  • the present invention has been made in view of the above, and it is an object of the present invention to obtain graphic software that can improve the work efficiency of debugging of screen data.
  • the drawing software causes a computer to function as a drawing device that creates screen data of a programmable display.
  • the drawing software is held in the storage unit, the step of changing the first screen data for editing according to the input operation, the first screen data, and the storage unit, and the programmable display Collating with the second screen data for transfer to the computer.
  • the drawing software updates the second screen data to the same data as the first screen data when it is detected that the second screen data and the first screen data are different; Transferring the screen data of 2 to the programmable display.
  • the drawing software according to the present invention has the effect of being able to improve the work efficiency of debugging screen data.
  • FIG. 1 A diagram showing a drawing device according to an embodiment of the present invention and a programmable display connected to the drawing device
  • a flowchart showing the procedure of transfer processing by the transfer unit shown in FIG. 1 A diagram for explaining the operation procedure of the drawing device and the programmable display shown in FIG.
  • FIG. 1 is a diagram showing a drawing device 10 according to an embodiment of the present invention and a programmable display 20 connected to the drawing device 10.
  • the drawing device 10 is a computer in which the drawing software 11 is installed.
  • the drawing device 10 creates screen data of the programmable display 20.
  • the programmable display 20 displays the state of the external device.
  • the programmable display 20 receives an input operation and controls an external device according to the input operation.
  • the programmable display 20 displays an image based on the screen data created by the drawing device 10 and operates an external device.
  • the programmable display 20 is connected to a control device 30 which is an external device.
  • One example of the controller 30 is a PLC.
  • the control device 30 controls the drive of the machine to be controlled.
  • FIG. 1 shows a functional configuration of the drawing device 10 by execution of the drawing software 11.
  • the drawing device 10 includes a storage unit 18 which is a functional unit that holds screen data 16 for editing and screen data 17 for transfer.
  • the screen data 16 is first screen data for editing.
  • the screen data 17 is second screen data for transfer to the programmable display 20.
  • the editing includes the creation of screen data performed according to the input operation by the user and the change of the created screen data.
  • the drawing device 10 includes an editing unit 13 which is a functional unit that changes the screen data 16 according to an input operation by the user and executes editing processing of the screen data 16. Further, when it is detected that the screen data 17 and the screen data 16 are different by the comparison between the screen data 16 and the screen data 17, the drawing device 10 updates the screen data 17 to the same data as the screen data 16. And a transfer unit 14 that is a functional unit that transfers the updated screen data 17 to the programmable display 20. Furthermore, the drawing apparatus 10 presents information to the user, and also transmits information to the user interface (Interface, I / F) 12 to which the information is input from the user and the programmable display 20, and the programmable display 20. And a communication interface (I / F) 15 for receiving information from the device. The editing unit 13 executes editing processing of the screen data 16 in accordance with the information input to the user I / F 12. The transfer unit 14 transfers the screen data 17 to the programmable display 20 by communication from the communication I / F 15.
  • an editing unit 13 is a functional unit
  • the programmable display 20 includes a storage unit 25 that is a functional unit that holds screen data 26 for display and operation, a control unit 21 that is a functional unit that executes processing for controlling the control device 30, and screen data 26. And the touch panel 27 which is hardware which receives the input operation by a user. Further, the programmable display 20 is a connection interface between a peripheral device interface (I / F) 23 which is a connection interface with the drawing device 10 which is a peripheral device, and a control device interface (I / F) 24 which is a connection interface with the control device 30. And The control unit 21 controls the display 22, the peripheral device I / F 23, the control device I / F 24, the storage unit 25, and the touch panel 27.
  • I / F peripheral device interface
  • I / F control device interface
  • FIG. 2 is a diagram showing a hardware configuration of the drawing device 10 shown in FIG.
  • the drawing software 11 causes a computer to function as the drawing device 10.
  • the drawing device 10, which is a computer includes a central processing unit (CPU) 41 that executes various processes, a random access memory (RAM) 42 including a program storage area and a data storage area, and a read only memory (ROM) that is a non-volatile memory. And 43, and an external storage device 44 which is a storage unit for storing data.
  • the drawing apparatus 10 further includes a communication interface (I / F) 45 which is a connection interface with the programmable display 20, an input device 46 for receiving an input operation by the user, and a display 47 for displaying information on various screens. Prepare.
  • the components of the image forming apparatus 10 shown in FIG. 2 are mutually connected via a bus 48.
  • the external storage device 44 is a solid state drive (SSD) or a hard disk drive (HDD).
  • the input device 46 is a pointing device and a keyboard.
  • One example of the display 47 is a liquid crystal display provided with a liquid crystal panel.
  • the user I / F 12 shown in FIG. 1 is realized using the input device 46 and the display 47.
  • Communication I / F 15 shown in FIG. 1 is realized using communication I / F 45.
  • the CPU 41 executes programs stored in the ROM 43 and the external storage device 44.
  • the ROM 43 stores a Basic Input / Output System (BIOS) or a Unified Extensible Firmware Interface (UEFI), which is a program for controlling the computer that is the drawing device 10.
  • the external storage device 44 stores drawing software 11 and screen data 16 and 17.
  • the functions of the storage unit 18 shown in FIG. 1 are realized using the external storage device 44.
  • the function of the editing unit 13 and the function of the transfer unit 14 are realized using the CPU 41.
  • the programs stored in the ROM 43 and the external storage device 44 are loaded into the RAM 42.
  • the CPU 41 develops a program in a program storage area in the RAM 42 and executes various processes.
  • the drawing software 11 may be recorded on a storage medium readable by a computer.
  • the drawing device 10 may store the drawing software 11 stored in the storage medium in the external storage device 44.
  • the storage medium may be a portable storage medium, which is a flexible disk, or a flash memory, which is a semiconductor memory.
  • the drawing software 11 may be installed in the drawing apparatus 10 from another computer or a server device via a communication network.
  • FIG. 3 is a diagram showing the details of the screen data 16 for editing shown in FIG.
  • the screen data 16 includes data 50D1, 50D2,..., 50DN which are screen data 16 of N screens D1, D2,.
  • N is an integer of 3 or more.
  • Data 50D1 includes a screen common setting 51D1 which is a setting such as a screen name and a screen number which is an index value for each screen, object information 52D1 which is information about an object such as a numerical value display and a touch switch, a rectangle, a circle, and a polygon
  • graphic information 53D1 which is information about the graphic.
  • the data 50D2, ..., 50DN like the data 50D1, include the screen common settings 51D2, ..., 51DN, the object information 52D2, ..., 52DN, and the graphic information 53D2, ..., 53DN. Including.
  • the screen data 17 for transfer is configured in the same manner as the screen data 16 shown in FIG.
  • the format of the screen data 17 may be the same as the format of the screen data 16 or may be different from the format of the screen data 16.
  • the screen data 17 may be data after compilation execution optimized for handling in the control unit 21 of the programmable display 20.
  • FIG. 4 is a flowchart showing the procedure of the editing process of the screen data 16 for editing in the editing unit 13 shown in FIG.
  • the editing unit 13 changes the screen data 16 held in the storage unit 18 according to the input operation to the user I / F 12.
  • step S1 the editing unit 13 determines whether an input operation for changing the screen data 16 has been received by the user I / F 12. In one example, the editing unit 13 determines that the input operation for changing the screen data 16 has been received by pressing the enter button displayed on the detail setting screen for the object and the figure. The detail setting screen is displayed by the user I / F 12. When the input operation has not been received (step S1, No), the editing unit 13 stands by until the input operation is received.
  • the editing unit 13 changes the editing screen data 16 held in the storage unit 18 in step S2.
  • the editing unit 13 uses the screen common settings 51D1, ..., 51DN, the object information 52D1, ..., 52DN, and the graphic information 53D1, ..., 53DN based on the information input to the user I / F 12. And update as appropriate.
  • the editing unit 13 once terminates the editing process of the screen data 16 for editing, and waits for the next editing process.
  • FIG. 5 is a flowchart showing a procedure of processing from detection of change of the screen data 16 by the transfer unit 14 shown in FIG. 1 to transfer of the screen data 17.
  • the transfer unit 14 determines whether or not a previously set period has passed since the previous verification. If the cycle has not passed (No at Step S11), the transfer unit 14 stands by until the cycle passes.
  • Step S12 the transfer unit 14 has already transferred the screen data 16 for editing held in the storage unit 18 and has already been transferred, and holds the data in the storage unit 18 It collates with the screen data 17 for transfer.
  • the transfer unit 14 collates the screen data 16 and 17 when the set period has elapsed.
  • the transfer unit 14 determines that the screen data 16 has not been changed from the screen data 17 transferred last time, in the collation in step S12. Do. If it is determined that there is no change in the screen data 16 (No in step S13), the transfer unit 14 does not perform the transfer process, and ends the process illustrated in FIG.
  • the transfer unit 14 determines that the screen data 16 for editing has a portion that does not match the screen data 17 for transfer in the collation in step S12, that is, the screen data 17 and the screen data 16 are different. If it is detected, it is determined that the screen data 16 has been changed from the screen data 17 transferred last time.
  • the transfer unit 14 converts the screen data 17 for transfer held in the storage unit 18 with the screen data 16 for editing. Update to the same data.
  • the transfer unit 14 executes a transfer process of transferring the updated screen data 17 to the programmable display 20, and ends the process shown in FIG.
  • the transfer unit 14 updates the screen data 17.
  • the transfer unit 14 includes an update unit that updates the screen data 17, and a transfer unit that transfers the screen data 17. May be
  • the transfer unit 14 may collate the screen data 16 and 17 when notified by the editing unit 13 in place of the lapse of the set cycle.
  • the editing unit 13 sends, to the transfer unit 14, a notification including a flag indicating that the screen data 16 for editing has been changed.
  • the transfer unit 14 may use a flag indicating a change of the screen data 16 as a trigger for executing the collation of the screen data 16 and 17 in step S12.
  • FIG. 6 is a flow chart showing the procedure of transfer processing by the transfer unit 14 shown in FIG. The procedures of steps S21 to S23 shown in FIG. 6 are included in the transfer process of step S15 shown in FIG.
  • step S21 the transfer unit 14 acquires information indicating the current state of the programmable display 20 by communication with the programmable display 20 through the communication I / F 15. From the information, in step S22, the transfer unit 14 determines whether the programmable display 20 is currently in a state where the screen data 17 can be received.
  • step S21 Immediately after the screen data 17 is transferred, when the information indicating that the programmable display 20 is restarting is obtained in step S21, the transfer unit 14 receives the screen data 17 by the programmable display 20. It is determined that the state is not possible (step S22, No). The transfer unit 14 repeats steps S21 and S22 until the programmable display 20 can receive the screen data 17.
  • step S21 when the information indicating that the operation state is normal is obtained in step S21, the transfer unit 14 determines that the programmable display 20 can receive the screen data 17 (step S22, Yes). . Based on the information acquired from programmable display 20 at step S 21, transfer unit 14 confirms that programmable display 20 is ready to receive screen data 17, and then transmits the information to programmable display 20. The screen data 17 is transferred.
  • step S23 the transfer unit 14 transfers the screen data 17 to the programmable display 20.
  • the communication I / F 15 transmits a copy of the screen data 17 held in the storage unit 18 to the programmable display 20 according to the instruction of the transfer unit 14.
  • the storage unit 18 keeps holding the screen data 17.
  • the transfer unit 14 ends the transfer process.
  • the drawing device 10 automatically transfers the screen data 17 to the programmable display 20 by the processing of the transfer unit 14 in FIGS. 5 and 6 regardless of the operation of the user.
  • the transfer unit 14 can transfer the screen data 17 utilizing a period in which the screen data 17 can be transferred by itself and the programmable display 20 can receive the screen data 17.
  • the programmable display 20 When the programmable display 20 receives the screen data from the drawing device 10, the programmable display 20 rewrites the display and operation screen data 26 held in the storage unit 25 into the received screen data. The programmable display 20 performs display and operation using the rewritten screen data 26.
  • the drawing device 10 holds screen data 17 used for transfer separately from the screen data 16 used for editing.
  • the screen data 17 for transfer is updated to the same data as the screen data 16 for editing.
  • the drawing device 10 can transfer the screen data 17 by the transfer unit 14 regardless of the user's operation. While the screen data 17 is being transferred, the user can continue editing the screen data 16 without interruption.
  • FIG. 7 is a diagram for explaining the operation procedure of the drawing device 10 and the programmable display 20 shown in FIG.
  • the storage unit 18 of the drawing device 10 holds data d0 which is the screen data 16 for editing.
  • the storage unit 25 of the programmable display 20 holds data d0 which is screen data 26 for display and operation.
  • the editing unit 13 executes editing processing of the data d0 in a period T1 in accordance with the input operation to the user I / F 12.
  • the editing unit 13 rewrites the data d0 which is the screen data 16 held in the storage unit 18 into the data d1.
  • the editing unit 13 changes the editing screen data 16 stored in the storage unit 18 from the data d0 to the data d1, the editing processing of the data d1 in the period T2 can be continued immediately thereafter.
  • step S41-1 the transfer unit 14 collates the screen data 16 for editing with the screen data 17 for transfer, and updates the screen data 17 for transfer from the data d0 to the data d1.
  • step S42-1 the transfer unit 14 transfers the data d1, which is the updated screen data 17, to the programmable display 20 in the period t1.
  • the transfer unit 14 can execute collation of the screen data 16 and 17, update of the screen data 17, and transfer of the screen data 17. .
  • the editing unit 13 can change the screen data 16 for editing while the transfer unit 14 is executing the transfer process.
  • the programmable display 20 receives the data d1 transferred from the drawing device 10, and rewrites the display and operation screen data 26 from the data d0 to the data d1. Since the editing unit 13 can execute the editing process on the data d1 overlapping with the period t1 in which the transfer unit 14 transfers the data d1, the drawing device 10 waits for the period t1 to elapse before the data d1. The time required for debugging the screen data 16 can be shortened as compared with the case where the editing process is started.
  • the editing unit 13 changes the screen data 16 for editing from the data d1 to the data d2.
  • the editing unit 13 continues the editing process of the data d2 in the period T3.
  • the transfer unit 14 collates the screen data 16 for editing with the screen data 17 for transfer, and updates the screen data 17 for transfer from the data d1 to the data d2.
  • the transfer unit 14 transfers the data d2, which is the updated screen data 17, to the programmable display 20 in the period t2.
  • the transfer unit 14 performs the matching and updating in step S41-3 and the transfer in the period t3 in step S42-3, as in the case of the data d1 and d2, for the data d3 for which the editing process has been performed from the data d2 Do.
  • the drawing device 10 performs the editing process in the periods T1, T2 and T3 and The transfer processing in the periods t1, t2 and t3 is alternately performed.
  • a period required for debugging from data d0 to data d3 is a period obtained by adding periods T1, T2 and T3 and periods t1, t2 and t3.
  • the drawing device 10 automatically executes the transfer process of the screen data 17 in the periods t1 and t2 in parallel with the editing process of the screen data 16 in the periods T2 and T3.
  • the drawing device 10 can shorten the time required for debugging from the start of the period T1 to the end of the period t3 as compared with the case where the editing process and the transfer process are alternately performed.
  • the transfer unit 14 can transfer the screen data 17 and the programmable display 20 can receive the screen data 17, the transfer of the drawing device 10 is awaited until the user performs a manual operation. Can avoid the situation that The drawing device 10 can efficiently debug the screen data 16 by transferring the screen data 17 in parallel with the editing process.
  • the drawing device 10 may switch between the case of automatically transferring the screen data 17 as shown in FIG. 7 and the case of transferring the screen data 17 by the user's manual operation.
  • the drawing apparatus 10 performs the transfer process according to the procedure of FIGS. 5 and 6.
  • transfer by manual operation the drawing device 10 transfers the screen data 17 in accordance with the input operation by the user.
  • the user can select transfer processing according to the procedure of FIGS. 5 and 6 and transfer by manual operation in accordance with the amount of data that can be communicated between the drawing device 10 and the programmable display 20.
  • the drawing device 10 collates the screen data 16 for editing with the screen data 17 for transfer, and when it is detected that the screen data 17 and the screen data 16 are different, the screen data By updating 17 to the same data as the screen data 16, transfer processing of the screen data 17 is executed in parallel with editing processing of the screen data 16.
  • the drawing device 10 has the effect of being able to improve the work efficiency of debugging the screen data 16.
  • the storage unit is the external storage device 44.
  • the storage unit may be provided inside the drawing device 10, or may be externally attached to the drawing device 10. .
  • the configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. Parts can be omitted or changed.

Abstract

Drawing software (11) for causing a computer to function as a drawing device (10) for creating screen data for a programmable display (20). The drawing software causes the computer to carry out: a step for changing, in accordance with an input operation, first screen data for editing, the first screen data being held in a storage unit; a step for collating the first screen data and second screen data for a transfer to the programmable display, the second screen data being held in the storage unit; a step for updating the second screen data to data identical to the first screen data, if it has been sensed that there is a difference between the first screen data and the second screen data; and a step for transferring the updated second screen data to the programmable display.

Description

作画ソフトウェア、記憶媒体および作画装置Drawing software, storage medium and drawing device
 本発明は、プログラマブル表示器の画面データを作成する作画ソフトウェア、記憶媒体および作画装置に関する。 The present invention relates to drawing software, storage medium and drawing apparatus for creating screen data of a programmable display.
 プログラマブル表示器は、通常、外部装置であるPLC(Programmable Logic Controller)に接続され、PLCの状態を表示する。また、プログラマブル表示器は、入力操作を受け付けて、入力操作にしたがってPLCを制御する。プログラマブル表示器における表示のための画面データは、作画ソフトウェアがインストールされた作画装置を用いて任意に作成できる。作画装置にて作成された画面データは、作画装置からプログラマブル表示器へ転送される。画面データの転送は、通常、画面データを編集するユーザの手動操作によって行われる。プログラマブル表示器は、作画装置から転送された画面データを用いて画面表示を行う。 The programmable display is usually connected to a PLC (Programmable Logic Controller), which is an external device, and displays the status of the PLC. The programmable display receives an input operation and controls the PLC according to the input operation. Screen data for display on the programmable display can be optionally created using a drawing device on which drawing software is installed. The screen data created by the drawing device is transferred from the drawing device to the programmable display. The transfer of screen data is usually performed by a manual operation of a user who edits the screen data. The programmable display performs screen display using the screen data transferred from the drawing device.
 画面データのデバッグにおいては、画面データの修正と、修正された画面データによるプログラマブル表示器の表示および外部装置の操作の動作確認とが繰り返される。画面データの転送は、画面データの修正のための作業の合間に行われており、画面データの転送の開始から終了の間は、画面データの修正のための作業は中断される。デバッグの作業のうち画面データの修正のための作業が実質行われていない時間が長くなるほど、デバッグの作業効率が低下する。 In debugging of screen data, correction of screen data and display of a programmable display with the corrected screen data and operation confirmation of operation of an external device are repeated. The transfer of the screen data is performed in the intervals of the work for the correction of the screen data, and the work for the correction of the screen data is interrupted between the start and the end of the transfer of the screen data. The longer the time when the work for correcting the screen data is not actually performed among the debugging work, the lower the efficiency of the debugging work.
 特許文献1には、各種制御手段における操作および表示にて使用される操作画面の作成装置について、画面データの転送に要する時間を短縮する技術が開示されている。 Patent Document 1 discloses a technique for shortening the time required to transfer screen data for a device for creating an operation screen used for operations and displays in various control means.
特開平10-105147号公報JP 10-105147 A
 上記特許文献1の技術によると、画面データの転送自体の時間を短縮可能であっても、画面データの転送の間に画面データの修正のための作業が行われないことには変わりないため、デバッグの作業効率の向上が困難である。 According to the technology of Patent Document 1 described above, even if it is possible to shorten the time of transfer of screen data itself, work for correction of screen data is not performed during transfer of screen data. It is difficult to improve the efficiency of debugging work.
 本発明は、上記に鑑みてなされたものであって、画面データのデバッグの作業効率を向上可能とする作画ソフトウェアを得ることを目的とする。 The present invention has been made in view of the above, and it is an object of the present invention to obtain graphic software that can improve the work efficiency of debugging of screen data.
 上述した課題を解決し、目的を達成するために、本発明にかかる作画ソフトウェアは、コンピュータを、プログラマブル表示器の画面データを作成する作画装置として機能させる。作画ソフトウェアは、記憶部に保持されており、編集のための第1の画面データを、入力操作にしたがって変更するステップと、第1の画面データと、記憶部に保持されており、プログラマブル表示器への転送のための第2の画面データとを照合するステップと、をコンピュータに実行させる。作画ソフトウェアは、第2の画面データと第1の画面データとが異なることが検知された場合に、第2の画面データを第1の画面データと同じデータに更新するステップと、更新された第2の画面データをプログラマブル表示器へ転送するステップと、をコンピュータに実行させる。 In order to solve the problems described above and achieve the object, the drawing software according to the present invention causes a computer to function as a drawing device that creates screen data of a programmable display. The drawing software is held in the storage unit, the step of changing the first screen data for editing according to the input operation, the first screen data, and the storage unit, and the programmable display Collating with the second screen data for transfer to the computer. The drawing software updates the second screen data to the same data as the first screen data when it is detected that the second screen data and the first screen data are different; Transferring the screen data of 2 to the programmable display.
 本発明にかかる作画ソフトウェアは、画面データのデバッグの作業効率を向上できるという効果を奏する。 The drawing software according to the present invention has the effect of being able to improve the work efficiency of debugging screen data.
本発明の実施の形態にかかる作画装置と、作画装置に接続されたプログラマブル表示器とを示す図A diagram showing a drawing device according to an embodiment of the present invention and a programmable display connected to the drawing device 図1に示す作画装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the drawing apparatus shown in FIG. 図1に示す編集用の画面データの詳細を示す図Diagram showing details of the screen data for editing shown in FIG. 1 図1に示す編集部における編集用の画面データの編集処理の手順を示すフローチャートA flowchart showing the procedure of editing process of screen data for editing in the editing unit shown in FIG. 1 図1に示す転送部による画面データの変更の検知から画面データの転送までの処理の手順を示すフローチャートA flowchart showing a procedure of processing from detection of change of screen data by transfer unit shown in FIG. 1 to transfer of screen data 図1に示す転送部による転送処理の手順を示すフローチャートA flowchart showing the procedure of transfer processing by the transfer unit shown in FIG. 1 図1に示す作画装置とプログラマブル表示器との動作手順を説明する図A diagram for explaining the operation procedure of the drawing device and the programmable display shown in FIG.
 以下に、本発明の実施の形態にかかる作画ソフトウェア、記憶媒体および作画装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, drawing software, a storage medium, and a drawing apparatus according to an embodiment of the present invention will be described in detail based on the drawings. The present invention is not limited by the embodiment.
実施の形態.
 図1は、本発明の実施の形態にかかる作画装置10と、作画装置10に接続されたプログラマブル表示器20とを示す図である。作画装置10は、作画ソフトウェア11がインストールされたコンピュータである。作画装置10は、プログラマブル表示器20の画面データを作成する。
Embodiment.
FIG. 1 is a diagram showing a drawing device 10 according to an embodiment of the present invention and a programmable display 20 connected to the drawing device 10. As shown in FIG. The drawing device 10 is a computer in which the drawing software 11 is installed. The drawing device 10 creates screen data of the programmable display 20.
 プログラマブル表示器20は、外部装置の状態の表示を行う。また、プログラマブル表示器20は、入力操作を受け付けて、入力操作にしたがって外部装置を制御する。プログラマブル表示器20は、作画装置10で作成された画面データに基づいて、画面表示を行うとともに、外部装置を操作する。プログラマブル表示器20には、外部装置である制御装置30が接続されている。制御装置30の1つの例は、PLCである。制御装置30は、制御対象である機械の駆動を制御する。 The programmable display 20 displays the state of the external device. In addition, the programmable display 20 receives an input operation and controls an external device according to the input operation. The programmable display 20 displays an image based on the screen data created by the drawing device 10 and operates an external device. The programmable display 20 is connected to a control device 30 which is an external device. One example of the controller 30 is a PLC. The control device 30 controls the drive of the machine to be controlled.
 図1には、作画ソフトウェア11の実行による作画装置10の機能構成を示している。作画装置10は、編集用の画面データ16と、転送用の画面データ17とを保持する機能部である記憶部18を備える。画面データ16は、編集のための第1の画面データである。画面データ17は、プログラマブル表示器20への転送のための第2の画面データである。なお、編集とは、ユーザによる入力操作にしたがって行われる画面データの作成と作成された画面データの変更とを含む。 FIG. 1 shows a functional configuration of the drawing device 10 by execution of the drawing software 11. The drawing device 10 includes a storage unit 18 which is a functional unit that holds screen data 16 for editing and screen data 17 for transfer. The screen data 16 is first screen data for editing. The screen data 17 is second screen data for transfer to the programmable display 20. The editing includes the creation of screen data performed according to the input operation by the user and the change of the created screen data.
 作画装置10は、ユーザによる入力操作にしたがって画面データ16を変更して、画面データ16の編集処理を実行する機能部である編集部13を備える。また、作画装置10は、画面データ16と画面データ17との照合により画面データ17と画面データ16とが異なることが検知された場合に、画面データ17を画面データ16と同じデータに更新して、更新された画面データ17をプログラマブル表示器20へ転送する機能部である転送部14を備える。さらに、作画装置10は、ユーザへの情報の提示を行い、またユーザから情報が入力されるユーザインタフェース(Interface,I/F)12と、プログラマブル表示器20への情報の送信とプログラマブル表示器20からの情報の受信とを行う通信インタフェース(I/F)15とを備える。編集部13は、ユーザI/F12へ入力された情報にしたがい、画面データ16の編集処理を実行する。転送部14は、通信I/F15からの通信により、プログラマブル表示器20へ画面データ17を転送する。 The drawing device 10 includes an editing unit 13 which is a functional unit that changes the screen data 16 according to an input operation by the user and executes editing processing of the screen data 16. Further, when it is detected that the screen data 17 and the screen data 16 are different by the comparison between the screen data 16 and the screen data 17, the drawing device 10 updates the screen data 17 to the same data as the screen data 16. And a transfer unit 14 that is a functional unit that transfers the updated screen data 17 to the programmable display 20. Furthermore, the drawing apparatus 10 presents information to the user, and also transmits information to the user interface (Interface, I / F) 12 to which the information is input from the user and the programmable display 20, and the programmable display 20. And a communication interface (I / F) 15 for receiving information from the device. The editing unit 13 executes editing processing of the screen data 16 in accordance with the information input to the user I / F 12. The transfer unit 14 transfers the screen data 17 to the programmable display 20 by communication from the communication I / F 15.
 プログラマブル表示器20は、表示および操作用の画面データ26を保持する機能部である記憶部25と、制御装置30の制御のための処理を実行する機能部である制御部21と、画面データ26に基づいた画面表示を行うハードウェアであるディスプレイ22と、ユーザによる入力操作を受け付けるハードウェアであるタッチパネル27とを備える。また、プログラマブル表示器20は、周辺機器である作画装置10との接続インタフェースである周辺機器インタフェース(I/F)23と、制御装置30との接続インタフェースである制御装置インタフェース(I/F)24とを備える。制御部21は、ディスプレイ22と、周辺機器I/F23と、制御装置I/F24と、記憶部25と、タッチパネル27とを制御する。 The programmable display 20 includes a storage unit 25 that is a functional unit that holds screen data 26 for display and operation, a control unit 21 that is a functional unit that executes processing for controlling the control device 30, and screen data 26. And the touch panel 27 which is hardware which receives the input operation by a user. Further, the programmable display 20 is a connection interface between a peripheral device interface (I / F) 23 which is a connection interface with the drawing device 10 which is a peripheral device, and a control device interface (I / F) 24 which is a connection interface with the control device 30. And The control unit 21 controls the display 22, the peripheral device I / F 23, the control device I / F 24, the storage unit 25, and the touch panel 27.
 図2は、図1に示す作画装置10のハードウェア構成を示す図である。作画ソフトウェア11は、コンピュータを、作画装置10として機能させる。コンピュータである作画装置10は、各種処理を実行するCPU(Central Processing Unit)41と、プログラム格納領域およびデータ格納領域を含むRAM(Random Access Memory)42と、不揮発性メモリであるROM(Read Only Memory)43と、データを記憶する記憶部である外部記憶装置44とを備える。また、作画装置10は、プログラマブル表示器20との接続インタフェースである通信インタフェース(I/F)45と、ユーザによる入力操作を受け付ける入力デバイス46と、各種画面にて情報を表示するディスプレイ47とを備える。図2に示す作画装置10の各部は、バス48を介して相互に接続されている。 FIG. 2 is a diagram showing a hardware configuration of the drawing device 10 shown in FIG. The drawing software 11 causes a computer to function as the drawing device 10. The drawing device 10, which is a computer, includes a central processing unit (CPU) 41 that executes various processes, a random access memory (RAM) 42 including a program storage area and a data storage area, and a read only memory (ROM) that is a non-volatile memory. And 43, and an external storage device 44 which is a storage unit for storing data. The drawing apparatus 10 further includes a communication interface (I / F) 45 which is a connection interface with the programmable display 20, an input device 46 for receiving an input operation by the user, and a display 47 for displaying information on various screens. Prepare. The components of the image forming apparatus 10 shown in FIG. 2 are mutually connected via a bus 48.
 外部記憶装置44は、SSD(Solid State Drive)あるいはHDD(Hard Disk Drive)である。入力デバイス46は、ポインティングデバイスおよびキーボードである。ディスプレイ47の1つの例は、液晶パネルを備える液晶ディスプレイである。図1に示すユーザI/F12は、入力デバイス46とディスプレイ47とを使用して実現される。図1に示す通信I/F15は、通信I/F45を使用して実現される。 The external storage device 44 is a solid state drive (SSD) or a hard disk drive (HDD). The input device 46 is a pointing device and a keyboard. One example of the display 47 is a liquid crystal display provided with a liquid crystal panel. The user I / F 12 shown in FIG. 1 is realized using the input device 46 and the display 47. Communication I / F 15 shown in FIG. 1 is realized using communication I / F 45.
 CPU41は、ROM43および外部記憶装置44に格納されているプログラムを実行する。ROM43には、作画装置10であるコンピュータの基本となる制御のためのプログラムであるBIOS(Basic Input/Output System)あるいはUEFI(Unified Extensible Firmware Interface)が格納されている。外部記憶装置44には、作画ソフトウェア11と、画面データ16,17とが格納されている。図1に示す記憶部18の機能は、外部記憶装置44を使用して実現される。編集部13の機能と転送部14の機能とは、CPU41を使用して実現される。 The CPU 41 executes programs stored in the ROM 43 and the external storage device 44. The ROM 43 stores a Basic Input / Output System (BIOS) or a Unified Extensible Firmware Interface (UEFI), which is a program for controlling the computer that is the drawing device 10. The external storage device 44 stores drawing software 11 and screen data 16 and 17. The functions of the storage unit 18 shown in FIG. 1 are realized using the external storage device 44. The function of the editing unit 13 and the function of the transfer unit 14 are realized using the CPU 41.
 ROM43および外部記憶装置44に記憶されているプログラムは、RAM42にロードされる。CPU41は、RAM42内のプログラム格納領域にてプログラムを展開して各種処理を実行する。なお、作画ソフトウェア11は、コンピュータによる読み取りが可能とされた記憶媒体に記録されたものであっても良い。作画装置10は、記憶媒体に記録された作画ソフトウェア11を外部記憶装置44へ格納しても良い。記憶媒体は、フレキシブルディスクである可搬型記憶媒体、あるいは半導体メモリであるフラッシュメモリであっても良い。作画ソフトウェア11は、他のコンピュータあるいはサーバ装置から通信ネットワークを介して作画装置10へインストールされても良い。 The programs stored in the ROM 43 and the external storage device 44 are loaded into the RAM 42. The CPU 41 develops a program in a program storage area in the RAM 42 and executes various processes. The drawing software 11 may be recorded on a storage medium readable by a computer. The drawing device 10 may store the drawing software 11 stored in the storage medium in the external storage device 44. The storage medium may be a portable storage medium, which is a flexible disk, or a flash memory, which is a semiconductor memory. The drawing software 11 may be installed in the drawing apparatus 10 from another computer or a server device via a communication network.
 図3は、図1に示す編集用の画面データ16の詳細を示す図である。画面データ16は、N個の画面D1,D2,・・・,DNの画面データ16であるデータ50D1,50D2,・・・,50DNを含む。ここでは、Nは3以上の整数とする。データ50D1は、画面の名称、画面ごとのインデックス値である画面番号といった設定である画面共通設定51D1と、数値表示、タッチスイッチといったオブジェクトについての情報であるオブジェクト情報52D1と、矩形、円、多角形といった図形についての情報である図形情報53D1とを含む。データ50D2,・・・,50DNは、データ50D1と同様に、画面共通設定51D2,・・・,51DNと、オブジェクト情報52D2,・・・,52DNと、図形情報53D2,・・・,53DNとを含む。 FIG. 3 is a diagram showing the details of the screen data 16 for editing shown in FIG. The screen data 16 includes data 50D1, 50D2,..., 50DN which are screen data 16 of N screens D1, D2,. Here, N is an integer of 3 or more. Data 50D1 includes a screen common setting 51D1 which is a setting such as a screen name and a screen number which is an index value for each screen, object information 52D1 which is information about an object such as a numerical value display and a touch switch, a rectangle, a circle, and a polygon And graphic information 53D1 which is information about the graphic. The data 50D2, ..., 50DN, like the data 50D1, include the screen common settings 51D2, ..., 51DN, the object information 52D2, ..., 52DN, and the graphic information 53D2, ..., 53DN. Including.
 なお、転送用の画面データ17は、図3に示す画面データ16と同様に構成されている。画面データ17のフォーマットは、画面データ16のフォーマットと同一であっても良く、画面データ16のフォーマットとは異なっていても良い。画面データ17は、プログラマブル表示器20の制御部21における取り扱いのために最適化されたコンパイル実行後のデータであっても良い。 The screen data 17 for transfer is configured in the same manner as the screen data 16 shown in FIG. The format of the screen data 17 may be the same as the format of the screen data 16 or may be different from the format of the screen data 16. The screen data 17 may be data after compilation execution optimized for handling in the control unit 21 of the programmable display 20.
 次に、作画装置10による画面データ16の編集と画面データ17の転送との動作について説明する。図4は、図1に示す編集部13における編集用の画面データ16の編集処理の手順を示すフローチャートである。編集部13は、ユーザI/F12への入力操作にしたがって、記憶部18に保持されている画面データ16を変更する。 Next, the operation of editing the screen data 16 and transferring the screen data 17 by the drawing device 10 will be described. FIG. 4 is a flowchart showing the procedure of the editing process of the screen data 16 for editing in the editing unit 13 shown in FIG. The editing unit 13 changes the screen data 16 held in the storage unit 18 according to the input operation to the user I / F 12.
 ステップS1では、編集部13は、画面データ16の変更のための入力操作をユーザI/F12にて受け付けたか否かを判断する。1つの例では、編集部13は、オブジェクトと図形についての詳細設定画面に表示されている確定ボタンが押下されることにより、画面データ16の変更のための入力操作を受け付けたと判断する。詳細設定画面は、ユーザI/F12にて表示されている。入力操作を受け付けていない場合(ステップS1,No)、編集部13は、入力操作を受け付けるまで待機する。 In step S1, the editing unit 13 determines whether an input operation for changing the screen data 16 has been received by the user I / F 12. In one example, the editing unit 13 determines that the input operation for changing the screen data 16 has been received by pressing the enter button displayed on the detail setting screen for the object and the figure. The detail setting screen is displayed by the user I / F 12. When the input operation has not been received (step S1, No), the editing unit 13 stands by until the input operation is received.
 入力操作を受け付けた場合(ステップS1,Yes)、ステップS2において、編集部13は、記憶部18に保持されている編集用の画面データ16を変更する。編集部13は、ユーザI/F12へ入力された情報に基づいて、画面共通設定51D1,・・・,51DNと、オブジェクト情報52D1,・・・,52DNと、図形情報53D1,・・・,53DNとを適宜更新する。これにより、編集部13は、編集用の画面データ16の編集処理をいったん終了して、次の編集処理まで待機する。 When the input operation is received (step S1, Yes), the editing unit 13 changes the editing screen data 16 held in the storage unit 18 in step S2. The editing unit 13 uses the screen common settings 51D1, ..., 51DN, the object information 52D1, ..., 52DN, and the graphic information 53D1, ..., 53DN based on the information input to the user I / F 12. And update as appropriate. Thus, the editing unit 13 once terminates the editing process of the screen data 16 for editing, and waits for the next editing process.
 図5は、図1に示す転送部14による画面データ16の変更の検知から画面データ17の転送までの処理の手順を示すフローチャートである。ステップS11において、転送部14は、前回の照合から、あらかじめ設定されている周期が経過したか否かを判断する。周期が経過していない場合(ステップS11,No)、転送部14は、周期が経過するまで待機する。 FIG. 5 is a flowchart showing a procedure of processing from detection of change of the screen data 16 by the transfer unit 14 shown in FIG. 1 to transfer of the screen data 17. In step S11, the transfer unit 14 determines whether or not a previously set period has passed since the previous verification. If the cycle has not passed (No at Step S11), the transfer unit 14 stands by until the cycle passes.
 周期が経過した場合(ステップS11,Yes)、ステップS12にて、転送部14は、記憶部18に保持されている編集用の画面データ16と、既に転送が完了しており記憶部18に保持されている転送用の画面データ17とを照合する。転送部14は、設定された周期が経過したときに、画面データ16,17の照合を実行する。 If the cycle has elapsed (Yes at Step S11), at Step S12, the transfer unit 14 has already transferred the screen data 16 for editing held in the storage unit 18 and has already been transferred, and holds the data in the storage unit 18 It collates with the screen data 17 for transfer. The transfer unit 14 collates the screen data 16 and 17 when the set period has elapsed.
 転送部14は、ステップS12での照合により、編集用の画面データ16が転送用の画面データ17と一致している場合、前回転送された画面データ17から画面データ16が変更されていないと判断する。画面データ16に変更がないと判断した場合(ステップS13,No)、転送部14は、転送処理を行わず図5に示す処理を終了する。 If the screen data 16 for editing matches the screen data 17 for transfer, the transfer unit 14 determines that the screen data 16 has not been changed from the screen data 17 transferred last time, in the collation in step S12. Do. If it is determined that there is no change in the screen data 16 (No in step S13), the transfer unit 14 does not perform the transfer process, and ends the process illustrated in FIG.
 一方、転送部14は、ステップS12での照合において、編集用の画面データ16に転送用の画面データ17とは一致しない部分があった場合、すなわち画面データ17と画面データ16とが異なることが検知された場合、前回転送された画面データ17から画面データ16が変更されていると判断する。画面データ16に変更があると判断した場合(ステップS13,Yes)、ステップS14において、転送部14は、記憶部18に保持されている転送用の画面データ17を、編集用の画面データ16と同じデータに更新する。続いて、ステップS15にて、転送部14は、更新された画面データ17をプログラマブル表示器20へ転送する転送処理を実行して、図5に示す処理を終了する。なお、本実施の形態では、転送部14が画面データ17の更新を行ったが、転送部14は、画面データ17の更新を行う更新部と、画面データ17を転送する転送部とから構成されていても良い。 On the other hand, the transfer unit 14 determines that the screen data 16 for editing has a portion that does not match the screen data 17 for transfer in the collation in step S12, that is, the screen data 17 and the screen data 16 are different. If it is detected, it is determined that the screen data 16 has been changed from the screen data 17 transferred last time. When it is determined that there is a change in the screen data 16 (Yes in step S13), in step S14, the transfer unit 14 converts the screen data 17 for transfer held in the storage unit 18 with the screen data 16 for editing. Update to the same data. Subsequently, in step S15, the transfer unit 14 executes a transfer process of transferring the updated screen data 17 to the programmable display 20, and ends the process shown in FIG. In the present embodiment, the transfer unit 14 updates the screen data 17. However, the transfer unit 14 includes an update unit that updates the screen data 17, and a transfer unit that transfers the screen data 17. May be
 転送部14は、設定された周期が経過したことに代えて、編集部13からの通知があったときに、画面データ16,17の照合を行っても良い。編集部13は、編集用の画面データ16を変更したことを表すフラグを含む通知を転送部14へ送る。転送部14は、画面データ16の変更を示すフラグを、ステップS12における画面データ16,17の照合の実行のためのトリガとしても良い。 The transfer unit 14 may collate the screen data 16 and 17 when notified by the editing unit 13 in place of the lapse of the set cycle. The editing unit 13 sends, to the transfer unit 14, a notification including a flag indicating that the screen data 16 for editing has been changed. The transfer unit 14 may use a flag indicating a change of the screen data 16 as a trigger for executing the collation of the screen data 16 and 17 in step S12.
 図6は、図1に示す転送部14による転送処理の手順を示すフローチャートである。図6に示すステップS21からS23の手順は、図5に示すステップS15の転送処理に含まれる。 FIG. 6 is a flow chart showing the procedure of transfer processing by the transfer unit 14 shown in FIG. The procedures of steps S21 to S23 shown in FIG. 6 are included in the transfer process of step S15 shown in FIG.
 ステップS21にて、転送部14は、通信I/F15を通じたプログラマブル表示器20との通信により、プログラマブル表示器20の現在の状態を示す情報を取得する。かかる情報から、ステップS22にて、転送部14は、現在、プログラマブル表示器20が画面データ17を受け付け可能な状態であるか否かを判断する。 In step S21, the transfer unit 14 acquires information indicating the current state of the programmable display 20 by communication with the programmable display 20 through the communication I / F 15. From the information, in step S22, the transfer unit 14 determines whether the programmable display 20 is currently in a state where the screen data 17 can be received.
 画面データ17の転送があった直後でありプログラマブル表示器20が再起動を行っていることを示す情報がステップS21で得られた場合、転送部14は、プログラマブル表示器20が画面データ17を受け付け可能な状態ではないと判断する(ステップS22,No)。転送部14は、プログラマブル表示器20が画面データ17を受け付け可能な状態となるまでステップS21とステップS22とを繰り返す。 Immediately after the screen data 17 is transferred, when the information indicating that the programmable display 20 is restarting is obtained in step S21, the transfer unit 14 receives the screen data 17 by the programmable display 20. It is determined that the state is not possible (step S22, No). The transfer unit 14 repeats steps S21 and S22 until the programmable display 20 can receive the screen data 17.
 一方、通常の稼動状態であることを示す情報がステップS21で得られた場合、転送部14は、プログラマブル表示器20が画面データ17を受け付け可能な状態であると判断する(ステップS22,Yes)。転送部14は、ステップS21にてプログラマブル表示器20から取得された情報を基に、プログラマブル表示器20が画面データ17を受け付け可能な状態であることが確認されてから、プログラマブル表示器20への画面データ17の転送を実行する。 On the other hand, when the information indicating that the operation state is normal is obtained in step S21, the transfer unit 14 determines that the programmable display 20 can receive the screen data 17 (step S22, Yes). . Based on the information acquired from programmable display 20 at step S 21, transfer unit 14 confirms that programmable display 20 is ready to receive screen data 17, and then transmits the information to programmable display 20. The screen data 17 is transferred.
 ステップS23にて、転送部14は、プログラマブル表示器20へ画面データ17を転送する。詳細には、通信I/F15は、転送部14の指示にしたがい、記憶部18に保持されている画面データ17のコピーをプログラマブル表示器20へ送信する。記憶部18は、画面データ17の保持を継続させる。これにより、転送部14は、転送処理を終了する。作画装置10は、ユーザの操作によらず、図5および図6における転送部14の処理によって、プログラマブル表示器20へ画面データ17を自動的に転送する。転送部14は、自身が画面データ17を転送可能な状態であるとともにプログラマブル表示器20が画面データ17を受け付け可能な状態である期間を活用して、画面データ17を転送することができる。 In step S23, the transfer unit 14 transfers the screen data 17 to the programmable display 20. Specifically, the communication I / F 15 transmits a copy of the screen data 17 held in the storage unit 18 to the programmable display 20 according to the instruction of the transfer unit 14. The storage unit 18 keeps holding the screen data 17. Thus, the transfer unit 14 ends the transfer process. The drawing device 10 automatically transfers the screen data 17 to the programmable display 20 by the processing of the transfer unit 14 in FIGS. 5 and 6 regardless of the operation of the user. The transfer unit 14 can transfer the screen data 17 utilizing a period in which the screen data 17 can be transferred by itself and the programmable display 20 can receive the screen data 17.
 プログラマブル表示器20は、作画装置10からの画面データを受信すると、記憶部25に保持されている表示および操作用の画面データ26を、受信された画面データへ書き換える。プログラマブル表示器20は、書き換えられた画面データ26を用いて、表示および操作を実行する。 When the programmable display 20 receives the screen data from the drawing device 10, the programmable display 20 rewrites the display and operation screen data 26 held in the storage unit 25 into the received screen data. The programmable display 20 performs display and operation using the rewritten screen data 26.
 作画装置10は、編集に使用される画面データ16とは別に、転送に使用される画面データ17を保持する。作画装置10は、編集用の画面データ16と転送用の画面データ17とが異なることを検知すると、転送用の画面データ17を、編集用の画面データ16と同じデータに更新しておく。作画装置10は、編集部13での画面データ16への編集に並行して、ユーザの操作によらず転送部14によって画面データ17を転送することができる。ユーザは、画面データ17が転送されている間、画面データ16の編集を中断せず継続することができる。 The drawing device 10 holds screen data 17 used for transfer separately from the screen data 16 used for editing. When the drawing device 10 detects that the screen data 16 for editing and the screen data 17 for transfer are different, the screen data 17 for transfer is updated to the same data as the screen data 16 for editing. In parallel with the editing of the screen data 16 by the editing unit 13, the drawing device 10 can transfer the screen data 17 by the transfer unit 14 regardless of the user's operation. While the screen data 17 is being transferred, the user can continue editing the screen data 16 without interruption.
 図7は、図1に示す作画装置10とプログラマブル表示器20との動作手順を説明する図である。図7に示す動作手順の開始時において、作画装置10の記憶部18には、編集用の画面データ16であるデータd0が保持されているとする。また、プログラマブル表示器20の記憶部25には、表示および操作用の画面データ26であるデータd0が保持されている。 FIG. 7 is a diagram for explaining the operation procedure of the drawing device 10 and the programmable display 20 shown in FIG. At the start of the operation procedure shown in FIG. 7, it is assumed that the storage unit 18 of the drawing device 10 holds data d0 which is the screen data 16 for editing. Further, the storage unit 25 of the programmable display 20 holds data d0 which is screen data 26 for display and operation.
 編集部13は、ユーザI/F12への入力操作にしたがって、期間T1にてデータd0の編集処理を実行する。データd0から編集処理が実行されたデータd1が確定されると、編集部13は、記憶部18に保持されている画面データ16であるデータd0を、データd1へ書き換える。編集部13は、記憶部18に保持されている編集用の画面データ16をデータd0からデータd1へ変更すると、その後すぐに期間T2におけるデータd1の編集処理を継続することができる。 The editing unit 13 executes editing processing of the data d0 in a period T1 in accordance with the input operation to the user I / F 12. When the data d1 subjected to the editing process is determined from the data d0, the editing unit 13 rewrites the data d0 which is the screen data 16 held in the storage unit 18 into the data d1. When the editing unit 13 changes the editing screen data 16 stored in the storage unit 18 from the data d0 to the data d1, the editing processing of the data d1 in the period T2 can be continued immediately thereafter.
 転送部14は、ステップS41-1にて、編集用の画面データ16と転送用の画面データ17とを照合し、転送用の画面データ17をデータd0からデータd1へ更新する。ステップS42-1にて、転送部14は、更新された画面データ17であるデータd1を、期間t1においてプログラマブル表示器20へ転送する。このように、編集部13が編集処理を継続している間に、転送部14は、画面データ16,17の照合と、画面データ17の更新と、画面データ17の転送とを実行可能とする。編集部13は、転送部14が転送処理を実行している間に、編集用の画面データ16を変更することができる。 In step S41-1, the transfer unit 14 collates the screen data 16 for editing with the screen data 17 for transfer, and updates the screen data 17 for transfer from the data d0 to the data d1. In step S42-1, the transfer unit 14 transfers the data d1, which is the updated screen data 17, to the programmable display 20 in the period t1. As described above, while the editing unit 13 continues the editing process, the transfer unit 14 can execute collation of the screen data 16 and 17, update of the screen data 17, and transfer of the screen data 17. . The editing unit 13 can change the screen data 16 for editing while the transfer unit 14 is executing the transfer process.
 プログラマブル表示器20は、作画装置10から転送されたデータd1を受け取り、表示および操作用の画面データ26を、データd0からデータd1へ書き換える。転送部14がデータd1を転送している期間t1に重複して、編集部13がデータd1への編集処理を実行可能とすることで、作画装置10は、期間t1の経過を待ってデータd1の編集処理を開始させる場合に比べて、画面データ16のデバッグに要する時間を短縮することができる。 The programmable display 20 receives the data d1 transferred from the drawing device 10, and rewrites the display and operation screen data 26 from the data d0 to the data d1. Since the editing unit 13 can execute the editing process on the data d1 overlapping with the period t1 in which the transfer unit 14 transfers the data d1, the drawing device 10 waits for the period t1 to elapse before the data d1. The time required for debugging the screen data 16 can be shortened as compared with the case where the editing process is started.
 編集部13は、データd1から編集処理が実行されたデータd2が確定されると、編集用の画面データ16をデータd1からデータd2へ変更する。編集部13は、期間T3におけるデータd2の編集処理を継続する。転送部14は、ステップS41-2にて、編集用の画面データ16と転送用の画面データ17とを照合し、転送用の画面データ17をデータd1からデータd2へ更新する。ステップS42-2にて、転送部14は、更新された画面データ17であるデータd2を、期間t2にてプログラマブル表示器20へ転送する。転送部14は、データd2から編集処理が実行されたデータd3について、データd1,d2の場合と同様に、ステップS41-3における照合および更新と、ステップS42-3における期間t3での転送とを行う。 When the data d2 on which the editing process has been performed is determined from the data d1, the editing unit 13 changes the screen data 16 for editing from the data d1 to the data d2. The editing unit 13 continues the editing process of the data d2 in the period T3. In step S41-2, the transfer unit 14 collates the screen data 16 for editing with the screen data 17 for transfer, and updates the screen data 17 for transfer from the data d1 to the data d2. In step S42-2, the transfer unit 14 transfers the data d2, which is the updated screen data 17, to the programmable display 20 in the period t2. The transfer unit 14 performs the matching and updating in step S41-3 and the transfer in the period t3 in step S42-3, as in the case of the data d1 and d2, for the data d3 for which the editing process has been performed from the data d2 Do.
 図7に示す例において、仮に、ユーザの手動操作による画面データ16の転送を待って次の画面データ16の編集処理が行われる場合、作画装置10は、期間T1,T2,T3における編集処理と期間t1,t2,t3における転送処理とを交互に実行する。データd0からデータd3へのデバッグに要する期間は、期間T1,T2,T3と期間t1,t2,t3とを足し合せた期間となる。 In the example shown in FIG. 7, if the next screen data 16 is to be edited after waiting for the transfer of the screen data 16 by the user's manual operation, the drawing device 10 performs the editing process in the periods T1, T2 and T3 and The transfer processing in the periods t1, t2 and t3 is alternately performed. A period required for debugging from data d0 to data d3 is a period obtained by adding periods T1, T2 and T3 and periods t1, t2 and t3.
 本実施の形態では、作画装置10は、期間t1,t2における画面データ17の転送処理を、期間T2,T3における画面データ16の編集処理に並行して自動的に実行する。作画装置10は、編集処理と転送処理とを交互に実行する場合と比べて、期間T1の開始時から期間t3の終了時までのデバッグに要する期間を短縮することができる。作画装置10は、転送部14が画面データ17を転送可能であってかつプログラマブル表示器20が画面データ17を受け付け可能な状態であるにも関わらず、ユーザの手動操作があるまで転送が待機されるという事態を回避できる。作画装置10は、編集処理と並行して画面データ17の転送を行うことで、画面データ16のデバッグを効率良く行うことができる。 In the present embodiment, the drawing device 10 automatically executes the transfer process of the screen data 17 in the periods t1 and t2 in parallel with the editing process of the screen data 16 in the periods T2 and T3. The drawing device 10 can shorten the time required for debugging from the start of the period T1 to the end of the period t3 as compared with the case where the editing process and the transfer process are alternately performed. Although the transfer unit 14 can transfer the screen data 17 and the programmable display 20 can receive the screen data 17, the transfer of the drawing device 10 is awaited until the user performs a manual operation. Can avoid the situation that The drawing device 10 can efficiently debug the screen data 16 by transferring the screen data 17 in parallel with the editing process.
 作画装置10は、図7に示すように画面データ17の自動転送を行う場合と、ユーザの手動操作による画面データ17の転送を行う場合とを切り換え可能としても良い。自動転送が選択されている場合、作画装置10は、図5および図6の手順による転送処理を実行する。手動操作による転送が選択されている場合、作画装置10は、ユーザによる入力操作にしたがって画面データ17を転送する。ユーザは、作画装置10とプログラマブル表示器20との間にて通信可能なデータ量に合わせて、図5および図6の手順による転送処理と、手動操作による転送とを選択することができる。 The drawing device 10 may switch between the case of automatically transferring the screen data 17 as shown in FIG. 7 and the case of transferring the screen data 17 by the user's manual operation. When the automatic transfer is selected, the drawing apparatus 10 performs the transfer process according to the procedure of FIGS. 5 and 6. When transfer by manual operation is selected, the drawing device 10 transfers the screen data 17 in accordance with the input operation by the user. The user can select transfer processing according to the procedure of FIGS. 5 and 6 and transfer by manual operation in accordance with the amount of data that can be communicated between the drawing device 10 and the programmable display 20.
 実施の形態によると、作画装置10は、編集用の画面データ16と転送用の画面データ17とを照合して、画面データ17と画面データ16とが異なることが検知された場合に、画面データ17を画面データ16と同じデータに更新することで、画面データ16の編集処理と並行して画面データ17の転送処理を実行する。これにより、作画装置10は、画面データ16のデバッグの作業効率を向上できるという効果を奏する。 According to the embodiment, the drawing device 10 collates the screen data 16 for editing with the screen data 17 for transfer, and when it is detected that the screen data 17 and the screen data 16 are different, the screen data By updating 17 to the same data as the screen data 16, transfer processing of the screen data 17 is executed in parallel with editing processing of the screen data 16. As a result, the drawing device 10 has the effect of being able to improve the work efficiency of debugging the screen data 16.
 なお、本実施の形態では、記憶部は外部記憶装置44であるものとしたが、記憶部は、作画装置10の内部に備えられていても良く、作画装置10に外付けされていても良い。 In the present embodiment, the storage unit is the external storage device 44. However, the storage unit may be provided inside the drawing device 10, or may be externally attached to the drawing device 10. .
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. Parts can be omitted or changed.
 10 作画装置、11 作画ソフトウェア、12 ユーザI/F、13 編集部、14 転送部、15,45 通信I/F、16,17,26 画面データ、18,25 記憶部、20 プログラマブル表示器、21 制御部、22,47 ディスプレイ、23 周辺機器I/F、24 制御装置I/F、27 タッチパネル、30 制御装置、41 CPU、42 RAM、43 ROM、44 外部記憶装置、46 入力デバイス、48 バス、50D1,50D2,50DN データ、51D1,51D2,51DN 画面共通設定、52D1,52D2,52DN オブジェクト情報、53D1,53D2,53DN 図形情報。 DESCRIPTION OF SYMBOLS 10 Drawing device, 11 drawing software, 12 user I / F, 13 editing part, 14 transfer part, 15, 45 communication I / F, 16, 17, 26 screen data, 18, 25 memory | storage part, 20 programmable display, 21 Control unit 22, display 47, 23 peripheral device I / F, 24 control device I / F, 27 touch panel, 30 control device, 41 CPU, 42 RAM, 43 ROM, 44 external storage device, 46 input device, 48 bus, 50D1, 50D2, 50DN data, 51D1, 51D2, 51DN screen common setting, 52D1, 52D2, 52DN object information, 53D1, 53D2, 53DN graphic information.

Claims (6)

  1.  コンピュータを、プログラマブル表示器の画面データを作成する作画装置として機能させる作画ソフトウェアであって、
     記憶部に保持されており、編集のための第1の画面データを、入力操作にしたがって変更するステップと、
     前記第1の画面データと、前記記憶部に保持されており、前記プログラマブル表示器への転送のための第2の画面データとを照合するステップと、
     前記第2の画面データと前記第1の画面データとが異なることが検知された場合に、前記第2の画面データを前記第1の画面データと同じデータに更新するステップと、
     更新された前記第2の画面データを前記プログラマブル表示器へ転送するステップと、
     を前記コンピュータに実行させることを特徴とする作画ソフトウェア。
    Drawing software that causes a computer to function as a drawing device that generates screen data of a programmable display,
    Changing the first screen data stored in the storage unit for editing in accordance with the input operation;
    Collating the first screen data with the second screen data held in the storage unit for transfer to the programmable display;
    Updating the second screen data to the same data as the first screen data when it is detected that the second screen data and the first screen data are different;
    Transferring the updated second screen data to the programmable display;
    Software for causing the computer to execute.
  2.  前記プログラマブル表示器から取得された情報を基に、前記プログラマブル表示器が前記画面データを受け付け可能な状態であることが確認されてから、前記プログラマブル表示器への前記第2の画面データの転送が実行されることを特徴とする請求項1に記載の作画ソフトウェア。 Based on the information acquired from the programmable display, after confirming that the programmable display can accept the screen data, transfer of the second screen data to the programmable display is performed. The drawing software according to claim 1, which is executed.
  3.  前記第1の画面データと前記第2の画面データとの照合は、設定された周期が経過したときに実行されることを特徴とする請求項1または2に記載の作画ソフトウェア。 The drawing software according to claim 1 or 2, wherein the comparison between the first screen data and the second screen data is executed when a set period has elapsed.
  4.  前記プログラマブル表示器への前記第2の画面データの自動転送と、手動操作による前記第2の画面データの転送とを切り換え可能であることを特徴とする請求項1から3のいずれか1つに記載の作画ソフトウェア。 The automatic transfer of the second screen data to the programmable display and the transfer of the second screen data by a manual operation can be switched between any one of claims 1 to 3. Drawing software described.
  5.  請求項1から4のいずれか1つに記載の作画ソフトウェアが記録され、コンピュータによる読み取りが可能とされたことを特徴とする記憶媒体。 A storage medium characterized in that the drawing software according to any one of claims 1 to 4 is recorded and readable by a computer.
  6.  プログラマブル表示器の画面データを作成する作画装置であって、
     編集のための第1の画面データと、前記プログラマブル表示器への転送のための第2の画面データとを保持する記憶部と、
     入力操作にしたがって前記第1の画面データを変更して、前記第1の画面データの編集処理を実行する編集部と、
     前記第1の画面データと前記第2の画面データとの照合により前記第2の画面データと前記第1の画面データとが異なることが検知された場合に、前記第2の画面データを前記第1の画面データと同じデータに更新して、更新された前記第2の画面データを前記プログラマブル表示器へ転送する転送部と、
     を備えることを特徴とする作画装置。
    A drawing device for creating screen data of a programmable display,
    A storage unit that holds first screen data for editing and second screen data for transfer to the programmable display;
    An editing unit that changes the first screen data according to an input operation and executes an editing process of the first screen data;
    When it is detected that the second screen data and the first screen data are different by collating the first screen data and the second screen data, the second screen data may be used as the second screen data. A transfer unit that updates the same data as the screen data of 1 and transfers the updated second screen data to the programmable display;
    An imaging device comprising:
PCT/JP2017/023787 2017-06-28 2017-06-28 Drawing software, recording medium, and drawing device WO2019003351A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2018503693A JP6403919B1 (en) 2017-06-28 2017-06-28 Drawing software, storage medium and drawing device
CN201780077175.4A CN110073298A (en) 2017-06-28 2017-06-28 Mapping software, storage medium and plotting unit
PCT/JP2017/023787 WO2019003351A1 (en) 2017-06-28 2017-06-28 Drawing software, recording medium, and drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/023787 WO2019003351A1 (en) 2017-06-28 2017-06-28 Drawing software, recording medium, and drawing device

Publications (1)

Publication Number Publication Date
WO2019003351A1 true WO2019003351A1 (en) 2019-01-03

Family

ID=63788236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/023787 WO2019003351A1 (en) 2017-06-28 2017-06-28 Drawing software, recording medium, and drawing device

Country Status (3)

Country Link
JP (1) JP6403919B1 (en)
CN (1) CN110073298A (en)
WO (1) WO2019003351A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6758550B1 (en) * 2020-01-17 2020-09-23 三菱電機株式会社 Maintenance system
US11921496B2 (en) 2019-02-21 2024-03-05 Mitsubishi Electric Corporation Information processing apparatus, information processing method and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512097A (en) * 1991-07-08 1993-01-22 Canon Inc Method and circuit for memory access
JP2003324515A (en) * 2002-04-30 2003-11-14 Sharp Corp Method for transferring data between terminals
WO2012093418A1 (en) * 2011-01-06 2012-07-12 三菱電機株式会社 Programmable display device
WO2014020705A1 (en) * 2012-07-31 2014-02-06 発紘電機株式会社 Display device management system, server apparatus therefor, programmable display device, and operation control method
JP6125118B1 (en) * 2016-04-20 2017-05-10 三菱電機株式会社 Programmable display, terminal device, and control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4278466B2 (en) * 2003-09-05 2009-06-17 株式会社デジタル Editor device, program for causing computer to function as editor device, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512097A (en) * 1991-07-08 1993-01-22 Canon Inc Method and circuit for memory access
JP2003324515A (en) * 2002-04-30 2003-11-14 Sharp Corp Method for transferring data between terminals
WO2012093418A1 (en) * 2011-01-06 2012-07-12 三菱電機株式会社 Programmable display device
WO2014020705A1 (en) * 2012-07-31 2014-02-06 発紘電機株式会社 Display device management system, server apparatus therefor, programmable display device, and operation control method
JP6125118B1 (en) * 2016-04-20 2017-05-10 三菱電機株式会社 Programmable display, terminal device, and control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11921496B2 (en) 2019-02-21 2024-03-05 Mitsubishi Electric Corporation Information processing apparatus, information processing method and computer readable medium
JP6758550B1 (en) * 2020-01-17 2020-09-23 三菱電機株式会社 Maintenance system
WO2021144986A1 (en) * 2020-01-17 2021-07-22 三菱電機株式会社 Maintenance system

Also Published As

Publication number Publication date
JP6403919B1 (en) 2018-10-10
CN110073298A (en) 2019-07-30
JPWO2019003351A1 (en) 2019-06-27

Similar Documents

Publication Publication Date Title
JP5491675B2 (en) Information processing apparatus and information processing apparatus control method
JP6265631B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP5355243B2 (en) Information processing apparatus, control method thereof, and program
JP6351413B2 (en) Image forming apparatus, control method therefor, and program
EP2746935A1 (en) User interface with splash screen
TWI505078B (en) System management controller, computer system and method of system management
JP5895385B2 (en) Image output apparatus and program thereof
JP5921292B2 (en) Information processing apparatus, control method, and program
JP6403919B1 (en) Drawing software, storage medium and drawing device
JP5636783B2 (en) Programmable controller and method for debugging programmable controller
WO2016088215A1 (en) Plc function incorporated drive control device
JP2015212880A (en) Information processing apparatus and control method of the same, and program
JP2009009323A (en) Setting device, electronic equipment, and setting program
JP2008009799A (en) Image forming device
JP2012185616A (en) Programmable display unit
JP2009266149A (en) Job management program and job management apparatus
CN111971650A (en) Drawing device, drawing program, and storage medium
JP2017062537A (en) Information processing apparatus, control method of information processing apparatus, and program
JP5377377B2 (en) Design support device
JP5870214B2 (en) Programmable controller system, its programmable display, support device, program
CN109287123B (en) Control device and editing device
JP2008203926A (en) Print control device
JP2008307837A (en) Image forming system and its control method
JP2015153334A (en) Information processing device, bios update method and program
WO2014174673A1 (en) Programmable display unit

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018503693

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: 17916179

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: 17916179

Country of ref document: EP

Kind code of ref document: A1