AllenBradleyNetBuildWriteCommand 方法 (String, UInt16, Byte, Int32) |
Create a written message instruction
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected virtual OperateResult<List<byte[]>> BuildWriteCommand(
string address,
ushort typeCode,
byte[] data,
int length = 1
)
Protected Overridable Function BuildWriteCommand (
address As String,
typeCode As UShort,
data As Byte(),
Optional length As Integer = 1
) As OperateResult(Of List(Of Byte()))
protected:
virtual OperateResult<List<array<unsigned char>^>^>^ BuildWriteCommand(
String^ address,
unsigned short typeCode,
array<unsigned char>^ data,
int length = 1
)
abstract BuildWriteCommand :
address : string *
typeCode : uint16 *
data : byte[] *
?length : int
(* Defaults:
let _length = defaultArg length 1
*)
-> OperateResult<List<byte[]>>
override BuildWriteCommand :
address : string *
typeCode : uint16 *
data : byte[] *
?length : int
(* Defaults:
let _length = defaultArg length 1
*)
-> OperateResult<List<byte[]>>
参数
- address
- 类型:SystemString
The address of the tag name - typeCode
- 类型:SystemUInt16
Data type - data
- 类型:SystemByte
Source Data - length (Optional)
- 类型:SystemInt32
In the case of arrays, the length of the array
返回值
类型:
OperateResultListByteMessage information that contains the result object
参见