JP6305172B2 - Indicator - Google Patents

Indicator Download PDF

Info

Publication number
JP6305172B2
JP6305172B2 JP2014080115A JP2014080115A JP6305172B2 JP 6305172 B2 JP6305172 B2 JP 6305172B2 JP 2014080115 A JP2014080115 A JP 2014080115A JP 2014080115 A JP2014080115 A JP 2014080115A JP 6305172 B2 JP6305172 B2 JP 6305172B2
Authority
JP
Japan
Prior art keywords
communication
data
display
serial
control unit
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.)
Active
Application number
JP2014080115A
Other languages
Japanese (ja)
Other versions
JP2015200594A (en
Inventor
伸一郎 藤原
伸一郎 藤原
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.)
Yamato Scale Co Ltd
Original Assignee
Yamato Scale Co Ltd
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 Yamato Scale Co Ltd filed Critical Yamato Scale Co Ltd
Priority to JP2014080115A priority Critical patent/JP6305172B2/en
Publication of JP2015200594A publication Critical patent/JP2015200594A/en
Application granted granted Critical
Publication of JP6305172B2 publication Critical patent/JP6305172B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、被計量物の重量を計量する計量装置に用いられる指示計に関する。   The present invention relates to an indicator used in a measuring device for measuring the weight of an object to be weighed.

従来、ホッパスケール、トラックスケール等の計量装置には、荷重検出器からの荷重信号に基づいて被計量物の重量値を算出し、その重量値等を表示する指示計が備えられている(例えば、特許文献1参照)。   Conventionally, weighing devices such as a hopper scale and a truck scale are provided with an indicator that calculates the weight value of an object to be weighed based on a load signal from a load detector and displays the weight value or the like (for example, , See Patent Document 1).

そして、多くの指示計では、外部機器とシリアル通信可能なように接続され、被計量物の重量値、あるいはその重量値を含む計量データ等を外部機器へ送信したり、外部機器からの命令等の制御信号を受信できるように構成されている。このような指示計と接続される外部機器には、情報処理装置(パソコン)、プリンタ、計量装置のプログラマブルコントローラ、指示計とは離れた場所で被計量物の重量値等を表示する表示器、等がある。   Many indicators are connected to an external device so that they can communicate serially. The weight value of the object to be weighed or weighing data including the weight value is transmitted to the external device, or an instruction from the external device, etc. The control signal can be received. External devices connected to such indicators include information processing devices (computers), printers, programmable controllers for weighing devices, indicators that display the weight values of objects to be weighed away from the indicators, Etc.

特開2011−247878号公報JP 2011-247878 A

上記のような指示計では、通信ラインの断線、ノイズ等の様々な原因により、外部機器との通信に不具合が生じることがある。このような不具合の原因を究明するために、従来、指示計と外部機器との間に、例えばラインモニタを設置し、ラインモニタの画面に表示される通信データを確認する方法がある。しかしながら、ラインモニタに関する設備費及び設置作業が別途必要になる。   In such an indicator as described above, there may be a problem in communication with an external device due to various causes such as disconnection of communication lines and noise. In order to investigate the cause of such a defect, there is a conventional method in which, for example, a line monitor is installed between an indicator and an external device, and communication data displayed on the screen of the line monitor is confirmed. However, equipment costs and installation work related to the line monitor are required separately.

本発明は上記のような課題を解決するためになされたもので、ラインモニタ等の別途機器及びその設置作業を不要とし、外部機器との通信の不具合の原因究明が容易になる指示計を提供することを目的としている。   The present invention has been made to solve the above-described problems, and provides an indicator that eliminates the need for a separate device such as a line monitor and its installation work and facilitates investigation of the cause of a communication failure with an external device. The purpose is to do.

上記目的を達成するために、本発明のある形態(aspect)に係る指示計は、計量装置の荷重検出器から入力される荷重信号に基づいて算出された被計量物の重量値を画面に表示する表示部を備えた指示計であって、外部機器と通信ケーブルを介して接続されるシリアルポートを有し、前記外部機器との間で前記シリアルポートを介して前記計量装置に関わる情報のシリアル通信を行う制御部と、前記シリアル通信の通信データを前記表示部に表示させる指示を前記制御部へ与える入力部とを備え、前記制御部は、前記入力部からの前記表示させる指示に基づいて前記シリアル通信の通信データを前記表示部に表示させるよう構成されている。   In order to achieve the above object, an indicator according to an aspect of the present invention displays a weight value of an object to be measured calculated based on a load signal input from a load detector of a weighing device on a screen. An indicator having a display unit that has a serial port connected to an external device via a communication cable, and serializes information related to the weighing device with the external device via the serial port A control unit that performs communication; and an input unit that gives an instruction to display the communication data of the serial communication on the display unit to the control unit, the control unit based on the instruction to display from the input unit The communication data of the serial communication is configured to be displayed on the display unit.

ここで、計量装置に関わる情報のシリアル通信の通信データには、指示計(制御部)から外部機器へ送信する被計量物の重量値を含む計量データ等の送信データや、指示計(制御部)が外部機器から受信する命令等の制御信号等の受信データがある。   Here, the communication data of the serial communication of information related to the weighing device includes transmission data such as weighing data including the weight value of the object to be weighed transmitted from the indicator (control unit) to the external device, and the indicator (control unit). ) Is received data such as a control signal such as a command received from an external device.

この構成によれば、表示部に外部機器との通信データ(送信及び受信データ)を表示させることができる。よって、ラインモニタを用いなくても、すなわちラインモニタ等の別途機器及びその設置作業を不要とし、外部機器とのシリアル通信に不具合が生じているか否かの確認を容易にできるとともに、通信に不具合が生じている場合にその不具合の原因究明が容易になる。   According to this configuration, communication data (transmission and reception data) with an external device can be displayed on the display unit. Therefore, without using a line monitor, that is, there is no need for a separate device such as a line monitor and its installation work, it is easy to check whether there is a problem with serial communication with an external device, and there is a problem with communication. If this occurs, it becomes easier to investigate the cause of the malfunction.

前記制御部は、前記シリアル通信の通信データを記憶するよう構成されていてもよい。   The control unit may be configured to store communication data of the serial communication.

この構成によれば、通信データを記憶しておくことで、いつでも通信の不具合の原因究明が可能となるとともに、データ解析にも役立つ。   According to this configuration, storing the communication data makes it possible to investigate the cause of the communication failure at any time, and is useful for data analysis.

前記入力部は、前記シリアル通信における通信速度を予め定められている複数の通信速度の中から選択して前記制御部に設定する機能を有するとともに、前記シリアル通信におけるデータフォーマットを予め定められている複数のデータフォーマットの中から選択して前記制御部に設定する機能を有するように構成されていてもよい。   The input unit has a function of selecting a communication speed in the serial communication from a plurality of predetermined communication speeds and setting it in the control unit, and a data format in the serial communication is predetermined. It may be configured to have a function of selecting from a plurality of data formats and setting in the control unit.

この構成によれば、例えば、受信データにキャラクタコードの文字化けがあった場合には、通信速度、データフォーマットの設定が正しくないと考えられるので、このような場合に、通信速度及びデータフォーマットの設定変更を容易に行うことができる。   According to this configuration, for example, when the received data is garbled in the character code, it is considered that the communication speed and data format are not set correctly. Settings can be changed easily.

前記通信ケーブルによって、前記シリアルポートの送信ピンと前記外部機器の受信ピンとが接続されるとともに前記シリアルポートの受信ピンと前記外部機器の送信ピンとが接続されており、前記入力部は、テスト用データを送信する指示を前記制御部へ与えることができるよう構成され、前記制御部は、前記テスト用データを送信する指示に基づいて、予め記憶している前記テスト用データを前記シリアルポートを介して前記外部機器へ送信するよう構成されていてもよい。   The communication cable connects the transmission pin of the serial port and the reception pin of the external device, and also connects the reception pin of the serial port and the transmission pin of the external device, and the input unit transmits test data. The control unit is configured to be able to give an instruction to the control unit, and the control unit transmits the test data stored in advance via the serial port based on the instruction to transmit the test data. It may be configured to transmit to the device.

この構成によれば、指示計と外部機器との間の配線異常あるいは外部機器の異常が考えられる場合に、外部機器の受信ピンを送信ピンとを短絡させた状態で、テスト用データを送信させ、そのときの通信データを表示部に表示させて、送信データと受信データとが同じであるか否かによって、配線に異常がないか否かを判断することができる。よって、配線に異常が無ければ外部機器の異常と判断することができる。   According to this configuration, when there is a wiring abnormality between the indicator and the external device or an abnormality in the external device, the test data is transmitted with the reception pin of the external device shorted to the transmission pin, The communication data at that time can be displayed on the display unit, and it can be determined whether or not there is an abnormality in the wiring depending on whether or not the transmission data and the reception data are the same. Therefore, if there is no abnormality in the wiring, it can be determined that there is an abnormality in the external device.

本発明は、以上に説明した構成を有し、ラインモニタ等の別途機器及びその設置作業を不要とし、外部機器との通信の不具合の原因究明が容易になる指示計を提供することができるという効果を奏する。   The present invention has the above-described configuration, and can provide an indicator that eliminates the need for a separate device such as a line monitor and its installation work and facilitates investigation of the cause of a communication failure with an external device. There is an effect.

本発明の実施形態の指示計を備えた計量装置等の概略構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic structures, such as a weighing device provided with the indicator of embodiment of this invention. 本発明の実施形態の指示計の表示部の計量画面の一例を示す図である。It is a figure which shows an example of the measurement screen of the display part of the indicator of embodiment of this invention. (A)は本発明の実施形態の指示計の表示部のシリアル入出力画面の一例を示す図であり、(B)は同指示計の表示部のシリアルテスト画面の一例を示す図である。(A) is a figure which shows an example of the serial input / output screen of the display part of the indicator of embodiment of this invention, (B) is a figure which shows an example of the serial test screen of the display part of the indicator. 本発明の実施形態の指示計のある1つのシリアルポートと1つの外部機器とのシリアル通信の接続概略図である。It is a connection schematic diagram of serial communication with one serial port with an indicator of an embodiment of the present invention, and one external device.

以下、本発明の好ましい実施の形態を、図面を参照しながら説明する。なお、以下では全ての図面を通じて同一又は相当する要素には同一の参照符号を付して、その重複する説明を省略する。また、本発明は、以下の実施形態に限定されない。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In the following description, the same or corresponding elements are denoted by the same reference symbols throughout all the drawings, and redundant description thereof is omitted. Further, the present invention is not limited to the following embodiment.

(実施形態)
図1は、本発明の実施形態の指示計を備えた計量装置等の概略構成の一例を示すブロック図である。
(Embodiment)
FIG. 1 is a block diagram illustrating an example of a schematic configuration of a weighing device or the like provided with an indicator according to an embodiment of the present invention.

本実施形態の指示計2は、ホッパスケール、トラックスケール、台秤等の計量装置に用いられる。計量装置は、被計量物の重量が負荷されるロードセル等の荷重検出器1を有している。荷重検出器1は複数設けられていてもよい。指示計2は、制御部3と操作表示器4とを備えている。   The indicator 2 of the present embodiment is used for a weighing device such as a hopper scale, a track scale, a platform scale. The weighing device has a load detector 1 such as a load cell on which the weight of an object to be weighed is loaded. A plurality of load detectors 1 may be provided. The indicator 2 includes a control unit 3 and an operation indicator 4.

操作表示器4は、例えばタッチパネル付のディスプレイによって構成され、制御部3への入力操作等を行うタッチパネルからなる入力部7と、制御部3から与えられる重量値等を画面(ディスプレイ画面)に表示する表示部8とを備えている。なお、ここでは、入力部7と表示部8とが、操作表示器4として一体的に構成されているが、別々に設けられてあってもよい。   The operation indicator 4 is composed of, for example, a display with a touch panel, and displays an input unit 7 including a touch panel for performing an input operation to the control unit 3 and a weight value given from the control unit 3 on a screen (display screen). The display part 8 to be provided is provided. In addition, although the input part 7 and the display part 8 are comprised integrally as the operation indicator 4 here, you may provide separately.

制御部3は、例えばマイクロコントローラ等によって構成され、CPU等からなる演算制御部5と、RAM及びROM等からなる記憶部6とを有する。演算制御部5は、そのCPUが記憶部6のROMに記憶されたCPUの実行プログラムを実行することにより、本指示計2の動作を制御する。なお、記憶部6には、後述のテスト用データも予め記憶されている。   The control unit 3 is configured by, for example, a microcontroller, and includes a calculation control unit 5 including a CPU and the like, and a storage unit 6 including a RAM and a ROM. The arithmetic control unit 5 controls the operation of the indicator 2 by executing the CPU execution program stored in the ROM of the storage unit 6 by the CPU. The storage unit 6 also stores test data described later in advance.

制御部3は、入力部7からの信号を入力するとともに、表示部8へ表示するデータ等の信号を出力する。例えば、制御部3は、重量算出部として機能し、荷重検出器1からの荷重信号を入力し、その荷重信号に応じた被計量物の重量値を算出する。さらに、その重量値を表示部8にデジタル表示させる。なお、ここでは、荷重検出器1は、ロードセルと、そのアナログ出力信号を処理する増幅器及びA/D変換器等を有して構成され、制御部3に入力される荷重信号はデジタル信号である。また、計量装置が、例えばホッパスケールの場合には、上方から供給される被計量物を一時保持し、下部に設けられた排出ゲートを開くことで被計量物を排出可能なホッパと、ホッパを載荷支持する複数(例えば3〜4個)のロードセル等からなる複数の荷重検出器1とを備えている。そして、制御部3(演算制御部5)では、各荷重検出器1からの荷重信号に基づいてホッパ内の被計量物の重量を算出し、その重量値を表示部8に表示させる。   The control unit 3 inputs a signal from the input unit 7 and outputs a signal such as data to be displayed on the display unit 8. For example, the control unit 3 functions as a weight calculation unit, inputs a load signal from the load detector 1, and calculates the weight value of the object to be weighed according to the load signal. Further, the weight value is digitally displayed on the display unit 8. Here, the load detector 1 includes a load cell, an amplifier that processes the analog output signal, an A / D converter, and the like, and the load signal input to the control unit 3 is a digital signal. . When the weighing device is, for example, a hopper scale, a hopper that can temporarily hold the object to be weighed supplied from above and open the discharge gate provided at the lower part, and a hopper that can discharge the object to be weighed. And a plurality of load detectors 1 including a plurality (for example, 3 to 4) load cells for loading and supporting. Then, the control unit 3 (calculation control unit 5) calculates the weight of the object to be weighed in the hopper based on the load signal from each load detector 1, and displays the weight value on the display unit 8.

制御部3の演算制御部5は、CPU基板で構成され、このCPU基板には、荷重検出器1と接続される1または複数のポートPwと、外部機器9〜11と通信ケーブルで接続されるシリアルポートP1〜P3とを備えている。なお、ここでは、荷重検出器1と接続されるポートPwが1個しか図示されていないが、複数個設けられた構成でもよい。また、外部機器9〜11と接続されるシリアルポートP1〜P3が3個設けられているが、1個あるいは3個以外の複数個設けられた構成でもよい。   The arithmetic control unit 5 of the control unit 3 is composed of a CPU board, and this CPU board is connected to one or a plurality of ports Pw connected to the load detector 1 and external devices 9 to 11 by communication cables. Serial ports P1 to P3 are provided. Although only one port Pw connected to the load detector 1 is shown here, a configuration in which a plurality of ports Pw are provided may be used. Also, although three serial ports P1 to P3 connected to the external devices 9 to 11 are provided, a configuration in which one or a plurality other than three is provided may be used.

このように、制御部3は、外部機器9〜11と通信ケーブルで接続され、シリアル通信(非同期シリアル通信)を行う。このとき、制御部3は、シリアル通信の送信データ及び受信データを記憶部6に記憶するよう構成されている。   As described above, the control unit 3 is connected to the external devices 9 to 11 through the communication cable, and performs serial communication (asynchronous serial communication). At this time, the control unit 3 is configured to store the serial communication transmission data and reception data in the storage unit 6.

外部機器9〜11には、例えば、計量装置を制御するプログラマブルコントローラ、プリンタ、表示器、情報処理装置(例えばパソコン)等がある。   Examples of the external devices 9 to 11 include a programmable controller that controls the weighing device, a printer, a display, and an information processing device (for example, a personal computer).

また、指示計2は、制御部3の記憶部6に計量装置の動作プログラム及び動作パラメータ等が記憶されて、制御部3が計量装置全体の動作を制御するよう構成されている場合もある。   In addition, the indicator 2 may be configured such that the operation program and operation parameters of the weighing device are stored in the storage unit 6 of the control unit 3, and the control unit 3 controls the operation of the entire weighing device.

図2は、操作表示器4の表示部8に表示される計量画面80の一例を示す図である。   FIG. 2 is a diagram illustrating an example of the weighing screen 80 displayed on the display unit 8 of the operation display 4.

計量装置が計量動作中には、荷重検出器1から入力される荷重信号に基づく重量値が計量画面80の重量値表示領域81に表示される。図2の例では、重量値表示領域81内の上部に総量(2006kg)、下部に正味量(1004kg)及び風袋量(1002kg)が表示されている。これは、計量装置が例えばホッパスケールである場合の一例であり、被計量物の重量が正味量で表示されている。   During the weighing operation of the weighing device, the weight value based on the load signal input from the load detector 1 is displayed in the weight value display area 81 of the weighing screen 80. In the example of FIG. 2, the total amount (2006 kg) is displayed in the upper portion of the weight value display area 81, and the net amount (1004 kg) and the tare amount (1002 kg) are displayed in the lower portion. This is an example when the weighing device is a hopper scale, for example, and the weight of the object to be weighed is displayed as a net amount.

計量画面80の下の方には、「メニュー」キー82と、「G/N」キー83と、「零調」キー84とが設けられている。「G/N」キー83をタッチするたびに、重量値表示領域81に表示される総量と正味量との表示場所を切り替えることができる。「零調」キー84をタッチすると零調整を行うことができる。   A “menu” key 82, a “G / N” key 83, and a “zero tone” key 84 are provided at the bottom of the weighing screen 80. Each time the “G / N” key 83 is touched, the display location of the total amount and the net amount displayed in the weight value display area 81 can be switched. Touching the “zero tone” key 84 enables zero adjustment.

また、「メニュー」キー82をタッチすると、メニュー画面(図示せず)に切り替わる。メニュー画面では、計量画面80、図3(A)に示すシリアル入出力画面90及び図3(B)に示すシリアルテスト画面100等を呼び出すことができる。   Further, when the “menu” key 82 is touched, a menu screen (not shown) is displayed. On the menu screen, the weighing screen 80, the serial input / output screen 90 shown in FIG. 3A, the serial test screen 100 shown in FIG.

図3(A)は、操作表示器4の表示部8に表示されるシリアル入出力画面の一例を示す図である。   FIG. 3A is a diagram illustrating an example of a serial input / output screen displayed on the display unit 8 of the operation display 4.

このシリアル入出力画面90では、通信データ表示領域91に、シリアルポートP1〜P3によって受信及び送信されるデータが表示される。図3(A)では、ポート番号1のシリアルポートP1における受信データが、通信データ表示領域91内の上半部分に表示され、送信データが、通信データ表示領域91内の下半部分に表示されている。また、左右の矢印キー97、98をタッチすると、データを表示させるシリアルポートのポート番号を切り替えることができる。なお、ここでは、シリアルポートP1,P2,P3のポート番号を1,2,3としている。   In the serial input / output screen 90, data received and transmitted by the serial ports P1 to P3 are displayed in the communication data display area 91. In FIG. 3A, the reception data at the serial port P1 with port number 1 is displayed in the upper half of the communication data display area 91, and the transmission data is displayed in the lower half of the communication data display area 91. ing. Further, when the left and right arrow keys 97 and 98 are touched, the port number of the serial port for displaying data can be switched. Here, the port numbers of the serial ports P1, P2, and P3 are 1, 2, and 3, respectively.

また、シリアル入出力画面90の下の方には、「計量」キー92と、「通信速度」キー93と、「ビット長」キー94と、「シリアルテスト」キー95とが設けられている。「計量」キー92をタッチすると図2の計量画面80に切り替わり、「シリアルテスト」キー95をタッチすると図3(B)に示すシリアルテスト画面100に切り替わる。   In addition, a “weighing” key 92, a “communication speed” key 93, a “bit length” key 94, and a “serial test” key 95 are provided at the bottom of the serial input / output screen 90. Touching the “Weighing” key 92 switches to the weighing screen 80 in FIG. 2, and touching the “Serial test” key 95 switches to the serial test screen 100 shown in FIG.

前述のメニュー画面からシリアル入出力画面90を呼び出して、矢印キー97、98でポート番号を選択し、「更新」キー96をタッチすると、受信データ及び送信データが表示される。ここで、受信データ及び送信データともに、キャラクタで表示され、それぞれ、40キャラクタ分のデータが画面上に表示されている。なお、「NUL」はデータが無いことを示している。   When the serial input / output screen 90 is called from the aforementioned menu screen, the port number is selected with the arrow keys 97 and 98, and the “update” key 96 is touched, the reception data and transmission data are displayed. Here, both the received data and the transmitted data are displayed as characters, and 40 characters of data are respectively displayed on the screen. “NUL” indicates that there is no data.

「通信速度」キー93をタッチすると、通信速度選択画面(図示せず)が表示される。通信速度選択画面には、設定可能な複数個の通信速度の値が表示される。例えば、1200bps、2400bps、4800bps、9600bps、19200bps、が表示される。これらの中から任意の通信速度の値を選択することができる。これにより、選択された通信速度が、矢印キー97、98で選択されたポート番号に該当するシリアルポートのシリアル通信の通信速度として制御部3に新たに設定(更新)され、通信速度の設定変更を容易に行うことができる。   When the “communication speed” key 93 is touched, a communication speed selection screen (not shown) is displayed. The communication speed selection screen displays a plurality of communication speed values that can be set. For example, 1200 bps, 2400 bps, 4800 bps, 9600 bps, and 19200 bps are displayed. An arbitrary communication speed value can be selected from these. As a result, the selected communication speed is newly set (updated) in the control unit 3 as the serial communication speed of the serial port corresponding to the port number selected by the arrow keys 97 and 98, and the communication speed setting is changed. Can be easily performed.

また、「ビット長」キー94をタッチすると、データフォーマット選択画面(図示せず)が表示される。データフォーマット選択画面には、例えば次の(1)〜(8)に示すような、設定可能な複数のデータフォーマットが表示される。なお、スタートビットは1ビットで共通なので、以下の(1)〜(8)では省略している。   When the “bit length” key 94 is touched, a data format selection screen (not shown) is displayed. On the data format selection screen, for example, a plurality of data formats that can be set are displayed as shown in the following (1) to (8). Since the start bit is common to 1 bit, it is omitted in the following (1) to (8).

(1)7ビット+偶数パリティ+2ストップビット
(2)7ビット+奇数パリティ+2ストップビット
(3)7ビット+偶数パリティ+1ストップビット
(4)7ビット+奇数パリティ+1ストップビット
(5)8ビット+パリティなし+2ストップビット
(6)8ビット+パリティなし+1ストップビット
(7)8ビット+偶数パリティ+1ストップビット
(8)8ビット+奇数パリティ+1ストップビット
そして、これらの中から任意のデータフォーマットを選択することができる。これにより、選択されたデータフォーマットが、矢印キー97、98で選択されたポート番号に該当するシリアルポートのシリアル通信のデータフォーマットとして制御部3に新たに設定(更新)され、データフォーマットの設定変更を容易に行うことができる。
(1) 7 bits + even parity + 2 stop bits (2) 7 bits + odd parity + 2 stop bits (3) 7 bits + even parity + 1 stop bit (4) 7 bits + odd parity + 1 stop bit (5) 8 bits + No parity + 2 stop bits (6) 8 bits + no parity + 1 stop bit (7) 8 bits + even parity + 1 stop bit (8) 8 bits + odd parity + 1 stop bit And select any data format from these can do. As a result, the selected data format is newly set (updated) in the control unit 3 as the serial communication data format of the serial port corresponding to the port number selected by the arrow keys 97 and 98, and the data format setting is changed. Can be easily performed.

次に、図3(B)は、操作表示器4の表示部8に表示されるシリアルテスト画面の一例を示す図である。   Next, FIG. 3B is a diagram illustrating an example of a serial test screen displayed on the display unit 8 of the operation display 4.

このシリアルテスト画面100は、指示計2のシリアルポートP1〜P3と外部機器9〜11との間の配線に断線等の不具合がないか否かを調べる際に呼び出される。3つのシリアルポートP1〜P3(ポート1〜3)の各々に対応して「実行」キー101と「連続」キー103とが設けられている。   The serial test screen 100 is called when examining whether or not there is a defect such as disconnection in the wiring between the serial ports P1 to P3 of the indicator 2 and the external devices 9 to 11. An “execute” key 101 and a “continuous” key 103 are provided corresponding to each of the three serial ports P1 to P3 (ports 1 to 3).

図4は、指示計2のある1つのシリアルポートと1つの外部機器とのシリアル通信(RS−232C)の接続概略図である。   FIG. 4 is a connection schematic diagram of serial communication (RS-232C) between one serial port with the indicator 2 and one external device.

指示計2の受信(RX)ピン21と外部機器の送信(TX)ピン31とが接続され、指示計2の送信ピン22と外部機器の受信ピン32とが接続され、指示計2の信号用接地ピン23と外部機器の信号用接地ピン33とが接続されている。   The reception (RX) pin 21 of the indicator 2 and the transmission (TX) pin 31 of the external device are connected, the transmission pin 22 of the indicator 2 and the reception pin 32 of the external device are connected, and for the signal of the indicator 2 The ground pin 23 is connected to the signal ground pin 33 of the external device.

テストを行う場合、外部機器の送信ピン31と受信ピン32とを短絡させる。   When performing the test, the transmission pin 31 and the reception pin 32 of the external device are short-circuited.

そして、シリアルテスト画面100において、テストを行うポートに対応する「実行」キー101をタッチすることにより、予め記憶部6に記憶されているテスト用データ(例えば、「1,2,3,4,5,6,7,8」)が送信ピン22から出力(シリアル送信)される。また、「連続」キー103をタッチすると、同テスト用データが送信ピン22から繰り返し送信され、「ストップ」キー104をタッチして送信を停止(終了)させることができる。   Then, by touching the “execute” key 101 corresponding to the port to be tested on the serial test screen 100, test data (for example, “1, 2, 3, 4, 4” stored in the storage unit 6 in advance) is touched. 5, 6, 7, 8 ") is output from the transmission pin 22 (serial transmission). When the “continuous” key 103 is touched, the test data is repeatedly transmitted from the transmission pin 22, and the “stop” key 104 can be touched to stop (end) the transmission.

指示計2の送信ピン22からシリアル送信されたテスト用データは、外部機器の送信ピン31と受信ピン32とが短絡されているので、指示計2の受信ピン21へ入力され、記憶部6に記憶される。   The test data serially transmitted from the transmission pin 22 of the indicator 2 is input to the reception pin 21 of the indicator 2 because the transmission pin 31 and the reception pin 32 of the external device are short-circuited, and stored in the storage unit 6. Remembered.

そして、「シリアル入出力」キー106をタッチして、シリアル入出力画面90を呼び出して、ポート番号を選択し、「更新」キー96をタッチすると、先程送信されたテスト用データの送信データと、それの受信データとが通信データ表示領域91に表示される。   Then, by touching the “serial input / output” key 106, the serial input / output screen 90 is called, a port number is selected, and the “update” key 96 is touched, the transmission data of the test data transmitted earlier, The received data is displayed in the communication data display area 91.

操作者は、通信データ表示領域91を見て、送信データと受信データとに同じテスト用データが表示されていれば、配線に問題ないと判断することができる。しかし、例えば、受信データにデータが全く無ければ(全て「NUL」)、配線が断線していると判断することができる。   The operator can determine that there is no problem in wiring if the same test data is displayed in the transmission data and the reception data by looking at the communication data display area 91. However, for example, if there is no data in the received data (all “NUL”), it can be determined that the wiring is disconnected.

本実施形態では、シリアル入出力画面90を呼び出して、送受信データを表示させることができるので、送受信データが正しいキャラクタデータであるか否かを確認できる。よって、ラインモニタを用いなくても、すなわちラインモニタ等の別途機器及びその設置作業を不要とし、外部機器とのシリアル通信に不具合が生じているか否かの確認を容易にできるとともに、通信に不具合が生じている場合の不具合の原因究明が容易になる。   In this embodiment, the serial input / output screen 90 can be called to display transmission / reception data, so that it is possible to confirm whether the transmission / reception data is correct character data. Therefore, without using a line monitor, that is, there is no need for a separate device such as a line monitor and its installation work, it is easy to check whether there is a problem with serial communication with an external device, and there is a problem with communication. This makes it easier to investigate the cause of a malfunction that occurs.

例えば、シリアル入出力画面90に表示された受信データにキャラクタコードの文字化けがあった場合には、通信速度、データフォーマット等の設定が正しくないと考えられるので、「通信速度」キー93をタッチして通信速度の設定変更を容易に行うことができる。また、「ビット長」キー94をタッチしてデータフォーマットの設定変更を容易に行うことができる。   For example, if there is a garbled character code in the received data displayed on the serial input / output screen 90, it is considered that the communication speed, data format, etc. are not set correctly. Thus, the communication speed setting can be easily changed. Further, the data format setting can be easily changed by touching the “bit length” key 94.

また、例えば、外部機器9が表示器である場合に表示器に表示がなされないなど送信データが正常に送信されていないと考えられる場合や、例えば、外部機器10からの受信データが受信されていない場合には、指示計2と外部機器9,10との間の配線異常あるいは外部機器9,10の異常が考えられる。この場合に、前述のように、テストを行って、送信データと受信データとに同じテスト用データが表示されれば、配線に異常はないと判断できるので、この場合、外部機器9,10の検査を行えばよい。また、受信データにデータが全く無ければ、配線異常(断線)と判断できる。   In addition, for example, when the external device 9 is a display device, the display data is not displayed, for example, when it is considered that transmission data is not normally transmitted, or for example, reception data from the external device 10 is received. If not, a wiring abnormality between the indicator 2 and the external devices 9 and 10 or an abnormality in the external devices 9 and 10 may be considered. In this case, as described above, if the test is performed and the same test data is displayed in the transmission data and the reception data, it can be determined that there is no abnormality in the wiring. In this case, the external devices 9 and 10 An inspection may be performed. If there is no data in the received data, it can be determined that the wiring is abnormal (disconnection).

また、荷重検出器1を有する計量装置において、指示計2で荷重検出器1からの荷重信号に応じた被計量物の重量値を算出し、その重量値を指示計2から外部機器11へ送信するように構成され、外部機器11が指示計2から送信される重量値に基づいて同計量装置の動作を制御するプログラマブルコントローラである場合に、同計量装置の動作が異常であるときには、指示計2と外部機器11との間の配線異常あるいは外部機器11の異常が考えられる。この場合も、前述のようにテストを行うことにより、配線異常か外部機器11の異常かを確かめることができる。   In the weighing device having the load detector 1, the indicator 2 calculates the weight value of the object to be measured according to the load signal from the load detector 1, and transmits the weight value from the indicator 2 to the external device 11. When the external device 11 is a programmable controller that controls the operation of the weighing device based on the weight value transmitted from the indicator 2, and the operation of the weighing device is abnormal, the indicator 2 and an external device 11 or an external device 11 may be abnormal. Also in this case, it is possible to confirm whether the wiring is abnormal or the external device 11 is abnormal by performing the test as described above.

また、外部機器9〜11とのシリアル通信の送受信データを記憶部6に記憶しているので、記憶した送受信データに指示計2の運転状態の情報を付加することが容易にできる。また、送受信データを記憶しておくことで、いつでも通信の不具合の原因究明が可能となるとともに、データ解析にも役立つ。   Moreover, since the transmission / reception data of the serial communication with the external devices 9-11 are memorize | stored in the memory | storage part 6, the information on the operation state of the indicator 2 can be easily added to the stored transmission / reception data. In addition, storing transmission / reception data makes it possible to investigate the cause of communication problems at any time, and is also useful for data analysis.

本発明は、ラインモニタ等の別途機器及びその設置作業を不要とし、外部機器との通信の不具合の原因究明が容易になる指示計等として有用である。   INDUSTRIAL APPLICABILITY The present invention is useful as an indicator that eliminates the need for a separate device such as a line monitor and its installation work and facilitates investigation of the cause of a communication failure with an external device.

1 荷重検出器
2 指示計
3 制御部
5 記憶部
7 入力部
8 表示部
9〜11 外部機器
P1〜P3 シリアルポート
DESCRIPTION OF SYMBOLS 1 Load detector 2 Indicator 3 Control part 5 Memory | storage part 7 Input part 8 Display part 9-11 External apparatus P1-P3 Serial port

Claims (5)

計量装置の荷重検出器から入力される荷重信号に基づいて算出された被計量物の重量値を画面に表示する表示部を備えた指示計であって、
外部機器と通信ケーブルを介して接続されるシリアルポートを有し、前記外部機器との間で前記シリアルポートを介して前記計量装置に関わる情報のシリアル通信を行う制御部と、
前記シリアル通信の通信データを前記表示部に表示させる指示を前記制御部へ与える入力部とを備え、
前記制御部は、
前記入力部からの前記表示させる指示に基づいて前記シリアル通信の通信データをキャラクタコードで前記表示部に表示させるよう構成された、
指示計。
An indicator having a display unit for displaying on a screen a weight value of an object to be measured calculated based on a load signal input from a load detector of a weighing device,
A control unit that has a serial port connected to an external device via a communication cable, and performs serial communication of information related to the weighing device via the serial port with the external device;
An input unit for giving an instruction to display the communication data of the serial communication on the display unit to the control unit;
The controller is
Based on the instruction to display from the input unit, configured to display communication data of the serial communication on the display unit with a character code ,
Indicator.
計量装置の荷重検出器から入力される荷重信号に基づいて算出された被計量物の重量値を画面に表示する表示部を備えた指示計であって、
外部機器と通信ケーブルを介して接続されるシリアルポートを有し、前記外部機器との間で前記シリアルポートを介して前記計量装置に関わる情報のシリアル通信を行う制御部と、
前記シリアル通信の通信データを前記表示部に表示させる指示を前記制御部へ与える入力部とを備え、
前記制御部は、
前記入力部からの前記表示させる指示に基づいて前記シリアル通信の通信データを前記表示部に表示させるよう構成され、
前記入力部は、
前記シリアル通信における通信速度を予め定められている複数の通信速度の中から選択して前記制御部に設定する機能を有するとともに、前記シリアル通信におけるデータフォーマットを予め定められている複数のデータフォーマットの中から選択して前記制御部に設定する機能を有するように構成された、
指示計。
An indicator having a display unit for displaying on a screen a weight value of an object to be measured calculated based on a load signal input from a load detector of a weighing device,
A control unit that has a serial port connected to an external device via a communication cable, and performs serial communication of information related to the weighing device via the serial port with the external device;
An input unit for giving an instruction to display the communication data of the serial communication on the display unit to the control unit;
The controller is
Based on the instruction to display from the input unit, configured to display the communication data of the serial communication on the display unit,
The input unit is
A function of selecting a communication speed in the serial communication from a plurality of predetermined communication speeds and setting it in the control unit, and a data format in the serial communication of a plurality of predetermined data formats It was configured to have a function to select from among them and set in the control unit,
Indicator.
計量装置の荷重検出器から入力される荷重信号に基づいて算出された被計量物の重量値を画面に表示する表示部を備えた指示計であって、
外部機器と通信ケーブルを介して接続されるシリアルポートを有し、前記外部機器との間で前記シリアルポートを介して前記計量装置に関わる情報のシリアル通信を行う制御部と、
前記シリアル通信の通信データを前記表示部に表示させる指示を前記制御部へ与える入力部とを備え、
前記制御部は、
前記入力部からの前記表示させる指示に基づいて前記シリアル通信の通信データを前記表示部に表示させるよう構成され、
前記通信ケーブルによって、前記シリアルポートの送信ピンと前記外部機器の受信ピンとが接続されるとともに前記シリアルポートの受信ピンと前記外部機器の送信ピンとが接続されており、
前記入力部は、テスト用データを送信する指示を前記制御部へ与えることができるよう構成され、
前記制御部は、前記テスト用データを送信する指示に基づいて、予め記憶している前記テスト用データを前記シリアルポートを介して前記外部機器へ送信するよう構成された、
指示計。
An indicator having a display unit for displaying on a screen a weight value of an object to be measured calculated based on a load signal input from a load detector of a weighing device,
A control unit that has a serial port connected to an external device via a communication cable, and performs serial communication of information related to the weighing device via the serial port with the external device;
An input unit for giving an instruction to display the communication data of the serial communication on the display unit to the control unit;
The controller is
Based on the instruction to display from the input unit, configured to display the communication data of the serial communication on the display unit,
The communication cable is connected to the transmission pin of the serial port and the reception pin of the external device and is connected to the reception pin of the serial port and the transmission pin of the external device,
The input unit is configured to give an instruction to transmit test data to the control unit,
The control unit is configured to transmit the test data stored in advance to the external device via the serial port based on an instruction to transmit the test data.
Indicator.
前記入力部は、The input unit is
前記シリアル通信における通信速度を予め定められている複数の通信速度の中から選択して前記制御部に設定する機能を有するとともに、前記シリアル通信におけるデータフォーマットを予め定められている複数のデータフォーマットの中から選択して前記制御部に設定する機能を有するように構成された、  A function of selecting a communication speed in the serial communication from a plurality of predetermined communication speeds and setting it in the control unit, and a data format in the serial communication of a plurality of predetermined data formats It was configured to have a function to select from among them and set in the control unit,
請求項3に記載の指示計。  The indicator according to claim 3.
前記制御部は、前記シリアル通信の通信データを記憶するよう構成された、The control unit is configured to store communication data of the serial communication.
請求項1〜4のいずれかに記載の指示計。  The indicator according to any one of claims 1 to 4.
JP2014080115A 2014-04-09 2014-04-09 Indicator Active JP6305172B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014080115A JP6305172B2 (en) 2014-04-09 2014-04-09 Indicator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014080115A JP6305172B2 (en) 2014-04-09 2014-04-09 Indicator

Publications (2)

Publication Number Publication Date
JP2015200594A JP2015200594A (en) 2015-11-12
JP6305172B2 true JP6305172B2 (en) 2018-04-04

Family

ID=54551961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014080115A Active JP6305172B2 (en) 2014-04-09 2014-04-09 Indicator

Country Status (1)

Country Link
JP (1) JP6305172B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060036558A1 (en) * 2004-08-12 2006-02-16 Mathews David K Universal serial bus scale
JP4834562B2 (en) * 2007-01-17 2011-12-14 株式会社エー・アンド・デイ Weighing equipment
JP2011012994A (en) * 2009-06-30 2011-01-20 A & D Co Ltd Data recording device supplied with power from device for outputting data and data recording method for the device
JP2011247878A (en) * 2010-04-27 2011-12-08 Yamato Scale Co Ltd Indicator

Also Published As

Publication number Publication date
JP2015200594A (en) 2015-11-12

Similar Documents

Publication Publication Date Title
JP5561299B2 (en) Process control system
US20160110304A1 (en) I/o module, setting device, and method of building process control system
JP5960939B2 (en) Weighing device
JP2007236093A (en) Transmission tester and method for updating control system
US20150254973A1 (en) Arrangement comprising at least one field device, at least one sensor, or signal, registering unit associated with such and at least one function block
KR101115589B1 (en) Apparatus and method for measuring weight of vehicle
JP6305172B2 (en) Indicator
KR20120034975A (en) Simulator for nuclear fuel crane
JP2010190851A (en) Test system
JP2011169618A (en) Fault diagnosis system
JP7062434B2 (en) Goods inspection equipment
JP2009036741A (en) Gravimetric device
KR100820677B1 (en) Rotary encoder tester
JP5203997B2 (en) Combination weigher and weighing method using the same
JP6238911B2 (en) Engineering tools
JP2020055099A (en) Tool system and program for tool system
JP6226520B2 (en) Weighing controller
JP2012080600A (en) Digital protective relay device
JP5289204B2 (en) Semi-automatic combination weigher
RU51605U1 (en) STAND FOR MONITORING THE TECHNICAL CONDITION OF THE SAFETY INSTRUMENT OF THE LOADING MACHINE (ITS OPTIONS)
EP3299950A1 (en) Display screen generating device, display screen generating method, and display screen generating program
JP2008273287A (en) Temperature display device of engine for ship propulsion device, and ship
JP6737128B2 (en) Material testing machine
JP4847412B2 (en) Weight measuring device
JP2001146389A (en) Failure diagnostic guide device of electrical equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180306

R150 Certificate of patent or registration of utility model

Ref document number: 6305172

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