Making, Executing, and Debugging a Program


 

You can make a program object file (.PLC) from the PL/B IDE Studio using the following procedure.

 

To make a program file

 

From the Project menu, choose "Build" or simply press the F7 key. Alternatively, you can right click in the Project Window and choose "Build" or click the Build button in the IDE's main toolbar:

 

     buildbuton.png  Build button

 

Any source file and its dependencies that have changed will be recompiled. Chose "Clean" to remove any current object code file. This will force the "Build" process to recompile the program.

 

To make a program file and execute it

 

From the Project menu, choose "Execute" or simply press the F5 key. Optionally you may click the Execute button in the IDE's main toolbar:

 

     executebutton.png  Execute button

 

Any source file and its dependencies that have changed will be recompiled and the program will be loaded into the Sunbelt Debugger.

 

To make a program file and start the debugger

 

From the Project menu, choose "Debug" or simply press the F8 key. Optionally you may click the Debug button in the IDE's main toolbar:

 

     debugbutton.png  Debug button

 

Any source file and its dependencies that have changed will be recompiled and the program will be loaded into the Sunbelt Debugger.



PL/B IDE Studio Help Adding, Saving, and Removing Files Troubleshooting