Application processing time represents how long the User Program needs to read an input and respond by setting an output. The application processing time consists of one or more application processing loops.
One iteration of the application processing loop takes 30 μs. At the beginning of every loop, the User Program samples inputs and sets outputs based on the current state. When the loop runs, the User Program evaluates transition conditions from the current state against the sampled inputs. If the inputs trigger a transition, the User Program updates to a new state. At the beginning of the next loop, the User Program sets outputs based on the new state.
If an input value changes after the beginning of the loop, that input will not be sampled until the beginning of the next loop. The total application response will require two iterations of the loop and take 60 μs.
Total application processing time increases for each state and associated transition in the defined execution path. Transition timers increase processing time by the number of loops required to resolve the timing logic as true.