Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Aim : Using counters and timers show 50 days in a digital clock.

Procedure: Use the Delta WPL software . Open the file menu , then click new and then a menu option will come which will ask to select a PLC mode. In the select option choose the SS option, and the communication setting must be RS232(COM0) ,then click ok and later a Ladder Diagram mode window will open, maximize it and start working. To use a normally open push button , we have to select the normally open contact option in the menu bar, and the dialog box will open which will ask for the Input Device Instruction. And in the Input device instruction dialog box choose the Device name and Device number. Choose the device name to X , and the device number to 0. Then click OK. Now set the memory bit m1 with it. In the next row put the normally open contact and name it as m1 set a timer t1 of time 60 seconds to it.. In the next row put the normally open contact and name it as t1 and with it reset the timer t1.And also connect a vertical line from the normally open contact t1 and set a counter C1 of 60. In the next row put the normally open contact named C1 which will reset the counter C1 and also there is a vertical line connected which sets the counter C2 to 24 times. In the next line put the normally open contact and name it as C2 which resets the counter C2 and there is also a counter C3 of 50 times connected to normally open contact C2 by a vertical line.In the next line put a normally open contact named C3 which gives the output Y0.Then put an end to the program and set it to the online mode. Observation: When we press the normally open push button X0 then it sets the memory bit m1 which further sets the timer to 60seconds and after 60 seconds the timer gets reset and this cycle repeats until the counter counts to 60. When the counter C1 counts to 60 this resets the counter C1 this gets repeated until the second counter C2 counts to 24 times. After 24 counts the counter C2 gets to reset and the third counter C3 counts to 50 times , and after 50times the output Y0 glows . This shows the 50 days of a digital clock in a PLC network.

You might also like