批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组
            Batch read byte array information, need to specify the address and length, return the original byte array
            
 
        命名空间: 
     HslCommunication.Profinet.Melsec.Helper
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static OperateResult<byte[]> Read(
	IReadWriteMc mc,
	string address,
	ushort length
)
Public Shared Function Read ( 
	mc As IReadWriteMc,
	address As String,
	length As UShort
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ Read(
	IReadWriteMc^ mc, 
	String^ address, 
	unsigned short length
)
static member Read : 
        mc : IReadWriteMc * 
        address : string * 
        length : uint16 -> OperateResult<byte[]> 
参数
- mc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteMc
 [缺少 "M:HslCommunication.Profinet.Melsec.Helper.McHelper.Read(HslCommunication.Profinet.Melsec.Helper.IReadWriteMc,System.String,System.UInt16)" 的 <param name="mc"/> 文档] 
- address
- 类型:SystemString
 数据地址
- length
- 类型:SystemUInt16
 数据长度
返回值
类型:
OperateResultByte带有成功标识的byte[]数组
 备注
备注
            初步支持普通的数据地址之外,还额外支持高级的地址写法,以下是示例(适用于MC协议为二进制和ASCII格式):
            [商业授权] 扩展的数据地址: 表示为 ext=1;W100  访问扩展区域为1的W100的地址信息
            [商业授权] 缓冲存储器地址: 表示为 mem=32  访问地址为32的本站缓冲存储器地址
            [商业授权] 智能模块地址:表示为 module=3;4106  访问模块号3,偏移地址是4106的数据,偏移地址需要根据模块的详细信息来确认。
            [商业授权] 基于标签的地址: 表示位 s=AAA  假如标签的名称为AAA,但是标签的读取是有条件的,详细参照
ReadTags(IReadWriteMc, String, UInt16) 参见
参见