点击或拖拽改变大小

DeltaDvpHelper 类

台达PLC的相关的帮助类,公共的地址解析的方法。
Delta PLC related help classes, public address resolution methods.
继承层次
SystemObject
  HslCommunication.Profinet.Delta.HelperDeltaDvpHelper

命名空间:  HslCommunication.Profinet.Delta.Helper
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.3.1.0 (12.3.1.0)
语法
public class DeltaDvpHelper

DeltaDvpHelper 类型公开以下成员。

构造函数
  名称说明
公共方法DeltaDvpHelper
初始化 DeltaDvpHelper 类的一个新实例
Top
方法
  名称说明
公共方法Equals
Determines whether the specified object is equal to the current object.
(继承自 Object。)
受保护的方法Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
公共方法GetHashCode
Serves as the default hash function.
(继承自 Object。)
公共方法GetType
Gets the Type of the current instance.
(继承自 Object。)
受保护的方法MemberwiseClone
Creates a shallow copy of the current Object.
(继承自 Object。)
公共方法静态成员ParseDeltaDvpAddress
根据台达PLC的地址,解析出转换后的modbus协议信息,适用DVP系列,当前的地址仍然支持站号指定,例如s=2;D100
According to the address of Delta PLC, the converted modbus protocol information is parsed out, applicable to DVP series, the current address still supports station number designation, such as s=2;D100
公共方法静态成员Read
读取台达PLC的原始字节变量,重写了读D地址时,跨区域读4096地址时,将会分割多次读取
公共方法静态成员ReadAsync
读取台达PLC的原始字节变量,重写了读D地址时,跨区域读4096地址时,将会分割多次读取
公共方法静态成员ReadBool
读取台达PLC的bool变量,重写了读M地址时,跨区域读1536地址时,将会分割多次读取
公共方法静态成员ReadBoolAsync
读取台达PLC的bool变量,重写了读M地址时,跨区域读1536地址时,将会分割多次读取
公共方法ToString
Returns a string that represents the current object.
(继承自 Object。)
公共方法静态成员Write(FuncString, Boolean, OperateResult, String, Boolean)
写入台达PLC的bool数据,当发现是M类型的数据,并且地址出现跨1536时,进行切割写入操作
公共方法静态成员Write(FuncString, Byte, OperateResult, String, Byte)
写入台达PLC的原始字节数据,当发现是D类型的数据,并且地址出现跨4096时,进行切割写入操作
公共方法静态成员WriteAsync(FuncString, Boolean, TaskOperateResult, String, Boolean)
写入台达PLC的bool数据,当发现是M类型的数据,并且地址出现跨1536时,进行切割写入操作
公共方法静态成员WriteAsync(FuncString, Byte, TaskOperateResult, String, Byte)
写入台达PLC的原始字节数据,当发现是D类型的数据,并且地址出现跨4096时,进行切割写入操作
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见