MelsecFxLinksHelper.BuildWriteBoolCommand 方法 |
创建一条别入bool数据的指令信息,需要指定一些参数
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.3.1.0 (12.3.1.0)
语法public static OperateResult<byte[]> BuildWriteBoolCommand(
byte station,
string address,
bool[] value,
byte waitTime = 0
)
Public Shared Function BuildWriteBoolCommand (
station As Byte,
address As String,
value As Boolean(),
Optional waitTime As Byte = 0
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteBoolCommand(
unsigned char station,
String^ address,
array<bool>^ value,
unsigned char waitTime = 0
)
static member BuildWriteBoolCommand :
station : byte *
address : string *
value : bool[] *
?waitTime : byte
(* Defaults:
let _waitTime = defaultArg waitTime 0
*)
-> OperateResult<byte[]>
参数
- station
- 类型:System.Byte
站号 - address
- 类型:System.String
地址 - value
- 类型:System.Boolean[]
数组值 - waitTime (Optional)
- 类型:System.Byte
等待时间
返回值
类型:
OperateResult<Byte[]>是否创建成功
参见