KeyenceNanoHelperWriteExpansionMemoryAsync 方法 |
[商业授权] 将原始字节数据写入到扩展的缓冲存储器,需要指定单元编号,偏移地址,写入的数据
[Authorization] To write the original byte data to the extended buffer memory, you need to specify the unit number, offset address, and write data
命名空间:
HslCommunication.Profinet.Keyence
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult> WriteExpansionMemoryAsync(
IReadWriteDevice keyence,
byte unit,
ushort address,
byte[] value
)
Public Shared Function WriteExpansionMemoryAsync (
keyence As IReadWriteDevice,
unit As Byte,
address As UShort,
value As Byte()
) As Task(Of OperateResult)
public:
static Task<OperateResult^>^ WriteExpansionMemoryAsync(
IReadWriteDevice^ keyence,
unsigned char unit,
unsigned short address,
array<unsigned char>^ value
)
static member WriteExpansionMemoryAsync :
keyence : IReadWriteDevice *
unit : byte *
address : uint16 *
value : byte[] -> Task<OperateResult>
参数
- keyence
- 类型:HslCommunication.CoreIReadWriteDevice
PLC通信对象信息 - unit
- 类型:SystemByte
单元编号 - address
- 类型:SystemUInt16
偏移地址 - value
- 类型:SystemByte
等待写入的原始字节数据
返回值
类型:
TaskOperateResult是否写入成功的结果对象
参见