Aim: A Motor Will Be Connected To A PLC and Controlled by Two Switches. The Go Switch Will Start The

You might also like

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

Aim : A motor will be connected to a plc and controlled by two switches.

The go switch will start the motor , and the stop switch will stop if the motor is going, and the go switch is thrown, this will also stop the motor. If the stop switch was used to stop the motor , the go switch must be thrown twice to start the motor. When the motor is running , a light should e turned on. 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. Put rising edge trigger switch y selecting it from the menu bar and name it as X2 .with it put increment D1.In the next line we use the comparison syntax and equate D1 with K1 , and this sets the output Y0. Then in the next line we again use the comparison syntax and equate D1 with K2 , and this will reset the output Y0 and there is a vertical line connected which resets the D1. Now in the next line we put another rising edge trigger switch named X4, and this will move the data from K-1 to D1.There is also a vertical line connected to the X4 which will reset output Y0. Now end the program and go to the online mode. Observation: When we press the rising edge trigger switch X2 ,it will increment D1 and when D1 will become equal to k1 then it will set the output Y0.And when the D1 becomes equal to K2 then the output Y0 will get reset and the D1 will also get reset.When we press X2 once then the output glows and when we press the X2 twice the output will reset. When we press rising edge trigger switch X4 then the data moves from K-1 to D1and this also resets the output y0.

You might also like