点击或拖拽改变大小

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.0.0.0 (12.0.0.0)
语法
public static OperateResult<byte[]> ReadSmartModule(
	IReadWriteMc mc,
	ushort module,
	string address,
	ushort length
)

参数

mc
类型:HslCommunication.Profinet.Melsec.HelperIReadWriteMc
MC通信对象
module
类型:SystemUInt16
模块地址
address
类型:SystemString
地址
length
类型:SystemUInt16
数据长度

返回值

类型:OperateResultByte
返回结果
参见