Start of the User Program¶
The user program (UP) is started according to the following table. It is assumed that a valid user program is stored to the Flash memory.
Action | No SD card with UP installed, Auto run = ON | No SD card with UP installed, Auto run = OFF | SD card with UP installed, Auto run = ON | SD card with UP installed, Auto run = OFF |
Voltage ON or Warm start or Cold start |
UP is loaded from Flash into RAM and started from Flash. | No UP is loaded from Flash. When logging in, the message “No program available in the controller …” is displayed. | UP is loaded from the SD card into Flash memory and RAM and then started from RAM. | UP is loaded from the SD card to the Flash memory. RAM remains empty. When logging in, the message “No program available in the controller …” is displayed. |
STOP -> RUN | UP in RAM is started. | UP in RAM is started. | UP in RAM is started. | UP in RAM is started. |
STOP -> START | UP in RAM is started. | UP in RAM is started. | UP in RAM is started. | UP in RAM is started. |
Download 1) | The UP currently stored in the CPU’s RAM is stopped. The built UP is loaded from the PC into the PLC’s RAM. | The built UP is loaded from the PC into the PLC’s RAM. | The UP currently stored in the CPU’s RAM is stopped. The built UP is loaded from the PC into the PLC’s RAM. | The built UP is loaded from the PC into the PLC’s RAM. |
Online Change 2) | Processing of the UP currently stored in the CPU’s RAM is continued. The changes made to the UP are loaded from the PC into the PLC’s RAM. The UP is re-organized and processed. | The changes made to the UP are loaded from the PC into the PLC’s RAM. The UP is re-organized. | Processing of the UP currently stored in the CPU’s RAM is continued. The changes made to the UP are loaded from the PC into the PLC’s RAM. The UP is re-organized and processed. | The changes made to the UP are loaded from the PC into the PLC’s RAM. The UP is re-organized. |
After the download is completed, the program is not automatically stored to the Flash memory. To perform this, select the menu item “Online/Create boot project”. If the UP is not stored to the Flash memory, the UP is reloaded from the Flash memory after voltage OFF/ON. The program is started either by pressing the RUN/STOP key or using the menu item “Online/Start” in the programming system.
After the Online Change process is completed, the program is not automatically stored to the Flash memory. To perform this, select the menu item “Online/Create boot project” after re-organization is completed. During re-organization and flashing, no further online change command is allowed. If the UP is not stored to the Flash memory, the UP is reloaded from the Flash memory after voltage OFF/ON.