Digital Input

This function block reads the signal from one of the digital input ports (IN1 or IN2) and provides this signal at the output Q to be used within the program.

The inputs IN1 and IN2 can parallel be used as digital inputs as “quick counters”. As digital input, they give out the current status, which they get at the input when calling the function block.

Parameters

The parameter dialog can be used to select the specific digital input port.

Signals

Name I/O Type(s) Function
Q O BIT Output signal

Visualization

The name of the digital input port is shown in the header of the symbol.

If output Q is set to HIGH, the function block will be highlighted.