![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933184.webp)
184
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
FLASH_READ
8147
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0431_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
11579
FLASH_READ 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 resulting from SRC + LEN must be < 65 408.
► To the destination address DST applies:
Determine the address by means of the operator ADR and assigne it to the POU!
>
Parameters of the inputs
8148
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
DST
DWORD
destination address
Determine the address by means of the operator ADR and
assigne it to the POU!
SRC
DWORD
relative start address in the memory
valid = 0...65 407 = 0x0000 0000...0x0000 FF7F
LEN
WORD
number (> 1) of the data bytes to be transmitted
>
Parameters of the outputs
8152
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
FB execution completed without error
– data is valid
152
98
inadmissible memory area:
• invalid source address
• invalid destination address
• invalid number of bytes
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...