JP2010287034A - Address display system of modbus protocol communication between external equipment and plc - Google Patents
Address display system of modbus protocol communication between external equipment and plc Download PDFInfo
- Publication number
- JP2010287034A JP2010287034A JP2009140193A JP2009140193A JP2010287034A JP 2010287034 A JP2010287034 A JP 2010287034A JP 2009140193 A JP2009140193 A JP 2009140193A JP 2009140193 A JP2009140193 A JP 2009140193A JP 2010287034 A JP2010287034 A JP 2010287034A
- Authority
- JP
- Japan
- Prior art keywords
- modbus
- address
- plc
- memory
- display
- 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.)
- Pending
Links
Images
Landscapes
- Programmable Controllers (AREA)
- Communication Control (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
Description
本発明は、外部機器がModbusマスタとしてPLC(プログラマブルコントローラ、プログラマブルロジックコントローラ)のメモリ内情報を得るためのModbusプロトコル通信方式に関するものである。 The present invention relates to a Modbus protocol communication method for an external device to obtain in-memory information of a PLC (programmable controller, programmable logic controller) as a Modbus master.
PLCは生産設備に配備され、シーケンスプログラムを実行してそれに接続された生産設備内の各種機械や装置等の制御機器をシーケンス制御するようになっている。PLCは、制御対象の状態に対応したスイッチやセンサ等の入力機器のON/OFF情報を入力し、その入力したON/OFF情報をメモリ内に記憶する一方、ラダー言語などで記述されたシーケンスプログラムに沿って論理演算を実行すると共に、得られた演算結果の情報をメモリ内に記憶すると共に、その記憶した情報を、リレー,バルブ,アクチュエータ等の出力機器に出力することで、制御対象の制御を実行するようになっている。 The PLC is installed in a production facility, executes a sequence program, and performs sequence control of control devices such as various machines and devices in the production facility connected to the PLC. The PLC inputs ON / OFF information of input devices such as switches and sensors corresponding to the state of the control target, and stores the input ON / OFF information in a memory, while a sequence program written in a ladder language or the like In addition to executing logical operations according to the above, storing the information of the obtained operation results in a memory and outputting the stored information to output devices such as relays, valves, actuators, etc. Is supposed to run.
このようなPLCに例えば温度コントローラ、プログラマブル表示器、あるいは他のPLC等の外部機器を接続した制御システムでは、この外部機器がPLCのメモリ内情報を入手して、PLCを有する制御システム全体の制御を行うことがある。そして、外部機器がPLCと通信する場合、一般にModbusプロトコルによる通信が採用されている(特許文献1参照)。MODBUSは、Modicon.IncがPLC用に開発した通信プロトコルである。MODBUSの通信方式は、シングルマスタ−/マルチスレーブ方式であり、マスターのみが要求を発行することができ、スレーブはその要求に応答して応答メッセージを返送する。マスターからの要求は、スレーブ内のデバイスアドレス、ファンクションコード、要求データ、エラーチェックであり、スレーブからの応答は、確認用デバイスアドレス、確認用ファンクションコード、応答データ、エラーチェックである。 In a control system in which an external device such as a temperature controller, a programmable display, or another PLC is connected to such a PLC, the external device obtains information in the memory of the PLC and controls the entire control system having the PLC. May be performed. And when an external apparatus communicates with PLC, generally the communication by Modbus protocol is employ | adopted (refer patent document 1). MODBUS is a Modicon. This is a communication protocol developed by Inc for PLC. The MODBUS communication method is a single master / multi-slave method. Only the master can issue a request, and the slave returns a response message in response to the request. The request from the master is a device address, function code, request data, and error check in the slave, and the response from the slave is a check device address, check function code, response data, and error check.
そして、上記通信では外部機器はModbusマスタデバイスとし、PLCをスレーブデバイスとして、外部機器がPLC内のメモリ位置(デバイスアドレス=Modbusアドレス)を指定し、そこにアクセスしてそのメモリ位置(Modbusアドレス)に記憶しているスイッチやセンサ等の入力機器のON/OFF情報やリレー,バルブ,アクチュエータ等の出力機器のON/OFF情報を得るには、外部機器側のソフトウエアは、PLCが認識できるModbusファンクションコードと、Modbusアドレスとを当該PLCに送信する必要がある。 In the above communication, the external device is a Modbus master device, the PLC is a slave device, the external device designates a memory location (device address = Modbus address) in the PLC, and accesses the memory location (Modbus address). In order to obtain ON / OFF information of input devices such as switches and sensors and ON / OFF information of output devices such as relays, valves, actuators, etc., the software on the external device side can recognize the Modbus that the PLC can recognize. It is necessary to transmit the function code and the Modbus address to the PLC.
この場合、PLC内のModbusアドレスはPLC製造メーカーごとに相違しているため、外部機器側では、PLCからModbusアドレスを得るには、各PLC製造メーカー提供の仕様書に従ってメモリ位置のModbusファンクションコードとModbusアドレスとを知る必要がある。この場合、ユーザに提供する仕様書の中にアドレスが直接、表記されていればよいが、PLCによっては、Modbusアドレスが先頭アドレスのみしか記載されていない場合があり、そのような場合では、ユーザ側が先頭アドレスからアドレスするアドレスを加算するなど、アドレス計算をする必要がある。しかしながら、Modbusアドレスの計算数が膨大になると、ユーザもたいへん面倒であった。なお、Modbusファンクションコードは、例えば01、02、…等の数値であり、PLCへのアクセスが読み出しか、書き込みのいずれであるか、また、アクセス対象がデータポイント1個なのか、あるいはそれらのグループなのかを決めるためのコードである。 In this case, since the Modbus address in the PLC is different for each PLC manufacturer, on the external device side, in order to obtain the Modbus address from the PLC, the Modbus function code of the memory location and the specification provided by each PLC manufacturer are used. It is necessary to know the Modbus address. In this case, the address only needs to be directly described in the specification provided to the user. However, depending on the PLC, only the top address may be described as the Modbus address. It is necessary to calculate the address, for example, by adding the address that the side addresses from the top address. However, when the number of Modbus address calculations becomes enormous, the user is very troublesome. The Modbus function code is, for example, a numerical value such as 01, 02,..., Whether access to the PLC is read or write, whether the access target is one data point, or a group thereof. It is a code for deciding what it is.
本発明において解決すべき課題は、外部機器がPLCとModbusプロトコル通信する場合において、ユーザが面倒なModbusアドレス計算をする必要が無いようにすることである。 The problem to be solved in the present invention is to eliminate the need for the user to perform a complicated Modbus address calculation when the external device communicates with the PLC via the Modbus protocol.
本発明は、Modbusマスタとして外部機器がModbusスレーブとしてのPLCのメモリ内の位置(デバイスアドレス)にアクセスしてデバイス情報を入手するに際して、外部機器がPLCにデバイスアドレスに対応するModbusファンクションコードとModbusアドレスとを送信するModbusプロトコル通信方式において、ユーザによる画面操作で、PLCのプログラミング用ツールの画面上に所定画面を呼び出すと共に、その呼び出した所定画面上に、PLCのメモリ内の全デバイスアドレスを全Modbusアドレスと全Modbusファンクションコードとに対応付けした一覧表を表示できるようにしたことを特徴とするものである。 In the present invention, when an external device as a Modbus master accesses a position (device address) in a memory of a PLC as a Modbus slave to obtain device information, the external device sends a Modbus function code and Modbus corresponding to the device address to the PLC. In the Modbus protocol communication method for transmitting an address, a screen operation by the user calls a predetermined screen on the screen of the PLC programming tool, and all device addresses in the PLC memory are all displayed on the called predetermined screen. A list associated with the Modbus address and all the Modbus function codes can be displayed.
上記所定画面は実施の形態ではアドレスピッカー画面であるが、本発明ではこの名称に限定されるものではない。 The predetermined screen is an address picker screen in the embodiment, but is not limited to this name in the present invention.
本発明では、ユーザは、上記一覧表により、外部機器からPLCのメモリ位置にModbusプロトコル通信で指定してアクセスするに際して、アドレス計算をすることなく、PLCが認識できるModbusファンクションコードと、ModbusアドレスとをModbusマスタ外部機器が送信することができるようになる。 According to the present invention, when the user designates and accesses the memory location of the PLC from the external device by Modbus protocol communication according to the above list, the Modbus function code that can be recognized by the PLC without performing address calculation, the Modbus address, Can be transmitted by the Modbus master external device.
以下、添付した図面を参照して、本発明の実施の形態に係る通信方式を説明する。ただし、以下に示す実施の形態は、本発明の技術思想を具体化するための一方式を例示するものであって、本発明は以下の方式に特定されない。 Hereinafter, a communication method according to an embodiment of the present invention will be described with reference to the accompanying drawings. However, the embodiment described below exemplifies one method for embodying the technical idea of the present invention, and the present invention is not limited to the following method.
図1において、10はコンピュータ、11は外部機器の一例であるプログラマブル表示器、12はプログラマブルコントローラ(PLC)、13a−13dは入出力機器、14は被制御機器、15はバスを示す。 In FIG. 1, 10 is a computer, 11 is a programmable display as an example of an external device, 12 is a programmable controller (PLC), 13a to 13d are input / output devices, 14 is a controlled device, and 15 is a bus.
コンピュータ10は、PLC12のラダープログラム作成編集ツールに用いる汎用パーソナルコンピュータであり、CPU10a、メモリ10b、表示部10c、操作部10d、外部記憶装置10e、通信インターフェース10f、等を有する。
The
CPU10aは、コンピュータ10にインストールされているOS(オペレーティングシステム)上でラダープログラム編集プログラムを含む各種のアプリケーションプログラムを動作させる際の各部の制御や演算処理を行う。メモリ10bは、RAM、ROMなどのメモリを備えており、データの格納、一時的なデータ記憶、CPU10aの演算処理時における作業エリアを提供することができるメモリ構成になっている。
The
コンピュータ10の表示部10cは、CRT、LCD、あるいは液晶パネルやELパネルのような平板型のモニタ画面を備える。操作部10dは、キーボード、マウスなどの入力操作を行うための装置であり、特に、GUI環境下で動作するラダープログラム編集プログラムでの入力作業にはマウスなどのポインティングデバイスが好適である。外部記憶装置10eは、ハードディスク装置などの磁気ディスクドライブ、CD−ROMドライブなどの光ディスクドライブといった装置であり、少なくとも、記録媒体に記録されたラダープログラム編集プログラムなどの情報を読み出すことができる装置を含んでいる。インターフェース10fは、PLC12との間でデータ通信を行う入出力部である。ラダープログラム編集プログラムで作成されたラダープログラムは、このインターフェース10fを介してPLC12に転送され、PLC12内のメモリにダウンロードされる。コンピュータ10にインストールされて実行されるラダープログラム編集プログラムは、コンピュータ10のCPU10aで実行される。
The display unit 10c of the
プログラマブル表示器11は、PLC12とのインタフェースを備えており、PLC12に接続された入出力機器13a−13dの稼働状況を表示したり、入出力機器13a−13dへの制御指示を与えるための操作入力を画面から受け付けたりする機能を備えている。このプログラマブル表示器11には表示プログラムがインストールされている。このインストールはコンピュータ10から行うことができる。プログラマブル表示器11は、その表示プログラムに従い、表示動作を行うようになっている。
The programmable display 11 is provided with an interface with the
プログラマブル表示器11は、HMI機器として、その表示画面11a上に、入出力機器13a−13dの操作状況を表示したり、入出力機器13a−13dを操作したりする部品11b1−11b4が表示されている。
As the HMI device, the programmable display 11 displays, on its
各部品11b1−11b4は様々な形状、カラー、文字、フォント、等の各種プロパティが設定されている。この部品11b1−11b4は、入出力機器13a−13dと操作者とのインターフェースを形成するHMI(Human Machine Interface)部品である。この部品11b1−11b4は入出力機器13a−13dに対応している。
Each component 11b1-11b4 has various properties such as various shapes, colors, characters, fonts, and the like. The components 11b1-11b4 are HMI (Human Machine Interface) components that form an interface between the input /
PLC12は、ラダープログラムを実行するCPU12a、システム制御プログラム(ファームウエア)を格納するシステム制御メモリ12b、ラダープログラムを格納するラダープログラムメモリ12c、制御に使用する変数等のデータを記憶する内部メモリ12d、入出力インターフェース12e、を有し、これらは内部バス12fで相互接続されている。入出力インターフェース12eにはセンサやアクチュエータ等の各種入出力機器13a−13d、および機械や装置等の各種の被制御機器14が接続されている。また、PLC12の内部メモリ12dは、入力メモリX、出力メモリY、内部リレーメモリC、タイマT、カウンタCT、データメモリD、等から構成されている。そして、以上の構成を備えたPLC12は、内蔵するCPU12aによってシステム制御プログラムに従い、ラダープログラム編集プログラムで作成されたラダープログラムで定められた手順で、入出力機器13a−13dの動作を制御することができるようになっている。
The
図2に、PLC12の内部メモリ12d内のデバイスアドレスX001,X002,X003,X004…と、各デバイスアドレスに対応するON/OFF情報とを示す。図2では、デバイスアドレスX001のON/OFF情報は、ONであり、X002のON/OFF情報はOFFであり,X003のON/OFF情報はONであり、X004のON/OFF情報はONであることが示されている。実施の形態では理解のため、図2に、PLC12におけるデバイスアドレスX001−X004は、入出力機器13a−13dそれぞれに対応している状態で示す。
FIG. 2 shows device addresses X001, X002, X003, X004... In the
図3を参照してプログラマブル表示器11は、入出力機器13a−13dのON/OFF情報を記憶するPLC12の内部メモリ12dのデバイスアドレスX001−X004を指定し、そのデバイスアドレスX001−X004に記憶する入出力機器13a−13dのON/OFF情報を得るため、PLC12とModbusプロトコル通信を行う。上記デバイスアドレスは、X0001,X0002,X003,X004である。プログラマブル表示器11は、PLC12のデバイスアドレスX001に記憶するデータを得るため、PLC12にはModbusマスタからの要求信号として、HEX表記のModbusアドレス0000と、Modbusファンクションコード02とを送信する。PLC12は、プログラマブル表示器11からデバイスアドレスX001対応のHEX表記のModbusアドレス0000と、Modbusファンクションコード02とが送信されたことを認識するとModbusスレーブからの応答信号として、デバイスアドレスX001に記憶している部品11b1のON/OFF情報(実施の形態ではON)をプログラマブル表示器11に送信する。次に、プログラマブル表示器11は、PLC12のデバイスアドレスX002に記憶するデータを得るため、PLC12にはHEX表記のModbusアドレス0001と、Modbusファンクションコード02とを送信する。PLC12は、プログラマブル表示器11からデバイスアドレスX002対応のHEX表記のModbusアドレス0001と、Modbusファンクションコード02とが送信されたことを認識すると、デバイスアドレスX002に記憶している部品11b2のON/OFF情報(実施の形態ではOFF)をプログラマブル表示器11に送信する。このようにして、プログラマブル表示器11からPLC12に対して通信が行われる。
Referring to FIG. 3, programmable display 11 designates device address X001-X004 of
図4を参照して、コンピュータ10の表示部10cのコンピュータ画面上に、ユーザインターフェースのアドレスピッカー画面APが表示されている。このアドレスピッカー画面APは、ラダープログラムの編集情報、内部メモリ12dのアドレス情報を表示する画面である。アドレスピッカー画面APは、ラダープログラム作成時や、ラダープログラムのデバッグ、補修時、等に用いる画面である。アドレスピッカー画面APにおいて、内部メモリアドレスは変更できない。アドレス付随情報であるニックネーム、コメントはユーザが登録したり、変更したりすることができる。ユーザはこのニックネームやコメントを用いてラダープログラムをプログラミングすることができる。アドレス付随情報にはアドレスの別名であるニックネームがあり、このニックネームは同一の名称は登録できないようになっている。もう1つの付随情報はコメントであり、コメントはニックネームを補足説明するものであり、同一の名称を複数登録することができるようになっている。ラダー図ではこれら付随情報はニックネームとコメントとで2段構成で表示されるようになっている。
Referring to FIG. 4, a user interface address picker screen AP is displayed on the computer screen of the display unit 10 c of the
アドレスピッカー画面は、表示モードがアドレスをピックアップする表示モード(Pickup Mode)であるために、タイトルバーTBに「Address Picker:Pick Mode」が表示されている。もう1つのモードは「Edit Mode」であり、このモードは、アドレス付随情報であるニックネームを「Nick name」欄に、また、同じくアドレス付随情報であるコメントを「Comment」欄に登録する場合に表示されるモードである。画面上は四角形の表示領域と、この表示領域外の左端縦方向一列に「All」「X」「Y」「C」「T」「CT」…と表記されたユーザ操作ボタンが表示されている。「All」は全内部メモリを選択するボタン、「X」は入力メモリXを選択するボタン、「Y」は出力メモリYを選択するボタン、「C」は内部メモリを選択するボタン、「T」はタイマを選択するボタン、「CT」はカウンタを選択するボタンである。表示領域外の下端左側には、「Data Type Filter」の文字と、この文字を含む四角枠内領域に、「Display All Data Types」のチェックボックス(□)が表示されている。表示領域外の下端中央側には「Used/Unused Address」の文字と、この文字を含む四角枠内領域に、「Display both used and unused」のチェックボックス(□)と、「Display only used」チェックボックス(□)と、「Display only unused」チェックボックス(□)とが表示されている。さらに、表示領域外の下端右側には「Display MODBUS Address」の文字と、この文字を含む四角枠内領域に、「MODBUS 984 Addressing」のチェックボックス(□)と、「MODBUS HEX Addressing」チェックボックス(□)と、が表示されている。 Since the address picker screen is a display mode (Pickup Mode) in which an address is picked up, “Address Picker: Pick Mode” is displayed in the title bar TB. Another mode is “Edit Mode”. This mode is displayed when a nickname that is address-associated information is registered in the “Nick name” field and a comment that is also address-associated information is registered in the “Comment” field. Mode. A square display area is displayed on the screen, and user operation buttons labeled “All”, “X”, “Y”, “C”, “T”, “CT”,... Are displayed in a vertical line on the left end outside the display area. . “All” is a button for selecting all internal memories, “X” is a button for selecting input memory X, “Y” is a button for selecting output memory Y, “C” is a button for selecting internal memory, “T” Is a button for selecting a timer, and “CT” is a button for selecting a counter. On the left side of the lower end outside the display area, the characters “Data Type Filter” and the check box (□) of “Display All Data Types” are displayed in the rectangular frame area including these characters. “Used / Unused Address” is displayed at the center of the bottom edge outside the display area, and the “Display both used and unused” check box (□) and the “Display only used” check box are displayed in the area within the square frame including the characters. A box (□) and a “Display only unused” check box (□) are displayed. Furthermore, the characters “Display MODBUS Address” are displayed on the lower right side outside the display area, the check box (□) of “MODBUS 984 Addressing” and the check box of “MODBUS HEX Addressing” ( □) and are displayed.
本実施の形態では、このアドレスピッカー画面に、ユーザ操作により、図4のModbusアドレス、Modbusファンクションコード非表示状態から図5、図6のModbusアドレス、Modbusファンクションコード表示状態で示すように、PLC12の内部メモリ12d内の全デバイスアドレスを全Modbusアドレスと全Modbusファンクションコードとに対応付けした一覧表を表示できるようにしたものである。
In the present embodiment, as shown in the Modbus address and Modbus function code non-display state in FIG. 4 to the Modbus address and Modbus function code display state in FIGS. A list in which all device addresses in the
図4では、「Display MODBUS Address」の表示は不要とされていて、表示領域外の下端左側には、「Data Type Filter」の「Display All Data Types」のチェックボックス(□)に「レ」が入れられ、かつ、表示領域外の下端中央側には「Used/Unused Address」のチェックボックス(□)に「レ」が入れられているが、表示領域外の下端右側には「Display MODBUS Address」にはチェックボックス(□)に「レ」が入れられていない。また図4では、ユーザ操作ボタン「All」「X」「Y」「C」「T」「CT」…のうち、全メモリに対応するユーザ操作ボタン「All」が選択操作された状態になっている。表示領域外の上側にはアドレス情報やアドレス付随情報、その他を検索するための検索用語記入領域と、それの領域名を示す「Find」表記と、その領域に検索名を記入した後、その検索を実行するための「Find」操作ボタンとが配置されている。 In FIG. 4, “Display MODBUS Address” is not required to be displayed, and “Le” is displayed in the “Display All Data Types” check box (□) on the lower left side outside the display area. The check box (□) of “Used / Unused Address” is put in the lower end center side outside the display area, but “Display MODBUS Address” is put on the lower right side outside the display area. Does not have a check box (□). In FIG. 4, among the user operation buttons “All”, “X”, “Y”, “C”, “T”, “CT”..., The user operation buttons “All” corresponding to all the memories are selected and operated. Yes. On the upper side outside the display area, a search term entry area for searching for address information, address associated information, etc., “Find” notation indicating the area name, and the search name in the area are entered, and then the search is performed. The “Find” operation button for executing the above is arranged.
図4では、表示領域内の上端横方向一列に表示領域外の上横方向一列に「Address」「AZ↓」「DataType」「Nickname」「Used」「Initial Value」「Retentive」「Address Cc」…と文字列表示されている。「Address」の縦方向一列は、アドレスが記述される。このアドレスは、ユーザ操作ボタン「All」「X」「Y」「C」「T」「CT」・・・のいずれかの選択操作で自動的に記述される。図4では全メモリAllに対応するユーザ操作ボタンAllが選択されている。「Address」はPLC12の内部メモリ位置(デバイスアドレス)の記入を示し、図例ではデバイスアドレスは、X001,X002,X003,…となっている。Address内に「RW」と表記されているのは、アドレス読み出し、書き込み可能であることを意味している。「Data type」の縦方向一列は、データ型が自動的に記述される。実施の形態ではデータ型がBIT表記によりビットであることを示している。「Nick name」の縦方向一列は、アドレスの別名がユーザ操作で記述される。「Use」の縦方向一列は、当該アドレスが使用の場合では「YES」、当該アドレスが未使用の場合では「NO」が自動記述される。「Comment」の縦方向一列は、コメントがユーザ操作で記述される。
In FIG. 4, “Address”, “AZ ↓”, “DataType”, “Nickname”, “Used”, “Initial Value”, “Retentive”, “Address Cc” ... Is displayed. Addresses are described in one vertical column of “Address”. This address is automatically described by any selection operation of user operation buttons “All”, “X”, “Y”, “C”, “T”, “CT”,. In FIG. 4, user operation buttons All corresponding to all memories All are selected. “Address” indicates entry of the internal memory location (device address) of the
図5では、表示領域外の下端右側には「Display MODBUS Address」にはチェックボックス(□)に「レ」が入れられて、表示領域には「MODBUS Address(Function Code)」の表示欄が配置され、かつ、「MODBUS HEX Addressing」チェックボックス(□)に「レ」が入れられて、「MODBUS Address(Function Code)」の縦方向一列にModbusアドレスがHEX(16進)表記とされている。 In FIG. 5, “Display MODBUS Address” has a check box (□) put in the check box (□) on the lower right side outside the display area, and a display field of “MODBUS Address (Function Code)” is arranged in the display area. In addition, the “MODBUS HEX Addressing” check box (□) is put with “less”, and the Modbus address is expressed in HEX (hexadecimal) notation in the vertical column of “MODBUS Address (Function Code)”.
これによりユーザは、PLCのデバイスアドレス「X0001」に対応するModbusアドレスはHEX表記で「0000」でModbusファンクションコードが「02」であることが判る。またPLCのデバイスアドレス「X0002」に対応するModbusアドレスはHEX表記で「0001」でModbusファンクションコードが「02」であることが判る。以下も同様である。 As a result, the user knows that the Modbus address corresponding to the PLC device address “X0001” is “0000” in HEX notation and the Modbus function code is “02”. It can also be seen that the Modbus address corresponding to the PLC device address “X0002” is “0001” in HEX notation and the Modbus function code is “02”. The same applies to the following.
図6では、表示領域外の下端右側には「Display MODBUS Address」にはチェックボックス(□)に「レ」が入れられて、表示領域には「MODBUS Address(Function Code)」の表示欄が配置され、かつ、「MODBUS 984 Addressing」チェックボックス(□)に「レ」が入れられて、「MODBUS Address(Function Code)」の縦方向一列にModbusアドレスが984(10進)表記とされている。 In FIG. 6, “Display MODBUS Address” has a check box (□) placed in the check box (□) on the lower right side outside the display area, and a “MODBUS Address (Function Code)” display field is arranged in the display area. In addition, the “MODBUS 984 Addressing” check box (□) is put with “Le”, and the Modbus address is expressed in 984 (decimal) in one vertical column of “MODBUS Address (Function Code)”.
これによりユーザは、PLCのデバイスアドレス「X0001」に対応するModbusアドレスは984表記で「100001」でModbusファンクションコードが「02」であることが判る。またPLCのデバイスアドレス「X0002」に対応するModbusアドレスは984表記で「100002」でModbusファンクションコードが「02」であることが判る。以下も同様である。 As a result, the user knows that the Modbus address corresponding to the device address “X0001” of the PLC is “10000” in 984 notation and the Modbus function code is “02”. Further, it can be seen that the Modbus address corresponding to the device address “X0002” of the PLC is “100002” in 984 notation and the Modbus function code is “02”. The same applies to the following.
以上説明したように本実施の形態では、プログラマブル表示器11がModbusプロトコル通信でPLC12のメモリ内の位置(デバイスアドレス)にアクセスしてデバイス情報を入手する場合において、プログラマブル表示器11が通信ソフトウエアによりPLC12に対してデバイスアドレスに対応するModbusファンクションコードとModbusアドレスとを送信するようになっており、PLC12のプログラミング用ツールであるコンピュータ10の画面上にアドレスピッカー画面APを呼び出し、このアドレスピッカー画面AP上には、図5、図6で示すように、全デバイスアドレスと全Modbusアドレスと全Modbusファンクションコードとを対応付けした一覧表を表示できるようしたから、ユーザは、上記一覧表により、Modbusアドレス計算をする必要なくPLC12に対してModbusファンクションコードと、Modbusアドレスとを送信することができるようになる。
As described above, in the present embodiment, when the programmable display 11 accesses the position (device address) in the memory of the
10 コンピュータ
11 プログラマブル表示器
12 PLC
10 Computer 11
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009140193A JP2010287034A (en) | 2009-06-11 | 2009-06-11 | Address display system of modbus protocol communication between external equipment and plc |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009140193A JP2010287034A (en) | 2009-06-11 | 2009-06-11 | Address display system of modbus protocol communication between external equipment and plc |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010287034A true JP2010287034A (en) | 2010-12-24 |
Family
ID=43542685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009140193A Pending JP2010287034A (en) | 2009-06-11 | 2009-06-11 | Address display system of modbus protocol communication between external equipment and plc |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010287034A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103546467A (en) * | 2013-10-23 | 2014-01-29 | 上海爱控自动化设备有限公司 | Method for transmitting Modbus RTU protocol on TCP/IP network |
CN104038499A (en) * | 2014-06-17 | 2014-09-10 | 宁波三星电气股份有限公司 | MODBUS RTU protocol based data transmission method |
JP2015503136A (en) * | 2011-10-24 | 2015-01-29 | シュネーデル、エレクトリック、インダストリーズ、エスアーエスSchneider Electric Industries Sas | System and method for managing industrial processes |
CN106444657A (en) * | 2016-09-14 | 2017-02-22 | 长飞光纤光缆股份有限公司 | Modbus main station command processing method and master station controller |
JP2019135599A (en) * | 2018-02-05 | 2019-08-15 | 株式会社東芝 | Control system, control method, control device and display unit |
-
2009
- 2009-06-11 JP JP2009140193A patent/JP2010287034A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015503136A (en) * | 2011-10-24 | 2015-01-29 | シュネーデル、エレクトリック、インダストリーズ、エスアーエスSchneider Electric Industries Sas | System and method for managing industrial processes |
CN103546467A (en) * | 2013-10-23 | 2014-01-29 | 上海爱控自动化设备有限公司 | Method for transmitting Modbus RTU protocol on TCP/IP network |
CN103546467B (en) * | 2013-10-23 | 2016-08-17 | 上海爱控自动化设备有限公司 | The method applying Modbus rtu protocol on TCP/IP network |
CN104038499A (en) * | 2014-06-17 | 2014-09-10 | 宁波三星电气股份有限公司 | MODBUS RTU protocol based data transmission method |
CN106444657A (en) * | 2016-09-14 | 2017-02-22 | 长飞光纤光缆股份有限公司 | Modbus main station command processing method and master station controller |
CN106444657B (en) * | 2016-09-14 | 2019-11-22 | 长飞光纤光缆股份有限公司 | A kind of Modbus main website command processing method and main station controller |
JP2019135599A (en) * | 2018-02-05 | 2019-08-15 | 株式会社東芝 | Control system, control method, control device and display unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6310076B2 (en) | Control system for controlling the operation of numerically controlled machine tools, and backend and frontend control devices for use in such a system | |
EP1351108A1 (en) | Method and apparatus for programming | |
JP4820265B2 (en) | Engineering equipment | |
KR101889631B1 (en) | Device for assisting creation of sequence program | |
JP2008033573A (en) | Programmable display, control program, recording medium recording the same, control system, client program, and recording medium recording the same | |
JP2010287034A (en) | Address display system of modbus protocol communication between external equipment and plc | |
JP2013257782A (en) | Numerical control device for machine tool with operation support control section | |
JP6339650B2 (en) | Machining program management device | |
JP4842541B2 (en) | Display device for control, screen data generation device, and program and recording medium thereof | |
JP6177455B2 (en) | Management system | |
JP5058246B2 (en) | Control unit with built-in machine model | |
JP4463716B2 (en) | Programmable display, display control program, and recording medium recording the same | |
JP5469510B2 (en) | Programmable controller, set value change system, calculation display device, and set value change unit | |
JP2007011936A (en) | Programmable display unit | |
JP3847601B2 (en) | Control display device, control program, and recording medium recording the same | |
JP2005259079A (en) | Tool | |
JP2010108219A (en) | Control system, communication relay device and portable programmable display unit | |
JP2009230572A (en) | Design support device | |
JP4381793B2 (en) | PROGRAMMABLE DISPLAY, DISPLAY CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP6051545B2 (en) | PLC system, status display method, PLC, and programmable display | |
JP4372739B2 (en) | PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
TW201439699A (en) | Programmable controller system, programmable display therefor, assistance device, and program | |
JP2005084941A (en) | Equipment management system | |
WO2018008094A1 (en) | Parameter editing device for industrial equipment control device, industrial equipment control system, method of manufacture of industrial equipment control system, and program | |
JP2006134098A (en) | Programmable display, display control program, and recording medium with the program recorded thereon |