beautypg.com

11 compiling the plc program code, 13 starting the plc program, Starting the plc program – Lenze PROFIBUS Controller-based Automation User Manual

Page 41: Compiling the plc program code ( 41), Starting the plc program ( 41), 6commissioning of profibus

background image

Lenze · Controller-based Automation · PROFIBUS® Communication Manual · DMS 4.3 EN · 04/2014 · TD17

41

6

Commissioning of PROFIBUS

6.2

Detailed commissioning steps

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

6.2.11

Compiling the PLC program code

In order to compile the PLC program code, select the menu command Build Build, or press

function key .

• 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 + 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 possibly available configuration and PLC program are 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 function key 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 (+), the cyclic data transfer continues until

a "reset origin" is carried out (menu command Online Reset origin).