MelsecFxLinksHelperBuildWriteByteCommand 方法 |
创建一条别入byte数据的指令信息,需要指定一些参数,按照字单位
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteByteCommand(
byte station,
string address,
byte[] value,
byte waitTime = 0
)
Public Shared Function BuildWriteByteCommand (
station As Byte,
address As String,
value As Byte(),
Optional waitTime As Byte = 0
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteByteCommand(
unsigned char station,
String^ address,
array<unsigned char>^ value,
unsigned char waitTime = 0
)
static member BuildWriteByteCommand :
station : byte *
address : string *
value : byte[] *
?waitTime : byte
(* Defaults:
let _waitTime = defaultArg waitTime 0
*)
-> OperateResult<byte[]>
参数
- station
- 类型:SystemByte
站号 - address
- 类型:SystemString
地址 - value
- 类型:SystemByte
数组值 - waitTime (Optional)
- 类型:SystemByte
等待时间
返回值
类型:
OperateResultByte命令报文的结果内容对象
参见