Programming

e!RUNTIME is integrated in e!COCKPIT user interface. This is the 3S hardware-independent CODESYS IEC 61131-3 programming system (version 3.5).
e!COCKPIT can assign elements for program development to (fieldbus controllers), thus enabling for example the implementation of fieldbus and I/O configurations, visualizations, motion control and other tasks.

  1. Open the “Program Structure” panel.
Opening the “Program Structure” Panel
Opening the “Program Structure” Panel

A CODESYS application with a library manager, “PLC_PRG” program and a task configuration is created for each head station incorporated. Other applications can be created on the same level or below.

A “project library” is created for POUs, which applies to all applications.

You can incorporate additional CODESYS elements via the context menu in the Program Structure, such as additional POUs, files, variable lists or visualizations (see CODESYS online help, “Adding an Object”).

Right-click the project library and choose [Copy] to copy, for example the entire content of this directory, to a directory of an appropriate project application. Copying and inserting is also possible between different instances of e!COCKPIT.

Context Menu in the Program Structure
Context Menu in the Program Structure

“POUs” are program organization units/objects that form a controller program. When you create a POU, the workspace is adapted accordingly. Depending on the selected programming language, other tabs are added to the menu ribbon and new panels are shown (e.g., “Tools”).

Adding a POU
Adding a POU

The use of individual panels is described in the CODESYS online help.

The context menu of an application also enables you to copy, insert or delete the appropriate application, connect the device, start and stop the application, open the programming editor or view/change the settings of the application.

For additional information see: