change color signal when loco leave block

Post Reply
geraldfg95

change color signal when loco leave block

Post by geraldfg95 » 11.11.2010, 22:34

I want make a function for change color signal when loco leave bloc in automatic mode .
For example when loco leave bloc i want set signal to red , the only solution found in create an action , so , if i want use the same bloc contact ( "in" bloc contact) i must be set it to end impulse, this option is actually no exist in Rocrail , i know this method is not very reliable , but is for only change a signal color
the other solution consist to add a new contact near after the signal ... but it's a contact for only change color signal so i think is not economic .
Dit the Rocrail team can add this function for me ??? it was very cool if is possible 8)

BR

GG

onnorvld

Post by onnorvld » 12.11.2010, 09:23

Have you tried this option:

Reset signal
Timer (in seconds) to wait for resetting signals of current block to red.
If the distance between the signal and the next block enter event is very long it make sense to set this timer. The event which comes first will reset the signals: enter of next block or end of Reset signal timer.
Default set to zero: Not used.

you can find it in the Rocrail properties, tab Automatic

Regards,
Onno

geraldfg95

Post by geraldfg95 » 12.11.2010, 18:50

Hi onnorvld

it's a way ... i will try it
thanks
BR
GG

geraldfg95

Post by geraldfg95 » 30.11.2010, 22:33

Hi
After several test , no good solution for my problem ...
I just want Set signal red when loco leave bloc ( like SNCF logic)
The most simply is to SET signal red when sensor bloc become off when loco leave bloc.....
Only one function is need: end of impulsions in action for sensor
So i ask for rocrail Team for add this for i test it

Br
Thanks !

Gg

rjversluis
Site Admin
Posts: 41144
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 01.12.2010, 14:37

Hi Gérald,

action condition: sensor off ?

geraldfg95

Post by geraldfg95 » 01.12.2010, 19:10

Hi Rob
Action condition is a way , y will try it but i'm not sure for the result ...
I post my test here

Br
Gg

geraldfg95

Post by geraldfg95 » 01.12.2010, 22:39

Dear Rob

thanks for action condition .
It's ok .
But a little problem , I want change color of signal when another bloc is occupied or reserved and only if sensor of another bloc is off ... but don't work .
bloc who give action with condition : pleine voie 1'
sensor must be off in condition is : ce pv2 (adr 518)
signal is : srt pv2' (attached at bloc pleine voie 2')
When i test all the condition are ok ( sensor 518 is green on screen) but signal stay green .....
Is me who don't anderstand logic ??? :shock: :shock: :shock:
YES MY LOGIC IS VERY BAD :lol:
br
gg
Attachments
rocrail.000.txt
(28.3 KiB) Downloaded 124 times
plan.xml
(301.22 KiB) Downloaded 276 times
Last edited by geraldfg95 on 02.12.2010, 22:48, edited 1 time in total.

geraldfg95

Post by geraldfg95 » 02.12.2010, 22:47

Hi Rob

I succeeded with much time!
I use the options true and false for the condition of the sensors (I read again doc... :oops: )
Now i'm very happy , i have the french logic SNCF on my layout !!!

BR
GG

ps : thanks for new snowleopard version with xwinget in . :D

Post Reply

Return to “Signal Systems”