摘要:
1. 读DB ''' #copy snap7.dll & snap7.lib files to python root path first pip install snap7 ''' import snap7 import struct from snap7 import util # 创建通讯客 阅读全文
posted @ 2024-05-08 22:36
你要去码头整点薯条吗
阅读(852)
评论(1)
推荐(0)
摘要:
1. 安装 这是个基于S7协议的开源协议 2. 引用 using S7.Net; 3. 创建PLC对象 internal class s7net_lib { //idenfy basic link params private string plc_ip; private CpuType plc_t 阅读全文
posted @ 2024-05-08 21:26
你要去码头整点薯条吗
阅读(868)
评论(1)
推荐(2)
摘要:
1. 基于C#的数据交互 A. 用静态变量存储PLC的交互数据 UI和PLC变量如下: 新建static类 internal static class data_yamltest_exchange { public static byte byte_var; public static short 阅读全文
posted @ 2024-05-08 17:20
你要去码头整点薯条吗
阅读(696)
评论(59)
推荐(0)

浙公网安备 33010602011771号