点击或拖拽改变大小

KeyenceNanoHelperBuildWriteExpansionMemoryCommand 方法

构建写入扩展单元缓冲寄存器的报文命令,需要传入单元编号,地址,写入的数据,实际写入的数据格式才有无符号的方式
To construct a message command to write to the buffer register of the expansion unit, the unit number, address, and data to be written need to be passed in, and the format of the actually written data is unsigned.

命名空间:  HslCommunication.Profinet.Keyence
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static OperateResult<byte[]> BuildWriteExpansionMemoryCommand(
	byte unit,
	ushort address,
	byte[] value
)

参数

unit
类型:SystemByte
单元编号0~48
address
类型:SystemUInt16
地址0~32767
value
类型:SystemByte
写入的数据信息,单次交互最大256个字

返回值

类型:OperateResultByte
包含是否成功的报文对象
参见