diff --git a/CommonLibrary/UserSystem.cs b/CommonLibrary/UserSystem.cs index 33bf722..40e5f9e 100644 --- a/CommonLibrary/UserSystem.cs +++ b/CommonLibrary/UserSystem.cs @@ -43,7 +43,7 @@ namespace CommonLibrary **************************************************************************/ - SoftBasic.FrameworkVersion = new SystemVersion("1.6.18"); + SoftBasic.FrameworkVersion = new SystemVersion("1.6.19"); } diff --git a/Public/HslCommunication.dll b/Public/HslCommunication.dll index 0752021..cb49e14 100644 Binary files a/Public/HslCommunication.dll and b/Public/HslCommunication.dll differ diff --git a/Public/HslCommunication.xml b/Public/HslCommunication.xml index 4aae2ae..bb93b24 100644 --- a/Public/HslCommunication.xml +++ b/Public/HslCommunication.xml @@ -4753,6 +4753,59 @@ Q寄存器 + + + 西门子的PLC类型,目前支持的访问类型 + + + + + 1200系列 + + + + + 300系列 + + + + + 一个直接使用Tcp协议连接西门子PLC的类,只需要在plc侧配置IP即可,该类在西门子1200上经过测试,1500暂时不支持 + + + + + 实例化一个数据通信的对象,需要指定访问哪种Plc + + + + + + 解析数据地址 + + 数据地址 + 类型 + 其实地址 + DB块地址 + 结果数据对象 + + + + + 从PLC读取数据,地址格式为I100,Q100,DB20.100,M100,以字节为单位 + + 起始地址,格式为I100,M100,Q100,DB20.100 + 读取的数量,以字节为单位 + + + + + 将数据写入到PLC数据,地址格式为I100,Q100,DB20.100,M100,以字节为单位 + + 起始地址,格式为I100,M100,Q100,DB20.100 + 写入的数据,长度根据data的长度来指示 + + 一个强类型的资源类,用于查找本地化的字符串等。