Cannot build or load application
The Instance view provides the button (Build and Load Application) to load the application to the selected PLC. Neuron Power Engineer 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:
|
Check whether Problems view displays messages reporting errors in the objects. If yes, correct the reported errors (see "Errors and warnings in ST", "Errors and warnings in FBD", "Errors and warnings in LD" or "Errors while editing PLC-object in editor" for hints how to eliminate the errors). Alternative, if Problems view does not display messages: Open the ST-objects, correct all highlighted errors in the objects and save the objects. |
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. Neuron Power Engineer 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 ofNeuron Power Engineer. 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 (= |
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:
|
Make sure that there is sufficient space on the PLC. If the file |
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 |
Here some additional causes:
Cause |
Solution |
---|---|
too long installation path of Neuron Power Engineer |
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
|
||||
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 Neuron Power Engineer 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:
|
Make sure that there is sufficient space on the PLC If the file |
More useful information: