# Numeric input

Input register

Numeric input of Voldeno module

Numeric input
V

# Outputs

IDAbbrevNameTypeDefaultDescription
valueVValueNUMBER0Numeric value

# Configuration

IDNameTypeDefaultUnitDescription
scalescaleNUMBER1Scale
offsetoffsetNUMBER0Offset

# Source Code

View Volang source
// NOTE: Input registers from Voldeno modules are sent as integers with 1000 multiplier
scale = config::get("scale") * 0.001
offset = config::get("offset")
value = input::value()
output::set("value", math::round((value * scale + offset) * 1000) / 1000)
Numeric input of Voldeno module