The Controller Section


The Controller section allows you to create dispatch controllers for your elevators.  Controllers support both Destination Dispatch routes, and Standard routes.  Controllers are numbered, starting with 1.  When Call Buttons are created, they automatically create controllers.

The section headers and footers are similar to the ones in the Floor section.
To specify a single controller, you would type something like:
<Controller 1>
and end it with:
<EndController>

For a range of controllers, you would use something like:
<Controllers 2 to 10>
and end with:
<EndControllers>

All parameters in a controller section are optional.

Variables:

%controller% - number of the current controller

Parameters:

1. Name - sets the name of the controller
Example: Name = Dispatch Controller %controller%

2. DestinationDispatch - enables or disables DestinationDispatch for this controller.  Right now this is used only by a few elevator functions for checks, and the controller doesn't make much use of it, since it processes routes on a type basis.  The default is false.
Example: DestinationDispatch = true

3. Hybrid - enables hybrid mode for this controller.  When true, allows elevators to both operate in Destination Dispatch and Standard modes.  When this is false and DestinationDispatch is enabled, standard elevator floor selections no longer will work.  The default is False.
Example: Hybrid = false

4. Range - specifies the range of floors that dispatches will handle for a single elevator for Destination Dispatch mode.  The default is 5.
Example: Range = 5

5. MaxPassengers - the maximum number of requests for a route this controller will handle for a single elevator, before selecting another elevator for the route, in Destination Dispatch mode.  The default is 5.
Example: MaxPassengers = 10

6 Elevators - list of elevators to assign to the dispatch controller
Example: Elevators = 1, 2, 3, 4
Example: Elevators = 1 - 4

7. Reprocess - enables or disables the reprocessing of routes if an elevator becomes unavailable.  Note that this only affects DestinationDispatch mode.  The default is false.
Example: Reprocess = true