Professional Documents
Culture Documents
Instructor:
The ladder diagram above is a very simple one. When the program starts to scan the normally closed contact Y1,Y1 will be closed because coil Y1 is Off. When the program then scan to coil Y1 and make it On, the output will be 1. When the program scans to the normally closed contact Y1 again in the next scan cycle, because coil Y1 is On, Y1 will be open and make coil Y1 Off and output 0. The repeated scans will result in coil Y1 outputs oscillating pulses by the cycle T(On)+T(Off). An oscillating circuit with cycle nT+T
The ladder diagram program controls the On time of coil Y1 by timer T0 and disable timer T0 in the next scan cycle, resulting in the oscillating pulses in the output of Y1. n refers to the decimal set value in the timer and T is the cycle of the clock.
The total delay time from input X0 is closed to output Y1 is On = (n1+n2)* T. T refers to the clock cycle.
Timing Diagram: