NTI UNIMUX
RS-232 Command Protocol
Host controller commands supported by the unit are defined below.
RS-232 Command Protocol Quick Reference
Legend: | (All numbers must be two digits) |
|
|
| |
SW : | Switch | MM | : | Save Into Memory Bank | |
BR | : | Baud Rate Code (12,24,48,96) | LL | : | Load From Memory Bank |
OP | : | Output/User Port | <CR>: | Carriage Return (Hex 0xD) | |
IP | : | Input Port/CPU |
|
|
|
| Command String |
|
| Good Response |
|
| Description |
|
|
|
|
|
|
| |||
| CS SW,IP,OP | *<CR> | Connect one User port To CPU port | |||||
|
|
|
| |||||
| CA SW,IP | *<CR> | Connect all User ports To CPU port | |||||
| RO SW,OP | *<CR>IP<CR> | Read Connection For User Port | |||||
|
|
|
| |||||
| CC SW,MM | *<CR>MM<CR> | Save Matrix Connections Into Memory Bank | |||||
|
|
|
|
|
| |||
| RC SW,LL |
| *<CR>LL<CR> |
| Restore Matrix Connections From Memory Bank | |||
|
|
|
|
| ||||
| CB 00,BR | None |
| Change Baud Rate For All Switches | ||||
|
|
|
| |||||
| RV SW,00 | *<CR>string\0<CR> | Read NTI Version String | |||||
|
|
|
|
| ||||
| RU SW |
| *<CR>IP,OP<CR> | Read Unit Size | ||||
|
|
|
|
| ||||
| SS SW,00 | *<CR> |
| Disable Autostatus feature (see below) | ||||
|
|
|
|
| ||||
| SS SW,01 | *<CR> |
| Enable Autostatus feature (see below) | ||||
|
|
|
|
| ||||
| GO SW OP | *<CR>go SW OP IP<CR> |
| Report the User port that is connected to the CPU port | ||||
|
|
|
|
|
| |||
| GM SW,00 |
| *<CR>go SW OP IP<CR> |
| List all switch User port connections; all User ports to all CPU ports | |||
|
|
|
| (all connections) |
|
|
| |
|
|
|
|
|
|
|
|
|
If the first field is not a known command (as listed above) or SW field is different from the serial address programmed in the switch memory, the command will be ignored. If the SW field corresponds to the serial address, but the syntax is wrong after this field, the switch will answer with ?<CR>.
Syntax example:
CS 01,05,02<CR> (insert the space and commas as shown)
which means “At the switch with unit address 01, connect CPU port 05 to user port 02” The switch will answer with:
∗<CR>
The HEX code representation of example above is:
Byte 1 |
|
| Byte 2 |
| Byte 3 |
| Byte 4 | Byte 5 | Byte 6 | Byte 7 | |||
|
|
|
|
|
|
|
|
|
|
|
|
| |
‘C’ |
|
| ‘S’ |
| Space | Switch – 1st digit | Switch – 2nd digit | ‘,’ | Output – 1st digit | ||||
(0x43) |
|
| (0x53) |
| (0x20) |
|
| (0x30) | (0x31) | (0x2C) | (0x30) | ||
|
|
|
|
|
|
|
|
|
|
| |||
Byte 10 |
|
| Byte 11 |
| Byte 12 |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |||
Input |
| Input |
| <CR> |
|
|
|
| |||||
(0x30) |
|
| (0x32) |
| (0x0D) |
|
|
|
| ||||
Response: |
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||
Byte 1 |
| Byte 2 |
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||
‘∗’ |
| <CR> |
|
|
|
|
|
|
|
|
| ||
(0x2A) |
| (0x0D) |
|
|
|
|
|
|
|
|
|
Byte 8 | Byte 9 |
|
|
Output – 2nd digit | ‘,’ |
(0x35) | (0x2C) |
31