JP2014106720A - Testing device for programmable controller - Google Patents

Testing device for programmable controller Download PDF

Info

Publication number
JP2014106720A
JP2014106720A JP2012258874A JP2012258874A JP2014106720A JP 2014106720 A JP2014106720 A JP 2014106720A JP 2012258874 A JP2012258874 A JP 2012258874A JP 2012258874 A JP2012258874 A JP 2012258874A JP 2014106720 A JP2014106720 A JP 2014106720A
Authority
JP
Japan
Prior art keywords
input
excel
cell
output
sheet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012258874A
Other languages
Japanese (ja)
Other versions
JP5951458B2 (en
Inventor
Kenji Kijima
賢次 貴島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Mitsubishi Electric Industrial Systems Corp
Original Assignee
Toshiba Mitsubishi Electric Industrial Systems Corp
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 Toshiba Mitsubishi Electric Industrial Systems Corp filed Critical Toshiba Mitsubishi Electric Industrial Systems Corp
Priority to JP2012258874A priority Critical patent/JP5951458B2/en
Publication of JP2014106720A publication Critical patent/JP2014106720A/en
Application granted granted Critical
Publication of JP5951458B2 publication Critical patent/JP5951458B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a testing device for programmable controller capable of easily preparing test conditions in a short time without requiring any special knowledge of creating test screen.SOLUTION: The testing device for programmable controller includes a computer for testing which is connected to a test object PLC in which input/output points are allotted with plural bits for each word. In a macro function of excel on the computer, when a command button 24 of an input display cell 23 on a display sheet 21 is turned ON by an excel operation, input signal cell 27 corresponding to the excel data sheet 22 is rewritten by ON, and when any one of output signal cells 28 of the excel data sheet 22 is written with ON, the display of the output display cell 25 of an excel operation display sheet 21 is changed. When ON/OFF of the input signal cell 27 of the excel data sheet 22 is transmitted as one word to the test object PLC, and receiving an output signal of one word from the test object PLC, the ON/OFF of the bit unit is rewritten while allotting to a bit corresponding to the output signal cell 25.

Description

本発明の実施形態は、制御対象との間で制御信号を入出力し、所定のプログラムにしたがって前記制御対象を制御するアプリケーションソフトのシステム試験を行うプログラマブルコントローラの試験装置に関する。   Embodiments described herein relate generally to a test apparatus for a programmable controller that inputs / outputs a control signal to / from a control target and performs a system test of application software that controls the control target according to a predetermined program.

一般に、各種産業機器の制御用にプログラマブルコントローラ(以下、PLCとも呼ぶ)が用いられている。このPLCは、制御対象との間で制御信号を入出力し、所定のプログラム(アプリケーションソフト)にしたがって制御対象を制御する。このようなPLCのアプリケーションソフトについては、これが正しく動作するかのシステム試験が行われる(例えば、特許文献1参照)。   Generally, a programmable controller (hereinafter also referred to as PLC) is used for controlling various industrial equipment. This PLC inputs / outputs a control signal to / from the controlled object, and controls the controlled object according to a predetermined program (application software). For such PLC application software, a system test is performed to determine whether it operates correctly (see, for example, Patent Document 1).

従来、PLCアプリケーションソフトを、制御対象との間の実際の入出力信号を伴わないI/Oレスにて行う場合、次のように行っていた。すなわち、システム試験を行う試験対象PLCに対して、伝送手段を介して接続される試験装置を用いる。この試験装置の試験用画面は、作画ツールを入れ込んだ試験用のパソコン(以下PCとも呼ぶ)を用いて作成される。   Conventionally, when the PLC application software is executed without I / O without an actual input / output signal to / from the controlled object, it has been performed as follows. That is, a test apparatus connected via a transmission unit to a test target PLC that performs a system test is used. The test screen of this test apparatus is created using a test personal computer (hereinafter also referred to as a PC) in which a drawing tool is inserted.

試験対象PLCには、試験装置との通信手段と、試験対象となるアプリケーションソフト(ラダー、SFC等)が入っている。一方、試験装置には、試験対象PLCへの実際の入出力信号(I/O信号)の代わりとなる各種入出力信号(I/O信号:デジタル信号、アナログ信号等)を模擬出力、又は表示させる為の試験用画面が、試験開始前に、前述した専用の作画ツールにて作成され、インストールされている。その作画されたI/O信号の画面は、押し釦信号(PBS)や、表示灯(SL)、数値設定、数値表示等で構成される。   The test target PLC contains communication means with the test apparatus and application software (ladder, SFC, etc.) to be tested. On the other hand, the test apparatus simulates or displays various input / output signals (I / O signals: digital signals, analog signals, etc.) that are substituted for the actual input / output signals (I / O signals) to the test target PLC. Before starting the test, a screen for testing is created and installed with the dedicated drawing tool described above. The screen of the drawn I / O signal includes a push button signal (PBS), an indicator lamp (SL), numerical value setting, numerical value display, and the like.

このような構成において、I/Oレスでのシステム試験は次のように実施される。試験装置から模擬された信号が、通信手段を介して試験対象PLCへ、実際の入力信号の代わりに入力される。また、試験対象PLCから出力された信号が、同じく通信手段を介して、試験装置へ入力され、実際の出力信号の代わりに模擬表示される。試験対象PLCと試験装置との間の伝送装置は、試験装置が持つ通信手段により決定される。   In such a configuration, an I / O-less system test is performed as follows. A simulated signal from the test apparatus is input to the test object PLC via the communication means instead of the actual input signal. In addition, the signal output from the test target PLC is also input to the test apparatus via the communication means, and is displayed in a simulated manner instead of the actual output signal. A transmission device between the test object PLC and the test apparatus is determined by communication means of the test apparatus.

特開2002−182949号公報JP 2002-182949 A

しかしながら、従来の試験方法では設備として、専用の試験装置を常備しておく必要がある。また、この試験装置の画面作成には専用知識を要し、しかも、試験装置の機種改廃の都度、試験プログラムを作成し直す必要があった。さらに、試験装置の改廃の都度、常備する通信手段が変わることもあり、都度、対応する通信ソフトをPLC側にて用意する必要があった。他方で、同様の試験装置を多く使用するシステムもあること、試験する物件の時期が重なることを考慮して、試験装置を多数保有する必要もあった。   However, in the conventional test method, it is necessary to always have a dedicated test device as equipment. In addition, special knowledge is required for creating the screen of the test apparatus, and it is necessary to recreate the test program every time the model of the test apparatus is changed. Furthermore, the communication means to be provided may change every time the test apparatus is modified or abolished, and it is necessary to prepare corresponding communication software on the PLC side each time. On the other hand, there are systems that use many similar test devices, and it is necessary to have a large number of test devices in consideration of the fact that the timing of the properties to be tested overlaps.

本発明は、上記問題点を解決する為に、試験用画面作成の専用知識を必要とせず、誰でも容易に扱え、短時間での試験環境の構築が可能なプログラマブルコントローラの試験装置を提供することを目的としている。   In order to solve the above problems, the present invention provides a programmable controller test apparatus that does not require specialized knowledge for creating a test screen, can be easily handled by anyone, and can build a test environment in a short time. The purpose is that.

本発明の実施の形態に係るプログラマブルコントローラの試験装置は、制御対象との間で制御信号を入出力し、所定のプログラムにしたがって前記制御対象を制御するプログラマブルコントローラの試験装置であって、前記制御対象との入出力点が、ワード毎の複数のビットで割り付けられている入出力装置と通信手段を介して接続されたコンピュータを有し、このコンピュータは、前記入出力装置への入力信号の信号内容がコメントとして設定されている複数の入力表示セル、及びこれら入力表示セル毎に設けられたコマンドボタンと、前記入出力装置からの出力信号の信号内容がコメントとして設定されている複数の出力表示セルとを有するエクセル操作表示シートと、前記入力信号がビット単位で書き込まれる所定ビット数の入力信号セル及び前記出力信号がビット単位に書き込まれる所定ビット数の出力信号セルを有するエクセルデータシートと、前記エクセル操作表示シートのいずれかの入力表示セルに対応するコマンドボタンがオンされると、前記エクセルデータシートの対応する入力信号セルをオンに書き換え、前記エクセルデータシートの出力信号セルのいずれかのビットがオンに書き込まれると、このビットに対応する前記エクセル操作表示シートの出力表示セルの表示状態を変化させるように設定されたエクセルマクロ機能とを備え、前記通信手段は、エクセルマクロ機能により、前記エクセルデータシートの入力信号セルの前記所定ビット数のオン・オフ状態を1ワードとして前記入出力装置へ送信し、かつ前記入出力装置からの1ワード単位の出力信号を受信すると、そのビット単位のオン・オフ状態を前記出力信号セルの対応するビットに割り振って書き換えることを特徴とする。   A test apparatus for a programmable controller according to an embodiment of the present invention is a test apparatus for a programmable controller that inputs / outputs a control signal to / from a control target and controls the control target according to a predetermined program. An input / output point with an object has a computer connected via a communication means to an input / output device assigned by a plurality of bits for each word, and the computer is a signal of an input signal to the input / output device. A plurality of input display cells whose contents are set as comments, a command button provided for each of these input display cells, and a plurality of output displays whose signal contents of output signals from the input / output device are set as comments Excel operation display sheet having cells, and an input signal having a predetermined number of bits in which the input signal is written in bit units When an Excel data sheet having an output signal cell having a predetermined number of bits in which the output signal is written in bit units and a command button corresponding to any input display cell of the Excel operation display sheet is turned on, the Excel When the corresponding input signal cell of the data sheet is rewritten on and any bit of the output signal cell of the Excel data sheet is written on, the display state of the output display cell of the Excel operation display sheet corresponding to this bit An Excel macro function set to change the input / output state, and the communication means uses the Excel macro function to set the on / off state of the predetermined number of bits of the input signal cell of the Excel data sheet as one word. Output to the device and the output signal of one word unit from the input / output device When signal, and wherein the rewriting allocate on-off state of the bits in corresponding bit of the output signal cell.

本発明によれば、試験用画面作成が誰でも容易に扱え、短時間での試験環境の構築ができ、設備の削減が可能となる。   According to the present invention, anyone can easily handle test screen creation, a test environment can be constructed in a short time, and equipment can be reduced.

本発明の一実施の形態に係るプログラマブルコントローラの試験装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the testing apparatus of the programmable controller which concerns on one embodiment of this invention. 本発明の一実施の形態に用いるエクセルソフトの具体的構成を示す図である。It is a figure which shows the specific structure of the Excel software used for one embodiment of this invention. 図2で示したエクセル操作表示シートにチェックボックスを付加した実施の形態を示す図である。It is a figure which shows embodiment which added the check box to the Excel operation display sheet shown in FIG. 本発明の他の実施の形態に用いるエクセルソフトの具体的構成を示す図である。It is a figure which shows the specific structure of the Excel software used for other embodiment of this invention.

以下、本発明の実施の形態に係るプグラマブルコントローラの試験装置ついて、図面を参照して詳細に説明する。   Hereinafter, a test apparatus for a programmable controller according to an embodiment of the present invention will be described in detail with reference to the drawings.

図1はこの実施の形態における試験装置11と試験対象のプログラマブルコントローラ12との関係を示している。ここで、試験対象のプログラマブルコントローラ12は、制御対象(例えば、クレーン装置など)13との間で入出力装置14を介して制御信号を入出力し、所定のプログラム(アプリケーションソフト)15にしたがって制御対象13を制御する。   FIG. 1 shows the relationship between the test apparatus 11 and the programmable controller 12 to be tested in this embodiment. Here, the programmable controller 12 to be tested inputs / outputs a control signal to / from a control target (for example, a crane device) 13 via an input / output device 14 and is controlled according to a predetermined program (application software) 15. The object 13 is controlled.

試験装置11は、パーソナルコンピュータなどのコンピュータにより実現されるもので、試験用として汎用のエクセル(Excel)ソフト17を有する。エクセルソフト17は、押し釦信号(PBS)や、表示灯(SL)、数値設定、数値表示手段等からなる試験用画面を形成する。また、エクセルソフト17は、エクセルマクロ機能18により通信手段(イーサネット(登録商標):Ethernet(登録商標)とする)19を介して試験対象PLC12の入出力装置14へ接続している。   The test apparatus 11 is realized by a computer such as a personal computer, and has general-purpose Excel software 17 for testing. The Excel software 17 forms a test screen including a push button signal (PBS), an indicator lamp (SL), numerical value setting, numerical value display means, and the like. In addition, the Excel software 17 is connected to the input / output device 14 of the test target PLC 12 via the communication means (Ethernet (registered trademark): Ethernet (registered trademark)) 19 by the Excel macro function 18.

試験対象PLC12の入出力装置14は、制御対象13との入出力点が、1ワード(WORD)毎の複数のビット(bit)で割り付けられている。試験装置11のエクセルソフト17から通信手段19を介して試験対象PLC12に送られる試験用の模擬された入力信号は、入出力装置14の対応する入力点を経てアプリケーションソフト(ラダー、SFC等)15に入力され、これを動作させる。また、アプリケーションソフト15からの出力信号は、通信手段19を介して試験装置11に受信され、エクセルソフト17により表現された表示灯等に表示される。   In the input / output device 14 of the test target PLC 12, the input / output points with the control target 13 are assigned by a plurality of bits (bits) for each word (WORD). A simulated input signal for testing sent from the Excel software 17 of the test apparatus 11 to the test object PLC 12 via the communication means 19 passes through a corresponding input point of the input / output apparatus 14, and application software (ladder, SFC, etc.) 15. To make it work. The output signal from the application software 15 is received by the test apparatus 11 via the communication means 19 and displayed on an indicator lamp or the like expressed by the Excel software 17.

図2は、エクセルソフト17の具体的構成を示している。このエクセルソフト17は、エクセル操作表示シート21、エクセルデータシート22、及びエクセルマクロ機能18を有する。なお、エクセルマクロ機能18は図1で示した通信手段19であるイーサネット(登録商標)に対する通信機能29も内蔵している。   FIG. 2 shows a specific configuration of the Excel software 17. The Excel software 17 has an Excel operation display sheet 21, an Excel data sheet 22, and an Excel macro function 18. The Excel macro function 18 also includes a communication function 29 for Ethernet (registered trademark), which is the communication means 19 shown in FIG.

エクセル操作表示シート21には、複数の入力表示セル23(セル1,セル2,・・・セルn)、これら入力表示セル23毎に設けられたコマンドボタン24(釦1,釦2,・・・釦n)、及び複数の出力表示セル25(セル11,セル12,・・・セル1n)が設定されている。   The Excel operation display sheet 21 includes a plurality of input display cells 23 (cell 1, cell 2,... Cell n), and command buttons 24 (button 1, button 2,...) Provided for each of the input display cells 23. A button n) and a plurality of output display cells 25 (cell 11, cell 12,... Cell 1n) are set.

複数の入力表示セル23は、図1で示した試験対象PLC12に設けられた入出力装置14への入力信号の信号内容がコメントとして設定されている。コマンドボタン24は、クリック操作により対応する入力表示セル23に設定された入力信号を出力させるために機能する。複数の出力表示セル25には、試験対象PLC12の入出力装置14からの出力信号内容がコメントとして設定されている。   In the plurality of input display cells 23, the signal content of the input signal to the input / output device 14 provided in the test object PLC 12 shown in FIG. 1 is set as a comment. The command button 24 functions to output an input signal set in the corresponding input display cell 23 by a click operation. The output signal contents from the input / output device 14 of the test object PLC 12 are set as comments in the plurality of output display cells 25.

エクセルデータシート22は、試験対象PLC12への入力信号がビット単位で書き込まれる所定ビット数(ここでは16ビットとする)の入力信号セル27(セル1,セル2,・・・セルn)、及び試験対象PLC12からの出力信号がビット単位に書き込まれる所定ビット数(16ビットとする)の出力信号セル28(セル11,セル12,・・・セル1n)を有する。   The Excel data sheet 22 includes input signal cells 27 (cell 1, cell 2,... Cell n) having a predetermined number of bits (here, 16 bits) in which an input signal to the test target PLC 12 is written in bit units, and An output signal cell 28 (cell 11, cell 12,... Cell 1n) having a predetermined number of bits (16 bits) in which an output signal from the test object PLC 12 is written in bit units is provided.

エクセルマクロ機能18は、エクセル操作表示シート21に設定された複数の入力表示セル23のいずれか(ここではセル1とする)に対応するコマンドボタン24(釦1)がオン(“1”)されると、エクセルデータシート22の対応する入力信号セル27(セル1)をオン(“1”)に書き換える機能を有する。また、エクセルデータシート22の出力信号セル28のいずれかのビット(図の例ではnビット目のセルn)がオン(“1”)に書き込まれると、このビットに対応するエクセル操作表示シート21の出力表示セル25(セルn)の表示状態を変化させる機能を有する。   In the Excel macro function 18, a command button 24 (button 1) corresponding to one of a plurality of input display cells 23 (here, cell 1) set on the Excel operation display sheet 21 is turned on ("1"). Then, the corresponding input signal cell 27 (cell 1) of the Excel data sheet 22 is rewritten to ON (“1”). Further, when any bit of the output signal cell 28 of the Excel data sheet 22 (the nth bit cell n in the example in the figure) is written on (“1”), the Excel operation display sheet 21 corresponding to this bit. Has a function of changing the display state of the output display cell 25 (cell n).

また、このエクセルマクロ機能18のイーサネット(登録商標)通信機能29は、エクセルデータシート22の入力信号セル27に書き込まれた所定ビット数(16ビット)のオン・オフ状態を、通信手段19により、1ワードとして試験対象PLC12の入出力装置14へ送信する。また、試験対象PLC12の入出力装置14からの出力信号を1ワード(16ビット)単位で受信すると、そのビット毎のオン・オフ状態を、出力信号セル28の対応するビット(セル1,セル2,・・・セルn)に割り振って書き換える。なお、イーサネット(登録商標)通信手段19は1パケットで700ワードの信号を送ることができる。   In addition, the Ethernet (registered trademark) communication function 29 of the Excel macro function 18 uses the communication means 19 to turn on / off the predetermined number of bits (16 bits) written in the input signal cell 27 of the Excel data sheet 22. One word is transmitted to the input / output device 14 of the PLC 12 to be tested. When the output signal from the input / output device 14 of the PLC 12 to be tested is received in units of one word (16 bits), the on / off state for each bit is changed to the corresponding bit (cell 1, cell 2) of the output signal cell 28. ,... Assigned to cell n) and rewritten. The Ethernet (registered trademark) communication means 19 can send a signal of 700 words in one packet.

上記構成において、図1で示すように、試験対象PLC12のアプリケーションソフト(ラダー、SFC等)15のシステム試験を、I/Oレスにて行う場合、試験装置としてのコンピュータ(以下、試験用PCと記す)11と試験対象PLC12とは、通信手段19を介して接続されている。   In the above configuration, as shown in FIG. 1, when the system test of the application software (ladder, SFC, etc.) 15 of the test object PLC 12 is performed without I / O, a computer as a test device (hereinafter referred to as a test PC) 11) and the test target PLC 12 are connected via the communication means 19.

一方、試験用PC11には、試験開始前に、試験対象PLC12への実際の入出力信号(I/O信号)の代わりとなる各種入出力信号(I/O信号:デジタル信号、アナログ信号等)を模擬出力、又は表示させる為の試験用画面が、汎用ソフトであるエクセルソフト17にて作画されている。また、通信手段19であるイーサネット(登録商標)との通信を行う機能29もエクセル機能18にて実現されている。   On the other hand, the test PC 11 has various input / output signals (I / O signals: digital signals, analog signals, etc.) which are substituted for the actual input / output signals (I / O signals) to the test target PLC 12 before the test is started. A test screen for simulating output or display is generated by Excel software 17 which is general-purpose software. A function 29 for communicating with Ethernet (registered trademark) as the communication means 19 is also realized by the Excel function 18.

本構成における、エクセルシート21,22上の信号の通信を、図2により説明する。ここでは、説明を簡略にする為に、一般的なデジタル信号のやり取りについて説明を行う。エクセル操作表示シート21上のセル23にコメント(信号名)が書き込まれており、その下部にコマンドボタン24が設けられている。その構成が試験に必要な入力信号n分作成される。全て機能としては同じであるため、その一つの例で説明を行う。   Communication of signals on the Excel sheets 21 and 22 in this configuration will be described with reference to FIG. Here, in order to simplify the description, a general digital signal exchange will be described. A comment (signal name) is written in a cell 23 on the Excel operation display sheet 21, and a command button 24 is provided below the comment. The number of input signals n required for the test is created. Since all the functions are the same, an example will be described.

エクセル操作表示シート21上の入力対象となる信号内容を入力表示セル23にそれぞれ表示されたコメントから把握し、対応するコマンドボタン24を図示しないマウスにてクリックする。   The contents of signals to be input on the Excel operation display sheet 21 are grasped from the comments displayed in the input display cells 23, and the corresponding command buttons 24 are clicked with a mouse (not shown).

例えば、入力表示セル23のセル1に対応するコマンドボタン24(釦1)をクリックすると、クリック中のみ、エクセルデータシート22に割付られた対応する入力信号セル27(セル1)の内容が、オン(“1”)状態となる。クリック中で無い時にはオフ(“0”)に状態が変化するようエクセルマクロ機能18で作られている。その機能は16個(16bit)の信号にて1つの塊りとして作成されており、1ワードのデータとして、イーサネット(登録商標)通信手段19を介して試験対象PLC12へ、実際の入力信号の代わりに入力される。イーサネット(登録商標)通信手段19は、エクセルマクロ機能18のイーサネット(登録商標)通信機能29にて、入力信号セル27セルの16ビット信号を1ワードデータとして試験対象PLC12側へ出力する。   For example, when the command button 24 (button 1) corresponding to the cell 1 of the input display cell 23 is clicked, the content of the corresponding input signal cell 27 (cell 1) assigned to the Excel data sheet 22 is turned on only during the click. ("1") state. It is created by the Excel macro function 18 so that the state changes to off (“0”) when not being clicked. The function is created as one lump with 16 signals (16 bits), and instead of the actual input signal as one word data to the test target PLC 12 via the Ethernet (registered trademark) communication means 19. Is input. The Ethernet (registered trademark) communication means 19 uses the Ethernet (registered trademark) communication function 29 of the Excel macro function 18 to output the 16-bit signal of the input signal cell 27 cell as one word data to the test target PLC 12 side.

これにより、エクセル操作表示シート21上にてのマウスのクリック操作により、試験対象PLC12側にて、実際の入力信号の代わり模擬信号が入力される。試験対象PLCの入出力装置14は、前述のように、制御対象13との入出力点が、1ワード毎の複数のビットで割り付けられている。したがって、試験用PC11のエクセルソフト17から通信手段19を介して送られてきた、試験用の模擬された入力信号は、入出力装置14の対応する入力点を経てアプリケーションソフト15に入力され、これを動作させる。   Thereby, a simulation signal is input instead of an actual input signal on the test target PLC 12 side by a mouse click operation on the Excel operation display sheet 21. As described above, in the input / output device 14 of the test object PLC, the input / output points with the control object 13 are assigned by a plurality of bits for each word. Therefore, the simulated input signal for test sent from the Excel software 17 of the test PC 11 via the communication means 19 is input to the application software 15 through the corresponding input point of the input / output device 14, and this To work.

一方で、試験対象PLC12から出力された出力信号は、通信手段19を介して試験用PC11に受信され、エクセルソフト17によりエクセル操作表示シート21上に表現された表示灯等(表示セル25)に表示される。この出力信号は1ワードのデータとしてイーサネット(登録商標)通信機能29で受信される。そして、1ワードデータが16個の信号に分解されてエクセルデータシート22上の出力信号セル28(セル11〜セル1n)へ、オン状態(“1”)又は、オフ状態(“0”)として書き込まれる。   On the other hand, the output signal output from the test object PLC 12 is received by the test PC 11 via the communication means 19 and is displayed on the display lamp or the like (display cell 25) expressed on the Excel operation display sheet 21 by the Excel software 17. Is displayed. This output signal is received by the Ethernet (registered trademark) communication function 29 as 1-word data. Then, one word data is decomposed into 16 signals, and the output signal cell 28 (cell 11 to cell 1n) on the Excel data sheet 22 is turned on ("1") or turned off ("0"). Written.

すなわち、エクセルマクロ機能18により実現されるイーサネット(登録商標)通信機能29には、試験対象PLC12から出力される1ワード(16ビット)データを、16個の信号としてエクセルデータシート22上の出力信号セル28へ割り振る機能を有している。   That is, in the Ethernet (registered trademark) communication function 29 realized by the Excel macro function 18, one word (16 bits) data output from the test target PLC 12 is output as 16 signals to the output signal on the Excel data sheet 22. The function of allocating to the cell 28 is provided.

また、エクセルマクロ機能18は、エクセルデータシート22の出力信号セル28のいずれかのセル(図2の例では1n)が“1”に書き込まれた場合には、エクセル操作表示シート21上の出力表示セル25の該当セル1nが、オン状態を表す色となるように制御する。一方、セルの状態が“0”の場合には、エクセル操作表示シート21上の対応する出力表示セル25は、オフ状態を表す色となるように、同じくエクセルマクロ機能にて組まれている。これにより、試験対象PLC12での実際の出力信号の代わりにエクセル操作表示シート21上にて出力信号が色変えで模擬表示される。   The Excel macro function 18 outputs the data on the Excel operation display sheet 21 when any one of the output signal cells 28 (1n in the example of FIG. 2) of the Excel data sheet 22 is written to “1”. Control is performed so that the corresponding cell 1n of the display cell 25 has a color representing the ON state. On the other hand, when the cell state is “0”, the corresponding output display cell 25 on the Excel operation display sheet 21 is similarly assembled with the Excel macro function so as to have a color representing the off state. As a result, instead of the actual output signal at the test target PLC 12, the output signal is displayed on the Excel operation display sheet 21 in a simulated manner by changing the color.

さらに、イーサネット(登録商標)通信機能29には、上述したデータ入出力機能に加えて、図2で示すように、イーサネット(登録商標)通信のソケットオープンやクローズ機能も組み込まれており、パソコンに付属されているイーサネット(登録商標)ポートから、UDP−IPプロトコルで送受信を行っている。   Further, in addition to the data input / output function described above, the Ethernet (registered trademark) communication function 29 also incorporates a socket open / close function for Ethernet (registered trademark) communication as shown in FIG. Transmission / reception is performed by the UDP-IP protocol from the attached Ethernet (registered trademark) port.

なお、従来の試験装置ではタッチパネルに対するタッチ操作で試験を行っていたが、上記実施の形態ではマウス操作となる。しかし、この操作の違いによる実質的な機能上の問題は無い。また、通信手段19は、試験用のコンピュータ11としてパソコンを用いた場合、イーサネット(登録商標)での通信に固定される。したがって、試験用PC11の機種の改廃が生じても、試験対象PLC12との通信手段19を新たに用意する必要がなく、そのまま既設手段を適用することができる。   In the conventional test apparatus, a test is performed by a touch operation on the touch panel. However, in the above embodiment, a mouse operation is performed. However, there is no substantial functional problem due to this difference in operation. Further, when a personal computer is used as the test computer 11, the communication means 19 is fixed to Ethernet (registered trademark) communication. Therefore, even if the model of the test PC 11 is modified or eliminated, it is not necessary to newly prepare the communication means 19 with the test target PLC 12, and the existing means can be applied as it is.

このように、試験装置11としてPCを用い、試験用画面を汎用のエクセルソフト17により作成したので、試験用画面作成の専用知識を必要とせず、誰でも容易に扱え、短時間での試験環境の構築が可能となる。   In this way, since a test screen is created by the general-purpose Excel software 17 using a PC as the test apparatus 11, no dedicated knowledge for creating the test screen is required, and anyone can easily handle it and the test environment in a short time. Can be constructed.

次に、図3で示す実施の形態を説明する。この実施の形態では、図2で示した実態の形態に対して、エクセルのチェックボックス機能を付加して、押し釦(PBS)の形態機能であるオルタネート機能とモーメンタリ機能とを、エクセルマクロ機能を用いて、切り換えるように構成した。   Next, the embodiment shown in FIG. 3 will be described. In this embodiment, an Excel check box function is added to the actual form shown in FIG. 2, and an alternate function and a momentary function, which are push button (PBS) form functions, and an Excel macro function are provided. Used to switch.

図3において、図2で示したエクセル操作表示シート21に設けられた各入力表示セル23のコマンドボタン24の近傍に、チェックボックス31を設ける。前述したエクセルマクロ機能18は、チェックボックス31に対するチェックの有無により、押し釦(PBS)の形態機能であるオルタネート機能とモーメンタリ機能とを切り換える。なお、押し釦(PBS)はコマンドボタン24の機能により実現される。   In FIG. 3, a check box 31 is provided near the command button 24 of each input display cell 23 provided on the Excel operation display sheet 21 shown in FIG. The Excel macro function 18 described above switches between an alternate function and a momentary function, which are form functions of a push button (PBS), depending on whether or not the check box 31 is checked. The push button (PBS) is realized by the function of the command button 24.

ここで、押し釦(PBS)のモーメンタリ機能とは、コマンドボタン24(釦1とする)に対するクリック中のみ、対応する入力表示セル23(セル1)に設定された入力信号のオン又はオフ信号が出力され、コマンドボタン24(釦1)へのクリックを解除すると、入力信号がオフ又はオン状態に反転復帰する機能のことである。また、オルタネート機能とは、コマンドボタン24(同じく釦1とする)に対するクリック毎に、対応する入力表示セル23(セル1)に設定された入力信号のオン・オフ状態が反転して出力される機能のことである。   Here, the momentary function of the push button (PBS) means that the ON / OFF signal of the input signal set in the corresponding input display cell 23 (cell 1) is only during a click on the command button 24 (button 1). When the command button 24 (button 1) is clicked, the input signal is turned off or turned back on. In the alternate function, each time the command button 24 (also referred to as button 1) is clicked, the on / off state of the input signal set in the corresponding input display cell 23 (cell 1) is inverted and output. It is a function.

図3の例では、コマンドボタン24(釦1)の下方にチェックボックス31が付加されている。このチェックボックス31がチェックされているときは、上述したオルタネート機能となっている。すなわち、コマンドボタン24(釦1)をマウスにてクリックする都度、図2で示したエクセルデータシート22の該当する入力信号セル27(セル1)の数値は、“1”(オン)又は“0”(オフ)に切り換わるようマクロ機能18にて組んでいる。一方で、チェックボックス31がチェックされていないときには、上述したモーメンタリ機能となっている。すなわち、コマンドボタン24(釦1)をマウスにてクリックしているときのみエクセルデータシート22の該当する入力信号セル27(セル1)の数値を“1”(オン)とし、クリックしていない時には“0”(オフ)とするようマクロ機能にて組んでいる。   In the example of FIG. 3, a check box 31 is added below the command button 24 (button 1). When the check box 31 is checked, the alternate function described above is set. That is, each time the command button 24 (button 1) is clicked with the mouse, the numerical value of the corresponding input signal cell 27 (cell 1) of the Excel data sheet 22 shown in FIG. 2 is “1” (on) or “0”. The macro function 18 is used to switch to “off”. On the other hand, when the check box 31 is not checked, the momentary function described above is provided. That is, only when the command button 24 (button 1) is clicked with the mouse, the numerical value of the corresponding input signal cell 27 (cell 1) of the Excel data sheet 22 is set to “1” (on), and when it is not clicked. The macro function is set to “0” (off).

この機能を付加することにより、試験前の信号の割付段階においても、PBSの形態を気にすることなく信号の割付が可能で有り、また、PBSの形態が途中で変更されてもチェックボックス31でのクリックのみで対応が可能となる。   By adding this function, it is possible to assign signals without worrying about the PBS form even in the signal assignment stage before the test, and even if the PBS form is changed during the check box 31. It becomes possible to respond with a simple click.

次に、図4で示す実施の形態を説明する。この実施の形態では、図2で示した実施の形態に対して、エクセルのプルダウンメニュー機能を付加している。ここで、実際の試験対象PLC12の入出力装置14の入出力点は数百ワードにも達する膨大なものである。このため、それらの入力表示セル23すべてを、エクセル操作表示シート21上に割り付けることは実質的に難しい。仮に割り付けたとして、多くの入力表示セル23の中から、操作対象の入力表示セルを見つけ出すことに多くの労力が必要となり、操作性が低下してしまう。そこで、この実施の形態ではエクセルのプルダウンメニュー機能を用いることとした。   Next, the embodiment shown in FIG. 4 will be described. In this embodiment, an Excel pull-down menu function is added to the embodiment shown in FIG. Here, the input / output points of the input / output device 14 of the actual test object PLC 12 are enormous, reaching several hundred words. For this reason, it is substantially difficult to allocate all of the input display cells 23 on the Excel operation display sheet 21. If it is assigned, a lot of labor is required to find an input display cell to be operated from many input display cells 23, and the operability is lowered. Therefore, in this embodiment, the Excel pull-down menu function is used.

この実施の形態でも、図1で示したように、試験装置11は、パーソナルコンピュータなどのコンピュータにより実現されるもので、試験用として汎用のエクセルソフト17を有する。   Also in this embodiment, as shown in FIG. 1, the test apparatus 11 is realized by a computer such as a personal computer, and has general-purpose Excel software 17 for testing.

試験対象PLC12の入出力装置14は、制御対象13との入出力点が、1ワード毎の複数ビット(16ビット)で割り付けられており、これが数百ワード分にも達する多数の入出力点を有する。また、これら各ワードには、後述するアドレスが設定されている。したがって、後述するように試験装置11のエクセルソフト17から通信手段19を介して試験対象PLC12に送られる試験用の模擬されたワード単位の入力信号は、入出力装置14の対応するワード単位の入力点を経てアプリケーションソフト(ラダー、SFC等)15に入力され、これを動作させる。   The input / output device 14 of the test object PLC 12 has an input / output point with the control object 13 assigned by a plurality of bits (16 bits) for each word. Have. In addition, an address described later is set in each of these words. Therefore, as described later, a simulated word unit input signal for testing sent from the Excel software 17 of the test apparatus 11 to the test object PLC 12 via the communication means 19 is input to the input / output unit 14 in a corresponding word unit. A point is input to application software (ladder, SFC, etc.) 15 to operate it.

図4は、エクセルソフト17の具体的構成を示している。このエクセルソフト17は、エクセル操作表示シート41、エクセルデータシート42、エクセルコメントシート43及び図示しないエクセルマクロ機能を有する。   FIG. 4 shows a specific configuration of the Excel software 17. The Excel software 17 has an Excel operation display sheet 41, an Excel data sheet 42, an Excel comment sheet 43, and an Excel macro function (not shown).

エクセル操作表示シート41は、複数の入力表示セル44(セル1,セル2,・・・セルn)、及びこれら入力表示セル44毎に設けられたコマンドボタン45(釦1,釦2,・・・釦n)が、1ワード(16ビット分)設定されている。また、この他にプルダウンメニュー46が設けられている。   The Excel operation display sheet 41 includes a plurality of input display cells 44 (cell 1, cell 2,... Cell n), and command buttons 45 (button 1, button 2,...) Provided for each of the input display cells 44. -Button n) is set to one word (for 16 bits). In addition, a pull-down menu 46 is provided.

複数の入力表示セル44は、試験対象PLC12への入力信号の信号内容がコメントとして表示可能である。コマンドボタン45は、クリック操作により対応する入力表示セル44に設定された入力信号を出力させるために機能する。プルダウンメニュー46は、試験対象PLC12の入出力装置14の入出力点に割り付けられているワード単位のアドレスが順列に設定されている。図4ではワード単位のアドレス「XW0001」が順列「1」に設定されている。以降の順列「2,3,・・・」にも、図示しないがそれぞれワード単位のアドレスが設定されており、これらは全ワード数分、設定される。   The plurality of input display cells 44 can display the signal content of the input signal to the test target PLC 12 as a comment. The command button 45 functions to output an input signal set in the corresponding input display cell 44 by a click operation. In the pull-down menu 46, addresses in word units assigned to the input / output points of the input / output device 14 of the test object PLC 12 are set in a permutation. In FIG. 4, the address “XW0001” in word units is set to the permutation “1”. In the following permutations “2, 3,...”, Although not shown, addresses in units of words are set, and these are set for the total number of words.

エクセルデータシート42には、上記順列「1,2,3,・・・」毎に、入力信号がビット単位で書き込まれる所定ビット数(0,1,2,・・・,E,Fの16ビット)のセル行が設定された入力信号セル47を有する。   In the Excel data sheet 42, for each permutation “1, 2, 3,...”, A predetermined number of bits (0, 1, 2,. Bit) cell rows have input signal cells 47 set.

エクセルコメントシート43には、同じく上記順列「1,2,3,・・・」毎に、エクセル操作表示シート41の複数の入力表示セル44(セル1,セル2,・・・セルn)に表示されるコメントが、それぞれセル単位(0,1,2,・・・,E,F)に設定されたコメント記憶部48を有する。   Similarly, the Excel comment sheet 43 includes a plurality of input display cells 44 (cell 1, cell 2,... Cell n) of the Excel operation display sheet 41 for each permutation “1, 2, 3,. The displayed comment has a comment storage unit 48 set in cell units (0, 1, 2,..., E, F).

エクセルマクロ機能は、プルダウンメニュー46によりワード単位のアドレスが選択されると、エクセルコメントシート43から、選択されたアドレスに対応するセル単位に設定されたコメントを抽出して、エクセル操作表示シート41の複数の入力表示セル44(セル1,セル2,・・・セルn)にそれぞれ表示させる。例えば、順列「1」のアドレス「XW0001」が選択されると、エクセルコメントシート43のコメント記憶部48に設定された対応する順列「1」のセル単位(0,1,2,・・・,E,F)に設定されたコメントを、エクセル操作表示シート41の入力表示セル44の対応するセル1,セル2,・・・セルnにそれぞれ表示させる。   The Excel macro function extracts a comment set in the cell unit corresponding to the selected address from the Excel comment sheet 43 when the word unit address is selected from the pull-down menu 46, and displays the Excel operation display sheet 41. A plurality of input display cells 44 (cell 1, cell 2,... Cell n) are displayed. For example, when the address “XW0001” of the permutation “1” is selected, the cell unit (0, 1, 2,..., Corresponding permutation “1” set in the comment storage unit 48 of the Excel comment sheet 43 is selected. E, F) are displayed in the corresponding cell 1, cell 2,... Cell n of the input display cell 44 of the Excel operation display sheet 41, respectively.

また、エクセル操作表示シート41のコメントが表示された入力表示セル44のいずれか(セル1とする)に対応するコマンドボタン45(釦1)がオンされると、エクセルデータシート42の入力信号セル47の、選択されたアドレス「XW0001」の順列「1」に対応するセル行(0,1,2,・・・,E,F)の対応するセル(ビットF)をオン(“1”)に書き換える。   When the command button 45 (button 1) corresponding to any one of the input display cells 44 in which the comments on the Excel operation display sheet 41 are displayed (referred to as cell 1) is turned on, the input signal cell of the Excel data sheet 42 is displayed. 47, the corresponding cell (bit F) of the cell row (0, 1, 2,..., E, F) corresponding to the permutation “1” of the selected address “XW0001” is turned on (“1”). Rewrite to

通信手段19は、エクセルマクロ機能により、エクセルデータシート42の入力信号セル47における、選択されたアドレス「XW0001」の順列「1」に対応するセル行(16ビット)のオン・オフ状態を1ワードとして試験対象PLC12の入出力装置14へ送信する。   The communication means 19 uses the Excel macro function to set the on / off state of the cell row (16 bits) corresponding to the permutation “1” of the selected address “XW0001” in the input signal cell 47 of the Excel data sheet 42 to one word. To the input / output device 14 of the PLC 12 to be tested.

このように、エクセル操作表示シート41に設けられたプルダウンメニュー46の順列にて設定される数値(順列)に応じて、他方のエクセルシート(データシート42とコメントシート43)の参照セルを切換えることにより、別のI/O信号として扱える信号割付切換え機能を有する。すなわち、データシート42、コメントシート43共に、プルダウンメニュー46にて設定された個数分用意され、プルダウンメニュー46の順列に沿って各セルがマクロ機能にて割付られている。プルダウンメニュー46の記事には、PLC12内のアドレス(XW0001等)が使用される。   In this way, the reference cell of the other Excel sheet (data sheet 42 and comment sheet 43) is switched according to the numerical value (permutation) set in the permutation of the pull-down menu 46 provided in the Excel operation display sheet 41. Therefore, it has a signal allocation switching function that can be handled as another I / O signal. That is, both the data sheet 42 and the comment sheet 43 are prepared for the number set by the pull-down menu 46, and each cell is assigned by the macro function along the permutation of the pull-down menu 46. For the article in the pull-down menu 46, an address (XW0001 or the like) in the PLC 12 is used.

この構成にて、エクセル操作表示シート41上でのコマンドボタン45(例えば、釦1)をマウスでクリックした際の信号を、プルダウンメニュー46にて選択された順列によって該当するデータシート42のセルに書き込む様にマクロ機能で組まれている。   With this configuration, the signal when the command button 45 (for example, button 1) on the Excel operation display sheet 41 is clicked with the mouse is transferred to the cell of the corresponding data sheet 42 by the permutation selected in the pull-down menu 46. It is built with macro functions to write.

また、コメントシート43に書き込まれたコメント(あ、い、・・・)をプルダウンメニュー46の順列から、選択されたセルの内容をエクセル操作表示シート41の入力表示セル44のコメントとして書き換えるように、同じくマクロ機能にて組まれている。   Further, the comment written in the comment sheet 43 is rewritten from the permutation of the pull-down menu 46 so that the content of the selected cell is rewritten as the comment of the input display cell 44 of the Excel operation display sheet 41. It is also assembled with the macro function.

したがって、プルダウンメニュー46にて選択したPLC12内のアドレスに該当するコメント及び入力信号状態を表示する事が出来る。   Therefore, it is possible to display the comment and input signal state corresponding to the address in the PLC 12 selected from the pull-down menu 46.

この機能を付加する事により、1ワード分のコメント、コマンドによってPLC12内の複数の入力信号として割り付ける事が可能となり、エクセル操作表示シート41上に、試験用部品が多数必要となってもシートを切換えることなくI/Oレス試験が可能となる。   By adding this function, it is possible to assign as a plurality of input signals in the PLC 12 by comments and commands for one word, and even if a lot of test parts are required on the Excel operation display sheet 41, a sheet can be provided. An I / O-less test can be performed without switching.

本発明のいくつかの実施形態を説明したが、これらの実施形態は例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他のさまざまな形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これらの実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

11・・・試験装置(コンピュータ)
12・・・試験対象PLC
13・・・制御対象
14・・・入出力装置
15・・・アプリケーションソフト
17・・・エクセルソフト
18・・・エクセルマクロ機能
19・・・通信手段
21,41・・・エクセル操作表示シート
22,42・・・エクセルデータシート
23,44・・・入力表示セル
24,45・・・コマンドボタン
25・・・出力表示セル
27、47・・・入力信号セル
28・・・出力信号セル
29・・・イーサネット(登録商標)通信機能
31・・・チェックボックス
43・・・エクセルコメントシート
46・・・プルダウンメニュー
48・・・コメント記憶部
11 ... Test equipment (computer)
12 ... PLC to be tested
DESCRIPTION OF SYMBOLS 13 ... Control object 14 ... Input / output device 15 ... Application software 17 ... Excel software 18 ... Excel macro function 19 ... Communication means 21, 41 ... Excel operation display sheet 22, 42 ... Excel data sheet 23, 44 ... Input display cell 24, 45 ... Command button 25 ... Output display cell 27, 47 ... Input signal cell 28 ... Output signal cell 29 ...・ Ethernet (registered trademark) communication function 31 ... Check box 43 ... Excel comment sheet 46 ... Pull-down menu 48 ... Comment storage

Claims (3)

制御対象との間で制御信号を入出力し、所定のプログラムにしたがって前記制御対象を制御するプログラマブルコントローラの試験装置であって、
前記制御対象との入出力点が、ワード毎の複数ビットで割り付けられている入出力装置と通信手段を介して接続されたコンピュータを有し、このコンピュータは、
前記入出力装置への入力信号の信号内容がコメントとして設定されている複数の入力表示セル、及びこれら入力表示セル毎に設けられたコマンドボタンと、前記入出力装置からの出力信号の信号内容がコメントとして設定されている複数の出力表示セルとを有するエクセル操作表示シートと、
前記入力信号がビット単位で書き込まれる所定ビット数の入力信号セル及び前記出力信号がビット単位に書き込まれる所定ビット数の出力信号セルを有するエクセルデータシートと、
前記エクセル操作表示シートのいずれかの入力表示セルに対応するコマンドボタンがオンされると、前記エクセルデータシートの対応する入力信号セルをオンに書き換え、前記エクセルデータシートの出力信号セルのいずれかのビットがオンに書き込まれると、このビットに対応する前記エクセル操作表示シートの出力表示セルの表示状態を変化させるように設定されたエクセルマクロ機能とを備え、
前記通信手段は、エクセルマクロ機能により、前記エクセルデータシートの入力信号セルの前記所定ビット数のオン・オフ状態を1ワードとして前記入出力装置へ送信し、かつ前記入出力装置からの1ワード単位の出力信号を受信すると、そのビット単位のオン・オフ状態を前記出力信号セルの対応するビットに割り振って書き換える、
ことを特徴とするプログラマブルコントローラの試験装置。
A test apparatus for a programmable controller that inputs / outputs control signals to / from a control target and controls the control target according to a predetermined program,
An input / output point with the control object has a computer connected via a communication means to an input / output device assigned by a plurality of bits for each word.
A plurality of input display cells in which the signal content of the input signal to the input / output device is set as a comment, a command button provided for each input display cell, and a signal content of the output signal from the input / output device An Excel operation display sheet having a plurality of output display cells set as comments;
An Excel data sheet having an input signal cell having a predetermined number of bits in which the input signal is written in units of bits and an output signal cell having a predetermined number of bits in which the output signals are written in units of bits;
When a command button corresponding to any input display cell of the Excel operation display sheet is turned on, the corresponding input signal cell of the Excel data sheet is rewritten on, and any of the output signal cells of the Excel data sheet An Excel macro function set to change the display state of the output display cell of the Excel operation display sheet corresponding to the bit when the bit is written on,
The communication means transmits the on / off state of the predetermined number of bits of the input signal cell of the Excel data sheet as one word to the input / output device by the Excel macro function, and one word unit from the input / output device. When the output signal is received, the bit unit on / off state is assigned to the corresponding bit of the output signal cell and rewritten.
A test apparatus for a programmable controller.
制御対象との間で制御信号を入出力し、所定のプログラムにしたがって前記制御対象を制御するプログラマブルコントローラの試験装置であって、
前記制御対象との入出力点が、ワード毎の複数のビットで割り付けられている入出力装置と通信手段を介して接続されたコンピュータを有し、このコンピュータは、
前記入出力装置への入力信号の信号内容がコメントとして設定される複数の入力表示セル、及びこれら入力表示セル毎に設けられたコマンドボタンと、前記入出力装置の入出力点に割り付けられているワード単位のアドレスが順列に設定されているプルダウンメニューとを有するエクセル操作表示シートと、
前記ワード単位のアドレス毎に、前記入力信号がビット単位で書き込まれる所定ビット数の入力信号セル有するエクセルデータシートと、
前記ワード単位のアドレス毎に、エクセル操作表示シートの複数の入力表示セルに表示されるコメントがそれぞれセル単位に設定されたエクセルコメントシートと、
前記プルダウンメニューによりワード単位のアドレスが選択されると、エクセルコメントシートから、選択されたアドレスに対応するセル単位に設定されたコメントを抽出して前記エクセル操作表示シートの複数の入力表示セルにそれぞれ表示させ、このエクセル操作表示シートのいずれかの入力表示セルに対応するコマンドボタンがオンされると、前記エクセルデータシートの前記選択されたアドレスの、対応する入力信号セルをオンに書き換えるように設定されたエクセルマクロ機能とを備え、
前記通信手段は、エクセルマクロ機能により、前記エクセルデータシートの、前記選択されたアドレスにおける入力信号セルの所定ビット数のオン・オフ状態を1ワードとして前記入出力装置へ送信する、
ことを特徴とするプログラマブルコントローラの試験装置。
A test apparatus for a programmable controller that inputs / outputs control signals to / from a control target and controls the control target according to a predetermined program,
The computer has an input / output point connected to the control object, and an input / output device that is assigned with a plurality of bits for each word, via a communication means.
A plurality of input display cells in which signal contents of input signals to the input / output device are set as comments, command buttons provided for the respective input display cells, and input / output points of the input / output device are assigned. An Excel operation display sheet having a pull-down menu in which word unit addresses are set in a permutation;
An Excel data sheet having an input signal cell of a predetermined number of bits in which the input signal is written in bit units for each word unit address;
For each word unit address, an Excel comment sheet in which comments displayed in a plurality of input display cells of the Excel operation display sheet are set for each cell unit, and
When an address in units of words is selected from the pull-down menu, a comment set in units of cells corresponding to the selected address is extracted from the Excel comment sheet, and each of the plurality of input display cells in the Excel operation display sheet is selected. When the command button corresponding to any input display cell of this Excel operation display sheet is turned on, the corresponding input signal cell of the selected address of the Excel data sheet is set to be rewritten on. Excel macro function
The communication means transmits an on / off state of a predetermined number of bits of the input signal cell at the selected address of the Excel data sheet to the input / output device as one word by the Excel macro function.
A test apparatus for a programmable controller.
前記エクセル操作表示シートの各入力表示セルにチェックボックスを設け、前記エクセルマクロ機能は、前記チェックボックスに対するチェックの有無により、
対応する前記コマンドボタンに対するクリック中のみ、対応する入力表示セルに設定された入力信号のオン又はオフ信号が出力され、前記コマンドボタンに対するクリックを解除すると前記入力信号がオフ又はオン状態に反転するモーメンタリ機能と、
対応する前記コマンドボタンに対するクリック毎に、対応する入力表示セルに設定された入力信号のオン・オフ状態が反転して出力されるオルタネート機能と
に切り換えるように設定されていることを特徴とする請求項1又は請求項2に記載のプログラマブルコントローラの試験装置。
A check box is provided for each input display cell of the Excel operation display sheet, and the Excel macro function is based on whether or not the check box is checked,
Only when the corresponding command button is being clicked, the ON / OFF signal of the input signal set in the corresponding input display cell is output, and when the click on the command button is released, the input signal is inverted to the OFF or ON state. Function and
Each time the corresponding command button is clicked, the on / off state of the input signal set in the corresponding input display cell is set to be switched to an alternate function that is output in an inverted manner. A test apparatus for a programmable controller according to claim 1 or 2.
JP2012258874A 2012-11-27 2012-11-27 Programmable controller test equipment Active JP5951458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012258874A JP5951458B2 (en) 2012-11-27 2012-11-27 Programmable controller test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012258874A JP5951458B2 (en) 2012-11-27 2012-11-27 Programmable controller test equipment

Publications (2)

Publication Number Publication Date
JP2014106720A true JP2014106720A (en) 2014-06-09
JP5951458B2 JP5951458B2 (en) 2016-07-13

Family

ID=51028154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012258874A Active JP5951458B2 (en) 2012-11-27 2012-11-27 Programmable controller test equipment

Country Status (1)

Country Link
JP (1) JP5951458B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580497A (en) * 2020-05-06 2020-08-25 上海中金能源投资有限公司 Programmable logic controller input/output port testing equipment and method
CN111880466A (en) * 2020-07-28 2020-11-03 西门子(中国)有限公司 Method for transmitting data from upper computer to programmable logic controller

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59205612A (en) * 1983-05-07 1984-11-21 Hitachi Ltd Simulation device of sequence control
JPS62210510A (en) * 1986-03-11 1987-09-16 Fanuc Ltd Simulator of programmable controller
JPH02100104A (en) * 1988-10-07 1990-04-12 Fuji Electric Co Ltd Operating panel for controller
JPH02168301A (en) * 1988-12-22 1990-06-28 Fuji Electric Co Ltd Programmable controller
JPH076108A (en) * 1993-06-17 1995-01-10 Patoraito:Kk Communication equipment for display device
JPH1031508A (en) * 1996-07-17 1998-02-03 Omron Corp Device and method for debugging
JPH11218562A (en) * 1997-10-10 1999-08-10 Advantest Corp Gui processing system
JP2003202906A (en) * 2002-01-09 2003-07-18 Koyo Seiko Co Ltd Output pause setting device for programmable controller, computer program for making computer function as output pause setting device, and recording medium with the program recorded thereon
JP2004112338A (en) * 2002-09-18 2004-04-08 Sony Corp Apparatus and method for controlling video deck
JP2008165399A (en) * 2006-12-27 2008-07-17 Fanuc Ltd Simulation data generation support device
JP2012043416A (en) * 2010-08-23 2012-03-01 Fisher-Rosemount Systems Inc Method for testing process system, device, and product

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59205612A (en) * 1983-05-07 1984-11-21 Hitachi Ltd Simulation device of sequence control
JPS62210510A (en) * 1986-03-11 1987-09-16 Fanuc Ltd Simulator of programmable controller
JPH02100104A (en) * 1988-10-07 1990-04-12 Fuji Electric Co Ltd Operating panel for controller
JPH02168301A (en) * 1988-12-22 1990-06-28 Fuji Electric Co Ltd Programmable controller
JPH076108A (en) * 1993-06-17 1995-01-10 Patoraito:Kk Communication equipment for display device
JPH1031508A (en) * 1996-07-17 1998-02-03 Omron Corp Device and method for debugging
JPH11218562A (en) * 1997-10-10 1999-08-10 Advantest Corp Gui processing system
JP2003202906A (en) * 2002-01-09 2003-07-18 Koyo Seiko Co Ltd Output pause setting device for programmable controller, computer program for making computer function as output pause setting device, and recording medium with the program recorded thereon
JP2004112338A (en) * 2002-09-18 2004-04-08 Sony Corp Apparatus and method for controlling video deck
JP2008165399A (en) * 2006-12-27 2008-07-17 Fanuc Ltd Simulation data generation support device
JP2012043416A (en) * 2010-08-23 2012-03-01 Fisher-Rosemount Systems Inc Method for testing process system, device, and product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580497A (en) * 2020-05-06 2020-08-25 上海中金能源投资有限公司 Programmable logic controller input/output port testing equipment and method
CN111880466A (en) * 2020-07-28 2020-11-03 西门子(中国)有限公司 Method for transmitting data from upper computer to programmable logic controller
CN111880466B (en) * 2020-07-28 2024-03-15 西门子(中国)有限公司 Method for transmitting data from upper computer to programmable logic controller

Also Published As

Publication number Publication date
JP5951458B2 (en) 2016-07-13

Similar Documents

Publication Publication Date Title
US9817410B2 (en) Air conditioner testing system, air-conditioning system simulator, and program
JP2015176340A (en) Programmable controller and device control method by programmable controller
CN104881358B (en) A kind of procedure simulation method of testing and system
JP6514252B2 (en) Robot data setting system, data setting method and program
JP2008165399A (en) Simulation data generation support device
JP5240490B2 (en) Operation training system and operation training method
JP5951458B2 (en) Programmable controller test equipment
KR101706029B1 (en) System-setup assistance apparatus
CN106294155A (en) A kind of distributed I/O Simulation Control method of testing, system and simulation computer
US11165745B2 (en) Control system, controller, and control method
US20190204803A1 (en) Programmable logic controller system, programmable logic controller, and engineering tool program
US20190306250A1 (en) Support apparatus, non-transitory computer-readable recording medium and setting method
CN104090185A (en) Testing system and method
CN104158913A (en) Display interface testing method
CN102346985A (en) Numerical control machine operation device for teaching training
US11321102B2 (en) Programmable display, display control method, and display control program
JP5207310B2 (en) Control device for plant monitoring and control system
WO2019220605A1 (en) Simulation device and simulation program
WO2013146308A1 (en) Control unit and method for displaying update time in control unit
JP2018124446A (en) Plant simulator, plant simulator system, plant simulation method, and plant simulation program
JP2021018586A (en) Simulated process controller
US10671040B2 (en) Process control system and plant planning tool
CN105335312B (en) The connecting interface switching device of multicomputer device
CN114721712B (en) Task execution method and device, electronic equipment and storage medium
JP6053616B2 (en) Display component control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160401

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160608

R150 Certificate of patent or registration of utility model

Ref document number: 5951458

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250