Cannot build or load application
The Instance view provides the button (Build and Load Application) to load the application to the selected PLC. logi.CAD 3 cannot load the application under certain circumstances but reports one of the following messages:
Information on cause. The application for the PLC (resource "name", platform toolkit "name") cannot be created/loaded. Check the views "Error Log" and "Problems" for more information.
The application cannot be loaded onto the PLC. For more information open this file: name
An error occurred during compiling or linking the code image (error code: number).
Error loading code image (Error code: 0x10103)
The following tables give you some clues to identify the cause and to find the solution quickly. After the appropriate solution, try to load the application again.
Here the most common causes:
Cause |
Solution |
no correct code within the ST-objects, FBD-objects, LD-objects or PLC-object One of these messages is displayed as information on the cause:
|
|
You have temporarily deleted resources (such as PLC-objects) in a larger project and you add the resources again. This message is displayed as information on the cause:
|
If it is still not possible to load the application: |
Your virus scanner (e.g. avast) prevents the building or loading. This message is displayed:
|
|
An old version of the runtime system is installed on the target system. logi.CAD 3 requires a more current version of the runtime system . This message is displayed as information on the cause:
Of this message is displayed:
|
Install and use the version of the runtime system which has been released for the current version of logi.CAD 3 . See " Release-Notes für aktuelle Version " which version of the runtime system has been released for the current logi.CAD 3 v ersion. The check of the required version of the runtime system is only provided for the standard kernel (RTS), it is not provided for the other variants, e.g for the microkernel (also known as µRTS). |
no files with C-code or no header files for C-code available This message is displayed as information on the cause:
|
In menu Project, select Clean... In the dialog, select the requested project and click OK. |
You are using function blocks with in-out variables (= VAR_IN_OUT) that have been created in a logi.CAD 3 version < 3.1.0. |
Perform all steps as listed under "Functions blocks with VAR_IN_OUT from version < 3.1.0 prevent the building of the application" . |
too little storage space on the PLC This message is displayed as information on the cause:
|
|
no sufficient privileges on the PLC This message is displayed as information on the cause:
|
Make sure that the runtime system has been started with superuser permissions so that the file RTSCode.so or RTSCode.dll can be copied to the file system of the PLC. |
Here some additional causes:
Cause |
Solution |
too long installation path of logi.CAD 3 |
Perform all steps as listed under "An installation path too long prevents the building/loading of the application". |
workspace of a previous version not compatible with the new version |
More useful information:
There might be other causes – depending on the blocks that have been created in the application and depending on the used target systems:
Cause |
Solution |
You are using C-/C++-blocks in ST and/or you have created C-/C++-blocks. This message is displayed as information on the cause:
|
If you are using an C-/C++-block, check whether the Error Log view displays messages reporting errors in the objects. If yes, correct the reported errors (see "Errors when connecting to the PLC or loading, starting, stopping the application" for hints how to eliminate the errors). If you are creating (developing) a C-/C++-block, check the content of the file compile_result.txt for listed errors. By default, the file compile_result.txt is not displayed within the project explorer. As a consequence, proceed as follows:
|
You are using C-/C++-blocks in ST and you have specified an additional source file path that is already considered when building/loading the application. |
|
error when loading onto a →Controllino or an →Arduino Nano; examples:
|
Open the named file and fix the cause mentioned in the file. |
runtime system and/or logi.CAD 3 not configured for 64 bit system of Linux |
Perform all steps as listed under "64 bit linux". |
too little storage space on the PLC These messages are displayed:
|
|
More useful information:
Unknown error 130 while trying to load the application onto Controllino
No connection to the target system, but there are error messages
PLC cannot be addressed. The runtime system is slow to respond or does not respond at all.
logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.
Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.