Ask a Question
Welcome to the MotorForum.RfidEpc.CoM Servo & Stepper Motor Industrial Automation Technology Community Forum


+1 vote
27 views

What are the phased steps of PLC in the execution of the program?

by (62.8k points)

1 Answer

+1 vote
 
Best answer

PLC is mainly divided into the following three stages when the program is executed:

1. Input sampling stage: In this stage, the PLC reads the input signal on all input terminals in a scanning manner, and stores each input state into the corresponding input image register. At this point, the input image register is flashed.

During the program execution phase and the output refresh phase, the input image memory is isolated from the outside world, and its contents remain unchanged until the next input scan phase of the scan week, when it is refreshed by the input signal that is re-read.

During program execution, when the input and output states are involved in the instruction, the PLC "reads" the corresponding input terminal state from the input image register and the current state of the corresponding component from the output image register. 

The corresponding calculations are then performed, and the results are stored in the output image register.

2. Output refresh stage: The calculation results of the program execution stage are stored in the output image area and not sent to the output port.

In the output refresh phase, the PLC feeds the output variables in the output image area into the output latch, which then generates the control output for this cycle through the output module.

by (128k points)
selected by

Related questions

+1 vote
1 answer 41 views
+1 vote
3 answers 67 views
+1 vote
1 answer 33 views
+1 vote
1 answer 38 views
+1 vote
2 answers 34 views
+1 vote
1 answer 30 views
+1 vote
2 answers 42 views
+1 vote
1 answer 160 views
+2 votes
2 answers 315 views
+2 votes
2 answers 56 views
...