OmronFinsNetBuildWriteCommand 方法 |
根据类型地址以及需要写入的数据来生成指令头
Generate instruction header based on type address and data to be writtens
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:9.8.0.0 (9.8.0.0)
语法 public OperateResult<byte[]> BuildWriteCommand(
string address,
byte[] value,
bool isBit
)
Public Function BuildWriteCommand (
address As String,
value As Byte(),
isBit As Boolean
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ BuildWriteCommand(
String^ address,
array<unsigned char>^ value,
bool isBit
)
member BuildWriteCommand :
address : string *
value : byte[] *
isBit : bool -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
起始地址 - value
- 类型:SystemByte
真实的数据值信息 - isBit
- 类型:SystemBoolean
是否是位操作
返回值
类型:
OperateResultByte带有成功标志的报文数据
参见