点击或拖拽改变大小

MelsecMcNetReadMemory 方法

[商业授权] 读取缓冲寄存器的数据信息,地址直接为偏移地址
[Authorization] Read the data information of the buffer register, the address is directly the offset address

命名空间:  HslCommunication.Profinet.Melsec
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public OperateResult<byte[]> ReadMemory(
	string address,
	ushort length
)

参数

address
类型:SystemString
偏移地址
length
类型:SystemUInt16
读取长度

返回值

类型:OperateResultByte
读取的内容
备注
本指令不可以访问下述缓冲存储器:
1. 本站(SLMP对应设备)上安装的智能功能模块
2. 其它站缓冲存储器
参见