The Constant Number building block is used to convert an ON/OFF value into a Number value.
A Constant Number building block has one ON/OFF input value and one Number output value. When the input value changes, the output value will be set according to the building block's configuration.
To configure a Constant Number building block, enter the output value that should be used when the input is ON, and the output value that should be used when the input is OFF.
In the example to the right, the output of the building block will be set to 5 when the input is ON, and set to 0 when the input is OFF.