User jrwb4gbm suggested: "Please compress your .rsl file from the LogixPro software into a ZIP format and upload it here. Many members of the forum have access to the software and can offer valuable insights. For additional examples, visit the 'Downloads' section dedicated to Allen Bradley. You can find the Downloads button at the top of the page, then scroll down to locate the Door Simulation (.rsl) files. For your convenience, here’s a direct link to that section: [Allen Bradley Downloads](http://www.plcs.net/downloads/index...i4&direction=0&order=&directory=Allen_Bradley). Thank you! I will check it out and have uploaded the ZIP file."
Upon initial inspection, I noticed there isn’t a significant role for the T4:2/DN bit in rung 000, and I’m unclear about its intended purpose. It seems that the "DN" bit may have been inaccurately assigned its number. If this bit is intended to control the door reclosure process, I recommend updating the timer number for the "DN" bit. Additionally, reposition it within the branch connected to O:2/0, which is located near the Open Push Button in rung 000, and modify its condition from open to closed.
User jrwb4gbm commented: At first glance, I don't see much functionality associated with the T4:2/DN bit in rung 000, and I'm unclear about its intended purpose. It seems possible that the "DN" bit might have been numbered incorrectly. If this bit relates to the door reclosure process, I recommend adjusting the timer number for the "DN" bit and relocating it within the branch that includes O:2/0, which is situated around the Open PB in rung 000, modifying the condition from open to closed.
In response, I must admit I overlooked that aspect. I've made changes in the file, but it doesn't appear to affect anything. When I download and run the program, the close and stop lights remain illuminated, and I'm unsure why. It likely has something to do with rungs 001 and 002.
I've observed that the Door Simulation is not functioning as anticipated, likely due to the mechanical condition of the Limit Switches. To address this issue, I am in the process of developing a viable solution. Initially, I created a manual push button to activate the up motor output, which helped me diagnose the problem. I recommend starting from scratch by using only the open button and open motor output as your foundation. Once you have this basic setup working, gradually introduce one device, such as a limit switch, and conduct tests at each stage to ensure everything operates correctly. This step-by-step approach can help you troubleshoot effectively and achieve a reliable door simulation.
Absolutely, I believe that's the most effective approach. The challenge lies in implementing a 10-second delay before it closes automatically, but I'll continue to refine it. Please share any ideas you might have. Thank you!
I have a functional solution, but I want to support your learning process rather than simply providing you with the complete answer, as other forum members might view that unfavorably. Therefore, I will share hints and assist in correcting any mistakes you encounter along the way. As I mentioned before, start by getting the "up" rung to work manually before moving on to the "down" rung. Once you achieve that, you can integrate limit switches to prevent the door from overextending.
Next, create additional rungs for the "Open," "Close," and "Ajar" indicators. I implemented the lighting differently, ensuring they only illuminate when the door is either fully open or fully closed. While it's possible to program them according to your original suggestion in post #1, the simulator I'm using has limitations that prevent that. I designed the "Ajar" light to activate while the door is in motion.
Then, construct the timer rung using the "Open" light to initiate the timer. Utilize the timer's done bit to activate the "Down" button. For the "Up" action, use the motor output to latch the "Up" rung, and similarly, employ the motor output for the "Down" action to latch the "Down" rung. I know it may be a challenge to convey my thoughts precisely, but I hope these tips will clarify the process for you and enhance your understanding.
Here's a brief update: I successfully resolved the issue with the "Ajar" indicator light and utilized the motor outputs to activate the "Up" and "Down" lights.
User jrwb4gbm shared an update: "I successfully resolved the 'Ajar' light issue and utilized the motor outputs to activate the 'Up' and 'Down' lights. Thanks so much for your assistance! Although I will be attending classes all day, I managed to make some progress this morning. Now, the system can be opened and closed manually without overextending or causing the motor to stall. My next focus will be on fixing the lighting. I appreciate your help once more!"
NickH21 expresses gratitude for all the assistance received, stating, "I truly appreciate all the help! Although I'll be attending classes all day, I managed to spend some time this morning working on my project. I'm pleased to report that I've successfully configured it to open and close manually without the motor stalling or overextending. My next focus will be on the lighting system. Thanks once more!"
He continues, "Here is my current progress. I'm finding the timer rung a bit perplexing and could use some guidance on how to effectively implement that."
It's great to see your progress! In rung 5, there are too many elements affecting the left side of the TON timer. For optimal performance, remove all excess components and only include the Open Limit Switch (LS1) as an XIO (examined if open). This adjustment ensures that the TON timer activates solely when the door is fully open, as the limit switch is designed to release mechanically only at the top position. Remember, the preset values are measured in tenths of a second, meaning a value of 100 corresponds to 10 seconds. The timer done (DN) signal should effectively trigger the SHUT button.
Additionally, if you're aiming to manage the "Ajar" light functionality, consider removing rung 4 for a cleaner setup. Due to the quirks of the simulator, I faced challenges while editing; I was unable to simply re-address the instruction for the lights. Instead, I had to cut the existing instruction and insert a new one with the appropriate address that I wanted to utilize.
I believe I have successfully implemented nearly all features, except for the automatic close functionality. I'm uncertain about how to activate it after a 10-second delay. I've made the necessary adjustments to run version 5, but I’m encountering difficulties. Despite experimenting with various solutions, I haven't achieved the desired outcome.
If anyone has insights or tips on troubleshooting automatic close features or enhancing functionality, I'd greatly appreciate your assistance!
User NickH21 commented: "I believe I've managed to get most features functioning properly, but I'm struggling with the automatic close function. I'm uncertain how to initiate it after a 10-second delay. I've made the necessary adjustments for rung 5, but I'm not having any success. I've tried experimenting with several options, but nothing seems to work. Could you confirm if you included the timer DN bit to emulate the close button? Also, please share an updated screenshot of your file."
Gomez asked: "Have you implemented the timer DN bit so it functions like the close button?" Please share an updated screenshot of your project file. Click to view more... Here’s the latest version I have.
User NickH21 shared some insights: Currently, I have the following setup. To ensure the door operates correctly, it's essential to note that the DN bit from the timer must be placed before the timer; otherwise, the door will not activate. For the door to lower safely, the DN bit should be included in the rung, structured as follows: (IF start button is pressed OR timer has completed THEN initiate door descent).
Gomez_ commented: The DN bit associated with the timer is located in front of the timer itself, and if it’s not included, the door will not activate. To ensure the door moves down, the DN bit must be present in the rung configuration (IF start-button OR timer-done THEN activate door down). Click to expand for details... Oh, that clarifies things! Thank you. Everything appears to be functioning well now. I've uploaded a picture for you to review and confirm that I'm not overlooking anything. I appreciate all your support!
@NickH21, regarding your post #19: I encourage you to revisit the initial section of my post #16 concerning rung 5 and the TON. The timer/DN bit needs to be "Cut" from rung 5 and then "Pasted" in parallel with the "Close" input found in rung 1. Additionally, there are still issues with rungs 2 and 3, where incorrect devices are activating the outputs for the Open and Close lights.
Edit: @NickH21, the rung 5 configuration you shared in your post #21 is accurate; however, rung 1 requires some adjustments. In rung 1, all three components—the DN bit, the Close Pushbutton, and the seal-in—should be configured as XIC (Examine If Closed) and arranged in parallel using the main rung with two stacked branches.
User jrwb4gbm commented: @NickH21, regarding your post #19, I encourage you to revisit the first half of my post #16 concerning rung 5 and the TON (Timer On Delay). The timer/DN bit should be removed from rung 5 and placed in parallel with the "Close" Input found in rung 1. Additionally, there are still issues with rungs 2 and 3, as the incorrect devices are activating the outputs for the Open and Close lights.
Edit: @NickH21, your depiction of rung 5 in post #21 is accurate; however, rung 1 requires further adjustments. In rung 1, all three components—the DN bit, the Close Pushbutton, and the seal-in—should be configured as XIC (Examine If Closed) and arranged in parallel using the primary rung along with two stacked branches.
Could you run this configuration and share your thoughts? I'm currently getting it to function properly with this setup.
NickH21 commented: "Please test this and share your thoughts. I'm currently troubleshooting with this configuration. Click to expand... The automatic reclosing function with the existing program is operational; however, an issue arises if you hit the 'Stop' button while the door is in the process of closing, as it complicates manually restarting the downward movement. Both the Open and Shut indicators are functioning as expected. Kindly take a look at my edits in post 22 concerning rung 1."