1. The CALL B3 flag unlatch too early and doesn't trigger the car to go up or down to wherever floor it is suppose to go after the first stop.
Yes, it will not work correctly. The problem is right now you don't have any routine to seal in all the floor requests. That part is VERY IMPORTANT and I don't think you can make an elevator without it. The problem is that an elevator call pushbutton is only ON for about 1 or 2 seconds, but the elevator make take 60 or 120 or more to complete the action. The only way to save a button press is to use flag relays or similar to save those button presses until each one is completed. Back to Square 1!
Your current version (which I mistakenly thought was THE ASSIGNMENT) was only set up to do the crippled up-to-2-back-to-1 and nothing else. If I had known you were really trying to do the real thing, I sure would not have wasted all that time doing the crippled version (which cannot easily be converted to the real thing).
The question is, what to do now? Please tell me exactly what you are trying to do with the elevator.
Can you tell me a little bit more about your methodology for troubleshooting?
Where possible, I write a LogixPro simulaton program version, then test it using LogixPro to see if it works.
How to you proceed to test this elevator program? I bought the LogixPro license. Is there a way to import this program in it and run a simulation?
No, you cannot import a RSLogix RSS program directly, but you can type in a copy, and you can copy rung comment text from your RSLogix program directly to LogixPro. Because RSLogix is commercial software, it is not allowed to use the RSLogix machine language directly, but Rockwell did give permission to use the RSLogix Instruction Help file inside LogixPro.
What I do is open RSLogix in a reduced top window, and LogixPro in a bottom window. Then I make my LogixPro simulation look as close to the RSLogix program as possible, copying rung comments as needed, and added rung logic that uses similar memory addresses.
I have the LogixPro version of the elevator, which I think I put in the last ZIP file version. Yes, the 27062013 ZIP version in Post #40 has your complete Elevator 4-subroutine LogixPro RSL file, which you can upload to your computer, and open with your new LogixPro program. Just like the real RSLogix, you must open a ladder file, click the "Download to PLC" button, then "Go Online", then switch the simulated PLC to "RUN" mode.
Then (because your addresses and outputs do not match the LogixPro Elevator simulator), you must use the "I/O Simulator" and open and close the inputs yourself at the right time as the "elevator" outputs go on and off and the different subroutines are called. It requires a little practice to learn how to use the LogixPro I/O Simulator. First you must set the LogixPro I/O Simulator Input switches to match your real elevator switches and sensors (NO or NC, maintained-contact or momentary-contact). Right-click on each Input switch in the I/O simulator to cyle it through all the combinations. Notice that your Inputs in LogixPro start at PLC Slot 1, not at Slot 0 as in a MicroLogix PLC. (LogixPro is closest to an Allen Bradley model "SLC 5/02" PLC), although it simulates a mixture of SLC types.
For the Elevator 27062013 LogixPro I/O Simulator, you should have your inputs set like this:
I:1/0 = N.O pushbutton, momentary-contact
I:1/1 = N.O. switch, maintained-contact
I:1/2 = N.O. switch, maintained-contact
I:1/3 = N.O pushbutton, momentary-contact
I:1/4 = N.O. switch, maintained-contact
I:1/5 = N.O. switch, maintained-contact
I:1/6 = N.O pushbutton, momentary-contact