検索機能を使用して 500 を上回る Kepware の知識ベース記事の中から閲覧します。結果を絞り込むか、クエリーを下部の検索フィールドに入力します。

解決策が見つからなかった場合には、当社の PTC eSupport Portal で追加資料を確認することもできます。eSupport Portal へのログインを要求された場合、My Kepware の認証情報を使用できます。My Kepware アカウントが必要ですか? こちらで作成

各種検索方法:
View All Solutions

Kepware Knowledge Base: Solution


Modbus 5 Digit Addressing Versus 6 Digit Addressing


Last Update: 2018/11/12

Although Modbus tag addresses are specified in the device's manual as 0xxxx, 1xxxx, 3xxxx, or 4xxxx, they will be padded with an extra zero when applied to the Address field. For example, "40001" will become "400001". There is no difference between the two addresses, however. In a Modbus device, the same item can be represented by the following addresses:

  • 41
  • 401
  • 4001
  • 40001
  • 400001

Note: In Modbus addressing, the address's first digit specifies the primary table. The remaining digits represent the device's data item. The maximum number of data items is a two byte unsigned integer (65,535). Thus, six digits are required to represent the entire address table and item.

Primary TableDescription
0Output Coils
1Input Coils
3Internal Registers
4Holding Registers

The difference between the number of digits in the device documentation is due to the evolution of Modbus devices. Early devices generally only supported a maximum of 9999 data items for each address type, whereas newer devices can support a maximum of 65535 data items. For example, "400001" to "465535". Kepware's Modbus drivers support the data items' full range, and will pad any address to six digits in the KEPServerEX User Interface. This will not affect the actual address that is transmitted to the device.

Related Protocols
Modbus Ethernet Modbus Plus