点击或拖拽改变大小

SiemensWebApiReadAsync 方法

重载列表
  名称说明
公共方法代码示例ReadAsyncT
异步读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考api文档说明
Asynchronously read the data content of the Hsl attribute. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details.
(继承自 DeviceCommunication。)
公共方法ReadAsync(String)
[商业授权] 从PLC读取多个地址的数据信息,每个地址的数据类型可以不一致,需要自动从JToken中提取出正确的数据
[Authorization] Read the data information of multiple addresses from the PLC, the data type of each address can be inconsistent, you need to automatically extract the correct data from JToken
公共方法ReadAsync(String, UInt16)
从PLC中根据输入的数据标签名称,读取出原始的字节数组信息,长度参数无效,需要二次解析
According to the input data tag name, read the original byte array information from the PLC, the length parameter is invalid, and a second analysis is required
(重写 DeviceCommunicationReadAsync(String, UInt16).)
Top
参见