FujiCommandSettingTypeReadAsync 方法 (String, UInt16) |
从PLC读取原始的字节报文数据
命名空间:
HslCommunication.Profinet.Fuji
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法 public override Task<OperateResult<byte[]>> ReadAsync(
string address,
ushort length
)
Public Overrides Function ReadAsync (
address As String,
length As UShort
) As Task(Of OperateResult(Of Byte()))
public:
virtual Task<OperateResult<array<unsigned char>^>^>^ ReadAsync(
String^ address,
unsigned short length
) override
abstract ReadAsync :
address : string *
length : uint16 -> Task<OperateResult<byte[]>>
override ReadAsync :
address : string *
length : uint16 -> Task<OperateResult<byte[]>>
参数
- address
- 类型:SystemString
PLC地址信息 - length
- 类型:SystemUInt16
长度信息
返回值
类型:
TaskOperateResultByte结果报文数据
实现
IReadWriteNetReadAsync(String, UInt16)参见