KeyenceNanoHelperBuildWriteCommand 方法 (String, Boolean) |
批量写入数据位到plc地址,针对地址格式为 R,B,CR,MR,LR,VB
Write data bits in batches to the plc address, and the address format is R, B, CR, MR, LR, VB
命名空间:
HslCommunication.Profinet.Keyence
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteCommand(
string address,
bool[] value
)
Public Shared Function BuildWriteCommand (
address As String,
value As Boolean()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteCommand(
String^ address,
array<bool>^ value
)
static member BuildWriteCommand :
address : string *
value : bool[] -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
PLC的地址 - value
- 类型:SystemBoolean
等待写入的bool数组
返回值
类型:
OperateResultByte写入bool数组的命令报文
参见