FujiSPHNetBuildReadCommand 方法 (Byte, FujiSPHAddress, UInt16) |
构建读取数据的命令报文
命名空间:
HslCommunication.Profinet.Fuji
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<List<byte[]>> BuildReadCommand(
byte connectionId,
FujiSPHAddress address,
ushort length
)
Public Shared Function BuildReadCommand (
connectionId As Byte,
address As FujiSPHAddress,
length As UShort
) As OperateResult(Of List(Of Byte()))
public:
static OperateResult<List<array<unsigned char>^>^>^ BuildReadCommand(
unsigned char connectionId,
FujiSPHAddress^ address,
unsigned short length
)
static member BuildReadCommand :
connectionId : byte *
address : FujiSPHAddress *
length : uint16 -> OperateResult<List<byte[]>>
参数
- connectionId
- 类型:SystemByte
连接ID - address
- 类型:HslCommunication.Core.AddressFujiSPHAddress
读取的PLC的地址 - length
- 类型:SystemUInt16
读取的长度信息,按照字为单位
返回值
类型:
OperateResultListByte构建成功的读取报文命令
参见