Validity: Rule, Task.
This bit variable indicates if there is a synchronized restart operation for the indicated task following a live change.
Syntax |
sync_restart.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 line before changing live with new program restart_point ... ... |