If you have ever been troubleshooting an automation system and needed to stop the plc from scanning at the occurrence of a specific event I've found something that works quite well.
Be advised that stopping a processor from scanning on a running system can have unexpected consequences. Make sure you know what running motors will do when suddnely turned off, etc before trying this.
Decide under what conditions you want to halt scanning and then use these to build a rung which load -1 into the preset of a timer. This will result in an instant major fault and halt the procesor. You'll have to clear the preset to 0 and reset the fault to resume scanning but you can capture all data at that instant as well as observe physical position of controlled devices.
Thislittle hint proved useful in commissioning a baggage system last year.