If you create a circuit controlled by an input and using either the [MaRST] function or the TBASIC RESET command you can reset the PLC. The DM data will be cleared by these reset command so if you need to keep the DM data, then you may have to create your own custom function to perform clearing of specific variables only instead of using the built-in RESET command or [MaRST].