3 Commissioning
3.8 Programs and project
66 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com
3.8 Programs and project
3.8.1 Loading programs onto the device
You must log on in order to load recently created or modified programs onto
the device. The question “Load the new program?” will appear. The load
operation will start once this prompt has been confirmed.
In order to safely store the program, a boot application must be generated by
the user program. The "Create boot application" command will load the pro-
gram from the PC onto the system memory and save it as a boot application
in a non-volatile manner.
To create a boot application, follow the steps below:
▶ Change over to the “Online” folder.
▶ Select the “Login” command.
▶ Select the "Create boot application" command.
Alternatively, you can configure XSOFT-CODESYS-3 in such a way that a
boot application will be generated automatically when the user program is
downloaded. To automatically generate a boot application during the down-
load, follow the steps below:
▶ Select "Application" in the browser.
▶ Select the "Properties" option in the context menu.
▶ Open the "Boot Application" tab.
▶ Enable the "Implicitly generate boot application during download" option.
→
Please note that the “Retain” variables are initialized during the
load process, but the “PERSISTENT” variables retain their
value.