Actions can follow up other events like clicking on an output symbol or end of schedule.
Mostly the button for setting up such actions is found on the General tab of a Rocrail object.
An action-control is not part of an action but can control one.
An existing action ID previously defined in the Action table.
If set the state filled in here must match the state of the calling object to be activated.
So in case of a switch object it can be one of the following: turnout, straight, left and right.
|Sensor||on, off, true, false, <count>³|
|Output||on, active, off|
|Switch||turnout, straight, left and right|
|Signal||red, yellow, green, white|
|Loco||run, stop, stall, min, mid, max, cruise, dirchange, lights, f1-f28, eventtimeout(3658+)||Output objects do not contain loco information.|
|Block||ghost, enter, occupied, reserved, free, closed, depart¹, acceptident², exit(unexpected)|
|Staging block||ghost, enter, occupied, reserved, free, closed, depart¹, exit|
|Route||go, lock, unlock|
|Turntable||goto <tracknumber>, next, prev, turn180, lighton, lightoff, calibrate, atposition <tracknumber>||When goto or atposition is used without tracknumber, the action is triggered for every goto command, when goto <tracknumber> is used, the action is triggered only with a command to go to that particular track|
|System||go-cmd, go-event, stop-cmd, stop-event, stoplocs, save, shutdown, analyse, reset, ebreak||System actions are located in the Rocview Table Menu|
|Text||leave blank||the action is raised when dynamic text is updated|
¹) Depart for a departing train (not for a train running through!) is triggered at the same moment the route to the next destination is set.
²) Accept a new ident in auto mode.
³) The sensor counts the 'on' states. The action will be triggered if the count set in the state field match the counter of the sensor.
All state values are case sensitive.
Can be use to set the loco ID for specific objects which do not have any loco information like outputs.
Usually left blank for most action control definitions.
Block objects wil overwrite this value with the loco ID which has reserved it.
Reset the counter in case of a sensor object.
This mode selection makes it possible to distinguish between Auto and Manual mode. The default is for both modes active.