Tact Audio TCS User Manual

TCS RS232 Control Functions
TCS RS232 Control Codes
TCS utilizes RS232 communication channel to communicate with PC and other Tact units. To send data or commands to TCS, PC software sends variable length data packet. Each packet consists of N bytes. Packets are structured in the following way:
Byte #0 = N - number of bytes in the packet Byte #1 = A0 - Least significant address byte Byte #2 = A1 - Most significant address byte Byte #3 = CC - Command code byte Byte #4 = D0 - First data byte Byte #5 = D1 – Second data byte …. Byte #(N-1) = Last data byte
All Tact components connected to the PC will receive transmitted packed. The only component that will respond to the received message is the one that matches its internal address with the received one. All others will ignore entire packet. Addressed component could respond by sending a packet of its own to acknowledge received packet, or send back requested information, or not to respond at all depending on the received command code.
The following is a description of TCS codes used to control basic functions of TCS preamplifier. These codes can be supplied to custom installers to link Tact products to RS232 remote controls.
Tact Audio 7/10/2002
1
TCS RS232 Control Functions
Communication Test CC = 1
This command is used to test RS232 communication channel. It can be used to detect is Tact component with specified address is connected to PC.
Transmitted packet:
Byte# Value Description
0 1 2 3
Received packet:
Byte# Value Description
0 1
If received packet is not equal to above description communication error has occurred.
Note: Device address is calculated as:
4 Packet size 1 A0 0 A1 1 CC – command code
2 Packet size
0xaa Acknowledgement byte
Device Address = 256*A1 + A0
Tact Audio 7/10/2002
2
TCS RS232 Control Functions
Get Status CC = 18
This command is used to upload correction selection and master level information into remote controller.
Transmitted packet:
Byte# Value Description
0 1 2 3 4
Received packet:
Byte# Value Description
0 1 2
M_MSB Master level most significant byte
3 4
If received packet is not equal to above description communication error has occurred.
Note: Master Level = 256*M_MSB + M_LSB
5 Packet size 1 A0
0 A1 18 CC – command code 10 Required byte
5 Packet size
0xaa Acknowledgement byte
M_LSB Master level least significant byte
COR Correction selection
COR = 0 – Bypass COR = 1 – Correction 1 . . COR = 9 – Correction 9
Tact Audio 7/10/2002
3
TCS RS232 Control Functions
Set Correction CC = 19
This command is used to set bypass or one on nine correction presets.
Transmitted packet:
Byte# Value Description
0 1 2 3 4
Received packet:
Byte# Value Description
0 1
If received packet is not equal to above description communication error has occurred.
This function does not disable front panel controls
5 Packet size
1 A0
0 A1 19 CC – command code
COR COR = 0 Bypass
COR = 1 Correction preset #1 … COR = 9 Correction preset # 9
2 Packet size
0xaa Acknowledgement byte
Tact Audio 7/10/2002
4
Loading...
+ 8 hidden pages