Version 3 has been released!

{CAB} command

Set a loco cab control data item when used with model train control software.

Syntax

{CAB} property value

  • property - the name of the property data being sent
  • value - the new value. To set multiple values (Eg for a menu), separate the items with ␒ characters
From layout software only
  • L Speed Limit Eg 80
  • H Signal aspect Eg Hp2Vr0
  • S speed DC2 desired speed
  • I image URL
  • F Function name list
  • f Function state list
From CAB or layout software
  • D Direction 1 = forwards 0 = reverse
  • n Function state Eg 5 ␑ 1 means f5 is on
  • P Power 0 = off 1 = on 2 = halt
  • 8 Ignore s88 0 = off 1 = on
  • M Manual control 0 = off 1 = on
From CAB only
  • E Execute event, return integer that is the n’th event given to the CAB
  • T Train number = register the cab with that train -1 = release train
  • G set desired (goal) speed
  • S Emergency stop train
  • d Dispatch station dc1 track dc1 destination
  • k Set k83/4. Address ␑ R/G
One CAB is allowed per device, so no need for channel information on every command. (Can still have additional channels that are not CABs)

{CAB} commands can be sent and received from the RemoteSign.

For example:
{CAB} S ␑ 23 ␑ 40
{CAB} F ␑ lights ␒ smoke
{CAB} f ␑ 1 ␑ 1
{CAB} I ␑ http://example.com/images/34.jpg
{CAB} H ␑ Vr0
{CAB} D ␑ 0
{CAB} L ␑ 8

Example conversation between server (right) and RemoteSign with a cab control (left)

CAB RemoteSign
Layout software
{CH}1 ␑ CAB
{LT} Train 1 ␒ Train 2 ␒ Train 3
{CAB}T ␑ 2
{CAB}F ␑ lights ␒ smoke
{CAB}f ␑ 1 ␑ 1
{CAB}S ␑ 23 ␑ 40
{CAB}I ␑ http://example.com/images/34.jpg
{CAB}H ␑ Vr0
{CAB}D ␑ 0
{CAB}L ␑ 80
{CAB}G ␑ 80
{CAB}S ␑ 24 ␑ 80
{CAB}I ␑ http://example.com/images/35.jpg
{CAB}H

Overview and list of all RemoteSign commands: API reference

Supported by: