EXRAIL // myAutomation must start with the EXRAIL instruction JOIN // connected the test track to PROG TRACK. so I can easily switch to decoderpro and program cv"s SENDLOCO(261,1) // send loco 261 (DB BR.261) off along route 1 DONE // This just ends the startup thread. AUTOMATION(1,"inside round, CLOCKWISE") FWD(40) // move forward at DCC speed 540 (out of 127) AT(38) // when you get to sensor on pin (38) SPEED(7) // set speed to step 7 AT(41) // when you get to sensor on pin (41) STOP // stop the train DELAYRANDOM(5000,20000) // delay somewhere between 5 and 20 seconds SENDLOCO(218,2) // start sequence 2 with loco ID 218 (DB BR.218) ENDTASK AUTOMATION(2,"Outside round, COUNTER CLOCKWISE") FON(0) // turn front light on FWD(60) // move forward at DCC speed 60 (out of 127) AT(39) // AT sensor/pin(39) SPEED(60)// set speed to 60 AT(43) // AT sensor/pin(43) SPEED(35)// set speed to 35 AT(42) // AT sensor/pin(42) STOP // stop the train DELAYRANDOM(5000,20000)//delay somewhere between 5 and 20 second SENDLOCO(261,1)//start seuence 1 with loco ID 261 (DB BR. 261) ENDTASKENDEXRAIL