Input

Motion Block

Description

The Input block indicates if the hardware input at the indicated index is active or inactive.

Escapes

Reading an Input Bit register does not generate any escapes.

Examples

This block list shows a prompter message if an input transitions to true:

However this would be more readable if Named IO is used instead:

This block list starts blinking when a switch connected to input 1 is pushed and continues until the switch is released.

Again, compare with the improved readability of Named IO. Note that the condition of "on" or "off" can be selected:

Related Topics

Set Output Bit