MelsecA1ENetBuildWriteWordCommand 方法 |
根据类型地址以及需要写入的数据来生成指令头
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteWordCommand(
string address,
byte[] value,
byte plcNumber
)
Public Shared Function BuildWriteWordCommand (
address As String,
value As Byte(),
plcNumber As Byte
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteWordCommand(
String^ address,
array<unsigned char>^ value,
unsigned char plcNumber
)
static member BuildWriteWordCommand :
address : string *
value : byte[] *
plcNumber : byte -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
起始地址 - value
- 类型:SystemByte
数据值 - plcNumber
- 类型:SystemByte
PLC编号
返回值
类型:
OperateResultByte带有成功标志的指令数据
参见