| McHelperReadSmartModule 方法  | 
 [商业授权] 读取智能模块的数据信息,需要指定模块地址,偏移地址,读取的字节长度
[Authorization] To read the extended data information, you need to enter the extended value information in addition to the original address and length information
            
 
        命名空间: 
     HslCommunication.Profinet.Melsec.Helper
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static OperateResult<byte[]> ReadSmartModule(
	IReadWriteMc mc,
	ushort module,
	string address,
	ushort length
)
Public Shared Function ReadSmartModule ( 
	mc As IReadWriteMc,
	module As UShort,
	address As String,
	length As UShort
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ ReadSmartModule(
	IReadWriteMc^ mc, 
	unsigned short module, 
	String^ address, 
	unsigned short length
)
static member ReadSmartModule : 
        mc : IReadWriteMc * 
        module : uint16 * 
        address : string * 
        length : uint16 -> OperateResult<byte[]> 
参数
- mc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteMc
 MC通信对象
- module
- 类型:SystemUInt16
 模块地址
- address
- 类型:SystemString
 地址
- length
- 类型:SystemUInt16
 数据长度
返回值
类型:
OperateResultByte返回结果
 参见
参见