KeyenceNanoHelperBuildWriteCommand 方法 (String, Boolean) |
建立写入bool数据的指令,针对地址类型为 R,CR,MR,LR
Create instructions to write bool data, address type is R, CR, MR, LR
命名空间:
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,
bool value
)
static member BuildWriteCommand :
address : string *
value : bool -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
软元件地址 - value
- 类型:SystemBoolean
转换后的数据
返回值
类型:
OperateResultByte是否成功的信息
参见