Type for subordinate tag InputAddress

back to index
Address of a digital input

Is a part of the following tags

Description

This tells the software how to address a single digital input wire, maybe used for a button. Normally giving this kind of configuration is optional for elements (turnout, signal, track, ...). Only for outer keys this explicit way of configuration is a mandatory.

Example

On the SpDrS60 version 2 board that was configured under the name 'hugo' the pin 2 of J2 is used for <some_button>:
<some_button>
	<s60v2>IN22</s60v2>
	<board>hugo</board>
</some_button>

Sub tags

Tag Description
<s60v2>
Type: EInput
Cardinality: optional [0..1]
SpDrS60 version 2 board output wire name. Must specify this or counter
<counter>
Type: EInput
Cardinality: optional [0..1]
SpDrS60 counter board output wire name. Must specify this or s60v2
<board>
Type: String
Cardinality: once
Reference to a board name
The board address can be configured for example with a <spdrs60.s60v2>

Generated by ConfigFileDocumentationGenerator Valid HTML 4.01 Transitional