The Micro800 PLC first updates its inputs, then it executes its programs, then it updates its outputs.