PanasonicMewtocolOverTcpReadAsync 方法 (String, UInt16) |
读取指定地址的原始数据,地址示例:D0 F0 K0 T0 C0, 地址支持携带站号的访问方式,例如:s=2;D100
Read the original data of the specified address, address example: D0 F0 K0 T0 C0, the address supports carrying station number information, for example: s=2;D100
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.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
起始地址 - length
- 类型:SystemUInt16
长度
返回值
类型:
TaskOperateResultByte原始的字节数据的信息
实现
IReadWriteNetReadAsync(String, UInt16)参见