RocNetNode Signal Aspects with Macros

Signal Aspect Example

See for macro number mapping.
The aspect number is also used as macro number. The address minus one is added as macro port offset.(6176+)
In this example the signal address is 25 (macro port nr. offset) and the ports 25, 26 and 27 are used for the 3 LEDs:

  • RED = 25
  • GREEN = 26
  • YELLOW = 27
Aspect Macro
Main Aspect UIC-Norm Dwarf Aspect Color Aspect Nr Macro Nr Port Delay Type Value Blink
stop stop Red 0 1 25
26
27
0
0
0
0
0
0
1
0
0
0
0
0
passing permitted go 40km/h Green 1 2 25
26
27
0
0
0
0
0
0
0
1
0
0
0
0
reduce speed to 40km/h, next stop go 40km/h, next stop Yellow 2 3 25
26
27
0
0
0
0
0
0
0
0
1
0
0
0
ride on sight ride on sight White 3 4 25
26
27
0
0
50
0
0
0
0
0
1
0
0
1

Starting with revision 6193 the aspect number is increased with one in the RocNet library because macro numbers are starting with one.

Signal Tabs


rocnetnode.ini

The macro snippet:

  <macro nr="1">
    <macroline port="1" porttype="0" delay="0" status="1" blink="false"/>
    <macroline port="2" porttype="0" delay="0" status="0" blink="false"/>
    <macroline port="3" porttype="0" delay="0" status="0" blink="false"/>
  </macro>
  <macro nr="2">
    <macroline port="1" porttype="0" delay="0" status="0" blink="false"/>
    <macroline port="2" porttype="0" delay="0" status="1" blink="false"/>
    <macroline port="3" porttype="0" delay="0" status="0" blink="false"/>
  </macro>
  <macro nr="3">
    <macroline port="1" porttype="0" delay="0" status="0" blink="false"/>
    <macroline port="2" porttype="0" delay="0" status="0" blink="false"/>
    <macroline port="3" porttype="0" delay="0" status="1" blink="false"/>
  </macro>
  <macro nr="4">
    <macroline port="1" porttype="0" delay="0" status="0" blink="false"/>
    <macroline port="2" porttype="0" delay="0" status="0" blink="false"/>
    <macroline port="3" porttype="0" delay="50" status="1" blink="true"/>
  </macro>

Personal Tools