6 Commissioning of PROFIBUS
6.2 The commissioning steps in detail
42
Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.6 EN · 11/2016 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
6.2.11 Compiling the PLC program code
In order to compile the PLC program code, select the menu command Build Build, or press the
function key <F11>.
• If errors have occurred during the compilation process, you can locate and eliminate them by
means of the »PLC Designer« error messages.
Then re-translate the program code.
• If no errors have occurred during the compilation process, save the »PLC Designer« project in the
project folder.
6.2.12 Logging in on the controller with the »PLC Designer«
Use the menu command Online Login or <Alt>+<F8> to log in on the Lenze Controller.
• For this, the PLC program must be error-free.
• With the log-in, the fieldbus configuration and the PLC program are loaded to the controller.
Any configuration or a PLC program that is possibly available is overwritten.
6.2.13 Starting the PLC program
Before the start, the PLC program must be loaded to the Lenze Controller using the menu command
Online Login.
Use the menu command Debug Start or the function key <F5> to start the PLC program.
Note!
• The fieldbus starts even if not all stations of the bus are available.
• If the PLC program is stopped (<Shift>+<F8>), the cyclic data transfer continues until
a "reset origin" is carried out (menu command Online Reset origin).