*-----------------------------------------------------------------------------
*  Globale Operanden
*-----------------------------------------------------------------------------
*-----------------------------------------------------------------------------
*  ASCII-Code der NC-Tasten
*-----------------------------------------------------------------------------

#type

   KG_Puffer_Entleeren                      K-2

* Gruppen Codes

   KG_Alle_Tasten                           K $10000
   KG_ASCII_Tasten                          K $10001
   KG_Softkeys                              K $10002
   KG_Cursor_Tasten                         K $10003
   KG_Ziffern_Tasten                        K $10004
   KG_Betriebsarten_Tasten                  K $10005
   KG_Satzeroeffnung_Tasten                 K $10006

* Einzeltasten

   KG_keine_Taste                           K $00
   KG_Taste_BACKSPACE_ASCII                 K $08
   KG_Taste_RET_ASCII                       K $0D
   KG_Taste_SPACE_ASCII                     K $20
   KG_Taste_Ausruf_ASCII                    K $21
   KG_Taste_Anfuehrung_ASCII                K $22
   KG_Taste_Raute_ASCII                     K $23
   KG_Taste_Dollar_ASCII                    K $24
   KG_Taste_Prozent_ASCII                   K $25
   KG_Taste_Und_ASCII                       K $26
   KG_Taste_Klammer_auf_ASCII               K $28
   KG_Taste_Klammer_zu_ASCII                K $29
   KG_Taste_Stern_ASCII                     K $2A
   KG_Taste_plus_ASCII                      K $2B
   KG_Taste_Komma_ASCII                     K $2C
   KG_Taste_minus_ASCII                     K $2D
   KG_Taste_Punkt_ASCII                     K $2E
   KG_Taste_Slash_ASCII                     K $2F
   KG_Taste_0_Ziffern                       K $30
   KG_Taste_1_Ziffern                       K $31
   KG_Taste_2_Ziffern                       K $32
   KG_Taste_3_Ziffern                       K $33
   KG_Taste_4_Ziffern                       K $34
   KG_Taste_5_Ziffern                       K $35
   KG_Taste_6_Ziffern                       K $36
   KG_Taste_7_Ziffern                       K $37
   KG_Taste_8_Ziffern                       K $38
   KG_Taste_9_Ziffern                       K $39
   KG_Taste_DPunkt_ASCII                    K $3A
   KG_Taste_SemiColon_ASCII                 K $3B
   KG_Taste_Kleiner_ASCII                   K $3C
   KG_Taste_Gleich_ASCII                    K $3D
   KG_Taste_Groesser_ASCII                  K $3E
   KG_Taste_Frage_ASCII                     K $3F
   KG_Taste_A_ASCII                         K $41
   KG_Taste_B_ASCII                         K $42
   KG_Taste_C_ASCII                         K $43
   KG_Taste_D_ASCII                         K $44
   KG_Taste_E_ASCII                         K $45
   KG_Taste_F_ASCII                         K $46
   KG_Taste_G_ASCII                         K $47
   KG_Taste_H_ASCII                         K $48
   KG_Taste_I_ASCII                         K $49
   KG_Taste_J_ASCII                         K $4A
   KG_Taste_K_ASCII                         K $4B
   KG_Taste_L_ASCII                         K $4C
   KG_Taste_M_ASCII                         K $4D
   KG_Taste_N_ASCII                         K $4E
   KG_Taste_O_ASCII                         K $4F
   KG_Taste_P_ASCII                         K $50
   KG_Taste_Q_ASCII                         K $51
   KG_Taste_R_ASCII                         K $52
   KG_Taste_S_ASCII                         K $53
   KG_Taste_T_ASCII                         K $54
   KG_Taste_U_ASCII                         K $55
   KG_Taste_V_ASCII                         K $56
   KG_Taste_W_ASCII                         K $57
   KG_Taste_X_ASCII                         K $58
   KG_Taste_Y_ASCII                         K $59
   KG_Taste_Z_ASCII                         K $5A
   KG_Taste_Dach_ASCII                      K $5E
   KG_Taste_a_ASCII_                        K $61
   KG_Taste_b_ASCII_                        K $62
   KG_Taste_c_ASCII_                        K $63
   KG_Taste_d_ASCII_                        K $64
   KG_Taste_e_ASCII_                        K $65
   KG_Taste_f_ASCII_                        K $66
   KG_Taste_g_ASCII_                        K $67
   KG_Taste_h_ASCII_                        K $68
   KG_Taste_i_ASCII_                        K $69
   KG_Taste_j_ASCII_                        K $6A
   KG_Taste_k_ASCII_                        K $6B
   KG_Taste_l_ASCII_                        K $6C
   KG_Taste_m_ASCII_                        K $6D
   KG_Taste_n_ASCII_                        K $6E
   KG_Taste_o_ASCII_                        K $6F
   KG_Taste_p_ASCII_                        K $70
   KG_Taste_q_ASCII_                        K $71
   KG_Taste_r_ASCII_                        K $72
   KG_Taste_s_ASCII_                        K $73
   KG_Taste_t_ASCII_                        K $74
   KG_Taste_u_ASCII_                        K $75
   KG_Taste_v_ASCII_                        K $76
   KG_Taste_w_ASCII_                        K $77
   KG_Taste_x_ASCII_                        K $78
   KG_Taste_y_ASCII_                        K $79
   KG_Taste_z_ASCII_                        K $7A
   KG_Taste_Connect                         K $120
   KG_Taste_Home                            K $128
   KG_Softkey_0_Softkey                     K $180
   KG_Softkey_1_Softkey                     K $181
   KG_Softkey_2_Softkey                     K $182
   KG_Softkey_3_Softkey                     K $183
   KG_Softkey_4_Softkey                     K $184
   KG_Softkey_5_Softkey                     K $185
   KG_Softkey_6_Softkey                     K $186
   KG_Softkey_7_Softkey                     K $187
   KG_Taste_FBACK_Softkey                   K $19C
   KG_Taste_FNEXT_Softkey                   K $19D
   KG_Taste_FNEXT_UP_Softkey                K $19E
   KG_Taste_Cursor_up                       K $1A0
   KG_Taste_Cursor_down                     K $1A1
   KG_Taste_Cursor_left                     K $1A2
   KG_Taste_Cursor_right                    K $1A3
   KG_Taste_ENTER                           K $1A8
   KG_Taste_NO_ENTER                        K $1A9
   KG_Taste_DEL                             K $1AB
   KG_Taste_END_BLOCK                       K $1AC
   KG_Taste_GOTO                            K $1AD
   KG_Taste_Punkt_Ziffern                   K $1BD
   KG_Taste_Manuell_Betriebsart             K $1C0
   KG_Taste_MDI_Betriebsart                 K $1C1
   KG_Taste_Einzelsatz_Betriebsart          K $1C2
   KG_Taste_Folgesatz_Betriebsart           K $1C3
   KG_Taste_Edit_Betriebsart                K $1C4
   KG_Taste_Handrad_Betriebsart             K $1C5
   KG_Taste_Test_Betriebsart                K $1C6
   KG_Taste_MOD                             K $1C7
   KG_Taste_smart_NC                        K $1C8
   KG_Taste_PGM_MGT                         K $1CB
   KG_Taste_PGM_CALL_Satzeroeffnung         K $1D0
   KG_Taste_TOOL_DEF_Satzeroeffnung         K $1D1
   KG_Taste_TOOL_CALL_Satzeroeffnung        K $1D2
   KG_Taste_CYCL_DEF_Satzeroeffnung         K $1D3
   KG_Taste_CYCL_CALL_Satzeroeffnung        K $1D4
   KG_Taste_LBL_SET_Satzeroeffnung          K $1D5
   KG_Taste_LBL_CALL_Satzeroeffnung         K $1D6
   KG_Taste_L_Satzeroeffnung                K $1D7
   KG_Taste_CE                              K $1AE
   KG_Taste_X                               K $1B0
   KG_Taste_Y                               K $1B1
   KG_Taste_Z                               K $1B2
   KG_Taste_IV                              K $1B3
   KG_Taste_V                               K $1B4
   KG_Taste_POLAR                           K $1B8
   KG_Taste_INKREMENT                       K $1B9
   KG_Taste_Q                               K $1BA
   KG_Taste_ACTPOS_Ziffern                  K $1BB
   KG_Taste_minus_Ziffern                   K $1BC
   KG_Taste_C_Satzeroeffnung                K $1D8
   KG_Taste_CR_Satzeroeffnung               K $1D9
   KG_Taste_CT_Satzeroeffnung               K $1DA
   KG_Taste_CC_Satzeroeffnung               K $1DB
   KG_Taste_RND_Satzeroeffnung              K $1DC
   KG_Taste_CHF_Satzeroeffnung              K $1DD
   KG_Taste_FK_Satzeroeffnung               K $1DE
   KG_Taste_TOUCH_PROBE_Satzeroeffnung      K $1DF
   KG_Taste_STOP_Satzeroeffnung             K $1E0
   KG_Taste_APPR_DEP_Satzeroeffnung         K $1E1
   KG_Taste_DIA                             K $1EA
   KG_Taste_FIG                             K $1EB
   KG_Taste_Bildschirm_umschalten           K $1EC
   KG_Taste_HELP                            K $1ED
   KG_Taste_INFO                            K $1EE
   KG_Taste_CALC                            K $1EF
   KG_Taste_NC_START                        K $1F0

* Tasten Kombinationen

   KG_Tasten_Ctrl_S_NC_Start                K $0013
   KG_Tasten_Ctrl_X_NC_Stop                 K $0018
   KG_Tasten_Ctrl_Y_NC_Start_Stop           K $001A
   KG_Tasten_Ctrl_Cursor_up_Achsen_plus     K $FFFF81A0
   KG_Tasten_Ctrl_Cursor_down_Achsen_minus  K $FFFF81A1
   KG_Tasten_Alt_X_TNC_Not_Halt             K $2078
