MelsecFxLinksHelperBuildWriteByteCommand 方法 |
创建一条别入byte数据的指令信息,需要指定一些参数,按照字单位
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public static OperateResult<byte[]> BuildWriteByteCommand(
IReadWriteFxLinks plc,
byte station,
string address,
byte[] value
)
Public Shared Function BuildWriteByteCommand (
plc As IReadWriteFxLinks,
station As Byte,
address As String,
value As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteByteCommand(
IReadWriteFxLinks^ plc,
unsigned char station,
String^ address,
array<unsigned char>^ value
)
static member BuildWriteByteCommand :
plc : IReadWriteFxLinks *
station : byte *
address : string *
value : byte[] -> OperateResult<byte[]>
参数
- plc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteFxLinks
PLC通信的对象 - station
- 类型:SystemByte
站号 - address
- 类型:SystemString
地址 - value
- 类型:SystemByte
数组值
返回值
类型:
OperateResultByte命令报文的结果内容对象
参见