AllenBradleyNetReadByteAsync 方法 |
读取PLC的byte类型的数据
Read the byte type of PLC data
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte>> ReadByteAsync(
string address
)
Public Function ReadByteAsync (
address As String
) As Task(Of OperateResult(Of Byte))
public:
Task<OperateResult<unsigned char>^>^ ReadByteAsync(
String^ address
)
member ReadByteAsync :
address : string -> Task<OperateResult<byte>>
参数
- address
- 类型:SystemString
节点的名称 -> Name of the node
返回值
类型:
TaskOperateResultByte带有结果对象的结果数据 -> Result data with result info
参见