ReadingData

ReadingData 1:

The method is called during a read access to determine the buffer into which the read data should be written.

A return value of TRUE indicates that processing is complete; a return value of FALSE continues the read access.

Syntax

VAR_INPUT
  nIndex     : UDINT;
END_VAR
VAR_OUTPUT
  pBuff      : PVOID;
  nBuff      : UDINT;
END_VAR

ReadingData 2: Inputs

Name

Type

Description

nIndex

UDINT

Index of the data record to be read.

ReadingData 3: Outputs

Name

Type

Description

pBuff

PVOID

A pointer to the read buffer that will store the data being read.

nBuff

UDINT

Size of the read buffer that will store the data being read.