222
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
Managing the data Saving, reading and converting data in the memory
FLASHREAD
8147
= Flash Read
Unit type = function block (FB)
Contained in the library: ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
Symbol in CoDeSys:
FLASHREAD
ENABLE
RESULT
SRC
LEN
DST
Description
564
FLASHREAD enables reading of different types of data directly from the flash memory.
The FB reads the contents as from the address of SRC from the flash memory. In doing so, as many
bytes as indicated under LEN are transmitted.
► The address must be determined by means of the operator ADR and assigned to the FB.
Parameters of the inputs
8148
Parameter Data type Description
ENABLE BOOL TRUE: unit is executed
FALSE: unit is not executed
> POU inputs and outputs are not active
SRC DWORD relative start address in the memory
LEN WORD number of the data bytes to be transmitted (max. 65 536 bytes)
DST DWORD address of the target variable
Parameters of the outputs
8152
Parameter Data type Description
RESULT BYTE feedback of the function block
(possible messages following table)
Possibly values for RESULT:
Value
dec | hex
Description
000 00 function block is not active
001 01 FB execution completed without error – data is valid
002 02 function block is active (action not yet completed)
152 98 inadmissible memory area