This conversation was started in another topic and I did not want to hijack the topic so I copied the last reply. I have been trying to learn programming an Allen-Bradley PLC by making a model train layout and having the PLC control the layout. Attached is the program I wrote for the last working program I was able to complete for the layout but as I was progressing with this project, I started getting a sense that I am not doing this programming properly. Here is a video link of that program running.
Next reply is the reply from "PLCMentor"