当前位置:网站首页>C use s7 Net connected to Siemens s1200plc, C # directly connected to Siemens PLC

C use s7 Net connected to Siemens s1200plc, C # directly connected to Siemens PLC

2022-06-10 22:10:00 m0_ sixty million seven hundred and twenty-one thousand five hu

Distance from the last C# Use KepService It has been connected for a long time , This time S7.net Update of . Thank you ( Li , ROM. , ren .)

Enclosed github link :https://github.com/S7NetPlus/s7netplus/wiki

First step , First, Siemens PLC The terminal configuration is good , Here's the picture . This is very important , The following codes will be based on this , That means you want to C# Read and write PLC Some of them should be planned well .

This is DB1 The block .

This is DB3 The block .

If you don't understand the above steps, please learn by yourself PLC Related knowledge .

Two 、 add to S7.NET quote .

原网站

版权声明
本文为[m0_ sixty million seven hundred and twenty-one thousand five hu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206102050231552.html