SW-P 08 protocol support

You can control the audio, serial and MIDI matrix with the SW-P 08 protocol. This way you can easily integrate the device in a VSM setup, for example.

Connecting to SW-P 08

TCP/IP: Connect to the device on port 2323.

Serial connection: The protocol specification demands a RS232 or RS422 connection with 9.6kBit/s, but you can use either RS232 or RS485/RS422 with any bitrate you like. Make sure the serial variant of the SW-P 08 daemon is running (Configuration->Device->Plugins->SW-P 08 (serial connection)). Make sure the input and output of the serial interface you want to use is connected to the controller (Routing->Serial Matrix) and the bitrates are identical on the controller and interface. The serial variant of the SW-P 08 daemon will follow any of the bitrates you configure.

SW-P 08 usage

The SW-P 08 implementation exposes six matrices: The single channel audio matrix, the serial and MIDI matrix. A port matrix allows to configure full port connections. A snapshot and script matrix trigger system snapshot loading and system script execution.

MatrixDefault ID1Mute channel2
Audio01024
Serial131
MIDI231
Ports316
Snapshots4-
Scripts5-

1 SW-P 08 uses a 4-bit 'matrix' and a 4-bit 'level' value to identify what crosspoints ('tally') to change. The matrix IDs above are the 'matrix' values, the 'level' must be 0.

2 The channel numbers above are the IDs used by the SWP-08 protocol, which start at channel 0. Some applications, e.g. VSM, may show you the channels starting with 1 in the control surface. If the latter is the case, use channels 1025/32/32 resp.

Note: Some control system, e.g. VSM, display matrix numbers starting with 1. In the M.1k2 we use the number as it is transported in the SW-P 08 protocol, starting with 0. If you are using a control system that starts numbering matrices with 1, please remember to offset this value by -1.

Configuration

Configuration → Device → Plugin Configuration → SW-P 08

SW-P 08 configuration

You can configure the SW-P 08 matrix number to use for each of the M.1k2's real or virtual matrices. You can use any number from 0..15 or -1 to disable a matrix.

Compatibility

As of july 2013, the SWP-08 implementation in the M.1k2 has been tested with the following controllers:

SW-P 08 implementation

The implementation in the M.1k2 is based on the protocol version 23 as of december 10th, 2003. Not all commands of the SWP-08 protocol are implemented since some don't make much sense on the M.1k2. You can set and query crosspoints and locks, and you can query channel labels.

CMDMeaningImplemented
1 [0x01]Crosspoint InterrogateX
2[0x02]Crosspoint ConnectX
7[0x07]Maintenance
8[0x08]Dual Controller Status RequestX
10[0x0A]Protect Interrogate
12[0x0C]Protect Connect
14[0x0E]Protect Dis-Connect
17[0x11]Protect Device Name Request
19[0x13]Protect Tally Dump Request
21[0x15]Crosspoint Tally Dump RequestX
25[0x19]Router I/O Parameter Interrogate
27[0x1B]Router I/O Parameters Connect
29[0x1D]Master Protect Connect
41[0x29]Diagnostic Request
76[0x4C]Status Configuration and Enable Flags Request
79[0x4F]Error and Status Request Message
100[0x64]All Source Names RequestX
101[0x65]Single Source Name RequestX
102[0x66]All Destinations Association Names RequestX
103[0x67]Single Destination Association Names RequestX
104[0x68]All UMD Labels Request
105[0x69]Single UMD Label Request
111[0x6F]Crosspoint Tie-Line Connect
112[0x70]Crosspoint Tie-Line Interrogate
114[0x71]All Source Association Names Request
115[0x72]Single Source Association Name Request
120[0x78]Crosspoint Connect On Go Group Salvo
121[0x79]Crosspoint Go Group Salvo
124[0x7C]Crosspoint Salvo Group Interrogate
129[0x81]Extended Crosspoint InterrogateX
130[0x82]Extended Crosspoint ConnectX
138[0x8A]Extended Protect Interrogate
140[0x8C]Extended Protect Connect
142[0x8E]Extended Protect Dis-Connect
147[0x93]Extended Protect Tally Dump Request
149[0x95]Extended Crosspoint Tally Dump Request
153[0x99]Extended Router I/O Parameters Interrogate
155[0x9B]Extended Router I/O Parameters Connect
228[0xE4]Extended All Source Names Request
229[0xE5]Extended Single Source Name Request
230[0xE6]Extended All Destinations Association Names Request
231[0xE7]Extended Single Destination Association Names Request
232[0xE8]Extended All UMD Labels Request
233[0xE9]Extended Single UMD Label Request
248[0xF8]Extended Crosspoint Connect On Go Group Salvo
252[0xFC]Extended Crosspoint Salvo Group Interrogate
Text and images © 2017DirectOut Technologies, 16.10.2017