RailPro > RailPro Specific Help & Discussion
AM-1S PROGRAMMING
G8B4Life:
Yes, the output can be turned off, and pressing the button so it's in the off state is the way to do it. Did you try the program as I posted? That should work. Looking at your program again with my programming cap on I can see (I suspect) why the outputs are not turning off. I should have seen it right away :-[
With your program, when the Bell button is pressed to turn it on the IF Bell = 1 statement is true so the two DO TASKS are run, playing the bell sound and turning on Output 5. When the Bell button is pressed again to turn it off the IF Bell = 1 statement is now false so the two DO TASKS are not run so Output 5 never gets it state changed to off (even though the sound stops playing).
That's classic programming for sure and I should have seen it straight away but the Play Sound function threw me as it stops when the IF condition is false instead of having to be turned off specifically.
If you still can't get it to work it'll be Thursday before I can test any of this.
- Tim
Tom:
Tim, it worked perfectly, although I will have to consider the programming logic some more to make sure I fully understand it.
An added bonus not expected is that, for whatever reason, the crossing signal picture I installed shows up under locomotives as well as Accessories so it can be accessed by pressing the engine picture without having to exit the page and go to Accessories. When exiting the crossing signal (either left running or off) the HC goes back to the Main Page and then the engine that was running has to be selected again. The AM-1S option seems workable, usable for other Projects, and less expensive than some of the more sophisticate stuff out there like Signalogic Systems. Grandson will love the flashing lights and bell.
Tom:
I miss wrote above. After selecting crossing signal picture from locomotive list I wrote that pressing the Exit Page button takes the HC back to the Mail Page, which is true. But pressing the crossing signal picture takes the HC back to the locomotive list. Once there, the original locomotive can then be selected again. Slightly easier than I originally thought.
Navigation
[0] Message Index
[*] Previous page
Go to full version