Restart (Restart Program)

The Restart instruction is used to restart the program under program control.

Syntax

Restart

Remarks

When the Restart instruction is executed, the running program is stopped and restarted. The values in variables and intermediate storage locations are cleared, and any ports that have been set to True are reset to False unless otherwise set under program control when the program is recompiled. Data tables are not reset unless other changes were made that affect memory or data table structure, so record numbers in data tables will not be reset to 1.

This instruction is not typically required for normal program operation, but it does allow a way to restart the datalogger under program control if needed.