There are quite a few instructions that are triggered by a change in state of a bit or input (leading edge one-shot contact, trailing edge one-shot contact, leading edge one-shot coil, trailing edge one-shot coil, etc.).
It seems that these types of instructions would require multiple scans since they need to compare the current state of a bit to a previously stored state in order to identity a transition. If so, does that mean that these transition-triggered instructions would not work in subroutines, tasks, or any other code block that runs for only a single scan?