OmronHostLinkCModeHelperBuildReadCommand 方法 |
根据读取的地址,长度,是否位读取创建Fins协议的核心报文
According to the read address, length, whether to read the core message that creates the Fins protocol
命名空间:
HslCommunication.Profinet.Omron.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<List<byte[]>> BuildReadCommand(
string address,
ushort length,
bool isBit
)
Public Shared Function BuildReadCommand (
address As String,
length As UShort,
isBit As Boolean
) As OperateResult(Of List(Of Byte()))
public:
static OperateResult<List<array<unsigned char>^>^>^ BuildReadCommand(
String^ address,
unsigned short length,
bool isBit
)
static member BuildReadCommand :
address : string *
length : uint16 *
isBit : bool -> OperateResult<List<byte[]>>
参数
- address
- 类型:SystemString
地址,具体格式请参照示例说明 - length
- 类型:SystemUInt16
读取的数据长度 - isBit
- 类型:SystemBoolean
是否使用位读取
返回值
类型:
OperateResultListByte带有成功标识的Fins核心报文
参见