11BProgramming
65BBoot project / source code
12-2
12.3
Boot project / source code
The project loaded in the controllere is at first only stored in the volatile SRAM, just
like the AS-i configuration. This means it will be lost if the controllere is no longer
supplied with 24 V.
Boot process
When the supply voltage of the controllere is switched on, the operating system
copies the programs and data stored as boot project into the SRAM where they are
executed (boot process). After this, the AS-i masters receive their configuration
data. The AS-i masters initialise the AS-i slaves and start the data transfer to the
slaves.
Creating a boot project
When the configuration of an AS-i system has been completed and the PLC project
tested, this information must be non-volatilely stored in the flash memory. This is
done in CoDeSys
®
via "Online" > "Create boot project".
CAUTION
Dangerous, uncontrolled machine states!
The flash process can take 5 to 20 seconds when creating a boot project! During
this time the outputs remain in their current state.
►
Stop the machine/system or bring it into a safe state before creating a boot
project or saving the AS-i configuration.
→
page 10-4, chapter 10.4 "How are the operating modes for the PLC