SiemensPPIOverTcpReadByteAsync 方法 |
从西门子的PLC中读取byte数据信息,地址为"M100","AI100","I0","Q0","V100","S100"等,详细请参照API文档
Read byte data information from Siemens PLC. The addresses are "M100", "AI100", "I0", "Q0", "V100", "S100", etc. Please refer to the API documentation for details.
命名空间:
HslCommunication.Profinet.Siemens
程序集:
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
西门子的地址数据信息
返回值
类型:
TaskOperateResultByte带返回结果的结果对象
参见