Validità: Rule, Task
Questa variabile a bit indica se il task indicato è stato riavviato a seguito di una modifca live.
Sintassi |
restarted.bit |
---|---|
bit |
0: riavvio rule 1: riavvio task 1 2: riavvio task 2 ... 8: riavvio task 8 |
Attributi |
Sola lettura. |
Esempio
; in task 1 ; code begin if (NOT RESTARTED.1) call hndFirstBoot() inf_report(0x100, "boot normale") else inf_report(0x100, "Modifica live con riavvio") endif __main_loop__ if(sync_restart.1) inf_report(0x100, "Modifica live con riavvio sincronizzato") endif restart_point ; last code execution line line before changing live with the new program ... |