点击或拖拽改变大小

SiemensS7NetReadByteAsync 方法

读取指定地址的byte数据,地址格式I100,M100,Q100,DB20.100
Reads the byte data of the specified address, the address format I100,Q100,DB20.100,M100

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public Task<OperateResult<byte>> ReadByteAsync(
	string address
)

参数

address
类型:SystemString
起始地址,格式为I100,M100,Q100,DB20.100 -> Starting address, formatted as I100,M100,Q100,DB20.100

返回值

类型:TaskOperateResultByte
是否读取成功的结果对象 -> Whether to read the successful result object
示例
参考Read(String, UInt16)的注释
参见