It can be divided into the following three stages, as follows: <br>1. <br>Before the input processing program is executed, the on/off status of all input terminals of the programmable controller is read into the input image register. During program execution, even if the input state changes, the content of the input shadow register does not change. This change is not read in until the input processing stage of the next scan cycle. In addition, the input contact changes from on (ON) to off (OFF) or from off (OFF) to on (ON) until it is in a certain state, and the input filter has a response delay time (about 10ms). <br>2. The program processes <br>the instructions stored in its corresponding user program memory, reads the on/off status of the relevant soft elements from the input shadow register and the shadow registers of other soft elements, starts the sequential operation from step 0, and writes the result every time The related shadow register, therefore, the content of the shadow register of each device (except X) is constantly changing with the execution of the program. <br>The action of the internal contact of the output relay is determined by the content of the output mirror register. <br>3, the output processing <br>all the instructions is finished, the ON / OFF state of the output register image transmitted to the output latch register <br>to send, to become the actual output of the PLC. <br>The external output contact of the programmable controller has a response time to the action of the output soft element, that is, there is a delay before the action.
正在翻译中..