Skip to main content
Adding/Editing Sensors
Enter the system name for the sensor you wish to add. For example, a
valid sensor system name for a LocoNet layout could be LS456. Another
example, a valid internal sensor system name could be IS123. The
optional user name can be anything you wish to describe the sensor. See
"Names"
help page for more information.
Hardware Specific Information
NCE AIU Number to JMRI Sensor Mapping
The NCE Axiliary Input Unit or AIU allows the NCE command station to check the status of
inputs from the layout. These are referenced in JMRI as sensors with
names like "NS785". "NS" means "NCE Sensor", and 785 is the number of a
specific sensor input.
The sensor number can be found by using the following formula:
Sensor ID = (AIU Cab Address - 1) * 16 + (Pin Number On AIU) -1
For example: The AIU cab address is set to 50 and one of the
BD20s is connected to pin 2. Therefore the Sensor ID would be:
Sensor ID = (50 - 1) * 16 + (2) -1
Sensor ID = 785
Grapevine Sensor to JMRI Sensor Mapping
There are three separate types of Grapevine sensors:
- Advanced Serial Detectors
-
Up to three Advanced Serial Detector boards can be attached to
a Grapevine node. Each provides eight occupancy detectors, and
associates a motion detector with each of those.
| Board | Occupancy | Motion |
| Master | 1-8 | 9-16 |
| Slave 1 | 17-24 | 25-32 |
| Slave 2 | 33-40 | 41-48 |
- Original Serial Sensors
-
Occupancy sensors on the original serial boards replace
sensors attached through advanced boards at addresses 1 to 8.
There are no motion sensors in this case.
- Parallel Sensors
- The parallel sensors, connectors on the Grapevine node
itself, appear as JMRI sensors 101 to 108 on the node.
If the optional second bank of serial sensors are present,
they appear as sensors 109 to 116 on the node.