点击或拖拽改变大小

LSCnetOverTcp.Read 方法

重载列表
  名称说明
公共方法代码示例Read<T>()
读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考api文档说明,或是官网的详细文档
Read the data content of the Hsl attribute. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details.
(继承自 DeviceCommunication。)
公共方法Read(String[])
从PLC设备读取多个地址的数据信息,返回连续的字节数组,需要按照实际情况进行按顺序解析。
Read the data information of multiple addresses from the PLC device and return a continuous byte array, which needs to be parsed in order according to the actual situation.
公共方法Read(String, UInt16)
从PLC的指定地址读取原始的字节数据信息,地址示例:MB100, MW100, MD100, 如果输入了M100等同于MB100
Read the original byte data information from the designated address of the PLC. Examples of addresses: MB100, MW100, MD100, if the input M100 is equivalent to MB100
(重写 DeviceCommunication.Read(String, UInt16).)
Top
参见