Action crtl cond (block) "free" & "!free": differences?

Post Reply
Norber
Posts: 34
Joined: 05.12.2012, 19:37
Location: Salamanca, Spain

Action crtl cond (block) "free" & "!free": differences?

Post by Norber » 26.04.2014, 09:26

Action conditions can be of block type, and then, the condition itself may be any of these:
- free
- !free
- occupied
- open
-close

The differences between the first two conditions are not clear to me. Wiki http://wiki.rocrail.net/doku.php?id=actioncond-en was of not help either :( .
Any explanation would be very appreciated.
Thanks.
You do not have the required permissions to view the files attached to this post.

cds
Moderator
Posts: 5196
Joined: 03.02.2012, 19:24
Location: Tullnerbach, Austria

Re: Action crtl cond (block) "free" & "!free": differences?

Post by cds » 26.04.2014, 10:05

Hello Norber!

I'm pretty sure you know that "!free" means "not free", am I right?

I'm sorry but I am not able to give you a comprehensive explanation why there are the options "occupied" and "!free". But I know that I had a configuration in the past where "occupied" did not work but "!free" did. I'll try to find it ...

Norber
Posts: 34
Joined: 05.12.2012, 19:37
Location: Salamanca, Spain

Re: Action crtl cond (block) "free" & "!free": differences?

Post by Norber » 26.04.2014, 18:12

Holy crackers Claus! I never imagined !something would mean not-something outside C programming, but now I see, and I can also picture Rob in some sleepless night, building lots of RocRail code and having to think on a new name for not-free: !free is the obvious solution, of course :lol: !
So what's the meaning of occupied then? Could !free be a synonym of reserved?

Besra
Moderator
Posts: 3781
Joined: 10.08.2009, 17:54
Location: North Rhine-Westphalia, Germany

Re: Action crtl cond (block) "free" & "!free": differences?

Post by Besra » 26.04.2014, 18:51

Hi Norber,

I guess in each of the follwowing cases the condition !free is true:
- reserved (a train reserved the block; yellow)
- enter (a train entered the block and triggerd enter; blue)
- occupied (a train is completely inside the block, i.e.triggerd the in sensor; red)

Best regards
Besra

Post Reply

Return to “Signal Systems”