First, the input sampling stage
During the input sampling phase, the programmable logic controller reads all input conditions and data in a scanning manner and stores them in the corresponding units in the I/O image area. After the input sampling is completed, it is transferred to the user program fulfillment and output rewriting phase. In these two phases, the status and data of the corresponding unit in the I/O image area will not change even if the input status and data change. Therefore, if the input is a pulse signal, the width of the pulse signal must be greater than one scan period to ensure that the input can be read in any case.
Second, the user program fulfillment stage
During the user program fulfillment phase, the programmable logic controller always scans the user program (ladder) sequentially in a top-down order. When scanning each ladder diagram, first scan the control lines formed by the contacts on the left side of the ladder diagram, and perform logic operations on the control lines formed by the contacts in the order of left first, second right, first up and then down, and then according to As a result of the logic operation, rewriting the status of the corresponding bit of the logic coil in the system RAM storage area; or rewriting the status of the corresponding position of the output coil in the I/O image area; or confirming whether to fulfill the special specified by the ladder diagram Utility instructions.
In the process of user program fulfillment, the rewinder does not change the status and data of the input point in the I/O image area, while other output points and soft devices are in the I/O image area or system RAM storage area. The status and data are subject to change, and the ladder diagrams listed above, the program performance results will work on the ladder diagrams that use the coils or data below; instead, the ladder diagrams below, The status or data of the rewritten logic coil can only be applied to the program above it until the next scan cycle.
I/O points can be accessed directly in the process of program execution if I use immediate I/O instructions. That is, if the I/O instruction is used, the value of the input process impression register will not be updated, the program will directly take the value from the I/O module, and the output process impression register will be updated immediately, which is somewhat different from the immediate input.
Third, the output rewriting stage
After the rewinder scans the user program, the programmable logic controller enters the output rewrite phase. During this period, the CPU rewrites all the output latch circuits according to the corresponding conditions and data in the I/O map area, and then drives the corresponding peripherals through the output circuit. At this point, it is the true output of the programmable logic controller.
Article from Jiangmen Nantian Machinery Manufacturing Co., Ltd.:http://m.bitcoin8888.cn/
03-27
What is the reason why the tension of the film winder is too small?
There is sometimes no tension in the magnetic powder clutch.For this reason, there is a short circuit or poor contact. Check if the input wire is exposed and touch the mechanical body. Check for loose wire connections. Another reason is that the internal magnetic powder has now lost a part of the magnetic properties, and sometimes there is no phenomenon when tension occurs during the application process. In this case, it is considered to replace the new magnetic powder. 3. The magnetic po
03-27
Four operating requirements of the slitting machine
The most important performance indicators for fixed length slitting are the cutting accuracy and the consistency of the finished product length. The slitting length can be set continuously. If there is an error in the actual slitting length, it is easy to calibrate by setting parameters. Article from Jiangmen Nantian Machinery Manufacturing Co., Ltd.
03-27
What are the requirements for the process of the winder?
In the process of cutting the paper, the paper cutter will inevitably form a slit end face between the two cut papers. In theory, it can be cut into a plane, but in practice, it is often impossible to cut the unevenness. When the paper rolls are interlaced, the two rolls of paper are staggered together, and the width of the cut uneven paper rolls is inconsistent, which may cause trouble in use. The coated whiteboard paper is a coated paperboard having a bright coating on the coated side,
03-27
Working principle of rewinder PLC controller system
In the process of user program fulfillment, the rewinder does not change the status and data of the input point in the I/O image area, while other output points and soft devices are in the I/O image area or system RAM storage area. The status and data are subject to change, and the ladder diagrams listed above, the program performance results will work on the ladder diagrams that use the coils or data below; instead, the ladder diagrams below, The status or data of the rewritten logic coil can o