Input Description¶
EN BOOL \ (enable)
Processing of the block is controlled via input EN.
EN = FALSE/TRUE edge:
Writing of the data set is started once. Input EN will not be evaluated again until the storage process is completed (DONE = TRUE).
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 stored per block.
Valid values: 1…1927
Example:
- SM = ADR(%MW0.0) and NB = 1: Storing the data from %MW0.0 to %MW0.15
(1 block = 16 word data)
- SM = ADR(%MW0.0) and NB = 2: Storing the 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. When a write operation of a data set is started (FALSE/TRUE edge at input EN), the data of the data set must not be changed until the end of the write procedure (DONE = TRUE).