Parameter Declaration Data type Description
Column3 INPUT BOOL Column 3 of the keyboard matrix.
Default: FALSE
ClearCode INPUT BYTE The value at which the keyboard buffer is to be
cleared.
0: deactivated
Default: 42 = *
EnterCode INPUT BYTE The value at which the keyboard buffer is to be
output.
0: deactivated
Default: 35 = #
Clear INPUT BOOL Edge change 0-1 clears the keyboard buffer.
Default: FALSE
TimeAutoClear INPUT TIME Duration within a further key must be pressed. Other-
wise the keyboard buffer is cleared.
0: Buffer is not cleared
Default: 10s
CountCharAu-
toEnter
INPUT INT Number of characters, which are automatically output
as keyboard buffer.
0: deactivated
Default: 0
Output OUTPUT STRING[16] Contents of the keyboard buffer as max. 16 byte
string.
Valid OUTPUT BOOL The static output indicates that the string at Output is
valid. The signal is pending for one cycle.
Error OUTPUT BOOL Error is activated for the time TimeError when a key
is pressed, but the keyboard buffer is full.
TimeDebounce CONSTANT TIME Time for debounce of the inputs.
Default: 100ms
TimeError CONSTANT TIME Time for the duration of the error signal.
Default: 500ms
7.3.5 FB 50 - KEYPAD2 - Keyboard
This block is used to connect an external keypad (0...9,*,#) without an own power supply.
The block provides output column signals. Depending on the pressed key, the keyboard
provides the according row signals. The block evaluates the signals internally by means
of a bit pattern table and transfers the determined ASCII code into the keyboard buffer. If
necessary, or automatically the keyboard buffer is output as max. 16byte character string.
n Via Row 1...4 the rows 1...4 of the keyboard matrix are connected.
n Via Column 1...3 the columns 1...3 of the keyboard matrix are connected.
n Via TimeDelay you can specify a waiting time after setting the column outputs up to
reading the corresponding row inputs. This time must be greater than the delay time
of the used module.
n Via ClearCode you can specify a key code to clear the keyboard buffer.
Description
VIPA SPEED7
Building Control
Access Control > FB 50 - KEYPAD2 - Keyboard
HB00 | OPL_SP7 | Operation list | en | 18-30 111