¿ªÔÆÌåÓý

Locked Dispatcher and physical control panel #dispatcher #layouteditor


 

Hi all,

I'm in the process of creating my control panel.

No problem to have red leds on when block is occupied and red leds off when bloc is clear.

what i'd like to add is having white leds on when block is allocated by dispatcher.

In layout editor we can set a specific color if block is allocated by dispatcher but i can't find nowhere a way to set a sensor when it's the case.

Any idea on how to be able to do it ?

kind regards

Jean-Francois


 

Jean-Francois

If the sections have the optional direction sensors (Fwd & Rev) these will be set Inactive when the section is allocated, the fwd sensor isf section allocated fwd, and rec sensor if allocated rev.
So.. use some logixNG magic to set a single sensor when either is inactive.
Steve G.


 

Jean-Francois,

You can use the LogixNG Block expression to set a sensor based on the block allocation state.
Dave Sand



----- Original message -----
From: Lacassaigne Jean-Francois <lacassaigne.jean.francois@...>
Subject: [jmriusers] Dispatcher and physical control panel
Date: Friday, December 08, 2023 4:41 AM

Hi all,

I'm in the process of creating my control panel.

No problem to have red leds on when block is occupied and red leds off when bloc is clear.

what i'd like to add is having white leds on when block is allocated by dispatcher.

In layout editor we can set a specific color if block is allocated by dispatcher but i can't find nowhere a way to set a sensor when it's the case.

Any idea on how to be able to do it ?

kind regards

Jean-Francois



 

Hi,

thanks a lot for your reply.
Should have looked at the logix before posting.

One last question, is there a way to manually put an OBlock in allocated state ?

the only way i've found right now is to setup dispatcher and simulate train progress by triggering occupancy sensor one by one.

if no mistake, i've found nowhere a way to set a block as allocated manually
kinds regards
Jean-Francois


 

Jean-Francois,

OBlocks are used by Warrants. ?Blocks are used by Dispatcher.

The LogixNG Block action can set the block allocation state (alternate color).
Dave Sand


----- Original message -----
From: Lacassaigne Jean-Francois <lacassaigne.jean.francois@...>
Subject: Re: [jmriusers] Dispatcher and physical control panel #dispatcher #layouteditor
Date: Friday, December 08, 2023 10:33 AM

Hi,

thanks a lot for your reply.
Should have looked at the logix before posting.

One last question, is there a way to manually put an OBlock in allocated state ?

the only way i've found right now is to setup dispatcher and simulate train progress by triggering occupancy sensor one by one.

if no mistake, i've found nowhere a way to set a block as allocated manually
kinds regards
Jean-Francois



 

Thanks again.

I've done some test and it's working as i wanted.
will be time consuming but i'm not in a rush.

Maybe could we as a "nice to have feature " have a new feature in the creation/edition of a block.
It would be nice to be able to set "allocated" sensor directly in the block editing.

What do you think about it ?


 

Jean-Francois,

Here is alternate method for setting allocation sensors.

Create a CSV file using a spreadsheet. ?Load that into JMRI as a LogixNG Table.
Create a LogixNG that waits for allocation changes and then changes the related sensor.
When a block allocation changes, the current state is used to set the related sensor. ?The local variables contain the block that changed and the action. ?Blocks have several actions, but for this scenario only the "allocated" action is used.

The "A1 Listen..." row sets up the list of blocks to be watched.
To add a new block/sensor pair, update the spreadsheet and do the CSV export. ?You do need to add the blocks and sensors to JMRI before updating the spreadsheet.

Dave Sand


----- Original message -----
From: Lacassaigne Jean-Francois <lacassaigne.jean.francois@...>
Subject: Re: [jmriusers] Dispatcher and physical control panel #dispatcher #layouteditor
Date: Saturday, December 09, 2023 3:33 AM

Thanks again.

I've done some test and it's working as i wanted.
will be time consuming but i'm not in a rush.

Maybe could we as a "nice to have feature " have a new feature in the creation/edition of a block.
It would be nice to be able to set "allocated" sensor directly in the block editing.

What do you think about it ?




 

Thanks a lot,

the csv file will do the trick.

Once again thanks to all who helped me on this topic

jean-francois