Command Download

Function: The command causes the active PLC project to be compiled and then downloaded to the controller.

Call: PLC menu

Requirement: The PLC project is in online mode.

With this command, TwinCAT performs a syntax check and generates the program code. This code is loaded onto the controller. TwinCAT also generates the compile log <projectname>.<devicename>. <application ID>.compileinfo in the project directory.

Command Download 1:

During the download, all variables except persistent variables are reinitialized.

The description of the Login command explains the possible situations when logging in and loading.

If you try to load a PLC project while the same version of this project is already on the controller, the following message appears: "The program is unchanged. Application was not loaded". TwinCAT does not load the project onto the PLC.

When loading, a log of the actions that have taken place (creating the code, carrying out initializations, etc.) is displayed in the Output view. In addition, information about memory areas, the size of the code, global data and allocated memory is displayed. For the sake of clarity, in contrast to online change, the changed function blocks are no longer listed.

See also: