KeyenceNanoSerialOverTcpReadExpansionMemory 方法 |
[商业授权] 从扩展单元缓冲存储器连续读取指定个数的数据,单位为字
[Authorization] Continuously read the specified number of data from the expansion unit buffer memory, the unit is word
命名空间:
HslCommunication.Profinet.Keyence
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<byte[]> ReadExpansionMemory(
byte unit,
ushort address,
ushort length
)
Public Function ReadExpansionMemory (
unit As Byte,
address As UShort,
length As UShort
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadExpansionMemory(
unsigned char unit,
unsigned short address,
unsigned short length
)
member ReadExpansionMemory :
unit : byte *
address : uint16 *
length : uint16 -> OperateResult<byte[]>
参数
- unit
- 类型:SystemByte
单元编号 - address
- 类型:SystemUInt16
偏移地址 - length
- 类型:SystemUInt16
读取的长度,单位为字
返回值
类型:
OperateResultByte包含是否成功的原始字节数组
参见