SiemensFetchWriteNetReadByte 方法 |
读取指定地址的byte数据
Reads the byte data for the specified address
命名空间:
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
起始地址,格式为M100,I100,Q100,DB1.100 -> Starting address, formatted as M100,I100,Q100,DB1.100
返回值
类型:
OperateResultBytebyte类型的结果对象 -> Result object of type Byte
备注 警告: |
---|
不适用于DB块,定时器,计数器的数据读取,会提示相应的错误,读取长度必须为偶数
|
参见