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

产品展示
联系我们

联系人:陈柳铭

手机:15579209656

电话:

Q Q:3136378118

邮箱:3136378118@qq.com

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

MVI46-BDW使用教程
MVI46-BDW使用教程
MVI46-BDW使用教程
MVI46-BDW使用教程
MVI46-BDW使用教程
MVI46-BDW使用教程

型号:MVI46-BDW

类别:PROSOFT

联系人:陈柳铭

手机:15579209656

电话:15579209656

Q Q:3136378118

邮箱:3136378118@qq.com

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


在线咨询


MVI46-BDW
读取输入寄存器3x(Modbus功能代码4)
与4x保持寄存器一样,3x输入寄存器用于读取模拟
16位寄存器值。您还可以使用这些寄存器来存储
浮点数据(第57页)。与4x寄存器不同,3x寄存器是只读的。
以下是读取节点的Modbus地址30021至30030的示例命令
1在Modbus网络上。
标签说明
启用=1模块将在每次通过
命令列表。
IntAddress=1010将从设备读取的数据放入模块的地址
模块内存的IntAddress 1010将复制到标签中
MCM公司。数据。READDATA[10]。
计数=10从从设备读取10个连续寄存器。
节点=1向网络上的节点1发出Modbus命令。
Func=4发出Modbus功能代码4以读取输入寄存器。
DevAddress=20功能代码4 20的DevAddress将读取地址30021
该命令与计数10一起读取30021到30030。
MVI46-BDW使用教程 MVI46-BDW使用教程 MVI46-BDW使用教程
Read Input Registers 3x (Modbus Function Code 4) Like the 4x holding registers, 3x input registers are used for reading analog values that are 16-bit register values. You can also use these registers to store floating-point data (page 57). Unlike the 4x registers, 3x registers are Read Only. Below is a sample command to read Modbus addresses 30021 to 30030 of node 1 on the Modbus network. Label Description Enable = 1 The module will send the command every time it goes through the command list. IntAddress = 1010 Places the data read from the Slave device into the module at address 1010. IntAddress 1010 of the module memory will be copied into the tag MCM.DATA.READDATA[10]. Count = 10 Reads 10 consecutive registers from the Slave device. Node = 1 Issues the Modbus command to node 1 on the network. Func = 4 Issues Modbus Function Code 4 to Read Input Registers. DevAddress =20 Function Code 4 DevAddress of 20 will read address 30021 Along with a count of 10, this command reads 30021 to 30030.



相关产品