User Tools

Site Tools


actionctrl-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
actionctrl-en [2020/06/15 10:52] – [Duration] rjversluisactionctrl-en [2023/10/20 08:14] (current) rjversluis
Line 21: Line 21:
  
 ===== Setup ===== ===== Setup =====
-{{:actions:action_ctrl-en.png}}\\+{{:actions:action-ctrl-en.png?600}}\\
 The list contains the actions that are to be triggered. The list contains the actions that are to be triggered.
 \\ \\
Line 48: Line 48:
 | Output | on, active, off,shorton,longon<sup>4</sup>, longclick | Output objects do not contain loco information. | | Output | on, active, off,shorton,longon<sup>4</sup>, longclick | Output objects do not contain loco information. |
 | Switch | turnout, straight, left, right, none, lock, unlock | Use "none" if the action should __not__ activated by left-clicking on the __**[[:symbols-themes-accessories-en#action_controls|accessory (switch) object]]**__, but __only__ from it's command menu. | | Switch | turnout, straight, left, right, none, lock, unlock | Use "none" if the action should __not__ activated by left-clicking on the __**[[:symbols-themes-accessories-en#action_controls|accessory (switch) object]]**__, but __only__ from it's command menu. |
-| Signal | red, yellow, green, white, blank, aspect number | | +| Signal | red, yellow, green, white, blank, blockstate, aspect number | | 
-| Loco | home, forwards, reverse, diesel, steam, electric, battery, min, mid, cruise, max, fon, foff, +, -, #, x, light, lightgoods, local, goods, post, ice, mixed, regional, shunting, cleaning, none, service, commuter, class, schedule:, idle, wait, auto, run, manual, automatic, stop, stall, f1-f28, __**[[:rocrailini-automode-en#event_timeout|eventtimeout]]**__ | Substate for energy: high, middle and low. |+| Loco | home, forwards, reverse, diesel, steam, electric, battery, min, mid, cruise, max, fon, foff, +, -, #, x, light, lightgoods, local, goods, post, ice, mixed, regional, shunting, cleaning, none, service, commuter, class, schedule:, idle, wait, auto, run, manual, automatic, stop, stall, f1-f28, __**[[:rocrailini-automode-en#event_timeout|eventtimeout]]**__, eventtimeoutreset | Substate for energy: high, middle and low. |
 | Block | ghost, enter, occupied, reserved, free, closed, open, depart¹, acceptident<sup>2</sup>, exit(unexpected), codemismatch | occupied is triggered at in | | Block | ghost, enter, occupied, reserved, free, closed, open, depart¹, acceptident<sup>2</sup>, exit(unexpected), codemismatch | occupied is triggered at in |
-| Staging block | ghost, enter, occupied, reserved, free, closed, depart<sup>1</sup>, exit, section | "exit" is performed, if the **exit** event will follow on the **in** event.  Requirement: __**[[sensors_and_blocks-en#sensor_events|Exit sensor]]**__\\ In case of "section" the sub state must be set to the wanted section ID or to *. |+| Staging block | ghost, enter, occupied, reserved, free, closed, depart<sup>1</sup>, exit, section, timeout, timeoutreset | "exit" is performed, if the **exit** event will follow on the **in** event.  Requirement: __**[[sensors_and_blocks-en#sensor_events|Exit sensor]]**__\\ In case of "section" the sub state must be set to the wanted section ID or to *. |
 | Route | go, lock, unlock | "lock" is performed when the route is set (the Route is reserved but the switches are not yet set).\\ "unlock" is performed when the Route is released. | | Route | go, lock, unlock | "lock" is performed when the route is set (the Route is reserved but the switches are not yet set).\\ "unlock" is performed when the Route is released. |
 | Schedule | //leave blank// | | | Schedule | //leave blank// | |
-| 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 | +| Turntable | goto <tracknumber>, next, prev, turn180, lighton, lightoff, calibrate, atposition <tracknumber> | When goto 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. \\ "atposition" is triggered by the Position Sensor in the Interface Tab or in the Turntable Add Track Dialog, without a track number for every message, with a track number only if the platform is on the corresponding track. 
-| System | go-cmd, go-event, stop-cmd, stop-event, stoplocs, save, shutdown, analyse, reset, ebreak, init, initready, short-circuit, on-auto, off-auto, exception-xxxx, __**[[:rocrailini-automode-en#event_timeout|eventtimeout]]**__, error | System actions are located in the __**[[:rocgui-menu-en#tables|Rocview Table Menu]]**__ \\ The **init** event is fired after all Command Station libraries has been loaded. \\ For processing **[[http://rocrail.net/software/rocrail-snapshot/rocrail/messages.xml|exception-xxxx]]** the __**[[:rocrailini-automode-en#check_trace_actions|Check trace actions]]**__ must be activated on the Rocrail Automatic Tab.  |+| System | go-cmd, go-event, stop-cmd, stop-event, stoplocs, save, shutdown, analyse, reset, ebreak, init, initready, short-circuit, on-auto, off-auto, stagetimeout, stagetimeoutreset, exception-xxxx, __**[[:rocrailini-automode-en#event_timeout|eventtimeout]]**__, eventtimeoutreset, error | System actions are located in the __**[[:rocgui-menu-en#tables|Rocview Table Menu]]**__ \\ The **init** event is fired after all Command Station libraries has been loaded. \\ For processing **[[http://rocrail.net/software/rocrail-snapshot/rocrail/messages.xml|exception-xxxx]]** the __**[[:rocrailini-automode-en#check_trace_actions|Check trace actions]]**__ must be activated on the Rocrail Automatic Tab.  |
 | Text | //leave blank// | the action is raised when [[:text-en#dynamic_text|dynamic text]] is updated |  | Text | //leave blank// | the action is raised when [[:text-en#dynamic_text|dynamic text]] is updated | 
 | Booster | load, short circuit | | | Booster | load, short circuit | |
Line 61: Line 61:
 | Variable | See __**[[:variable-en#action_status_and_conditions|Action status]]**__. | | | Variable | See __**[[:variable-en#action_status_and_conditions|Action status]]**__. | |
 | Weather | sunrise, noon, sunset | | | Weather | sunrise, noon, sunset | |
 +| Location | scheduleupdate, occupdate | occupdate: callertext=LocoList, calleruserdata=actocc:minocc |
 +
 +
 <sup>1</sup>) 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.\\ <sup>1</sup>) 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.\\
 <sup>2</sup>) Accept a new ident in auto mode.\\ <sup>2</sup>) Accept a new ident in auto mode.\\
Line 72: Line 75:
 The sub state is used in combination with: The sub state is used in combination with:
   * Staging block and "section" state.    * Staging block and "section" state. 
-  * Loco function "off"+  * Loco function "on" / "off"
-  * Loco energy "high,middle,low".+  * Car function "on""off"
 +  * Loco energy "high, middle, low".
  \\  \\
  
 ====Duration==== ====Duration====
-//In seconds//\\+//In 100ms units//\\
 If set greater then zero this value will overwrite the __**[[:actions-en#duration|duration in the action setup]]**__.\\ If set greater then zero this value will overwrite the __**[[:actions-en#duration|duration in the action setup]]**__.\\
  
 ====Timer==== ====Timer====
 +//In milliseconds//\\
 If set greater then zero this value will overwrite the __**[[:actions-en#timer|timer in the action setup]]**__.\\ If set greater then zero this value will overwrite the __**[[:actions-en#timer|timer in the action setup]]**__.\\
  
Line 92: Line 97:
 ====Description==== ====Description====
 Optional description for use in the __**[[:symbols-themes-accessories-en#action_controls|Accessory Switch]]**__ type popup menu.\\ Optional description for use in the __**[[:symbols-themes-accessories-en#action_controls|Accessory Switch]]**__ type popup menu.\\
 + \\
 +
 +====Parameter====
 +//2.1.982+//\\
 +Optional parameter(s), CSV, for XMLScript actions.\\
 +Variable naming for the parameter(s) are "%param1%...%paramN%".\\
 +{{:xmlscript:actionctrl-param-en.jpg?300}}\\
  \\  \\
 ====Reset==== ====Reset====
actionctrl-en.1592211136.txt.gz · Last modified: 2020/06/15 10:52 by rjversluis