Matrix Audio 12X Manual De Usuario

Descargar
Página de 49
 
Manual # 26-0301000-00 / Revision C  
MatrixPRO 12x - 12 Input Matrix Switcher    29 
 
 
RS232 Mode
 
 
The Graphics Board will respond with a '#' prompt when the command processor is ready for a command. 
 
The command syntax is shown below 
 
cmd arg1 arg2 … argn<CR> 
 
cmd 
cmd is any valid Graphics Board command, typically 2 to 6 alphabetic (non numeric) characters. 
arg 
arg1, arg2,  … argn are required or optional parameters depending on the command used. 
<CR> 
carriage return (ASCII 13) terminates the command 
 
A space (ASCII 32) must be inserted between the command and any arguments that follow. A space must also be 
inserted between all argument parameters except for the last argument in the chain. 
 
All commands in RS232 mode must be terminated with a carriage return (ASCII 13). The carriage return will tell the 
command processor to begin execution of the command. 
 
Query commands will return the following: 
=result 

 
The '=' indicates a result from a command is following.  The 'result' will follow directly after the '='.  The value of the 
result will vary depending on the query command used.  A new line will be generated and the prompt will indicate the 
system is ready for a new command. 
 
RS485 Mode 
To switch to RS-485 see page 11 in the front panel operation section.  Single commands will be combined with a 
command delimiter start, device number, command separator and command delimiter end to form a command string 
as shown below: 
 
Single Command Format: 
cdsidcmd arg1 arg2 ..argncde 
 
Multiple Command Format: 
cdsidcmd arg1 arg2 ..argn,idcmd arg1 arg2 ..argn,…,idcmd arg1 arg2 ..argncde 
 
cds 
cds is the command delimiter start character '*' (ASCII 42). 
id 
id is the device number in the range of 1 to 32. This can be a single character for values less than 
10, no preceding zero is required. 
cmd 
cmd is any valid Graphics Board command, typically 2 to 6 characters in length 
arg 
arg1,2,n is any required or optional parameters need for the command 
separates multiple commands 
cde 
cde is the command delimiter end character '!' (ASCII 33). 
 
Example: 
*12XYZ A 9,9PDQY 1234,31WX 200 98! 
 
The command string is started by the command delimiter start character '*'. The first command follows directly after 
the cds. The example shows that device 12 should process the XYZ command with A and 9 as parameters. A coma 
(ASCII 44) separates the commands.  Device 9 will process the PDQY command with a parameter of 1234 and 
device 31 will process the WX command with parameters of 200 and 98. The cde '!' follows directly after the last 
command to end the command string. 
 
Commands received in the command string will not be processed until the cde character '!' is received.  This format 
allows commands to be stack to the same or multiple devices and executed when the cde '!' character is received by 
all units.  Any incomplete or unknown commands will be ignored.  The maximum number of commands that can be 
stacked per unit is 16.  Each unit will only stack those commands assigned to it, even though all units receive the 
same command string.