HASHEAD signal function How, if at all, can it be used?
#11
Posted 17 May 2019 - 02:35 AM
If I use the SignalSubObj "NAME", the function produce a Warning in the Logfile, and the function has as Result "1" also if the HEAD is Missing!
If I use the Number of SignalSubObj ( x , the function is working correct.
I will ask Carlo, for modifying the manual.
Regards
EugenR
#12
Posted 18 May 2019 - 02:41 PM
#13
Posted 18 May 2019 - 11:12 PM
ebnertra000, on 18 May 2019 - 02:41 PM, said:
I think this is not correct,
The function is working with all kind of SignalSubObj, also with
SigSubType ( SIGNAL_HEAD )given for this signal in the sigcfg.dat.
But you have to use the SignalSubObj Number
SignalSubObj ( 2insted of Name, as written in the actual Manual
For having more then the four available SIGFEAT_USER flags, you have to use additional optional SignalsubObj with
SigSubType ( DECOR )So this function can test if this optional SignalSubType is activated or not.
Regards
EugenR
#14
Posted 19 May 2019 - 10:05 AM
Attached File(s)
-
Sig_Test.zip (4.05MB)
Number of downloads: 608
#15
Posted 19 May 2019 - 09:30 PM
ebnertra000, on 19 May 2019 - 10:05 AM, said:
You can throw a switch, so you can't use activity-mode. Which mode are you using? Manual or explore ?
regards
Eugen
#16
Posted 20 May 2019 - 06:14 AM
ebnertra000, on 19 May 2019 - 10:05 AM, said:
I think the Problem is, that the signalheads GT_H1A_GYR_SL and GT_H2A_GYR_SL are in the sigcfg.dat not designed to link to the Switch-path, so both HEADS are working in the same common track.
See sigcfg.dat in usa2-Route (Marias-Pass) US2BSignal3.s
SigSubJnLinkIf ( 2 1 2 )
red : total number of optional signalSubObj's with optional JN_Link
green: SignalSubObj-Number
EugenR
#17
Posted 20 May 2019 - 07:44 AM
#18
Posted 21 May 2019 - 12:18 AM
ebnertra000, on 20 May 2019 - 07:44 AM, said:
Hi I understand very well what you would like to do whith this signalsystem, but
The Signal before the standing engine has activated 2 Signalheads, both of the Type NORMAL.
So the Signallogic of OR will calculate one after the other. It will overwrite the result of the first calculation and present the result the second calculation as the resulting state.
As example, if the switch is throw, OR calculate as second head the head (STOP) for strate, OR will present STOP for this direction.
There are two possibility, to avoid this:
linking this heads Type NORMAL, or
Use an other SignalType for this heads and define one single Signalhead Type NORMAL where the logic depend from all the other HEADs
I hope you can find a good solution for your Signalsystem.
regards
EugenR
#19
Posted 21 May 2019 - 04:22 AM