alarm_flag1 |=0x1;      /* nacisniencie dowolnego klawisza */
alarm_flag1 |=0x2;      /* zmiana wejsc */
alarm_flag1 |=0x4;      /* save */
alarm_flag1 |=0x8;      /* zmiana trybu pracy */
alarm_flag1 |=0x10;     /* sygnalizacja resetu po WACHDOG'u */
alarm_flag1 |=0x20;     /* sygnalizacja startu po resecie z dowolnej przyczyny*/    
alarm_flag1 |=0x40;     /* zmiana wyjsc */    
alarm_flag1 |=0x80;     /* blad */

alarm_flag2 |=0x1;      /* undervolt */
alarm_flag2 |=0x2;      /* overvolt */
alarm_flag2 |=0x4;      /* overcurr */
alarm_flag2 |=0x8;      /* napiecie=0 */
alarm_flag2 |=0x10;     /* nie uzywane */
alarm_flag2 |=0x20;     /* nie uzywane */
alarm_flag2 |=0x40;     /* nie uzywane */
alarm_flag2 |=0x80;     /* nie uzywane */

reg_status1 - wejscia
0  - ...
1  - BLCK
2  - ASS
3  - LS1/UP
4  - LS2/DN
5  - RC
6  - MHA
7  - MHU

reg_status2 - wejscia
0  - DPZ0  ( BCD0 lub ENP2/4 lub BIN0 lub SMIN )
1  - DPZ1  ( BCD1 lub ENP2/3 lub BIN1 lub SCTR )
2  - DPZ2  ( BCD2 lub ENP2/2 lub BIN2 lub SMAX )
3  - DPZ3  ( BCD3 lub ENP2/2 lub BIN3          )
4  - DPZ4  ( BCD4 lub ENP2/1 lub BIN4          )
5  - DPZ5  ( BCD5 lub ENP2/1                   )
6  - DPZ6  (                                   )
7  - ...

    RNT 4E                              RNT 4

reg_status3 - wyjscia
0 - UP                                  UP
1 - DN                                  DN
2 - SW_POWER                            OVERVOLT
3 - OVERVOLT                            UNDERVOLT
4 - WUS_RCA                             OVERCURR
5 -                                     RF
6 -                                     MANUAL
7 -                                     SW_POWER

reg_status4 - wyjscia
0 - UNDERVOLT                            
1 - OVERCURR
2 - 
3 - MANUAL
4 - WOS_RCA                             WUS_RCA
5 - RF                                  WOS_LSA
6 - 
7 - 
