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.
Move the selected action control up or down in the list.
Copy the selected action control(s) to the clipboard as XML text.
This can also be pasted in a text editor for expert viewing. It can be manually modified and re-copied to the clipboard.
The listbox is multi selectable to enable copying of more then one action control.
Add the action control(s) from the clipboard to the list.
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.
The following state values, depended of the calling object, are available in the State drop-down combo-box:1)
|Sensor||on, off, true, false, <count>³|
|Output||on, active, off||Output objects do not contain loco information.|
|Switch||turnout, straight, left, right, none||Use “none” if the action should not activated by left-clicking on the accessory (switch) object, but only from it's command menu.|
|Signal||red, yellow, green, white|
|Loco||run, stop, stall, min, mid, max, cruise, dirchange, lights, f1-f28, eventtimeout(3658+)|
|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 overwrite this value with the loco ID which has reserved it.
- Sensor objects overwrite this value with the identifier if detected. (RFID, Railcom…) 2)
Optional description for use in the Accessory Switch type popup menu.
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.