Specifications
Model AC1120A, AC1121A, AC1122A, AC1123A
28
3.2.13.2 Commands for Serial Communication with each Output
All serial communication commands start with the letter X
1. Command: XC,n <cr> Stands for X Connect
Connects the UART an output (n) if n not specified, then it reports which output
the UART is pointed to.
Response: XC, n <cr> This indicates that the command completed successfully
2. Command: XT <cr> Stands for X Transmit
After this the matrix will wait for a max of 5 seconds to get the string of bytes
that are to be sent out. The number of bytes cannot exceed 64. If you have more
than 64 characters to send then you have to use multiple commands.
The unit stores all characters in a buffer and then sends all characters at the
specified baud rate to the desired output channel.
The unit does not care what data or characters are sent and they can range from
hex 0 to hex FF. What designates the end of the string are two specific bytes:
17h 0Dh -- 17 hex (^W) followed by 0D hex (Carriage Return)
17hex is considered to be a special Terminal Character. When the unit receives
17h then it looks for a CR to follow it. If CR does not follow the 17h, then the
17h is assumed to be part of the user’s string.
On the surface there appears to be a restriction in that the user’s string cannot
contain 17h 0Dh back-to-back. However, the matrix has a special provision for
the rare case when the user’s data is to contain 17h 0Dh back-to-back. Inserting
17h 17h 0Dh results in the transmission of 17h 0Dh and is not interpreted as a
termination of the stream.
After the 17h 0Dh the system initiates transmition of the sring received to the
target at the specified baud rate. The user must wait for this process to finish
prior to issuing another command.
Response: OK <cr>
3. Command: XR <cr> Stands for X Receive
The matrix stores the last 64 bytes received from the target in a receive FIFO,
then upon receipt of this command it sends whatever it has (as binary) out to the
user. Nothing if the buffer is empty.
Response: Any characters in the receive FIFO buffer.










