Hi w8one, in hindsight, and after so many months, I must concede I had missed the point of your post. Sorry for that: indeed, if the controller is to direct the polarity of the DCC signal inside the loop then this controller can just as well direct the points of the loop switch. I will have to rewrite the software for that purpose; as it is written now the assumption is that a third party decides the setting of the loop switch, my software is conceived to just control the DCC polarity regardless of the position of the switch.
Hi Jim, it has been a while since I kept busy with this subject; I think my current software takes all your scenarios except the last one into account. Or am I wrong?