Validity: Rule, Task
This bit variable indicates if the indicated task was restarted as a result of a live modifcation.
Syntax |
restarted.bit |
---|---|
bit |
•0 = restart rule •1 = restart task 1 •2 = restart task 2 •... •8 = restart task 8 |
Attributes |
Read only |
Example
; in task 1 ; code begin if (not restarted.1) call hndFirstBoot() inf_report(0x100, "normal boot") else inf_report(0x100, "Live edit with reboot") endif __main_loop__ if(sync_restart.1) inf_report(0x100, "Live edit with synchronized restart") endif ; last code exec line line before changing live with new program restart_point ... |