MelsecMcNetReadMemoryAsync 方法 |
[商业授权] 读取缓冲寄存器的数据信息,地址直接为偏移地址
[Authorization] Read the data information of the buffer register, the address is directly the offset address
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadMemoryAsync(
string address,
ushort length
)
Public Function ReadMemoryAsync (
address As String,
length As UShort
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadMemoryAsync(
String^ address,
unsigned short length
)
member ReadMemoryAsync :
address : string *
length : uint16 -> Task<OperateResult<byte[]>>
参数
- address
- 类型:SystemString
偏移地址 - length
- 类型:SystemUInt16
读取长度
返回值
类型:
TaskOperateResultByte读取的内容
备注
本指令不可以访问下述缓冲存储器:
1. 本站(SLMP对应设备)上安装的智能功能模块
2. 其它站缓冲存储器
参见