Book Now
PLC Operation

A PLC works by continually scanning a program. We can think of these scan cycle as consisting of 3 important steps. There are typically more than 3 but we can focus on the important parts and not worry about the others. Typically the others are checking the system and updating the current internal counter and timer values.

Step 1-CHECKS INPUT STATUS- First the PLC takes a look at each input to determine if it is on or off. In other words, is the sensor connected to the first input on? How about the second input? How about the third.. It records this data into its memory to be used during the next step.

Step 2-EXECUTE PROGRAM-Next The PLC executes your program one instruction at a time. Maybe your Program said that if the first input was on then it should turn on the first output. Since it already knows which inputs are on/off from the previous step it will be able to decide whether the first output should be turned on based on the state of the first input. It will store the execution results for use later during the next step.

Step 3- UPDATE OUTPUT STATUS-Finally the PLC updates the status of the outputs. It updates the outputs based on which inputs were on during the first step and the result of executing your program during the second step based on the example in step 2 it would now turn on the first output because the first input was on and your program said to turn on the first output when this condition is true.

After the Third step the PLC goes back to step one and repeats the steps continuously. One scan time is defined as the time Response Time. The total response time of the PLC is a fact we have to consider when shopping for a PLC. Just input circuit of your brain takes a certain amount of time to realize that your eyes say something. Eventually your brain realizes that the eyes have seen something and it processes the data and begins to respond to it.