# Is anyone here interested in Train Signals and how they work?

**URL:** <https://discourse.nodered.org/t/is-anyone-here-interested-in-train-signals-and-how-they-work/19759>\
**Category:** General\
**Created:** [31 December 2019 01:46 UTC](https://discourse.nodered.org/t/is-anyone-here-interested-in-train-signals-and-how-they-work/19759 "2019-12-31T01:46:51Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [4 January 2020 20:47 UTC](https://discourse.nodered.org/t/is-anyone-here-interested-in-train-signals-and-how-they-work/19759/24 "2020-01-04T20:47:35Z")

</div>

Got a bit bored this afternoon so I knocked-up this demo flow. It has a finite state machine (FSM) for each of the 6 signals and an animated slider to mimic a train journey. To keep things simple there is only one buffer block (caution block) - you can obviously modify that by introducing additional blocks and signals.

BOD means Block Occupancy Detector.

Hope you find it useful.

 ![ScreenShot059](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/e03010641e4c0e5c4bfd97e376714100b76e3adf.png)  
 ![ScreenShot060](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/6ef39d52c86e218cef01caf978dbf0b53a21b247.png)  
 ![ScreenShot061](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/8be9e75c02a9882b6df23f069a0ed129272e670b.png)

The Node-RED flow is below as together with the screenshots it exceeded the 32,000 character limit.

---

_[View the full topic](https://discourse.nodered.org/t/is-anyone-here-interested-in-train-signals-and-how-they-work/19759)._
