Troubleshooting
Compiling
Common problems encountered with the IDE are most often associated with compiling or building a project. Here are some things to check when the IDE has trouble compiling (other than pragmatic errors).
Check to see if you have an existing .lst file somewhere on the system where the IDE may not be able to locate it. The IDE is dependant on the list file output from the compiler. Occasionally, the IDE is unable to locate the .lst file resulting in it's inability to identify compiler errors. Other functionality will also quit working in the event that the list could not be found.
Check the Project settings compiler options and make sure you have the options required to create a .lst file. This would be either a source listing ( -L ) or cross reverence (-E,X) going to a spool file ( -P )
Check the Project Settings. If you are not intending to use a different version of the compiler and runtime than is already specified in the IDE Options, Leave the preferred runtime and compiler blank.
Check the IDE Options in the tools menu. Make sure the Compiler setting reflects the command line used to execute the compiler. This should not be a .bat file because it is impossible to adjust the command line on a per project basis in a .bat file. For example, this line should read PLBCON.EXE PLBCMP.PLC. If you have multiple installations, it may be necessary fully path specify this.
Display Problems
Occasionally, uses get the user interface in a unusual state where one or more panels may be hidden and cannot be restored. To correct this, first try moving the IDE's main window to be partially off screen and exit the IDE. When the IDE restarts, it will detect that the window position is invalid and restore it's original defaults.
Last Resort
In the event the IDE gets to a state where the user wishes to reset everything to it's original defaults, you have the option of deleting it's configuration files. The IDE stores it's configuration files specific to the user. For Window, this would be in \Documents and Settings\$user\Application Data\SunIDE. Simply delete the file named sunide.ini and the IDE will recreate this file using built-in defaults.
![]() |