LSCnetOverTcpReadAsync 方法 |
名称 | 说明 | |
---|---|---|
ReadAsyncT |
异步读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考api文档说明 (继承自 DeviceCommunication。)Asynchronously read the data content of the Hsl attribute. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details. | |
ReadAsync(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. | |
ReadAsync(String, UInt16) |
从PLC的指定地址读取原始的字节数据信息,地址示例:MB100, MW100, MD100, 如果输入了M100等同于MB100 (重写 DeviceCommunicationReadAsync(String, UInt16).)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 |