欢迎来到瑞昌明盛自动化设备有限公司官网!

产品展示
联系我们

联系人:陈柳铭

手机:15579209656

电话:

Q Q:3136378118

邮箱:3136378118@qq.com

地址:江西省九江市瑞昌市东益路23号赛湖农商城401号

MVI71-DNP使用手册
MVI71-DNP使用手册
MVI71-DNP使用手册
MVI71-DNP使用手册
MVI71-DNP使用手册
MVI71-DNP使用手册

型号:MVI71-DNP

类别:PROSOFT

联系人:陈柳铭

手机:15579209656

电话:15579209656

Q Q:3136378118

邮箱:3136378118@qq.com

地址:江西省九江市瑞昌市东益路23号赛湖农商城401号


在线咨询


MVI71-DNP
虽然上述信息可以处理大多数设备,但有些设备
制造商以不同的方式显示其Modbus地址。
常见的两种方案是六位数寻址(400101、301000、,
一些设备已将其地址显示为偏移地址(如
Modbus通信线路上实际输出的地址)。这是一个
实例
实际值(输入寄存器)地址:0200到0E1F
状态0200开关输入状态
0201 LED状态标志
0202 LED属性标志
0203输出继电器状态标志
如果您的设备制造商给您这样的地址,“输入寄存器”,那么
您将使用功能代码4,然后在
DevAddress字段。此外,大多数显示这种寻址方式的制造商将
以十六进制列出地址,如上所示的设备就是这样。所以对于这个
示例设备,使用Func=4(输入寄存器),DevAddress为512
十进制(200h)读取“开关输入状态”值。
为什么我的奴隶显示400001或301345这样的地址?
对于6位寻址,使用与相同的功能代码和配置
如上所述,只更改了起始地址。
下面是一个有助于您的DevAddress配置的定义:
功能代码1、5或15 DevAddress=设备中的Modbus地址-0001
示例:Modbus地址0001=DevaAddress 0
 Modbus地址1378=DevaAddress 1377
功能代码2 DevaAddress=设备中的Modbus地址-100001
示例:Modbus地址100001=DevaAddress 0
 Modbus地址100345=DevaAddress 344
功能代码3、6或16 DevAddress=设备中的Modbus地址-400001
示例:Modbus地址400001=DevaAddress 0
 Modbus地址400591=DevaAddress 590
功能代码4 DevaAddress=设备中的Modbus地址-300001
示例:Modbus地址300001=DevaAddress 0
 Modbus地址304290=DevaAddress 4289
例如,上面列出的设备可以如下所示显示其地址。
要读取相同的参数“Switch\u Input\u Status”,您仍然需要发出
函数代码4,并使用512十进制的DevAddress。

MVI71-DNP使用手册 MVI71-DNP使用手册 MVI71-DNP使用手册
While the above information will handle most devices, some device manufacturers show their Modbus addressing differently. The two most common schemes are six-digit addressing (400101, 301000, etc…) and some devices show their addressing already as an offset address (the address that actually goes out on the Modbus communication line). This is an example. Actual Values (Input Registers) Addresses: 0200 to 0E1F STATUS 0200 Switch Input Status 0201 LED Status Flags 0202 LED Attribute Flags 0203 Output Relay Status Flags If your device manufacturer gives you addressing like this, "Input Registers" then you will use Function Code 4, and then place the address shown in the DevAddress field. Also, most manufacturers that show this type of addressing will list the address in hex, as is the case with the device shown above. So for this example device, use Func = 4 (Input Registers) with a DevAddress of 512 decimal (200h) to read the "Switch Input Status" value. Why does my Slave show addressing such as 400,001 or 301,345? For the 6 digit addressing, use the same function codes and configuration as configured above, just the starting address has changed. Below is a definition that will help with your DevAddress configuration: Function Codes 1, 5, or 15 DevAddress = Modbus address in device - 0001  Example: Modbus address 0001 = DevAddress 0  Modbus address 1378 = DevAddress 1377 Function Code 2 DevAddress = Modbus address in device - 100001  Example: Modbus address 100001 = DevAddress 0  Modbus address 100345 = DevAddress 344 Function Codes 3, 6, or 16 DevAddress = Modbus address in device - 400001  Example: Modbus address 400001 = DevAddress 0  Modbus address 400591 = DevAddress 590 Function Code 4 DevAddress = Modbus address in device - 300001  Example: Modbus address 300001 = DevAddress 0  Modbus address 304290 = DevAddress 4289 For example, our device listed above could show their addressing as follows. To read the same parameter "Switch_Input_Status", you would still issue a Function Code 4, and use a DevAddress of 512 decimal.



相关产品