January 2012 8.1 PLC Functions 1497
8.1.10 The COMPILE function
Compiling a completed PLC program transfers it to the process memory
where it can then become active. The name of the compiled program then
appears in the line Running PGM in the main menu.
Soft keys within the COMPILE function:
To compile a PLC program:
Press the COMPILE PLC PGM soft key for the control to switch to the program
manager.
Use the arrow keys to select the PLC program to be compiled.
Press the SELECT soft key.
Soft key Function
Compile the current PLC program, current PLC error table, and
current soft-key project file (MP_mainPgm, MP_errorTable
and MP_softkeyProject entries in the CfgPlcPath machine
parameter).
Only compile the current PLC program (entry CfgPlcPath =>
MP_mainPgm)
Only compile the current PLC error table (entry CfgPlcPath =>
MP_errorTable)
Select and compile a PLC program
Select and compile a PLC error table
The compilation of very extensive PLC programs may take some time.
Compilation is completed when the PLC main menu appears on the screen
again and values are displayed under Processing time. If errors occur
during the compilation of the program, the control displays a corresponding
message in the PLC main menu.