Siemens S7-300 plc counter becomes timer programming examples

Siemens PLC programming, how to use clock memory, extended to  timer, which is plc programming examples, explains how to write ladder diagram
In the programming use CPU memory clock,Setting MB100 clock memory, the M100.0 change cycle is 0.1s.Enter the symbol for the address I0.1, I0.1 positive edge down counter C0 to set the number, if I0.0 is 1, C0 minus 1 per 0.1s. Output symbol address Q0.0.

ladder diagram

If the I0.1 is the number of positive hops down the counter C0, if I0.0 is 1, then C0 per 0.1s minus 1. When the C0 is reduced to 0, the output Q0.0 is 1. I0.1 and a positive jump along the C0 set number and make the output to 0. Thus, after the I0.0 is 1, 2S (20 x 0.1s=2s), Q0.0 is 1, and the positive I0.1 of is reset to the Q0.0.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.