摘要:
1. 读DB ''' #copy snap7.dll & snap7.lib files to python root path first pip install snap7 ''' import snap7 import struct from snap7 import util # 创建通讯客 阅读全文
摘要:
1. 安装 这是个基于S7协议的开源协议 2. 引用 using S7.Net; 3. 创建PLC对象 internal class s7net_lib { //idenfy basic link params private string plc_ip; private CpuType plc_t 阅读全文
摘要:
1. 基于C#的数据交互 A. 用静态变量存储PLC的交互数据 UI和PLC变量如下: 新建static类 internal static class data_yamltest_exchange { public static byte byte_var; public static short 阅读全文