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

产品展示
联系我们

联系人:陈柳铭

手机:15579209656

电话:

Q Q:3136378118

邮箱:3136378118@qq.com

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

增强型智能通信模件(EICM)非隔离型 4108
增强型智能通信模件(EICM)非隔离型 4108
增强型智能通信模件(EICM)非隔离型 4108
增强型智能通信模件(EICM)非隔离型 4108
增强型智能通信模件(EICM)非隔离型 4108
增强型智能通信模件(EICM)非隔离型 4108

型号:4108

类别:PROSOFT

联系人:陈柳铭

手机:15579209656

电话:15579209656

Q Q:3136378118

邮箱:3136378118@qq.com

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


在线咨询


4108
读取输入状态1x(Modbus功能代码2)
使用此命令从从属设备读取输入线圈。这些是单位的
Modbus从设备内的地址。与线圈0xxx不同,输入线圈
只读值,Modbus主设备无法写入。也喜欢
线圈0xxx,此命令的IntAddress字段定义到位
模块内存中的电平。
以下是读取节点Modbus地址10081至10090的示例命令
1在Modbus网络上。
标签说明
启用=1模块将在每次通过
命令列表。
IntAddress=16480将从从设备读取的数据放入模块的地址
16480。模块内存的IntAddress 16480将复制到
标记MCM。数据。READDATA[30](位16480/16=寄存器1030)。
计数=16从从设备读取16个连续寄存器。
节点=1向网络上的节点1发出Modbus命令。
Func=2发出Modbus功能代码2以读取输入线圈。
DevAddress=80功能代码2,80的DevAddress将读取地址10081
该命令与计数16一起读取10081到10096。
增强型智能通信模件(EICM)非隔离型 4108 增强型智能通信模件(EICM)非隔离型 4108 增强型智能通信模件(EICM)非隔离型 4108
Read Input Status 1x (Modbus Function Code 2) Use this command to read Input Coils from a Slave device. These are single bit addresses within a Modbus Slave device. Unlike Coils 0xxx, the Input Coils are Read Only values and cannot be written to by a Modbus Master device. Also like the Coils 0xxx, the IntAddress field of this command is defined down to the bit level within the module memory. Below is a sample command to read Modbus addresses 10081 to 10090 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 = 16480 Places the data read from the Slave device into the module at address 16480. IntAddress 16480 of the module memory will be copied into the tag MCM.DATA.READDATA[30] (bit16480 / 16 = register 1030). Count = 16 Reads 16 consecutive registers from the Slave device. Node = 1 Issues the Modbus command to node 1 on the network. Func = 2 Issues Modbus Function Code 2 to Read Input Coils. DevAddress = 80 Function Code 2, DevAddress of 80 will read address 10081 Along with a count of 16, this command reads 10081 to 10096.



相关产品