SiemensFetchWriteNetBuildWriteCommand 方法 |
生成一个写入字节数据的指令
Generate an instruction to write byte data
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteCommand(
string address,
byte[] data
)
Public Shared Function BuildWriteCommand (
address As String,
data As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteCommand(
String^ address,
array<unsigned char>^ data
)
static member BuildWriteCommand :
address : string *
data : byte[] -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
起始地址,格式为M100,I100,Q100,DB1.100 -> Starting address, formatted as M100,I100,Q100,DB1.100 - data
- 类型:SystemByte
实际的写入的内容 -> The actual content of the write
返回值
类型:
OperateResultByte带结果对象的报文数据 -> Message data with a result object
参见