--- title: "Modbusデバイスの設定方法 " slug: "how-to-setup-banner-modbus-devices-1" updated: 2025-01-08T14:05:31Z published: 2025-01-08T14:05:31Z canonical: "support.tulip.co/how-to-setup-banner-modbus-devices-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # Modbusデバイスの設定方法 *Node-REDでModbusデバイスをセットアップする方法を学ぶ* この記事では、異なるタイプのModbusノードを編集するワークフローについて説明します。 手順は[PICK-IQ Node-REDのフロー](https://flows.nodered.org/flow/fdf99cabf52814efb4d8494e45909b30/in/PPNSZnrHd_xa)例を編集します。 Update your Edge Device Ensure your Edge Device is fully updated in order to prevent softlocking. If you run into issues connecting Modbus devices, restart Node-RED on your Edge Device. ## Modbusサーバーの編集 1. Data Read Modbus ノード![Screenshot 2024-01-03 124501.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-01-03%20124501.png){height="" width=""} をダブルクリックします。 2. Edit Modbus Server ボタン![ModbusServer.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/ModbusServer.png){height="" width=""} を選択します。 3. Modbus サーバー設定![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28366%29.png){height="" width=""} 必要な概要は以下の通りです。 必要な設定の概要は以下を参照してください:**シリアル**ポート: /dev/ttyS2*(EdgeIOのRS-485ポートの位置です)****シリアルタイプ:**RTU-BUFFERDRTU-BUFFERD 以下のCOM設定は、お使いのBannerデバイスと一致している必要があります。バナーデバイスでの変更方法については、[バナー技術リファレンス](/r230/docs/connecting-banner-devices-with-edge-io-and-node-red)シートを参照してください。以下はBannerデバイスのデフォルト値です:19200***データビット**8***ストップビット:**1***パリティ:**なし 1. 更新ボタン![UpdateBtn.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/UpdateBtn.png){height="" width=""} を選択します。 ## ユニットIDの変更 ![UnitID.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/UnitID.png){Unit-ID を変更します。} 各機器にはUnit-ID(初期値:1)が設定されており、特定の機器のアドレスを設定することができます。複数のデバイスが同じUnit-IDで接続されている場合、すべてのデバイスは特定のUnit-IDを参照するModbusノードによって制御されます。1.最初のデバイスを接続します。2.Unit-IDをDefault: 1から新しい値(例: 2)に変更します。 Modbusノードは一度に1つのUnit-IDしかアドレスできないため、複数のデバイスを個別に制御するには複数のModbusノードを使用する必要があります。 ## レジスタ・アドレスの変更 ![RegisterAddress.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/RegisterAddress.png){レジスタ・アドレスの変更} レジスタアドレスはハイライトされたテキストボックスで変更できます。一般的なレジスタ・アドレスはこちらの記事を参照してください。 ### Modbus ライト・ノード Modbus ライト・ノードを編集する場合も同じ手順に従います。唯一の違いは FC が*FC 3: Read Holding Register* の代わりに*FC 6: Preset Single Register* に変更されることです。![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28367%29.png){height="" width=""}.