FujiSPHNet.BuildWriteCommand 方法 |
构建写入数据的命令报文
命名空间:
HslCommunication.Profinet.Fuji
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteCommand(
byte connectionId,
string address,
byte[] data
)
Public Shared Function BuildWriteCommand (
connectionId As Byte,
address As String,
data As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteCommand(
unsigned char connectionId,
String^ address,
array<unsigned char>^ data
)
static member BuildWriteCommand :
connectionId : byte *
address : string *
data : byte[] -> OperateResult<byte[]>
参数
- connectionId
- 类型:System.Byte
连接ID - address
- 类型:System.String
写入的PLC的地址 - data
- 类型:System.Byte[]
原始数据内容
返回值
类型:
OperateResult<Byte[]>报文信息
参见