Context menus

For devices in different views and also for elements of the program structure, certain basic functions are accessible via context menus.

Note: Depending on the view in which the context menu is opened and depending on the selected device/element, not all functions listed here may be available.

Context Menu

Symbol

Function

Description

Copy

Selected devices/elements will be copied.

Insert

Selected devices/elements will be inserted.

Delete

Selected devices will be deleted from the Device structure / Network view. When deleting the device, the associated program elements are also deleted.

Selected program elements will be deleted from the program structure.

In the device detail view selected I/O modules will be removed from the node.

Compile

The source code of the active application will be checked for errors (see Compiling and Validating an Application).

Refactoring

The “Refactoring” dialog to rename the object opens if permitted for the object (see CODESYS online help, Index “Refactoring”).

Connect

An online connection to one or more selected devices will be established and a download is performed if necessary (see Connecting).

Disconnect

The connection between the development and target systems (controller or simulated device) is removed and returns to offline mode.

Start

The application starts on the controller or in the simulation (see also Starting Application and Simulating an Application).

Stop

The application on the controller or in the simulation will be stopped (see also Simulating an Application).

Scan

The node is scanned for the presence of modules. Results will be displayed in a list (see also Scanning the Network and Devices).

Upload

Parameters are read from the selected device (see also Uploading and Downloading Parameters).

Download

Parameters are written to the selected device (see also Uploading and Downloading Parameters).

I/O-Check

The “I/O CHECK” tab opens (see “I/O CHECK” Tab and Testing).

Reset

All Reset commands cause a restart in online mode. The set breakpoints in the project are deactivated.

Reset (warm) resets all variables of the active program to their initial and default values apart from the retentive variables (Retain, Persistent). The behavior is the same as switching the controller off and on while the program is running (e.g., in the event of a power failure).

Reset (cold) is the same as the “Reset warm” command, but also resets the retentive variables of the active application to their initialization values and default values (behavior is same as the start of the program currently loaded onto the controller).

Reset (original) resets the values of all variables of the active application to their initialization values and deletes the program on the controller.

Editor

The programming editor opens for entering program code (see Program Editor).

Device details

The Device Detail view opens (see also Device Detail View) and displays the I/O mapping (see I/O Mapping and Performing I/O Mapping).

Settings

For Devices: Device settings are diplayed in the corresponding panel (see also Settings).

For program elements: A dialog opens in which program properties can be edited (see CODESYS online help: “Properties, General”).

Export

The I/O mapping of a device and its subdevices will be saved to an external CSV file (see also Exporting/Importing I/O Mapping).

Import

The CSV file of an I/O mapping exported previously will be imported (see also Exporting/Importing I/O Mapping).

Replace Device / Modul

A dialog opens to select a new device/I/O module to replace the device/I/O module selected in the project (see description Replacing a Device).

Subversion

The function is displayed if the “,e!COCKPIT SVN” add-on is installed (see also Using Version Management in e!COCKPIT).

The following commands are available in the submenu:

SVN Repository Browser… opens the SVN repository browser.

It shows the contents of an SVN repository in a tree structure. The SVN repository can be searched in the browser.

Explore SVN working copy… opens a dialog which displays the working copy from SVN view in a browser.

Commit… opens a dialog to transfer changes that affect the object to the SVN repository.
When executing a command, transferred objects are automatically locked.

Colored marking / status of changed objects:

Blue: Changed
Green: Added
Dark red: Deleted
Red: Conflict
Black: Not versioned (not in the SVN repository)
Grey: Excluded from transfer

Compare displays the result of a comparison between working copy and base revision.

The base revision is the revision that is at the top level in the SVN repository.
Requirement: The object is versioned, has been modified locally and has no conflict. Multiple comparisons of different objects can be opened at the same time.

Compare with HEAD Revision displays the result of a comparison between working copy and HEAD revision.

The HEAD revision is the revision that is at the top level in the branch. You can selectively reset changes that have been transferred to the HEAD revision.

Compare with revision… displays the version history of an object of the e!COCKPIT project.

A revision can be selected. After selecting the revision, the results of the comparison between working copy and revision are displayed.
Requirement: The object is versioned and has no conflict. Multiple comparisons of different objects can be opened at the same time.

Include externals… opens a dialog to embed external objects.

Requirement: An object is selected in the object tree. The external objects are embedded in the object tree.

Ignore on commit disables the object by default in the dialog “Commit”.

Requirement: There must be at least one object that is not ignored.

SVN Info… displays information about the selected object in the SVN repository.

Requirement: Versioned object is selected in the project tree.

Show properties opens a dialog to edit the properties of a versioned object.

Acquire lock… locks the object for the current user.

Requirement: The object is not already locked.

Show log… opens the version history of the object in the e!COCKPIT project.

Revert… opens a dialog window for resetting local changes.

This resets to the status of the base revision of the working copy.

Revert to revision… opens a dialog to select the revision to which the object is to be reset.

Update commits changes in the SVN repository to the project.

The update is performed with the HEAD revision.

Update only this commits changes in the SVN repository that affect to the object to the project.

The update is performed with the HEAD revision.

Update to revision… opens a dialog to specify the revision to which the object is updated.

Notes:

You can also access some of these SVN commands and more in the ribbon (see “SUBVERSION” Tab).

The status that an object has in the SVN repository is indicated in the device and program structure by an icon in front of the device icon (see Status Indicators for Version Management). For an explanation of the status indicators, see CODESYS online help under “Add-on” > “CODESYS SVN” > “Reference User Interface” > “Overlaid Icons”.

The complete description of the commands and functions as well as further dialogs can be found in the CODESYS online help under “Add-on” > “CODESYS SVN” > “Reference User Interface” “Commands”.