Lamps

Lamps

In this category you will find lamp objects in different forms. In the existing categories these are partly preconfigured in different colors. The colors and settings are not permanent, they can be adapted in the properties to your own needs.

Lamps are typically used to indicate the status of a bit operand.

All lamp types are derived from the same original object. These are preconfigured for special tasks only by the settings. This means that you can change all lamp types to another lamp type by changing the properties.

Lamps are not physics objects by default, so they are not visible to the physics engine. You can change this if necessary. Only the properties "Physical type of object" and "Is physics object" as well as the other physics properties have to be adjusted.

A lamp cannot only evaluate the values '0' and '1' of an operand. By specifying a range, it is possible, for example, to specify the threshold value for a byte operand from which the lamp is illuminated.

To do this, you need only this specification:

0-100 IM.MB10

In this way, the lamp is not illuminated until a value >= 100 is present in byte operand MB10.

Lamp objects can additionally be provided with operands which generate a flashing or pulsating appearance. If, for example, the condition is fulfilled for the lamp to be illuminated and also the condition for flashing, then the lamp is flashing.

The properties to be assigned have the names "Operand flashing" and "Operand pulsating".

Indicator lights

These types of lamps are used as indicator lights on control panels. Different colors can be selected within the category. If necessary, you can adjust the colors.

LEDs (round)

These lamp objects have a round LED-like appearance. Different colors can be selected within the category. If necessary, you can adjust the colors.

LEDs (rectangular)

These lamp objects have a rectangular LED-like appearance. Different colors can be selected within the category. If necessary, you can adjust the colors.

Stack signal lights

You can use these objects to build stack signal lights. In this section the individual parts of a stack signal light are available in different colors. A stack signal light with a single lighting element is also available.

If necessary, you can adjust the colors.

Customizing lamp graphics

It is not possible to customize lamp objects with your own graphics for individual statuses.

For this you can use the objects in the geometric shapes.

If, for example, you select an ellipse as a decoration object, you can select an image file for status '0' and status '1' in the properties section "Appearance -> Images".

If you want to use vector graphics (XAML file), you can specify those in the properties section "Appearance -> Vector graphics".

This is described and an example shown here:

Using of graphics in objects