User Tools

Site Tools

한국어

comfilehmi:lamp:index

This is an old revision of the document!


Lamp

Displays the status of a boolean value as an indicator lamp. The value can be a ComfileHMI variable, or can be read from a connected external device 1).

Bit Address

  • Reversed Display - If this checkbox is check the lamp will be ON if the value read from the external device is 0 and OFF if the value read is 1, opposite from the default behavior.

Word Address : Compare

Lamp will turn on if the condition is satisfied.

Word Address : Bit Mask

Lamp will turn on if the bit index is 1.

Expressions

The lamp's state can be determined dynamically though an expression. If the expression evaluates to 0, the lamp is off. If the expression evaluates to anything non-zero, the lamp is on.

The following video illustrates a lamp being turned on or off by modifying a single variable.

Back to ComfileHMI

Blinking

To have the lamp blink, select the “Blink when ON” checkbox.

1)
a PLC or MCU connected to the ComfileHMI
comfilehmi/lamp/index.1680841872.txt.gz · Last modified: 2023/04/07 13:31 by COMFILE Technology