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