Automode

Content → Rocrail Server → Configuration
Rocrail Automatic Tab:
Left Column
Switch Time
Switches (turnouts, points) are powered for the time (in milliseconds) given here. The value depends one the kind of switches in use. Short times should be preferred but it has to be made sure that the switches are still reliable.
Note::
Hardware command stations mostly use the switch time set within the command station itself, thus it is not possible to alter the actual switch time with this option. The switch time, however, should be set to at least the value of the command station. This ensures the switch is set before a train can start.
Min Block - Train length
Distance (in cm or other units, see Locomotives: General) a Block has to be longer than the train in order to allow the train to enter the block.
Ignore events within...
Enter-events are filtered out if they are in the same time frame as specified in the field. (field value x 10ms)
Init field pause
Time (in milliseconds) between the switch commands during init field.
The value is often set to the one of the switch time (see above) or higher to allow switches to be set correctly and to avoid sending too many commands in a short period of time.
Init field power on
By default the rail power is switched on before starting to initialize the switches.
In case of 2-Rail systems, with polarized electro frogs, it is preferable to leave power off to avoid a short circuit in case a train is on a switch…
Random generator
A figure between 1 and 65535, the seed, for selecting new destinations if running without schedules.
Two lists of possible destinations are created, one for blocks which fit well to the loco details and another with blocks which could be taken as alternative.
If the first list is not empty a random choice is made of the well fitting blocks, otherwise one is chosen from the alternative list.
Save position timer
Timer (in seconds) to reset the switches to their save positions.
Event timeout
Timer (in seconds) to wait for a sensor event.
A warning message will appear in the Rocview server panel.
Default set to zero: Not used.
This option can be useful for none visible trains in tunnels or at backstage.
Reset signal
Timer (in seconds) to wait for resetting signals of current block to red.
If the distance between the signal and the next block enter event is very long it make sense to set this timer. The event which comes first will reset the signals: enter of next block or end of Reset signal timer.
Default set to zero: Not used.
Route switch time
Time (in milliseconds) between switch commands in routes.
Default is 10ms.
If a train is sent on a route and for this route switch commands have been defined these are executed first in the interval specified here. The successive commands to the train are thereby delayed until all switches reached their end positions.
When using switches without position sensors Rocrail does not know when the switches are in the correct position and when it is save to start the train. This holds true especially for servo driven switches which might take some time to reach their final position. That is, the Route switch time should not fall below the time needed by one individual switch to reach its end position.
Semaphore time
Time (in seconds) to wait for a semaphore to get from red into green/yellow position. Default 1s.
This option prevents trains starting before the signal is showing the correct aspect. This value can, in addition, be increased to simulate the reaction time of the engine driver.
Signal time
Time (in seconds) to wait for a signal to show another aspect. Default 1s.
This option prevents trains starting before the signal is showing the correct aspect. This value can, in addition, be increased to simulate the reaction time of the engine driver.
Loco start gap
Time (in seconds) between loco starts in auto mode. Default 1s.
This function is meant to delay consecutive loco starts in auto mode when using the commands start all locs and resume all locs. Problems arising when too many trains start and too many switch commands are sent at the same time can be avoided using this option.
Block init pause
The pause time(in milliseconds) is used at the first time auto mode is activated; Every block will be called to initialize itself which will most likely send signal commands.
This pause time is mainly used to prevent too many commands in a short period of time.
Default 0ms.
Route synchronizer timeout
When the option Synchronize routes is active, Rocrail will wait with setting a second route, but only for the timeout time specified. When the timeout time has expired the route will be set, regardless whether or not the setting of the first route has finished.
Reset speed and functions
Reset at startup loco speed to zero and all function to off.
This flag will be automatically set to off.
Process signal events
Accessory events which are no sensors or switches will be regarded as signal events.
Right Column
Reserve second next block
Also known as “Look a head” feature.
This is the global flag to enable this for all locomotives and will try to reserve two blocks ahead at enter or initial go.
To set this option for individual locos, leaving this option unset, it will bring more diversity to the running locomotives: Locomotive Details
Note:: This option can not prevent deadlocks, critical sections and block groups should be used to avoid them.
Note:: This option is necessary if three-aspect signals are to show the correct aspects in some configurations.
Enable Switch Feedback
Default set to true.
If testing with the Virtual CS, and if there are switch position feedbacks defined, it is sometimes desirable to ignore them to be able to set routes.
No speed change for switches
If the route contains thrown switches the signal will be set to white (yellow with three aspects signals) and the loco velocity will set to V_mid.
The feature is disabled by setting this checkbox.
Green aspect if next is red
To disable the yellow aspect in case the next block signal is red.
Skip switch commands in routes if already set
If the used switches are reliable, and not connected to position sensors, the route switching time could be reduced using this option.
Skip signal commands if already set
No command is send to the Command Station if the signal (seemingly) shows the wanted aspect.
The “InitField” command should be used to synchronize signals at startup.
Use Bi-Directional Communication
Enable BiDi for evaluating the ident reported.
Power off at ident mismatch
If a block has an ident sensor and the reported ident code does not match the expected locomotive one it will power off the booster.
Power off at ghost train
If a block encounters an unexpected event, in case "Accept ghost trains" is disabled, it will power off the booster.
Security is decreased by disabling this option…
EBreak at ghost train
If a block encounters an unexpected event, in case "Accept ghost trains" is disabled, it will send an emergency break command to the CS.
Keep ghost state
Keep the ghost state until it is manually reset.
The ghost state disappears if the block is no longer electrically occupied if this option is not set.
Disable steal loco control
This option prevents stealing a loco from another throttle.
The throttle in charge must explicitly release the loco to give it free for other throttles.
Power off at automatic reset
Global track power is turned off before resetting the automatic mode.
Allow zero Throttle ID
Broadcast also loco events coming from unknown throttles (zero or blank ID).
Normally those events are disregarded to avoid broadcasting echo packets to clients.
Tip: With certain command stations (e. g. Intellibox, EcoS, CS1, CS2) changes of loco velocities and / or loco functions by means of a command station throttle are not displayed in Rocview. Activating the option will correct this behaviour.
Use block side for routes
See for a description: Block side routes
Stop none commuter in terminal
Stop the auto mode of none commuter trains after the IN event in a terminal station to be able to manually run around the locomotive to the other side of the consist.
Synchronize routes
Force setting one route at a time, regarding the Route synchronizer timeout, to reduce power consumption and switch decoder overload with multiple outputs.
Timed sensors
Enable analyzer
Special option to disable the analyzer for a demo server.
Force unlock at EBreak
All routes and switches will be forced unlocked after an Emergency Break.
Trigger block events
If this option is set every event is triggered only once in auto mode; Every event is send only once to the loco which reserved the block.
To be used with care; Under normal conditions this behaviour is unwanted because the loco object also has event triggers.
| Only of any use in case of flickering sensor systems in combination with timers. Better is to invest in a sensor system with delayed off reporting. |
Release loco on idle
Release the loco from the Command Stations refresh stack to make room for new activated locos.
The loco will be released after it has been set from automatic into idle/stop and the speed equals zero.
Supported Libraries:
Close block on ghost
If the block does not accept ghosts, and it is electrically occupied, it will close on the first attempt to reserve this block.
Close on no events
Close blocks if there are no events defined for running in auto mode.
Select shortest block
If train and block length are set this option will choose the shortest block available for that train.
This option will decrease the random variation.
Dependencies
Restore schedule
Restore the last used schedule at startup.
Action timer 60 sec.
Use a 60 second interval for evaluating action timers.
A one second interval is used when this option is not set.
Default Signal Aspect
The default signal aspect used for an unoccupied block.
Trace: » waybill-en » stepbystep-en » lnfc-en » mgv77-en » can-gca1-en » sensors-fr » octad-servo-driver-en » robvrs-rocbay-en » gui-accel-it » rocrailini-automode-en




