24.01.2013 Views

Download - Freiwald Software

Download - Freiwald Software

Download - Freiwald Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

X<br />

188<br />

with your own rules, you can apply these internally calculated aspects to triggers<br />

and conditions of signals (and other elements), too, and combine them with the<br />

status of other elements.<br />

Macros are used to operate other elements.<br />

12.6 Macros<br />

They are very similar to push buttons in the switchboard (see section 2.5, “Signals and<br />

Accessories”). Like push buttons they are also able to perform operations (see section<br />

12.3, “Operations”). Unlike push buttons they are not placed in a switchboard. Instead<br />

macros are for example used in the operations called by other elements (see section<br />

12.3, “Operations”), executed in schedules (see section 5.10, “Schedules”), executed in<br />

timetables (see section 13.6, “Timetables”) or assigned to engines as part of their functions<br />

(see section 3.6, “Headlights, Steam and Whistle”).<br />

In this way macros are invisible and work in the background of the program.<br />

Engine functions assigned to macros can only be executed, if the macro is executed in<br />

the context of an engine. This is the case, if the macro is assigned to another engine<br />

function (in this way engine functions can be triggered indirectly by other engine functions),<br />

or if the macro is assigned to a schedule. If the macro is not executed in the context<br />

of an engine (e.g. by a timetable), then all engine functions contained in the macro<br />

are ignored.<br />

Example: Automatic Engine Whistle<br />

Engine or Trains running a schedule shall blow their whistle for exactly two seconds<br />

when passing a certain section.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!