User Tools

Site Tools

한국어

comfilehmi:toggle_switch:index

Toggle Switch

A toggle switch displays the state of a boolean value (on or off), and also gives the operator a widget through which they can change the value.

Bit Address

The state of the toggle switch can be bound to bit value in a device's memory.

The state can also be simultaneously stored to a variable.

Word Address

The state of the toggle switch can be bound to word value in a device's memory.

If you check the specific bit option, you can change the specific bit of the word address to 1 or 0. As in the example below, if the bit number is set to 1, the target is bit 1 of the word address.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0

Internal Variable

The state of the toggle switch can be bound to word value in a variable.

Mutual Exclusion

Multiple toggle switches can be bound to the same device address or variable, and when toggled on, will turn all others off.

Back to ComfileHMI

comfilehmi/toggle_switch/index.txt · Last modified: 2023/04/14 16:36 by COMFILE Technology