FanucInterfaceNetWriteAsync 方法 (Byte, UInt16, Byte) |
写入原始的byte数组数据到指定的地址,返回是否写入成功,,需要指定数据块地址,偏移地址,主要针对08, 10, 12的数据块,注意起始的起始为1
Write the original byte array data to the specified address, and return whether the writing is successful. You need to specify the data block address and offset address,
which are mainly for the data blocks of 08, 10, and 12. Note that the start of the start is 1.
命名空间:
HslCommunication.Robot.FANUC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> WriteAsync(
byte select,
ushort address,
byte[] value
)
Public Function WriteAsync (
select As Byte,
address As UShort,
value As Byte()
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteAsync(
unsigned char select,
unsigned short address,
array<unsigned char>^ value
)
member WriteAsync :
select : byte *
address : uint16 *
value : byte[] -> Task<OperateResult>
参数
- select
- 类型:SystemByte
数据块信息 - address
- 类型:SystemUInt16
偏移地址 - value
- 类型:SystemByte
原始数据内容
返回值
类型:
TaskOperateResult[缺少 "M:HslCommunication.Robot.FANUC.FanucInterfaceNet.WriteAsync(System.Byte,System.UInt16,System.Byte[])" 的 <returns> 文档]
参见