MelsecMcNetReadSmartModule 方法 |
[商业授权] 读取智能模块的数据信息,需要指定模块地址,偏移地址,读取的字节长度
[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
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<byte[]> ReadSmartModule(
ushort module,
string address,
ushort length
)
Public Function ReadSmartModule (
module As UShort,
address As String,
length As UShort
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadSmartModule(
unsigned short module,
String^ address,
unsigned short length
)
member ReadSmartModule :
module : uint16 *
address : string *
length : uint16 -> OperateResult<byte[]>
参数
- module
- 类型:SystemUInt16
模块地址 - address
- 类型:SystemString
地址 - length
- 类型:SystemUInt16
数据长度
返回值
类型:
OperateResultByte返回结果
参见