点击或拖拽改变大小

OmronFinsNetHelperBuildReadCommand 方法 (String, UInt16, Boolean, Int32)

根据读取的地址,长度,是否位读取创建Fins协议的核心报文
According to the read address, length, whether to read the core message that creates the Fins protocol

命名空间:  HslCommunication.Profinet.Omron
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static OperateResult<List<byte[]>> BuildReadCommand(
	string address,
	ushort length,
	bool isBit,
	int splitLength = 500
)

参数

address
类型:SystemString
地址,具体格式请参照示例说明
length
类型:SystemUInt16
读取的数据长度
isBit
类型:SystemBoolean
是否使用位读取
splitLength (Optional)
类型:SystemInt32
读取的长度切割,默认500

返回值

类型:OperateResultListByte
带有成功标识的Fins核心报文
参见