Input Description

EN   BOOL \    (enable)

Processing of the Function Block is controlled via input EN.

The following applies:

EN = FALSE/TRUE edge:

The reading procedure of the data set is carried out once.

EN = TRUE:

The Function Block is not processed, i. e. it no longer changes its outputs.

NB   WORD \    (number)

The number of the data set blocks is specified at input NB. Either 32 binary data or 16 word data or 8 double word data are read per block.

Valid values: 1 … 1927

Example:

- SM = ADR(%MW0.0) and NB = 1: Storing data from %MW0.0 to %MW0.15

(1 block = 16 word data)

- SM = ADR(%MW0.0) and NB = 2: Storing data from %MW0.0 to %MW0.31

(2 blocks = 32 word data)

SEG   BYTE \    (segment)

At input SEG, the number of the data segment in the Flash is specified. In the AC500, controller two data segments are available for the user.

Valid values: 1 and 2 respectively

BNR   WORD \    (block \ number)

The block number in the data segment is specified at input BNR. Valid values: 0…1926

SM   DWORD \    (source \ memory)

At input SM, the address of the first variable for storing the data set is specified using an ADR operator.