The function retrieves the state of the device's input line.
To use this function, the device configuration must include the following settings:
Configuration > Inputs > Use as > Any value except "Not used".
Function Menu | Block Diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
reset |
bool |
Resets the counted pulses to 0. (Used only if the input is configured as "Impulse Counter") |
Name | Type | Description |
---|---|---|
voltage |
int32 |
The voltage value (mV) on the input. With filtering in the device – slightly inert. |
value |
int32 |
The type of value depends on the input configuration:Discrete - The state of the input:1 - triggered 0 - normal Analog - The current measured voltage (mV) on the input.Values without filtering and can be used for analyzing pulse shape and duration. Frequency - The current measured frequency (Hz) on the input.Counting - The pulse counter value.Can be reset via the reset input.Tachometer - The engine RPM value (rev/min) on the input. |
The behavior of the output values depends on the input configuration in the device settings.
Name | Description |
---|---|
Input =Number | The number of the device input |