Black Box ACX160 用户手册

下载
页码 128
Page 108
724-746-5500   |   blackbox.com
 
Chapter 6: Serial Control
6. Serial Control
Use the following parameters to control the ServSwitch DKM FX via its serial  
interface.
115.2K, 8, 1, NO
(115.2 kbps, 8 data bits, 1 stop bit, no parity)
Command
<STX>, <command byte (CMD)>, [data bytes (D0…DN)], <ETX>
[ ] = Optional elements
Response
<ACK> , [<ECHO>]
[ ] = Optional elements
<ECHO> reports the ServSwitch DKM FX sequences enabled by a command that 
shows the new switching status of the ServSwitch DKM FX. The echo can be 
used to update user applications and to operate several matrices in parallel.
Parameter Description
Command byte: In the range 0x40 to 0x6F (see the list of allowed commands 
below).
Data bytes: a) To prevent transferring control statements of control commands 
while transferring binary data, the data are divided into low-nibble and high- 
nibble. The data are distributed to the low nibbles of two bytes and provided  
with an offset by 0x60, for example, 0x1F.
=> 0x61 + 0x6F
b) 7-bit data: (0x0 to 0x7F) are provided with an offset by 0x80,  
    e.g. 0000011 => 0x83
c) ASCII data => 0x20 to 0x7E are transmitted unencrypted.