Dave and Mike,
Thank you so much for your support and encouragement - I was close to throwing up (in both senses) by yesterday evening.? Mike after your comment on Routes I realised I had to go back to Logix somehow so the turnouts would throw in the RIGHT order.
The abortion below FINALLY achieves what I as an ageing signaller expected/wanted to see: [comments in brackets not in original
IX:AUTO:0006C1 ?RMtoDs
???[x] R1 ?IF Sensor "RMtoDs" state is "Sensor Active" ??
???[x] R2 ???AND Sensor "SApproach" state is "Sensor Inactive" ??[check the various blocks making up this route are clear
???[x] R3 ???AND Sensor "SThroat" state is "Sensor Inactive" ??
???[x] R4 ???AND Sensor "SP2b" state is "Sensor Inactive" ??
???[x] R5 ???AND Sensor "SDist" state is "Sensor Inactive" ??
????????????THEN
??????????????On Change To True, Set Sensor, "RMtoDs" to Inactive ??[reset calling sensor - panel button
??????????????On Change To True, Set Signal Mast Aspect, "P1S" to Danger ??[possibly conflicting move - should be Danger but just in case
??????????????On Change To True, Set Signal Mast Aspect, "LS" to Danger ??[possibly conflicting move
??????????????On Change To True, Delayed Set Sensor, "RMtoDs1" to Active, after 2 seconds. ?[cool everything down?
?IX:AUTO:0006C2 ?RMtoDs1
???[x] R1 ?IF Sensor "RMtoDs1" state is "Sensor Active" ??
????????????THEN [march the turnout changes across the Panel in direction of train movement
??????????????On Change To True, Set Turnout, "Throat1" to Closed ??
??????????????On Change To True, Delayed Set Turnout, "Throat2" to Thrown, after 2 seconds. ??
??????????????On Change To True, Delayed Set Turnout, "Distillery" to Thrown, after 4 seconds. ??
??????????????On Change To True, Delayed Set Sensor, "RMtoDs2" to Active, after 6 seconds. ??
??????????????On Change To True, Delayed Set Sensor, "RMtoDs1" to Inactive, after 7 seconds. ??[calm everything down and move on
?IX:AUTO:0006C3 ?RMtoDs2
???[x] R1 ?IF Sensor "RMtoDs2" state is "Sensor Active" ??
????????????THEN [march the occupied blocks across the panel in the order of train movement
??????????????On Change To True, Set Sensor, "SApproach" to Active ??
??????????????On Change To True, Delayed Set Sensor, "SThroat" to Active, after 1 seconds. ??
??????????????On Change To True, Delayed Set Sensor, "SP2b" to Active, after 2 seconds. ??
??????????????On Change To True, Delayed Set Sensor, "SDist" to Active, after 3 seconds. ??
??????????????On Change To True, Delayed Set Sensor, "RMtoDs3" to Active, after 4 seconds. ??[this is wrong I think should be reversed with next line
??????????????On Change To True, Set Sensor, "RMtoDs2" to Inactive ??[this last bit is necessary otherwise the *** signal sets before the turnouts and block occupancy is finished
?IX:AUTO:0006C4 ?RMtoDs3
???[x] R1 ?IF Sensor "RMtoDs3" state is "Sensor Active" ??
????????????THEN [set the signals - hooray!
??????????????On Change To True, Set Signal Mast Aspect, "Home" to Off ??
??????????????On Change To True, Set Signal Mast Aspect, "Homef" to Five ??
??????????????On Change To True, Set Sensor, "RMtoDs3" to Inactive ?
I could have wished for an easier (more logical?) way but so be it. I now have to repeat this vivisection on another 20.
Iain