WriteData

WriteData 1:

The WriteData method is called during a write operation to determine the buffer from which the data to be written is retrieved.

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

Syntax

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

WriteData 2: Inputs

Name

Type

Description

nIndex

UDINT

Index of the record to be written.

WriteData 3: Outputs

Name

Type

Description

pBuff

PVOID

Pointer to the write buffer.

nBuff

UDINT

Size of the write buffer.