[商业授权] 读取缓冲寄存器的数据信息,地址直接为偏移地址
[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 OperateResult<byte[]> ReadMemory(
string address,
ushort length
)
Public Function ReadMemory (
address As String,
length As UShort
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadMemory(
String^ address,
unsigned short length
)
member ReadMemory :
address : string *
length : uint16 -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
偏移地址 - length
- 类型:SystemUInt16
读取长度
返回值
类型:
OperateResultByte读取的内容
备注
本指令不可以访问下述缓冲存储器:
1. 本站(SLMP对应设备)上安装的智能功能模块
2. 其它站缓冲存储器
参见