JP7745241B2 - Slave device, communication system, and control method and program for slave device - Google Patents
Slave device, communication system, and control method and program for slave deviceInfo
- Publication number
- JP7745241B2 JP7745241B2 JP2021124571A JP2021124571A JP7745241B2 JP 7745241 B2 JP7745241 B2 JP 7745241B2 JP 2021124571 A JP2021124571 A JP 2021124571A JP 2021124571 A JP2021124571 A JP 2021124571A JP 7745241 B2 JP7745241 B2 JP 7745241B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- master device
- slave device
- slave
- master
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Description
本発明は、スレーブ装置、通信システム、スレーブ装置の制御方法及びプログラムに関する。 The present invention relates to a slave device, a communication system, a control method for a slave device, and a program.
Modbus(登録商標) TCPは、Modicon社がプログラマブルロジックコントローラ(PLC)向けに策定したシリアル通信プロトコルを、TCP/IP上で用いるためのマスタ・スレーブ方式の通信プロトコルである。 Modbus (registered trademark) TCP is a master-slave communication protocol developed by Modicon for programmable logic controllers (PLCs) that allows the serial communication protocol to be used on TCP/IP.
特許文献1には、この種の通信プロトコルに従って、マスタ装置とスレーブ装置との間でデータのやり取りを行う技術が開示されている。具体的には、特許文献1では、マスタ装置は、スレーブ装置にリクエスト信号を送信し、スレーブ装置は、マスタ装置からのリクエスト信号に対するレスポンスとして、スレーブ装置の記憶部に格納されているデータをマスタ装置に送信する。これにより、マスタ装置は、スレーブ装置からのデータを、マスタ装置の記憶部に保持する。 Patent Document 1 discloses technology for exchanging data between a master device and a slave device in accordance with this type of communication protocol. Specifically, in Patent Document 1, the master device transmits a request signal to the slave device, and the slave device transmits data stored in its memory unit to the master device in response to the request signal from the master device. As a result, the master device stores the data from the slave device in its memory unit.
しかしながら、上述した通信プロトコルでは、マスタ装置とスレーブ装置との間でデータの格納方法が互いに異なる場合には、データのやり取りを適切に行うことができないという課題が生じる。 However, with the above-mentioned communication protocol, if the data storage methods used by the master device and slave device differ, data cannot be exchanged properly.
本発明は、このような課題に鑑みてなされたものであり、その目的は、マスタ装置とスレーブ装置との間でデータのやり取りを適切に行うことができるスレーブ装置、通信システム、スレーブ装置の制御方法及びプログラムを提供することである。 The present invention was made in consideration of these issues, and its purpose is to provide a slave device, a communication system, a control method for a slave device, and a program that enable appropriate data exchange between a master device and a slave device.
上記目的を達成するために、本発明の一態様に係るスレーブ装置は、マスタ・スレーブ方式の通信プロトコルに従って、マスタ装置及び機械の各々と通信するスレーブ装置であって、前記機械に関する第1のデータを前記機械から取得する取得部と、前記マスタ装置と前記スレーブ装置との間で共通に設定される所定のデータ格納方法に基づいて、前記取得部により取得された前記第1のデータを記憶部に格納する制御部と、前記マスタ装置からの要求に応じて、前記記憶部に格納された前記第1のデータを前記マスタ装置に送信する通信部と、を備える。 To achieve the above object, one aspect of the present invention provides a slave device that communicates with a master device and a machine in accordance with a master-slave communication protocol, and includes an acquisition unit that acquires first data related to the machine from the machine, a control unit that stores the first data acquired by the acquisition unit in a memory unit based on a predetermined data storage method that is set commonly between the master device and the slave device, and a communication unit that transmits the first data stored in the memory unit to the master device in response to a request from the master device.
本態様によれば、制御部は、マスタ装置とスレーブ装置との間で共通に設定される所定のデータ格納方法に基づいて、取得部により取得された第1のデータを記憶部に格納する。これにより、マスタ装置とスレーブ装置との間で所定のデータ格納方法が共有されるので、マスタ装置とスレーブ装置との間で第1のデータのやり取りを適切に行うことができる。 According to this aspect, the control unit stores the first data acquired by the acquisition unit in the memory unit based on a predetermined data storage method that is set in common between the master device and the slave device. This allows the master device and the slave device to share the predetermined data storage method, allowing the first data to be exchanged appropriately between the master device and the slave device.
例えば、前記マスタ装置及び前記スレーブ装置のうち前記スレーブ装置のみが前記所定のデータ格納方法を示す第2のデータを予め取得している場合、前記通信部は、前記第1のデータの送信前に、前記第2のデータを前記マスタ装置に送信するように構成してもよい。 For example, if only the slave device, of the master device and the slave device, has previously acquired second data indicating the specified data storage method, the communication unit may be configured to transmit the second data to the master device before transmitting the first data.
本態様によれば、マスタ装置及びスレーブ装置のうちスレーブ装置のみが第2のデータを予め取得している場合であっても、スレーブ装置がマスタ装置に第2のデータを送信することにより、マスタ装置とスレーブ装置との間で所定のデータ格納方法を共有することができる。 According to this aspect, even if only the slave device of the master and slave devices has previously acquired the second data, the slave device can transmit the second data to the master device, allowing the master and slave devices to share a predetermined data storage method.
例えば、前記マスタ装置及び前記スレーブ装置のうち前記マスタ装置のみが前記所定のデータ格納方法を示す第2のデータを予め取得している場合、前記通信部は、前記制御部が前記第1のデータを前記記憶部に格納する前に、前記第2のデータを前記マスタ装置から受信するように構成してもよい。 For example, if only the master device of the master device and the slave device has previously acquired second data indicating the specified data storage method, the communication unit may be configured to receive the second data from the master device before the control unit stores the first data in the memory unit.
本態様によれば、マスタ装置及びスレーブ装置のうちマスタ装置のみが第2のデータを予め取得している場合であっても、マスタ装置がスレーブ装置に第2のデータを送信することにより、マスタ装置とスレーブ装置との間で所定のデータ格納方法を共有することができる。 According to this aspect, even if only the master device has previously acquired the second data, the master device can transmit the second data to the slave device, allowing the master device and slave device to share a predetermined data storage method.
例えば、前記所定のデータ格納方法は、前記第1のデータの、(i)小数点の位置、(ii)最大文字数、及び、(iii)エンディアンの種類のうち少なくとも1つを含むように構成してもよい。 For example, the specified data storage method may be configured to include at least one of the following for the first data: (i) the position of the decimal point, (ii) the maximum number of characters, and (iii) the type of endianness.
本態様によれば、第1のデータが小数又は文字等である場合に、マスタ装置とスレーブ装置との間で第1のデータのやり取りを適切に行うことができる。 According to this aspect, when the first data is a decimal number, a character, or the like, the first data can be appropriately exchanged between the master device and the slave device.
例えば、前記通信プロトコルは、Modbus(登録商標) TCPであるように構成してもよい。 For example, the communication protocol may be configured to be Modbus (registered trademark) TCP.
本態様によれば、マスタ・スレーブ方式の通信プロトコルとして、Modbus TCPを適用することができる。 According to this aspect, Modbus TCP can be applied as a master-slave communication protocol.
また、本発明の一態様に係る通信システムは、マスタ装置と、機械と、マスタ・スレーブ方式の通信プロトコルに従って前記マスタ装置及び前記機械の各々と通信するスレーブ装置と、を備える通信システムであって、前記スレーブ装置は、前記機械に関するデータを前記機械から取得する取得部と、前記マスタ装置と前記スレーブ装置との間で共通に設定される所定のデータ格納方法に基づいて、前記取得部により取得された前記データを第1の記憶部に格納する第1の制御部と、前記マスタ装置からの要求に応じて、前記第1の記憶部に格納された前記データを前記マスタ装置に送信する第1の通信部と、を有し、前記マスタ装置は、前記スレーブ装置からの前記データを受信する第2の通信部と、前記所定のデータ格納方法に基づいて、前記第2の通信部により受信された前記データを第2の記憶部に保持する第2の制御部と、を有する。 Furthermore, one aspect of the present invention provides a communication system comprising a master device, a machine, and a slave device that communicates with the master device and the machine in accordance with a master-slave communication protocol, wherein the slave device has an acquisition unit that acquires data related to the machine from the machine, a first control unit that stores the data acquired by the acquisition unit in a first memory unit based on a predetermined data storage method commonly set between the master device and the slave device, and a first communication unit that transmits the data stored in the first memory unit to the master device in response to a request from the master device, and the master device has a second communication unit that receives the data from the slave device and a second control unit that stores the data received by the second communication unit in a second memory unit based on the predetermined data storage method.
本態様によれば、第1の制御部は、マスタ装置とスレーブ装置との間で共通に設定される所定のデータ格納方法に基づいて、取得部により取得されたデータを第1の記憶部に格納する。これにより、マスタ装置とスレーブ装置との間で所定のデータ格納方法が共有されるので、マスタ装置とスレーブ装置との間でデータのやり取りを適切に行うことができる。 According to this aspect, the first control unit stores the data acquired by the acquisition unit in the first memory unit based on a predetermined data storage method that is set in common between the master device and the slave device. This allows the master device and the slave device to share the predetermined data storage method, enabling appropriate data exchange between the master device and the slave device.
また、本発明の一態様に係るスレーブ装置の制御方法は、マスタ・スレーブ方式の通信プロトコルに従って、マスタ装置及び機械の各々と通信するスレーブ装置の制御方法であって、(a)前記機械に関するデータを前記機械から取得するステップと、(b)前記マスタ装置と前記スレーブ装置との間で共通に設定される所定のデータ格納方法に基づいて、前記(a)で取得された前記データを記憶部に格納するステップと、(c)前記マスタ装置からの要求に応じて、前記記憶部に格納された前記データを前記マスタ装置に送信するステップと、を含む。 Furthermore, a control method for a slave device according to one aspect of the present invention is a control method for a slave device that communicates with each of a master device and a machine in accordance with a master-slave communication protocol, and includes the steps of: (a) acquiring data related to the machine from the machine; (b) storing the data acquired in (a) in a memory unit based on a predetermined data storage method commonly set between the master device and the slave device; and (c) transmitting the data stored in the memory unit to the master device in response to a request from the master device.
本態様によれば、マスタ装置とスレーブ装置との間で共通に設定される所定のデータ格納方法に基づいて、取得されたデータを記憶部に格納する。これにより、マスタ装置とスレーブ装置との間で所定のデータ格納方法が共有されるので、マスタ装置とスレーブ装置との間でデータのやり取りを適切に行うことができる。 According to this aspect, acquired data is stored in the memory unit based on a predetermined data storage method that is set in common between the master device and the slave device. This allows the master device and the slave device to share the predetermined data storage method, enabling appropriate data exchange between the master device and the slave device.
また、本発明の一態様に係るプログラムは、上述したスレーブ装置の制御方法をコンピュータに実行させる。 Furthermore, a program according to one aspect of the present invention causes a computer to execute the above-described slave device control method.
本発明の一態様に係るスレーブ装置等によれば、マスタ装置とスレーブ装置との間でデータのやり取りを適切に行うことができる。 According to one aspect of the present invention, a slave device can properly exchange data between a master device and a slave device.
以下、本発明の実施の形態について、図面を用いて詳細に説明する。なお、以下で説明する実施の形態は、いずれも包括的又は具体的な例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序等は、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、独立請求項に記載されていない構成要素については、任意の構成要素として説明される。 Embodiments of the present invention will be described in detail below with reference to the drawings. Note that the embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component placement and connection configurations, steps, and step order shown in the following embodiments are merely examples and are not intended to limit the present invention. Furthermore, among the components in the following embodiments, components that are not recited in the independent claims will be described as optional components.
(実施の形態)
[1.通信システムの概要]
まず、図1を参照しながら、実施の形態に係る通信システム2の概要について説明する。図1は、実施の形態に係る通信システム2の概要を示すブロック図である。
(Embodiment)
[1. Overview of the communication system]
First, an overview of a communication system 2 according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing an overview of a communication system 2 according to an embodiment.
図1に示すように、通信システム2は、スレーブ装置4と、機械6と、マスタ装置8とを備えている。本実施の形態では、通信システム2は、例えば工場内に構築された通信システムである。 As shown in FIG. 1, communication system 2 includes a slave device 4, a machine 6, and a master device 8. In this embodiment, communication system 2 is a communication system established, for example, within a factory.
なお、本実施の形態では、通信システム2は1つの機械6を備えているが、これに限定されず、複数の機械6を備えていてもよい。また、本実施の形態では、通信システム2は1つのマスタ装置8を備えているが、これに限定されず、複数のマスタ装置8を備えていてもよい。 In this embodiment, the communication system 2 includes one machine 6, but is not limited to this and may include multiple machines 6. In this embodiment, the communication system 2 includes one master device 8, but is not limited to this and may include multiple master devices 8.
スレーブ装置4と機械6とは、通信線10を介して接続されている。通信線10は、例えばEthernet(登録商標)、IP(Internet Protocol)、又は、RS-232C(シリアル通信)等の通信プロトコルで通信可能な通信線である。通信線10で実現される通信は、有線通信であってもよいし、無線通信であってもよい。具体的には、通信線10は、例えば有線LAN(Local Area Network)で構成された有線ネットワーク、IEEE802.11規格に準拠した無線ネットワーク、又は、ローカル接続するための有線ケーブル等で構築されている。 The slave device 4 and the machine 6 are connected via a communication line 10. The communication line 10 is capable of communication using a communication protocol such as Ethernet (registered trademark), IP (Internet Protocol), or RS-232C (serial communication). The communication realized by the communication line 10 may be wired communication or wireless communication. Specifically, the communication line 10 is constructed using, for example, a wired network consisting of a wired LAN (Local Area Network), a wireless network conforming to the IEEE 802.11 standard, or a wired cable for local connection.
スレーブ装置4とマスタ装置8とは、ネットワーク12を介して接続されている。ネットワーク12で実現される通信は、有線通信であってもよいし、無線通信であってもよい。具体的には、ネットワーク12は、例えば有線LANで構築された有線ネットワーク、又は、IEEE802.11規格に準拠した無線ネットワークで構築されている。 The slave device 4 and master device 8 are connected via a network 12. Communication realized over the network 12 may be wired or wireless. Specifically, the network 12 is constructed, for example, as a wired network built using a wired LAN, or as a wireless network conforming to the IEEE 802.11 standard.
スレーブ装置4は、マスタ・スレーブ方式の通信プロトコルに従って、機械6及びマスタ装置8の各々と通信するためのサーバ装置である。より具体的には、スレーブ装置4は、マスタ・スレーブ方式の通信プロトコルに従って、機械6とマスタ装置8との間で、各種データを中継する中継装置である。マスタ・スレーブ方式の通信プロトコルは、例えばModbus TCPである。 Slave device 4 is a server device that communicates with each of machine 6 and master device 8 according to a master-slave communication protocol. More specifically, slave device 4 is a relay device that relays various data between machine 6 and master device 8 according to the master-slave communication protocol. An example of a master-slave communication protocol is Modbus TCP.
機械6は、例えばワークに対して所定の加工を施すための旋盤、ボール盤、フライス盤、レーザ加工機又は溶接機等の各種工作機械である。なお、機械6は、工作機械に限定されず、例えば産業ロボット又は測定機械等の各種産業機械であってもよい。 Machine 6 is, for example, a lathe, drill press, milling machine, laser processing machine, welding machine, or other machine tool used to perform predetermined processing on a workpiece. Note that machine 6 is not limited to machine tools, and may also be various types of industrial machinery, such as an industrial robot or measuring machine.
機械6は、当該機械6の状態を検出するためのセンサ(図示せず)を有している。センサは、例えば、機械6の温度を検出する温度センサ、及び、機械6の部品の損傷を検出するカメラセンサ等を含む。機械6は、センサの検出結果に基づいて、機械6に関するデータ(以下、「機械データ」という)(第1のデータの一例)を、通信線10を介してスレーブ装置4に送信する。なお、機械データは、センサの検出結果に基づくデータに限定されず、例えば機械6の各部品等を識別するための文字及び/又は数字等を示すデータであってもよい。 The machine 6 has sensors (not shown) for detecting the state of the machine 6. The sensors include, for example, a temperature sensor for detecting the temperature of the machine 6 and a camera sensor for detecting damage to parts of the machine 6. Based on the detection results of the sensors, the machine 6 transmits data about the machine 6 (hereinafter referred to as "machine data") (an example of first data) to the slave device 4 via the communication line 10. Note that the machine data is not limited to data based on the detection results of the sensors, and may be, for example, data indicating letters and/or numbers for identifying each part of the machine 6.
マスタ装置8は、上述したマスタ・スレーブ方式の通信プロトコルに従って、スレーブ装置4と通信するためのクライアント装置であり、例えばユーザ14により操作されるパーソナルコンピュータ等の各種端末装置である。マスタ装置8は、ネットワーク12を介して、スレーブ装置4からの機械データを取得し、取得した機械データをユーザ14に提示する。なお、マスタ装置8は、ユーザ14に限定されることなく、例えば通信システム2の管理者等により操作されてもよい。より具体的には、通信システム2の管理者が、例えば工場の外から外部ネットワークを利用して、工場内のマスタ装置8を遠隔操作してもよい。 The master device 8 is a client device that communicates with the slave devices 4 according to the master-slave communication protocol described above, and is, for example, a terminal device such as a personal computer operated by the user 14. The master device 8 acquires machine data from the slave devices 4 via the network 12 and presents the acquired machine data to the user 14. Note that the master device 8 is not limited to being operated by the user 14, and may also be operated by, for example, an administrator of the communication system 2. More specifically, the administrator of the communication system 2 may remotely operate the master device 8 within the factory, for example, from outside the factory using an external network.
[2.スレーブ装置の機能構成]
図2及び図3を参照しながら、実施の形態に係るスレーブ装置4の機能構成について説明する。図2は、実施の形態に係るスレーブ装置4の機能構成を示すブロック図である。図3は、実施の形態に係るスレーブ装置4の記憶部20に格納される機械データの一例を示す図である。
2. Functional configuration of slave device
The functional configuration of the slave unit 4 according to the embodiment will be described with reference to Fig. 2 and Fig. 3. Fig. 2 is a block diagram showing the functional configuration of the slave unit 4 according to the embodiment. Fig. 3 is a diagram showing an example of machine data stored in the storage unit 20 of the slave unit 4 according to the embodiment.
図2に示すように、スレーブ装置4は、取得部16と、制御部18(第1の制御部の一例)と、記憶部20(第1の記憶部の一例)と、通信部22(第1の通信部の一例)とを備えている。 As shown in FIG. 2, the slave device 4 includes an acquisition unit 16, a control unit 18 (an example of a first control unit), a memory unit 20 (an example of a first memory unit), and a communication unit 22 (an example of a first communication unit).
取得部16は、通信線10(図1参照)を介して、機械6からの機械データを例えば所定の周期で取得する。取得部16は、取得した機械データを制御部18に出力する。なお、所定の周期は、例えば、通信システム2の管理者等が設定ツール(図示せず)等を用いることにより、適宜設定される。 The acquisition unit 16 acquires machine data from the machine 6 via the communication line 10 (see Figure 1), for example, at a predetermined interval. The acquisition unit 16 outputs the acquired machine data to the control unit 18. Note that the predetermined interval is set as appropriate, for example, by an administrator of the communication system 2 using a setting tool (not shown) or the like.
制御部18は、マスタ装置8とスレーブ装置4との間で共通に設定された所定のデータ格納方法に基づいて、取得部16により取得された機械データを記憶部20に格納(記憶)する。ここで、所定のデータ格納方法は、取得部16により取得された機械データの、(i)小数点の位置、(ii)最大文字数、及び、(iii)エンディアンの種類(ビッグエンディアン又はリトルエンディアン)のうち少なくとも1つを含む。 The control unit 18 stores (memorizes) the machine data acquired by the acquisition unit 16 in the memory unit 20 based on a predetermined data storage method set in common between the master device 8 and the slave device 4. Here, the predetermined data storage method includes at least one of the following for the machine data acquired by the acquisition unit 16: (i) the decimal point position, (ii) the maximum number of characters, and (iii) the endian type (big endian or little endian).
記憶部20は、各種データを記憶するためのメモリである。具体的には、記憶部20には、制御部18により例えば図3に示すような機械データが格納される。図3に示す例では、記憶部20には、アドレス(例えば、Modbusアドレス)と機械データとが対応付けられて格納されている。例えば、アドレス「40001」に対して、文字からなる機械データ「ab」が格納されている。また、アドレス「40002」に対して、文字からなる機械データ「c」が格納されている。また、アドレス「40003」に対して、16進数の整数からなる機械データ「0x1000」が格納されている。また、アドレス「40004」に対して、10進数の小数からなる機械データ「123.456」が格納されている。 The storage unit 20 is a memory for storing various types of data. Specifically, the control unit 18 stores machine data such as that shown in FIG. 3 in the storage unit 20. In the example shown in FIG. 3, addresses (e.g., Modbus addresses) are stored in the storage unit 20 in association with the machine data. For example, address "40001" stores machine data "ab" consisting of characters. Address "40002" stores machine data "c" consisting of characters. Address "40003" stores machine data "0x1000" consisting of a hexadecimal integer. Address "40004" stores machine data "123.456" consisting of a decimal fraction.
また、記憶部20には、上記所定のデータ格納方法を示すデータ(以下、「格納方法データ」という)(第2のデータの一例)が予め格納されている。なお、例えば通信システム2の管理者等が、所定のウェブサイト上で設定する、又は、CSVファイルをインポートすることにより、記憶部20に格納方法データが格納される。 In addition, data indicating the above-mentioned specified data storage method (hereinafter referred to as "storage method data") (an example of second data) is pre-stored in the storage unit 20. Note that the storage method data is stored in the storage unit 20, for example, by an administrator of the communication system 2 setting it on a specified website or by importing a CSV file.
通信部22は、ネットワーク12(図1参照)を介して、マスタ装置8との間で各種データを送受信する。具体的には、通信部22は、マスタ装置8からのリクエスト信号を受信する。また、通信部22は、受信したリクエスト信号に対するレスポンスとして、記憶部20に格納されている機械データをマスタ装置8に送信する。また、通信部22は、記憶部20に格納されている格納方法データをマスタ装置8に送信する。 The communication unit 22 transmits and receives various data to and from the master device 8 via the network 12 (see Figure 1). Specifically, the communication unit 22 receives a request signal from the master device 8. In addition, the communication unit 22 transmits machine data stored in the memory unit 20 to the master device 8 as a response to the received request signal. In addition, the communication unit 22 transmits storage method data stored in the memory unit 20 to the master device 8.
[3.マスタ装置の機能構成]
図4を参照しながら、実施の形態に係るマスタ装置8の機能構成について説明する。図4は、実施の形態に係るマスタ装置8の機能構成を示すブロック図である。
3. Functional configuration of the master device
The functional configuration of the master device 8 according to the embodiment will be described with reference to Fig. 4. Fig. 4 is a block diagram showing the functional configuration of the master device 8 according to the embodiment.
図4に示すように、マスタ装置8は、通信部24(第2の通信部の一例)と、制御部26(第2の制御部の一例)と、記憶部28(第2の記憶部の一例)とを備えている。 As shown in FIG. 4, the master device 8 includes a communication unit 24 (an example of a second communication unit), a control unit 26 (an example of a second control unit), and a memory unit 28 (an example of a second memory unit).
通信部24は、ネットワーク12(図1参照)を介して、スレーブ装置4との間で各種データを送受信する。具体的には、通信部24は、スレーブ装置4に対して機械データの送信を要求するためのリクエスト信号を、スレーブ装置4に送信する。また、通信部24は、当該リクエスト信号に応じてスレーブ装置4から送信されてきた機械データを受信する。また、通信部24は、スレーブ装置4からの格納方法データを受信する。 The communication unit 24 transmits and receives various data to and from the slave device 4 via the network 12 (see Figure 1). Specifically, the communication unit 24 transmits a request signal to the slave device 4 to request that the slave device 4 transmit machine data. The communication unit 24 also receives machine data transmitted from the slave device 4 in response to the request signal. The communication unit 24 also receives storage method data from the slave device 4.
制御部26は、マスタ装置8とスレーブ装置4との間で共通に設定された上記所定のデータ格納方法に基づいて、通信部24により受信された機械データを記憶部28に保持(記憶)する。また、制御部26は、通信部24により受信された格納方法データを記憶部28に保持する。 The control unit 26 retains (stores) the machine data received by the communication unit 24 in the memory unit 28 based on the above-mentioned predetermined data storage method commonly set between the master device 8 and the slave device 4. The control unit 26 also retains the storage method data received by the communication unit 24 in the memory unit 28.
記憶部28は、各種データを記憶するためのメモリである。具体的には、記憶部28には、制御部26により機械データ及び格納方法データが保持される。 The storage unit 28 is a memory for storing various data. Specifically, the storage unit 28 stores machine data and storage method data stored by the control unit 26.
[4.通信システムの動作]
[4-1.スレーブ装置の動作]
次に、図5を参照しながら、スレーブ装置4の動作について説明する。図5は、実施の形態に係るスレーブ装置4の動作の流れを示すフローチャートである。
4. Operation of the communication system
[4-1. Operation of Slave Device]
Next, the operation of the slave device 4 will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the flow of the operation of the slave device 4 according to the embodiment.
以下、マスタ装置8及びスレーブ装置4のうちスレーブ装置4のみが、格納方法データを予め取得している場合について説明する。 The following describes a case where only the slave device 4, out of the master device 8 and the slave device 4, has acquired storage method data in advance.
図5に示すように、取得部16は、通信線10を介して、機械6からの機械データを取得する(S101)。制御部18は、以下のようにして、マスタ装置8とスレーブ装置4との間で共通に設定された上記所定のデータ格納方法に基づいて、取得部16により取得された機械データを記憶部20に格納する。 As shown in FIG. 5, the acquisition unit 16 acquires machine data from the machine 6 via the communication line 10 (S101). The control unit 18 stores the machine data acquired by the acquisition unit 16 in the memory unit 20 based on the above-mentioned predetermined data storage method commonly set between the master device 8 and the slave device 4, as follows:
まず、制御部18は、記憶部20に格納されているデータ格納方法に基づいて、機械データが小数であるか否かを判定する(S102)。機械データが小数でない場合には(S102でNO)、後述するステップS104に進む。一方、機械データが小数である場合には(S102でYES)、制御部18は、当該機械データの小数点の位置を調整する(S103)。例えば、機械データが「123.456」という小数である場合には、制御部18は、当該機械データを、小数点を除いた「123456」という整数を示すデータと、小数点の位置を示すデータとに分けることにより、当該機械データの小数点の位置を調整する。なお、この小数点の位置は、記憶部20に格納されている格納方法データにより示される小数点の位置と同じであり、例えば「最も下位の数字から3番目の位置」である。 First, the control unit 18 determines whether the machine data is a decimal based on the data storage method stored in the memory unit 20 (S102). If the machine data is not a decimal (NO in S102), the process proceeds to step S104, described below. On the other hand, if the machine data is a decimal (YES in S102), the control unit 18 adjusts the position of the decimal point in the machine data (S103). For example, if the machine data is a decimal "123.456," the control unit 18 adjusts the position of the decimal point in the machine data by separating the machine data into data indicating the integer "123456" excluding the decimal point, and data indicating the position of the decimal point. Note that this position of the decimal point is the same as the position of the decimal point indicated by the storage method data stored in the memory unit 20, for example, "the third position from the lowest digit."
ステップS103の後、又は、ステップS102でNOの場合、制御部18は、記憶部20に格納されているデータ格納方法に基づいて、機械データが文字であるか否かを判定する(S104)。機械データが文字でない場合には(S104でNO)、後述するステップS107に進む。一方、機械データが文字である場合には(S104でYES)、制御部18は、記憶部20に格納されている格納方法データに基づいて、機械データの文字数が最大文字数を超えているか否かを判定する(S105)。最大文字数は、記憶部20に格納されている格納方法データにより示される最大文字数であり、例えば「3」である。 After step S103, or if step S102 is NO, the control unit 18 determines whether the machine data is text based on the data storage method stored in the memory unit 20 (S104). If the machine data is not text (NO in S104), the process proceeds to step S107, described below. On the other hand, if the machine data is text (YES in S104), the control unit 18 determines whether the number of characters in the machine data exceeds the maximum number of characters based on the storage method data stored in the memory unit 20 (S105). The maximum number of characters is the maximum number of characters indicated by the storage method data stored in the memory unit 20, and is, for example, "3."
機械データの文字数が最大文字数を超えていない場合には(S105でNO)、後述するステップS107に進む。一方、機械データの文字数が最大文字数を超えている場合には(S105でYES)、制御部18は、当該機械データの文字数を調整する(S106)。例えば、最大文字数が「3」であり、且つ、取得部16により取得された機械データが「abcde」という文字数「5」の文字である場合には、制御部18は、当該機械データを「abc」という文字数「3」の文字に調整することにより、当該機械データの文字数を調整する。 If the number of characters in the machine data does not exceed the maximum number of characters (NO in S105), the process proceeds to step S107, which will be described later. On the other hand, if the number of characters in the machine data exceeds the maximum number of characters (YES in S105), the control unit 18 adjusts the number of characters in the machine data (S106). For example, if the maximum number of characters is "3" and the machine data acquired by the acquisition unit 16 is "abcde," which has five characters, the control unit 18 adjusts the number of characters in the machine data by adjusting the machine data to "abc," which has three characters.
ステップS106の後、又は、ステップS104,S105でNOの場合、制御部18は、記憶部20に格納されている格納方法データにより示されるエンディアンの種類を判定する(S107)。 After step S106, or if the answer is NO in steps S104 and S105, the control unit 18 determines the type of endian indicated by the storage method data stored in the memory unit 20 (S107).
エンディアンの種類がビッグエンディアンである場合には(S107で「ビッグエンディアン」)、制御部18は、機械データをビッグエンディアンとして記憶部20に格納する(S108)。例えば、機械データが「abc」という文字であり、且つ、エンディアンの種類がビッグエンディアンである場合には、制御部18は、機械データを「abc」として記憶部20に格納する。 If the endian type is big endian ("big endian" in S107), the control unit 18 stores the machine data in the memory unit 20 as big endian (S108). For example, if the machine data is the characters "abc" and the endian type is big endian, the control unit 18 stores the machine data in the memory unit 20 as "abc".
一方、エンディアンの種類がリトルエンディアンである場合には(S107で「リトルエンディアン」)、制御部18は、機械データをリトルエンディアンとして記憶部20に格納する(S109)。例えば、機械データが「abc」という文字であり、且つ、エンディアンの種類がリトルエンディアンである場合には、制御部18は、機械データを「cba」として記憶部20に格納する。 On the other hand, if the endian type is little endian ("little endian" in S107), the control unit 18 stores the machine data in the memory unit 20 as little endian (S109). For example, if the machine data is the characters "abc" and the endian type is little endian, the control unit 18 stores the machine data in the memory unit 20 as "cba".
[4-2.マスタ装置の動作]
次に、図6を参照しながら、マスタ装置8の動作について説明する。図6は、実施の形態に係るマスタ装置8の動作の流れを示すフローチャートである。
[4-2. Operation of the Master Device]
Next, the operation of the master device 8 will be described with reference to Fig. 6. Fig. 6 is a flowchart showing the flow of the operation of the master device 8 according to the embodiment.
以下、マスタ装置8及びスレーブ装置4のうちスレーブ装置4のみが、格納方法データを予め取得している場合について説明する。スレーブ装置4の通信部22は、機械データをマスタ装置8に送信する前に、格納方法データをマスタ装置8に予め送信する。 The following describes a case where only the slave device 4, out of the master device 8 and the slave device 4, has acquired the storage method data in advance. The communication unit 22 of the slave device 4 transmits the storage method data to the master device 8 in advance before transmitting the machine data to the master device 8.
通信部24は、スレーブ装置4からの格納方法データを受信し(S201)、制御部26は、受信された格納方法データを記憶部28に保持する。これにより、マスタ装置8とスレーブ装置4との間で、所定のデータ格納方法を示す格納方法データが共有される。 The communication unit 24 receives the storage method data from the slave device 4 (S201), and the control unit 26 stores the received storage method data in the memory unit 28. As a result, the storage method data indicating the specified data storage method is shared between the master device 8 and the slave device 4.
通信部24は、スレーブ装置4に対して機械データの送信を要求するためのリクエスト信号を、スレーブ装置4に送信する(S202)。そして、通信部24は、当該リクエスト信号に応じてスレーブ装置4から送信されてきた機械データを受信する(S203)。 The communication unit 24 transmits a request signal to the slave device 4 to request that the slave device 4 transmit machine data (S202). The communication unit 24 then receives the machine data transmitted from the slave device 4 in response to the request signal (S203).
制御部26は、記憶部28に保持されている格納方法データにより示されるエンディアンの種類に応じて、マスタ装置8において予め設定されているエンディアンを変換する(S204)。例えば、格納方法データにより示されるエンディアンの種類がビッグエンディアンであり、且つ、マスタ装置8において予め設定されているエンディアンの種類がリトルエンディアンである場合には、制御部26は、マスタ装置8において予め設定されているリトルエンディアンをビッグエンディアンに変換する。 The control unit 26 converts the endianness preset in the master device 8 according to the type of endianness indicated by the storage method data held in the memory unit 28 (S204). For example, if the type of endianness indicated by the storage method data is big endianness and the type of endianness preset in the master device 8 is little endianness, the control unit 26 converts the little endianness preset in the master device 8 to big endianness.
制御部26は、機械データが文字であるか否かを判定する(S205)。機械データが文字である場合には(S205でYES)、制御部26は、機械データを記憶部28に保持する(S207)。一方、機械データが文字でない場合には(S205でNO)、制御部26は、機械データに小数点の位置が含まれているか否かを判定する(S206)。 The control unit 26 determines whether the machine data is text (S205). If the machine data is text (YES in S205), the control unit 26 stores the machine data in the memory unit 28 (S207). On the other hand, if the machine data is not text (NO in S205), the control unit 26 determines whether the machine data includes the position of a decimal point (S206).
機械データに小数点の位置が含まれていない場合には(S206でNO)、制御部26は、機械データを記憶部28に保持する(S207)。一方、機械データに小数点の位置が含まれている場合には(S206でYES)、制御部26は、機械データを、小数点を除いた整数として記憶部28に保持する(S208)。この時、制御部26は、記憶部28に保持されている格納方法データに基づいて、小数点の位置を確認することができる。 If the machine data does not include the position of a decimal point (NO in S206), the control unit 26 stores the machine data in the memory unit 28 (S207). On the other hand, if the machine data includes the position of a decimal point (YES in S206), the control unit 26 stores the machine data in the memory unit 28 as an integer excluding the decimal point (S208). At this time, the control unit 26 can confirm the position of the decimal point based on the storage method data stored in the memory unit 28.
以上のようにして、マスタ装置8では、スレーブ装置4との間で共有される格納方法データに基づいて、記憶部28に保持されている機械データを解析することができる。 In this way, the master device 8 can analyze the machine data stored in the memory unit 28 based on the storage method data shared with the slave device 4.
[5.効果]
従来の通信システムでは、マスタ装置とスレーブ装置との間でデータの格納方法が互いに異なるため、データのやり取りを適切に行うことができないという課題が生じる。例えば、スレーブ装置が機械データとして「abc」という文字を記憶部に格納した場合、マスタ装置では、スレーブ装置との間でエンディアンの種類が共有されていないため、スレーブ装置からの機械データを「cba」として記憶部に保持してしまうおそれが生じる。
5. Effects
In conventional communication systems, the master device and slave devices have different data storage methods, which makes it difficult to exchange data properly. For example, if a slave device stores the characters "abc" in its memory as machine data, the master device may store the machine data from the slave device as "cba" in its memory because the master device does not share the same endian type with the slave device.
これに対して、本実施の形態では、マスタ装置8とスレーブ装置4との間で、予め所定のデータ格納方法を示す格納方法データが共有される。これにより、例えばスレーブ装置4が機械データとして「abc」という文字を記憶部20に格納した場合、マスタ装置8では、スレーブ装置4との間でエンディアンの種類が共有されているので、スレーブ装置4からの機械データを「abc」として記憶部28に適切に保持することができる。その結果、マスタ装置8とスレーブ装置4との間で機械データのやり取りを適切に行うことができる。 In contrast, in this embodiment, storage method data indicating a predetermined data storage method is shared between the master device 8 and slave device 4. As a result, if, for example, slave device 4 stores the characters "abc" as machine data in memory unit 20, the master device 8 can appropriately store the machine data from slave device 4 as "abc" in memory unit 28 because the endian type is shared between master device 8 and slave device 4. As a result, machine data can be exchanged appropriately between master device 8 and slave device 4.
[6.変形例]
次に、図7を参照しながら、実施の形態の変形例に係るスレーブ装置4の動作について説明する。図7は、実施の形態の変形例に係るスレーブ装置4の動作の流れを示すフローチャートである。なお、図7のフローチャートにおいて、図5のフローチャートのステップと同一のステップには同一のステップ番号を付して、その説明を省略する。
6. Modifications
Next, the operation of the slave device 4 according to the modified embodiment will be described with reference to Fig. 7. Fig. 7 is a flowchart showing the flow of the operation of the slave device 4 according to the modified embodiment. Note that in the flowchart of Fig. 7, the same steps as those in the flowchart of Fig. 5 are assigned the same step numbers, and their description will be omitted.
本変形例では、マスタ装置8及びスレーブ装置4のうちマスタ装置8のみが、格納方法データを予め取得しているものとする。通信部22が、マスタ装置8からの格納方法データを受信した場合には(S301でYES)、制御部18は、受信された格納方法データを記憶部20に格納する。なお、通信部22が、マスタ装置8からの格納方法データを受信しない場合には(S301でNO)、ステップS301に戻る。 In this modified example, it is assumed that, of the master device 8 and the slave device 4, only the master device 8 has acquired storage method data in advance. If the communication unit 22 receives storage method data from the master device 8 (YES in S301), the control unit 18 stores the received storage method data in the memory unit 20. Note that, if the communication unit 22 does not receive storage method data from the master device 8 (NO in S301), the process returns to step S301.
ステップS301の後、上述した図5に示すフローチャートと同様に、ステップS101~S109が実行される。 After step S301, steps S101 to S109 are executed, similar to the flowchart shown in Figure 5 above.
したがって、本変形例では、マスタ装置8及びスレーブ装置4のうちマスタ装置8のみが格納方法データを予め取得している場合であっても、マスタ装置8がスレーブ装置4に格納方法データを送信することにより、マスタ装置8とスレーブ装置4との間で格納方法データを共有することができる。この場合、スレーブ装置4の通信部22は、機械データを記憶部20に格納する前に、格納方法データをマスタ装置8から受信する。 Therefore, in this modified example, even if only the master device 8 of the master device 8 and the slave device 4 has acquired the storage method data in advance, the master device 8 can transmit the storage method data to the slave device 4, thereby allowing the storage method data to be shared between the master device 8 and the slave device 4. In this case, the communication unit 22 of the slave device 4 receives the storage method data from the master device 8 before storing the machine data in the memory unit 20.
本変形例では、例えば、通信システム2に新たにスレーブ装置4を追加(導入)する場合には、スレーブ装置4はマスタ装置8から格納方法データを取得することができるため、管理者は新たに追加するスレーブ装置4に格納方法データを記憶させる必要がなく、管理者の利便性が向上する。 In this modified example, for example, when a new slave device 4 is added (introduced) to the communication system 2, the slave device 4 can obtain storage method data from the master device 8, eliminating the need for the administrator to store storage method data in the newly added slave device 4, improving convenience for the administrator.
(他の変形例等)
以上、本発明のスレーブ装置について、上記実施の形態に基づいて説明したが、本発明は、上記実施の形態に限定されるものではない。上記実施の形態に対して当業者が思い付く変形を施して得られる形態、及び、上記実施の形態における構成要素を任意に組み合わせて実現される別の形態も本発明に含まれる。
(Other variations, etc.)
Although the slave device of the present invention has been described above based on the above embodiment, the present invention is not limited to the above embodiment. The present invention also includes modifications that can be made to the above embodiment by those skilled in the art, and other modifications that can be realized by arbitrarily combining the components of the above embodiment.
上記実施の形態では、マスタ・スレーブ方式の通信プロトコルをModbus TCPとしたが、これに限定されず、他の任意のマスタ・スレーブ方式の通信プロトコルとしてもよい。 In the above embodiment, the master-slave communication protocol was Modbus TCP, but this is not limited to this and any other master-slave communication protocol may be used.
上記実施の形態では、所定のデータ格納方法が、機械データの、(i)小数点の位置、(ii)最大文字数、及び、(iii)エンディアンの種類のうち少なくとも1つを含むとしたが、これに限定されず、他の任意のデータ格納方法を含むとしてもよい。 In the above embodiment, the specified data storage method includes at least one of the following: (i) decimal point position, (ii) maximum number of characters, and (iii) endian type of machine data. However, this is not limited to this and may include any other data storage method.
なお、上記実施の形態において、各構成要素は、専用のハードウェアで構成されるか、各構成要素に適したソフトウェアプログラムを実行することによって実現されてもよい。各構成要素は、CPU又はプロセッサ等のプログラム実行部が、ハードディスク又は半導体メモリ等の記録媒体に記録されたソフトウェアプログラムを読み出して実行することによって実現されてもよい。 In the above embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program appropriate for that component. Each component may also be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.
本発明は、例えばマスタ・スレーブ方式の通信プロトコルに従って、機械及びマスタ装置の各々と通信するスレーブ装置等に適用することができる。 The present invention can be applied to, for example, a slave device that communicates with a machine and a master device according to a master-slave communication protocol.
2 通信システム
4 スレーブ装置
6 機械
8 マスタ装置
10 通信線
12 ネットワーク
14 ユーザ
16 取得部
18,26 制御部
20,28 記憶部
22,24 通信部
2 Communication system 4 Slave device 6 Machine 8 Master device 10 Communication line 12 Network 14 User 16 Acquisition unit 18, 26 Control unit 20, 28 Storage unit 22, 24 Communication unit
Claims (6)
前記機械に関する第1のデータを前記機械から取得する取得部と、
前記マスタ装置と前記スレーブ装置との間で共通に設定される所定のデータ格納方法を示す第2のデータに基づいて、前記取得部により取得された前記第1のデータを記憶部に格納する制御部と、
前記マスタ装置からの要求に応じて、前記記憶部に格納された前記第1のデータを前記マスタ装置に送信する通信部と、を備え、
前記マスタ装置及び前記スレーブ装置のうち前記スレーブ装置が前記第2のデータを予め取得しており、且つ、前記マスタ装置が前記第2のデータを予め取得していない場合、前記通信部は、前記第1のデータの送信前に、前記第2のデータを前記マスタ装置に送信し、
前記マスタ装置及び前記スレーブ装置のうち前記マスタ装置が前記第2のデータを予め取得しており、且つ、前記スレーブ装置が前記第2のデータを予め取得していない場合、前記通信部は、前記制御部が前記第1のデータを前記記憶部に格納する前に、前記第2のデータを前記マスタ装置から受信する
スレーブ装置。 A slave device that communicates with each of a master device and a machine according to a master-slave communication protocol,
an acquisition unit that acquires first data related to the machine from the machine;
a control unit that stores the first data acquired by the acquisition unit in a storage unit based on second data indicating a predetermined data storage method that is set in common between the master device and the slave device;
a communication unit that transmits the first data stored in the storage unit to the master device in response to a request from the master device ,
when the slave device of the master device and the slave device has previously acquired the second data and the master device has not previously acquired the second data, the communication unit transmits the second data to the master device before transmitting the first data;
When the master device of the master device and the slave device has previously acquired the second data and the slave device has not previously acquired the second data, the communication unit receives the second data from the master device before the control unit stores the first data in the storage unit.
Slave device.
請求項1に記載のスレーブ装置。 The slave device according to claim 1 , wherein the predetermined data storage method includes at least one of (i) a decimal point position, (ii) a maximum number of characters, and (iii) an endian type of the first data.
請求項1又は2に記載のスレーブ装置。 The slave device according to claim 1 or 2 , wherein the communication protocol is Modbus (registered trademark) TCP.
前記スレーブ装置は、
前記機械に関する第1のデータを前記機械から取得する取得部と、
前記マスタ装置と前記スレーブ装置との間で共通に設定される所定のデータ格納方法を示す第2のデータに基づいて、前記取得部により取得された前記第1のデータを第1の記憶部に格納する第1の制御部と、
前記マスタ装置からの要求に応じて、前記第1の記憶部に格納された前記第1のデータを前記マスタ装置に送信する第1の通信部と、を有し、
前記マスタ装置は、
前記スレーブ装置からの前記第1のデータを受信する第2の通信部と、
前記所定のデータ格納方法に基づいて、前記第2の通信部により受信された前記第1のデータを第2の記憶部に保持する第2の制御部と、を有し、
前記マスタ装置及び前記スレーブ装置のうち前記スレーブ装置が前記第2のデータを予め取得しており、且つ、前記マスタ装置が前記第2のデータを予め取得していない場合、前記第1の通信部は、前記第1のデータの送信前に、前記第2のデータを前記マスタ装置に送信し、
前記マスタ装置及び前記スレーブ装置のうち前記マスタ装置が前記第2のデータを予め取得しており、且つ、前記スレーブ装置が前記第2のデータを予め取得していない場合、前記第1の通信部は、前記第1の制御部が前記第1のデータを前記第1の記憶部に格納する前に、前記第2のデータを前記マスタ装置から受信する
通信システム。 A communication system comprising a master device, a machine, and a slave device that communicates with the master device and the machine according to a master-slave communication protocol,
The slave device
an acquisition unit that acquires first data related to the machine from the machine;
a first control unit that stores the first data acquired by the acquisition unit in a first storage unit based on second data indicating a predetermined data storage method that is set in common between the master device and the slave device;
a first communication unit that transmits the first data stored in the first storage unit to the master device in response to a request from the master device;
The master device
a second communication unit that receives the first data from the slave device;
a second control unit that stores the first data received by the second communication unit in a second storage unit based on the predetermined data storage method ,
when the slave device of the master device and the slave device has previously acquired the second data and the master device has not previously acquired the second data, the first communication unit transmits the second data to the master device before transmitting the first data;
When the master device of the master device and the slave device has previously acquired the second data and the slave device has not previously acquired the second data, the first communication unit receives the second data from the master device before the first control unit stores the first data in the first storage unit.
Communication system.
(a)前記機械に関する第1のデータを前記機械から取得するステップと、
(b)前記マスタ装置と前記スレーブ装置との間で共通に設定される所定のデータ格納方法を示す第2のデータに基づいて、前記(a)で取得された前記第1のデータを記憶部に格納するステップと、
(c)前記マスタ装置からの要求に応じて、前記記憶部に格納された前記第1のデータを前記マスタ装置に送信するステップと、
(d)(i)前記マスタ装置及び前記スレーブ装置のうち前記スレーブ装置が前記第2のデータを予め取得しており、且つ、前記マスタ装置が前記第2のデータを予め取得していない場合、前記(c)で前記第1のデータを送信する前に、前記第2のデータを前記マスタ装置に送信し、(ii)前記マスタ装置及び前記スレーブ装置のうち前記マスタ装置が前記第2のデータを予め取得しており、且つ、前記スレーブ装置が前記第2のデータを予め取得していない場合、前記(b)で前記第1のデータを前記記憶部に格納する前に、前記第2のデータを前記マスタ装置から受信するステップと、を含む
スレーブ装置の制御方法。 A control method for a slave device that communicates with a master device and a machine according to a master-slave communication protocol, comprising:
(a) obtaining first data relating to the machine from the machine;
(b) storing the first data acquired in (a) in a storage unit based on second data indicating a predetermined data storage method commonly set between the master device and the slave device;
(c) transmitting the first data stored in the storage unit to the master device in response to a request from the master device;
(d) (i) if the slave device of the master device and the slave device has acquired the second data in advance and the master device has not acquired the second data in advance, transmitting the second data to the master device before transmitting the first data in (c); and (ii) if the master device of the master device and the slave device has acquired the second data in advance and the slave device has not acquired the second data in advance, receiving the second data from the master device before storing the first data in the memory unit in (b) .
プログラム。 A program that causes a computer to execute the slave device control method according to claim 5 .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021124571A JP7745241B2 (en) | 2021-07-29 | 2021-07-29 | Slave device, communication system, and control method and program for slave device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021124571A JP7745241B2 (en) | 2021-07-29 | 2021-07-29 | Slave device, communication system, and control method and program for slave device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023019658A JP2023019658A (en) | 2023-02-09 |
| JP7745241B2 true JP7745241B2 (en) | 2025-09-29 |
Family
ID=85160180
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021124571A Active JP7745241B2 (en) | 2021-07-29 | 2021-07-29 | Slave device, communication system, and control method and program for slave device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7745241B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000330760A (en) | 1999-05-17 | 2000-11-30 | Kyushu Nippon Denki Tsushin System Kk | Endian conversion method |
| JP2006338231A (en) | 2005-06-01 | 2006-12-14 | Renesas Technology Corp | Semiconductor device and data processing system |
| JP2017151599A (en) | 2016-02-23 | 2017-08-31 | アズビル株式会社 | Controller, and control method for the same |
| JP2019526085A (en) | 2016-05-25 | 2019-09-12 | ハネウェル・インターナショナル・インコーポレーテッドHoneywell International Inc. | System and method for data compatibility across heterogeneous machine architectures |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09160610A (en) * | 1995-12-08 | 1997-06-20 | Fuji Electric Co Ltd | Data collection method for abnormality analysis |
| JP2007199748A (en) * | 2004-02-18 | 2007-08-09 | Mitsubishi Electric Corp | Manufacturing system management support device and manufacturing system |
| JP2009134699A (en) * | 2007-10-31 | 2009-06-18 | Daikin Ind Ltd | Data collection device and data management system |
| JP6963818B2 (en) * | 2018-11-30 | 2021-11-10 | サイレックス・テクノロジー株式会社 | Relay device, control method, and program |
-
2021
- 2021-07-29 JP JP2021124571A patent/JP7745241B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000330760A (en) | 1999-05-17 | 2000-11-30 | Kyushu Nippon Denki Tsushin System Kk | Endian conversion method |
| JP2006338231A (en) | 2005-06-01 | 2006-12-14 | Renesas Technology Corp | Semiconductor device and data processing system |
| JP2017151599A (en) | 2016-02-23 | 2017-08-31 | アズビル株式会社 | Controller, and control method for the same |
| JP2019526085A (en) | 2016-05-25 | 2019-09-12 | ハネウェル・インターナショナル・インコーポレーテッドHoneywell International Inc. | System and method for data compatibility across heterogeneous machine architectures |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023019658A (en) | 2023-02-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6870568B2 (en) | Communication system, control device, setting device, setting method and program | |
| CN101351752B (en) | Method for monitoring installations by means of a field bus used in process automation technology | |
| CN110050237B (en) | Data collection device, data collection method, and recording medium | |
| JP6477555B2 (en) | RELAY DEVICE, RELAY DEVICE CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM | |
| CN106170738B (en) | Fieldbus module, machine control and method for parameterizing, in particular, safety-oriented fieldbus modules | |
| WO2019187115A1 (en) | Sensor management device, sensor management method, and program | |
| JP7745241B2 (en) | Slave device, communication system, and control method and program for slave device | |
| JP6177455B2 (en) | Management system | |
| JP6408277B2 (en) | Data collection device and industrial network system | |
| JP5792866B2 (en) | Profibus DP master device | |
| EP3229439A1 (en) | Secure gateway | |
| JP6963818B2 (en) | Relay device, control method, and program | |
| JP7629197B2 (en) | Relay device, method and program | |
| JP7663956B2 (en) | Slave device, method and program for controlling slave device | |
| JP7572726B2 (en) | Relay device, method and program for controlling relay device | |
| CN102483624A (en) | Providing operating data relating to a device using a diagnostic data server as a further field bus master | |
| JP6285473B2 (en) | Communication setting notification device | |
| JP6570462B2 (en) | Communication protocol converter | |
| CN106489262A (en) | Be conducive to method and the node communicating between the tool server in Work tool communication system and multiple tool controllers | |
| JP7634278B2 (en) | Slave device, method and program for controlling slave device | |
| CN112655175B (en) | Control device, support device, and communication system | |
| JP7010863B2 (en) | Controls, programs, and wireless communication equipment | |
| JP5879706B2 (en) | Control system, operation terminal and program | |
| JP7589557B2 (en) | Device, method and program | |
| EP3164983B1 (en) | Methods and systems for facilitating communication in a work tools network environment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231225 |
|
| A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20231225 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240408 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240416 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240614 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240820 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20241105 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250908 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7745241 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |