MelsecMcNetReadSmartModuleAsync 方法 |
[商业授权] 读取智能模块的数据信息,需要指定模块地址,偏移地址,读取的字节长度
[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[]>> ReadSmartModuleAsync(
ushort module,
string address,
ushort length
)
Public Function ReadSmartModuleAsync (
module As UShort,
address As String,
length As UShort
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadSmartModuleAsync(
unsigned short module,
String^ address,
unsigned short length
)
member ReadSmartModuleAsync :
module : uint16 *
address : string *
length : uint16 -> Task<OperateResult<byte[]>>
参数
- module
- 类型:SystemUInt16
模块地址 - address
- 类型:SystemString
地址 - length
- 类型:SystemUInt16
数据长度
返回值
类型:
TaskOperateResultByte返回结果
参见