Page 19 of 29
BLOCKsignalling
www.blocksignalling.co.uk
Introduction to Programming
This section of the document covers program 8, an additional program added to the M1 module
which allows the user to set their own timings for the operations of the relays on the module.
To fully understand this section, I recommend reading through once lightly, then concentrating on
the examples at the end. They should make it clear how to program the module for your
requirements.
Once the module is set to run program 8, the default operation of the relays is shown below.
When the power is turned on, or immediately following setting the module to run on program 8,
both relays will be de-energised.
When the module is triggered, by the push button on the module (other options can be selected
such as grounding the C terminal or TRIG input, or triggering the IR sensor). The trigger point is
shown as TR on the diagram.
Sometime after triggering, Relay 1 energises. This is shown as m10 on the diagram, and this signifies
that memory 10 holds the time in seconds for Relay 1 to energise after triggering. The default value
for m10 is 1, so Relay 1 will energise 1 second after the module is triggered. It is possible to re-
program m10 to be any value from 1 to 255 seconds (this also applies to all the other timing values).
At time m12 (which has a default of 2) Relay 1 de-energises. Note, this is 2 seconds after triggering,
NOT 2 seconds after Relay 1 energises.
Relay 2 operates in the same way, using memory values of m18 and m20 (which have default values
of 3 and 4). In this example, Relay 2 operates after Relay 1, but by changing the timings you can
alter this to have Relay 2 operate first, or to have the operation of the relays overlapping.
After both relays have completed their first operation (ie after the latest of the m12 and m20
timings) the module turns on the infra-red sensor, and starts looking for a train. Again different
detection options can be selected.
When a train is detected, marked by the dotted line IR on the diagram above, similar relay actions
occur. Finally a pulse output occurs on the DONE terminal, set by m16. The module then restarts,
and awaits a new trigger input.