VicenteIR, on 25 April 2015 - 07:45 AM, said:
There is a slight difference in the use of 'enabled' between MSTS and OR.
In OR, if a signal has no 'fixed path' (that is, there is at least one switch or cross-over between this and the next NORMAL signal), it will not clear when not enabled by a train, even if the state of 'enabled' is not tested.
That is because as long as no path is cleared over that switch by a train, the position of the switch is 'unknown' and a signal can not be cleared over a switch in that state.
I do not think this affects your situation as in your case the signals will be cleared by a train. Perhaps the difference in SignalNumClearAhead is affecting your situation - you might want to have a look at that, and check that the value for SNCA for the preceding main signal is set at a high enough value to clear the path as far as required.
The function opp_sig has been tested and shown to be working correctly.
Regards,
Rob Roeterdink