MelsecMcNetReadExtendAsync 方法 |
[商业授权] 读取扩展的数据信息,需要在原有的地址,长度信息之外,输入扩展值信息
[Authorization] To read the extended data information, you need to enter the extended value information in addition to the original address and length information
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadExtendAsync(
ushort extend,
string address,
ushort length
)
Public Function ReadExtendAsync (
extend As UShort,
address As String,
length As UShort
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadExtendAsync(
unsigned short extend,
String^ address,
unsigned short length
)
member ReadExtendAsync :
extend : uint16 *
address : string *
length : uint16 -> Task<OperateResult<byte[]>>
参数
- extend
- 类型:SystemUInt16
扩展信息 - address
- 类型:SystemString
地址 - length
- 类型:SystemUInt16
数据长度
返回值
类型:
TaskOperateResultByte返回结果
参见