Table of Contents
RocMini Example 1
Content → Mobile Clients → RocControl → RocMini → Example 1
Automatic operation and manual operation
Click here to go directly to the Rocrail workspace download |
Preface 1:
This documentation was created at 12.02,2025
Area | Details | Remarks |
---|---|---|
Control | Rocrail | Version 2.1.5532+ (Rocrail-5532-sequoia-M.app) |
Computer | MacBook Pro (M2) | macOS 14.5 (Sonoma) |
iPhone | RocControl | Version 25.02.12-2 (526) |
Apple Watch | RocMini | Version 526 |
WIO | Raspberry Pi Pico-W | WIO Version 969 |
Locomotive | Track N | Locomotives; id="lc_auto" addr="18" shortid="lcAuto" id="lc_manu" addr="19" shortid="lcManu" |
- | - | keywords: rocmini |
Preface 2:
- use this solution at your own risk;
- Regular data backups of the Rocrail workspace are recommended.
A) Task
Automatic operation and manual operation
The manual control of a locomotive will be demonstrated using a small layout.
The locomotive is set as "Manually operated".
In the manually controlled area, all blocks are set to "Out of operation":
- this means no “ghost” messages are generated
- this allows Rocrail to track the locomotive from block to block
The track voltage is switched on, the automatic mode is activated and the locomotive "lcManu" is controlled manually with RocMini.
B) Solution Details
Short identifiers are assigned for the relevant objects so that only those objects that are necessary for the manual control task are listed on RocMini:
Object | Short identifier | |
---|---|---|
Locomotives | lc_auto | - |
lc_manu | lcManu | |
Switches | sw12+ | SW1213 |
sw13b+ | SW1312 | |
Signals | sg11a- | - |
sg11b+ | - | |
sg12a+ | SG12a+ | |
sg12a- | SG12a- | |
sg12b+ | SG12b+ | |
sg13+ | SG13+ | |
sg22- | SG22- | |
sg23- | SG23- | |
Routes | [bk11a-]-[bk11b+] | - |
[bk11b+]-[bk11a-] | - | |
[bk12a+]-[bk22-] | BK12aBK22 | |
[bk12a-]-[bk12b+] | BK12aBK12b | |
[bk12b+]-[bk12a-] | BK12bBK12a | |
[bk13+]-[bk23-] | BK13Bk23 | |
[bk13+]-[bk22-] | BK13BK22 | |
[bk22-]-[bk12a+] | BK22BK12a | |
[bk22-]-[bk13+] | BK22BK13 | |
[bk23-]-[bk13+] | BK23BK13 |
B1) Preparation
Both Rocrail and RocMini are already installed.
Rocrail was started with this workspace.
RocMini has been launched.
Recommendations:
- RocMini / Info
- RocMini / Info: long click on the Rocrail logo to load the current object lists;
- RocMini / Info: back to list
RocMini / System:
RocMini / System: long click "Go" to turn Automatic mode ON;
RocMini / System: Click "Go" to turn the track voltage ON;
RocMini / System: back to list
RocMini / Throttle:
RocMini / Throttle: long click on the light
RocMini / Throttle / Locomotive list: Select locomotive "lcManu"
RocMini / Throttle / Lok list: back to list
RocMini / Throttle: back to list
B2) Variant 1
Turnouts and signals are controlled manually.
Requirement:
- Locomotive is in block bk12a and should go to block bk22.
– it is already in the correct direction
- the following should be added:
– Switch sw12+ straight
– Signal sg12a+ to green
With RocMini this can be controlled like this:
![]() | Select switch SW1213 (sw12+) Click on "straight" |
![]() | Select signal SG12a+ (sg12a+) Click on "green" |
![]() | Select locomotive lcManu (lcManu) long click on speed level 1 |
The locomotive starts moving.
As soon as the locomotive has reached the destination, the locomotive has to be stopped:
The locomotive stops.
B3) Variant 2
Switches and signals are controlled via routes.
Requirement:
- Locomotive is in block bk12a and should go to block bk22.
– it is already in the correct direction
- the route [bk12a+]-[bk22-] sets switches and signals.
With RocMini this can be controlled like this:
![]() | Select route BK12aBK22 ([bk12a+]-[bk22-]) Click on "Test" (white circle on blue background) - Switch sw12+ and signal sg12a+ are set |
![]() | Select locomotive lcManu (lcManu) long click on speed level 1 |
The locomotive starts moving.
As soon as the locomotive has reached the destination, the locomotive has to be stopped:
The locomotive stops.
C) Rocrail workspace
Automatic operation and manual operation
The download workspace " rocmini_partial_manual.zip" contains the following files:
File | Meaning |
---|---|
plan.xml | the Rocrail plan file |
rocrail.ini | Rocrail initialization file the content still needs to be adapted to your own environment!!! |
back to the Solution Details.
D) Outlook
You are welcome to implement your own ideas and extensions based on this solution.
Use this solution at your own risk!
Have fun and good luck.