McBinaryHelperBuildReadMemoryCommand 方法 |
读取本站缓冲寄存器的数据信息,需要指定寄存器的地址,和读取的长度
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildReadMemoryCommand(
string address,
ushort length
)
Public Shared Function BuildReadMemoryCommand (
address As String,
length As UShort
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildReadMemoryCommand(
String^ address,
unsigned short length
)
static member BuildReadMemoryCommand :
address : string *
length : uint16 -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
寄存器的地址 - length
- 类型:SystemUInt16
数据长度
返回值
类型:
OperateResultByte结果内容
参见