12. Here a PLC executes a program instruction by instruction based on the program and based on the status of the input has obtained in the preceding step, and appropriate action is taken. The action might be activation of certain outputs and the results can be put off and stored in memory to be retrieved later in the following steps.