IEC Objects

Overview

The IEC Objects view of the device editor lists objects that allow access to the device from the application. In online mode, it serves as monitoring view.

If a function block instance has been created implicitly for a device, at least this instance is listed as an object in the table. This instance can be used, for example, to restart a bus or to poll information from the application. It depends on the device whether this kind of device instance is available and which access options are provided. Consult the Programming Guide specific to your controller for details.

The table also contains instances of function blocks that are linked to inputs or outputs of the device. The mapping of a function block to a channel is defined in the I/O Mapping view. This view contains the Go to Instance button that provides a direct link to the corresponding object in this IEC Objects table.

You can add objects to this table that are not yet linked with a device channel.

In online mode, you can use the IEC Objects table as a monitoring view. It indicates the value, the address and the comment for the function block variable at the channel. It also allows you to write and force values.

Description of the Elements

The IEC Objects view provides the following elements:

Element

Description

Add

Edit

Opens the Select Function Block dialog box for creating a new instance or for editing the instance selected in the table.

Delete

Deletes the selected entry.

Go to Instance

Provides a direct link from the selected entry to the corresponding mapping in the I/O Mapping view.

Variable

The object name consists of the device name and the function block name, for example EL2004_Relay.

Changes to the device name in the project are indicated here. The part of the name after the device name is editable.

Mapping

Mapping type, as in the I/O Mapping view.

Type

Data type, which is the name of the function block in this case.

Value

Prepared value

Address

Comment

Only available in online mode:

Indicates the present value, the address, and the comment for the variable at the channel. You can enter a value for writing or forcing the variable.