Troubleshooting with software
44
EXPLANATION
If more than one slave is created with the CS command, the slave that is required to
be active from the terminal’s point of view, can be selected with this command. The
commands LOP (page 45 )and LPORT (page 46) apply to the currently active slave.
Active slave is selected with the device address previously assigned with command CS
(page 44).
This command is only applicable in the Debug Mode. See
MVB_MODE (page 44).
5.8.2 CS - Create Slave
SYNTAX
CS addr16
EXPLANATION
Use this command to create a preconfigured slave with 16 logical ports. A handle from
0 to 15 is assigned to ports. Through this handle you can modify the ports. Ports 0-7
are sources and ports 8 -F sink ports. Each of them are 16 bits in size. The device
address of the slave is entered as a parameter. This address will also be the logical
address of port 0. The 16 ports are evenly divided to be polled in 16 consecutive
periods. A list of ports is displayed as a result of this command. It is possible to create
five (5) slaves with this command. The slave created last will automatically become the
active one. See also AS (page 43), LOS (page 46), LPORT (page 46) and REC
(page 36).
This command is only applicable in the Debug Mode. See
MVB_MODE (page 44).
5.8.3 MVB_MODE - MVB access mode selection (D)
This command alters the functionality of the Multifunction Vehicle
Bus. Consider the operative situation carefully before using this
command on board a train.
SYNTAX
MVB_MODE t / b
t = terminal; Debug Mode
b = backplane; Normal Mode