[商业授权] 读取扩展的数据信息,需要在原有的地址,长度信息之外,输入扩展值信息
[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.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> ReadExtend(
IReadWriteMc mc,
ushort extend,
string address,
ushort length
)
Public Shared Function ReadExtend (
mc As IReadWriteMc,
extend As UShort,
address As String,
length As UShort
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ ReadExtend(
IReadWriteMc^ mc,
unsigned short extend,
String^ address,
unsigned short length
)
static member ReadExtend :
mc : IReadWriteMc *
extend : uint16 *
address : string *
length : uint16 -> OperateResult<byte[]>
参数
- mc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteMc
MC通信对象 - extend
- 类型:SystemUInt16
扩展信息 - address
- 类型:SystemString
地址 - length
- 类型:SystemUInt16
数据长度
返回值
类型:
OperateResultByte返回结果
参见