30
M-series RS232 Programmers Manual
M-series RS232 Programmers Manual
7.7 Introduction to using the RS232 Commands
This section introduces three RS232 commands that are needed to begin programing the AVM. The com-
mands are chosen to get you started programming the Intelix matrix. Two of the three commands establish
communication, and the third exerts control over a chosen audio crosspoint. After these three commands
are usable you should be able to use the rest of this manual to implement your application.
1)
Are You There
: This command is sent by the controller to check for the existence of a matrix. If the
matrix receives this message it replies with an
I Am Here
message.
2)
I Am Here
: This message is sent by the matrix as a response to the receipt of an
Are You There
message. The matrix sends an I Am Here message whenever it is powered up or reset. This fact can be
used as a diagnostic tool when troubleshooting communication, since the matrix can be relied upon to send
the
I Am Here
message when reset.
3)
Set Current Value
: This message sets the attenuation level of an audio crosspoint, and demonstrates
control over the audio matrix after communication has been established.
00h 02h
00h
7.7.1 Are You There
Shown below is the contents of the
Are You There
message. The format of the message is explained in
section 7.1. The message has no parameters, the length is 2 bytes (1 byte for class, 1 byte for message ID).
The checksum is the sum of all fields: FAh + 2h = FCh.
7.7.2 I Am Here
F0h 0Ch
Shown below is the contents of the
I Am Here
message. This message is also sent by the matrix in
response to an
Are You There
message. This message is sent whenever the matrix is powered up or reset.
The format of the message is explained in section 7.1. The message has no parameters, the length is
2 bytes (1 byte for class, 1 byte for message ID). The checksum is the sum of all fields: FAh + 2h + 1h =
FDh. The checksum will be escaped when transmitted by the matrix. Receiving this message consists of
recognizing the following string of 6 bytes: FAh, 00h, 02h, 00h, 01h, F0h, 0Dh.
00h 02h
00h
01h
F0h, 0Dh
00h
Since FCh is greater than the RS232 _ESCAPE value of 240, the checksum is escaped into
2 bytes (F0h, 0Ch). The escape byte does not effect the length field. The escape process is explained in
section 7.5. Transmitting this message consists of sending the following string of 7 bytes: FAh, 00h, 02h,
00h, 00h, F0h, 0Ch.
Содержание AVM RS232
Страница 1: ...AVM RS232 Master Manual ...