Mike,
You have to get the basic concept down in order to to apply it on to your layout.
Forget about your layout and create a test bed to put the pieces together.
(Click on the link and when it pops up, click download in the lower left for the better resolution image)
TestbedCreate this test bed (I'm not sure what system you have) so you can utilize cause and effect to understand the concept..
Replicate this track configuration so you can duplicate it in JMRI
SE8C Signaling system This Digitrax system listens on the loconet for the Switch address and their command condition. It in turns illuminates the corresponding LED's
The signal masts are the culmination of those LED's. Go over this document and make the associations in the next link/image ?
JMRI AssociationThis diagram shows the association in JMRI.
The next step here is applying the Logic behind what
Ken said "The usual purpose of signals are: what's ahead. This is either continuing
track or a turnout. Next is that signals usual are at some block boundary."?
If LS161 is occupied then the logic must illuminate 267/268 and 265/266 which are signal masts associated with B Main. The switches are A1 and A2.
You can build this in JMRI in simulation mode first then roll it to your testbed and wire if for functionality.
Once you do this then what Suzie posted will be clearer.
Inobu