zhaopeiym / IoTClient

This is an IoT device communication protocol implementation client, which will include common industrial communication protocols such as mainstream PLC communication reading, ModBus protocol, and Bacnet protocol. This component is open source and free for life, using the most relaxed MIT open source agreement, you can modify and commercial use at will (commercial use please evaluate and test). 这是一个物联网设备通讯协议实现客户端,将会包括主流PLC通信读取、ModBus协议、Bacnet协议等常用工业通讯协议。本组件终身开源免费,采用最宽松的MIT开源协议,您可以随意修改和商业使用(商业使用请做好评估和测试)。
MIT License
1.27k stars 408 forks source link

西门子S7_1200 批量读取异常问题 #11

Closed taohuaguo closed 3 years ago

taohuaguo commented 3 years ago

image image image image 大神,西门子S7_1200 批量读取时,批量读取数量设置为2时正常,超过3,比如设置4,12,15就不正常了,15的时候很多数字变成了科学计数法形式

taohuaguo commented 3 years ago

补充:单独读取client.ReadUInt32("地址")是正常的

zhaopeiym commented 3 years ago

今天有点忙,明天看。

taohuaguo commented 3 years ago

好的

taohuaguo commented 3 years ago

已经解决了,厂家给的点位有问题:有一部分点位实际上不存在,导致批量读取时发生异常。感谢作者百忙之中还抽空帮忙远程调试,谢谢^-^。