点击或拖拽改变大小

YokogawaLinkTcpReadSpecialModule 方法

[商业授权] 读取特殊模块的数据信息,需要指定模块单元号,模块站号,数据地址,长度信息。
[Authorization] To read the data information of a special module, you need to specify the module unit number, module slot number, data address, and length information.

命名空间:  HslCommunication.Profinet.Yokogawa
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public OperateResult<byte[]> ReadSpecialModule(
	byte moduleUnit,
	byte moduleSlot,
	ushort dataPosition,
	ushort length
)

参数

moduleUnit
类型:SystemByte
模块的单元号
moduleSlot
类型:SystemByte
模块的站号
dataPosition
类型:SystemUInt16
模块的数据地址
length
类型:SystemUInt16
长度信息

返回值

类型:OperateResultByte
带有成功标识的byte[],可以自行解析出所需要的各种类型的数据
参见