点击或拖拽改变大小

S7AddressData 类

西门子的地址数据信息,主要包含数据代码,DB块,偏移地址(偏移地址对于不是CT类型而已,是位为单位的),当处于写入时,Length无效
Address data information of Siemens, mainly including data code, DB block, offset address, when writing, Length is invalid
继承层次
SystemObject
  HslCommunication.Core.AddressDeviceAddressDataBase
    HslCommunication.Core.AddressS7AddressData

命名空间:  HslCommunication.Core.Address
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class S7AddressData : DeviceAddressDataBase

S7AddressData 类型公开以下成员。

构造函数
  名称说明
公共方法S7AddressData
初始化 S7AddressData 类的一个新实例
Top
属性
  名称说明
公共属性AddressStart
数字的起始地址,也就是偏移地址
The starting address of the number, which is the offset address
(继承自 DeviceAddressDataBase。)
公共属性DataCode
获取或设置等待读取的数据的代码
Get or set the code of the data waiting to be read
公共属性DbBlock
获取或设置PLC的DB块数据信息
Get or set PLC DB data information
公共属性Length
读取的数据长度,单位是字节还是字取决于设备方
The length of the data read, the unit is byte or word depends on the device side
(继承自 DeviceAddressDataBase。)
Top
方法
  名称说明
公共方法静态成员CalculateAddressStarted
计算特殊的地址信息
Calculate Special Address information
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法Parse
从指定的地址信息解析成真正的设备地址信息
(重写 DeviceAddressDataBaseParse(String, UInt16).)
公共方法静态成员ParseFrom(String)
从实际的西门子的地址里面解析出地址对象
Resolve the address object from the actual Siemens address
公共方法静态成员ParseFrom(String, UInt16)
从实际的西门子的地址里面解析出地址对象
Resolve the address object from the actual Siemens address
公共方法ToString (重写 DeviceAddressDataBaseToString.)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见