FBD/LD Graphical Code Editor (General Description)

 

The FBD/LD code editor is used to develop the Safety Logic Controller program using the graphical IEC 61131 programming languages FBD and LD.

Further Information

For detailed procedures and descriptions how to insert and handle code objects, refer to the topics in help chapter "FBD/LD Code Development".

The FBD/LD code editor provides an online mode and an offline mode.

NOTE:

EcoStruxure Machine Expert - Safety provides a certification manager for certifying the completed project after successful commissioning. A certified project is protected by password against modifications. (Such modifications would result in a new project acceptance procedure and certification.)

If you can't edit the project although you are logged-on correctly, verify whether the project is already certified. This is indicated in the status bar (rightmost):

Statusbar_CertificationOn.GIF 

Refer to the topic "Project certification" for detailed information.

Offline mode = edit mode

In offline mode, the editor is used to develop the application code. Two different editing modes are provided: the object mark mode and the connection mode.

ico_Mark.gif

The object mark mode is the default mode for selecting objects or calling the properties dialogs. To activate the mode, either select 'Edit > Mark object', or press <Ctrl> + <M>, or click the 'Mark' icon.

ico_Connect.gif

In connection mode you can draw connection lines between objects. To activate the mode, either select 'Edit > Connect Objects', or press <Ctrl> + <L>, or click the 'Connect' icon.

Click here for related topics

Online mode = variable status/debug mode

After having completed the Safety Logic Controller application program, you have to generate the Safety Logic Controller code by compiling it. After compiling and downloading the application to the Safety Logic Controller, you can use the code editor in online mode to display online values (i.e., the variable status) and perform debug operations. In online mode, it is not possible to edit worksheets.

Refer to the topic "Debugging the project in online mode" for further infor­mation.