168
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
FLASHWRITE
555
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0301_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
558
WARNING
Danger due to uncontrollable process operations!
The status of the inputs/outputs is "frozen" during execution of FLASHWRITE.
► Do not execute this FB when the machine is running!
FLASHWRITE enables writing of different data types directly into the flash memory.
Using this FB, large data volumes are to be stored during set-up, to which there is only read access in
the process.
► If a page has already been written (even if only partly), the entire flash memory area needs to be
deleted before new write access to this page. This is done by write access to the address 0.
► Never write to a page several times! Always delete everything first!
Otherwise, traps or watchdog errors occur.
►
Do not delete the flash memory area more often than 100 times. Otherwise, the data
consistency in other flash memory areas is no longer guaranteed.
► During each SPS cycle, FLASHWRITE may only be started once!
► To the source start address SRC applies:
Determine the address by means of the operator ADR and assigne it to the FB!
>
The FB writes the contents of the address SRC into the flash memory. In doing so, as many bytes
as indicated under LEN are transmitted.
If destination start address DST is outside the permissible range: no data transfer!
>
Parameters of the inputs
20061
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
INT
relative destination start address in memory
permissible = 0...16 383 = 0x0000...0x3FFF
LEN
INT
number of data bytes
permissible = 0...16 383 = 0x0000...0x3FFF
SRC
DINT
start address of the source variables
Determine the address by means of the operator ADR and
assigne it to the FB!
Содержание Ecomat 100 Mobile CR0301
Страница 209: ...209 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 210: ...210 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 211: ...211 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 212: ......