page 140
Function
TDM_REPORT_KEYDATA
Library TDM.LIB
Function symbol
Purpose
The function shows the current keyboard status of the
tdm R 360.
Parameter
Function input
Function outputs
Name Data type Description
ENABLE BOOL TRUE: function is executed
FALSE: function is not executed
RESET BOOL TRUE: sets output RECEIVED ro
FALSE
Name Data type Description
RECEIVED BOOL TRUE: new data received
FALSE: no new data received
CTRL BYTE control parameters for keys and LED
polling
NUMBER BYTE only for CTRL = 0, contains key number
and status
TA0TA4 BYTE for CTRL = 0 ... 4, status bytes of keys
or LEDs (bit-oriented)
TA1TA5 BYTE for CTRL = 0 ... 4, status bytes of keys
or LEDs (bit-oriented)
TA2TA6 BYTE for CTRL = 0 ... 4, status bytes of keys
or LEDs (bit-oriented)
TA3TA7 BYTE for CTRL = 0...4, status bytes of keys or
LEDs (bit-oriented)