A + for using a flag as per the instructions.Ģ. Can somebody please advice me on how to make the program more stable and how to make it better.įirst, you should have some kudos, some credits for the things you did right.ġ. The reverse process also doesn't work.Īttached is TLP LogixPro Simulator code which I saved and also a print screen of the ladder logic code. The door should stop first and will only open when the OPEN button is pressed the second time. Some times the program doesn't work as in when the door is closing (Motor DOWN is rotating), pressing the OPEN button 1 time will cause the door to open (which is not what i wanted). When either Motor UP or Motor DOWN is rotating, B3:0/0 (Moving Flag) is latch to high. Pressing OPEN button the second time should open the door (Motor UP is rotating). Pressing CLOSE button the second time should close the door (Motor DOWN is rotating).Ģ) When the door is closing (Motor DOWN is rotating), pressing OPEN button 1 time should stop the motor. I've written the ladder logic program for the following scenario:ġ) When the door is opening (Motor UP is rotating), pressing CLOSE button 1 time should stop the motor. I'm now doing the Door simulation to Open and Close the door. I have just started learning PLC programming by using TLP LogixPro Simulator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |