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

S400 插槽号问题 #9

Closed taohuaguo closed 3 years ago

taohuaguo commented 3 years ago

image image 大神早上好,今天遇到一个问题,连接时IOTClient Tool提示连接被断开。用另外一款测试工具试了一下,里面可以修改插槽号,把插槽号改成2就正常连接了。咱们这个可以配置插槽号吗?

taohuaguo commented 3 years ago

image 补充连接失败的图

zhaopeiym commented 3 years ago

菜单栏上的 “检查更新” 更新下版本试试看

taohuaguo commented 3 years ago

更新后工具可以了,程序里怎么用呢,需要引用最新IOTClient.dll吗

zhaopeiym commented 3 years ago

对的

最新IOTClient.dll,通过nuget更新即可。 SiemensClient client = new SiemensClient(SiemensVersion.S7_400, "127.0.0.1",102,插槽号);

稍后,源码也会更新到github。

taohuaguo commented 3 years ago

好的,非常感谢!