KeyenceNanoHelperWriteExpansionMemory 方法 |
[商业授权] 将原始字节数据写入到扩展的缓冲存储器,需要指定单元编号,偏移地址,写入的数据
[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 OperateResult WriteExpansionMemory(
IReadWriteDevice keyence,
byte unit,
ushort address,
byte[] value
)
Public Shared Function WriteExpansionMemory (
keyence As IReadWriteDevice,
unit As Byte,
address As UShort,
value As Byte()
) As OperateResult
public:
static OperateResult^ WriteExpansionMemory(
IReadWriteDevice^ keyence,
unsigned char unit,
unsigned short address,
array<unsigned char>^ value
)
static member WriteExpansionMemory :
keyence : IReadWriteDevice *
unit : byte *
address : uint16 *
value : byte[] -> OperateResult
参数
- keyence
- 类型:HslCommunication.CoreIReadWriteDevice
PLC通信对象信息 - unit
- 类型:SystemByte
单元编号 - address
- 类型:SystemUInt16
偏移地址 - value
- 类型:SystemByte
等待写入的原始字节数据
返回值
类型:
OperateResult是否写入成功的结果对象
参见