Generally, if the CPU is in RUN mode, i.e. in program execution mode, a
download will always cause the mode change to "stop". In stop mode the CPU
is not controlling the system!
Always, after selecting the “Login” command, read carefully the dialog box
text to ensure that you are aware of the CPU’s behavior after the command
confirmation.
By default, a download generates following actions in the CPU:
● The project is stored in the RAM memory.
● The project is stored in the flash EEPROM, if boot application was created.
1.5.7 Test the program
1.5.7.1
Start the program execution
You are logged in the CPU.
An executable project is loaded to the CPU.
The CPU is in "stop" mode.
Open CODESYS
Chapter 1.5.8.1 “Starting the IEC 61131 programm editor CODESYS”
.
In the CODESYS editor menu select
“Online
è
Run”
Alternatively, select the "run" icon in the tool bar.
Alternatively, press
[F5]
.
Getting started with example projects
Example project for central I/O expansion > Test the program
2023/03/03
3ADR010649, 3, en_US
37