Roco WLANmaus

Introduction

The wmz21 library emulates a Z21 Command Station and redirect the WLANmaus commands to any another Command Station, or directly to the matching Loco/Switch object.
Because every WLANmaus has its own IP-Address, this library can support multiple WLANmaus devices.


Setup

WLANmaus

  1. See the manual to get WIFI access to the local network. (The display shows upper case characters only at typing the password, even when the shift function is off…)
  2. Change the Z21-IP-Address to the IP address of the Rocrail server:
    MENU → SETTINGS → WIFI → Z21-IP-ADDRESS

Rocrail


Only the listed parameters will have effect on this library.

Interface ID

Unique name for this controller.

Hostname

The hostname is fixed to localhost; The Rocrail Server. (Can be left empty.)

Port

The port is fixed to 21105. (Can be left empty.)

User ID

Add the library wmz21 to the end of the Controller list, or set the User ID accordantly to the wanted Interface ID.

Version

The Addressing Scheme can be changed by the version:

Version Scheme Remark
0 FADA
1 MADA
2 PADA
3 FADAM The WLANmaus switch address divided by 100 is the bus, and the switch address modulo 100.
4 A2ID The WLANmaus switch address will be used as Rocrail switch object ID, range: “0001”…“2048”.

This is for converting the switch flat address send by the WLANmaus to a scheme which the target library supports.
The A2ID scheme could be off use for systems using the bus number extensively like BiDiB.


Throttle ID

Every connected WLANmaus has its own IP address which is used as throttle ID in Rocrail. (For example: “192.168.0.100”)
This can be used in combination with Disable steal loco server option.
The WLANmaus request continuously information about the selected loco. If this loco is already controlled by another throttle, the loco image in the WLANmaus display will flash. (See manual section 2.3.)


Supported Commands

  • Loco speed and direction
  • Loco functions 0…28
  • Switch
  • Power ON/OFF
  • POM write
    Change the WLANmaus programming mode: MENU → PROGRAM → MODE →POM


Transmit the Short IDs

First of all the DP IID in the Rocrail properties must point to the Interface ID of this library.

To transmit all the Loco Short IDs, the WLANmaus must be put in receive mode:

  • MENU → LOCO → RECEIVE

Then select menu item “Control → Transmit Short IDs” to send all Short IDs to all WLANmaus'ses which are put in receive mode.


Links


Personal Tools