
I attempt to implement states in the coding so that it is easier to code, debug, maintain and understand.
The Ajar Lamp will be illuminated in a steady state if the door is in motion.īelow is my answer to exercise 4.
The Ajar Lamp will flash at a slower rate (1/4) then the other lamps. The Ajar Lamp will flash if the door is stationary, and is not in the fully open or fully closed position.The Ajar Lamp will be illuminated if the door is NOT in either the fully closed or fully opened position.If the Door is closing, the Shut lamp will flash while the door is in motion.If the Door is fully closed, the Shut lamp will be energized but not flashing.If the Door is opening, the Open lamp will flash while the door is in motion.If the Door is fully open, the Open lamp will be energized but not flashing.
Also, the retentive OTL and OTU instructions may be utilized freely at your discretion.
The utilization of Binary or Integer Table bits to Flag specific conditions within your program would be appropriate.
The Shut Lamp will be illuminated if the door is in the Fully Closed position. The Open Lamp will be illuminated if the door is in the Fully Open position. Under no circumstance will both motor windings be energized at the same time. Door movement will remain halted when the switch is released. If the door is currently closing, pressing the Open Switch will immediately halt movement. If the door is currently opening, pressing the Close Switch will immediately halt movement. Door movement will halt immediately when the Stop Switch is initially pressed, and will remain halted if the switch is released. If the Door is already fully closed (LS2 close), Pressing the Close Switch will Not energize the motor. If the Door is already fully opened (LS1 open), Pressing the Open Switch will Not energize the motor. The closing operation will continue to completion even if the Switch is released. Pressing the Close Switch will cause the door to Close if not already fully shut. The opening operation will continue to completion even if the switch is released. Pressing the Open Switch will cause the door to Open if not already fully open. The Open and Close pushbuttons will be used to control the movement of the door. In exercise 4, the requirements that needed to be fulfilled are as follows: The components involved in this simulations are The later exercise builds on the principles/components of the earlier exercise. This lab consists of 4 exercises which increases in difficulty. Hi, this is the second lab that I’ve gone through which involves ProSim-II simulation component of LogixPro.