读取指定地址的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 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<byte> ReadByte(
string address
)
Public Function ReadByte (
address As String
) As OperateResult(Of Byte)
public:
OperateResult<unsigned char>^ ReadByte(
String^ address
)
member ReadByte :
address : string -> OperateResult<byte>
参数
- address
- 类型:SystemString
起始地址,格式为I100,M100,Q100,DB20.100 ->
Starting address, formatted as I100,M100,Q100,DB20.100
返回值
类型:
OperateResultByte是否读取成功的结果对象 -> Whether to read the successful result object
示例 参见