DCS 6000 Technical specifications Digital Conference System DCS 6000 External Microphone Control RS232 protocol Please refer to ‘Revision History’ at page 4 for compatibility to releases prior to Release 5.1.
Danish Interpretation Systems Technical Specifications 1 List of Contents 1 List of Contents ............................................................................................................................ 2 1.1 2 Revision history ................................................................................................................... 4 Introduction and document overview.......................................................................................... 5 2.
Danish Interpretation Systems Technical Specifications Messages in MAIN_GRP............................................................................................................ 27 4.5.1 Messages in EXTERNAL_CONTROL_GRP ............................................................ 27 4.5.2 Messages in MICROPHONE_STATUS_GRP........................................................... 28 4.5.3 Messages in EXTERNAL_AUDIO_STATUS_MU .................................................. 33 4.5.
Danish Interpretation Systems Technical Specifications 1.1 Revision history 21-07-2003 A Initial version of the document. 25-02-2004 B Corrected a fault in section 3.4.4 Control Job Received (CU external). Format of the message corrected 17-06-2004 C Updates and additions to the descriptions. 03-07-2004 D A section with summary of the control messages and status of control messages has been added. Examples of the code has been added in chapter 6 10-10-2004 E Commands in section 4.3.2, 4.3.
Danish Interpretation Systems Technical Specifications 2 Introduction and document overview The DCS 6000 system offers the possibility of controlling the microphones from a PC, AMX or other external control unit via a serial connection. This text documents how this feature is used; how external control of the DCS 6000 system is executed. The protocol used on the cable between the central unit (CU) of the DCS 6000 system and the external control unit is described in general in section 3.
Danish Interpretation Systems Technical Specifications 3-Button voting sessions provide the delegates with the option to make a selection among three alternatives: (typically Yes, Abstain and No), whereas 5-button voting sessions offer 5 alternatives (typically ++, +, 0, - and --). During an Open voting session, the votes are captured by the voting units, and the voting units show to the delegate, which button was pressed.
Danish Interpretation Systems Technical Specifications After completion of a voting session, the attendance check result consists of delegates, who participated in the actual attendance check plus delegates participating only in the voting session (late attendance). 2.3 Notation The RS232 protocol is defined byte for byte (1 byte = 8 bits).
Danish Interpretation Systems Technical Specifications 3 Serial Protocol All communication between the CU and the external control unit is done through a serial connection either via RS232 or RS422. The format of the serial data is 8 data bits, 1 stop bit and no parity. Possible bit rates are 2400, 4800, 9600, 19200, 38400, 57600 and 115200 bits/s. The default is 115200 bits/s. Hardware flow control is used on the serial port. The CU provides a possibility to save the settings in a configuration.
Danish Interpretation Systems Technical Specifications 3.2 CRC Calculation An 8-bit CRC calculation with the polynomial x8+x2+x+1 is used for the serial communications.
Danish Interpretation Systems Technical Specifications 3.4 Message types The following sections describe the types of messages that are sent between the CU and the external control unit. For each message type the format of the messages of this type is shown, this description excludes the start/stop delimiters and the CRC. The field in the following descriptions refers to the identifier byte introduced in section 3.1. 3.4.
Danish Interpretation Systems Technical Specifications Data 1, Data 2 and Data 3 are the actual data bytes to send to the CU. Typically the function to be executed is defined by Message Group + Data 1 while Data 2 and Data 3 are the parameters top the function. In the case that not all of the data bytes are needed the rest are set to 0. 3.4.4 Receive Control Message from CU (CU external) This message encapsulates DCS 6000 commands sent from the CU to external control unit.
Danish Interpretation Systems Technical Specifications 4 DCS 6000 Messages The RS232 binary protocol is used to transfer DCS 6000 system commands between the CU and the external control unit. General definitions for the communication are described in sections 3.4.3 and 3.4.4. This section describes the details for the commands that can be sent via the RS232 protocol. 4.
Danish Interpretation Systems • • Technical Specifications The MICROPHONE_CONTROL_GRP with messages regarding switching microphone on/off, controlling the request queue etc. The value corresponding to MICROPHONE_CONTROL_GRP is 18. The VOTING_CONTROL_GRP with messages to start and stop attendance check and voting sessions, and to request voting results. The value corresponding to VOTING_CONTROL_GRP is 52. The following sections describe the messages from each message group. 4.3.
Danish Interpretation Systems Technical Specifications 4.3.2 Messages in MICROPHONE_CONTROL_GRP The following subsections describe each of the messages in the group. The message format descriptions have the same meaning as in section 3.4.3.
Danish Interpretation Systems Technical Specifications MICROPHONE_CONTROL_CLEAR_REQUEST_LIST Command item value: 8 Message format: ‘j’ <0> <18> <8> <0> <0> Clears the request list. MICROPHONE_CONTROL_SET_MAXSPEAKERS Command item value: 12 Message format: ‘j’ <0> <18> <12> <0> Set the maximum number of simultaneously active delegate microphones to Max Speakers.
Danish Interpretation Systems Technical Specifications MICROPHONE_CONTROL_REQUEST_ON Command item value: 16 Message format: ‘j’ <0> <18> <16> Places the delegate microphone with the address 256*Microphone Address MSB + Microphone Address LSB at the back of the request queue.
Danish Interpretation Systems Technical Specifications 4.3.3 MICROPHONE_PRIORITY This message is used to setup the speak priority for microphone units (chairman units and delegate units). Message format: 'j' <0> <25> The message defines the microphone speak priority for the microphone unit, which has the address 256* Microphone Addr MSB + Microphone Addr LSB to the value of the Speak Priority.
Danish Interpretation Systems Technical Specifications 4.3.4 Messages in EXTERNAL_AUDIO_CONTROL_MU The messages in this message group are used to control the settings of the amplifiers in the system. The numbers The messages in this message group are used to control the settings of the amplifiers in the system. The numbers used to specify the amplifiers in the description of each message refers to the diagram below. CU60x0 Original Audio Volume Control DM 5 a 2 DM CS/IS/DM AO/IS Ext Out.
Danish Interpretation Systems Technical Specifications AUDIO_CONTROL_MU_SPEAKER_VOLUME Command item value: 2 Message format: ‘j’ <0> <28> <2> <0> This command is used to set the gain in amplifier 6. The new gain is given in dB by the parameter Gain Level which must be in the range –41dB - 0dB. Setting the gain to –41dB results in switching the amplifier off (thus blocking the signal).
Danish Interpretation Systems Technical Specifications AUDIO_CONTROL_MU_MIC_TO_LINE_OUT Command item value: 7 Message format: ‘j’ <0> <28> <7> <0> This command is used to set the gain in amplifier 1. The new gain is given in dB by the parameter Gain Level which must be in the range –41dB - + 20dB. –41dB results in switching the amplifier off (thus blocking the signal).
Danish Interpretation Systems Technical Specifications 4.3.5 Messages in Voting_CONTROL_GRP The following control messages controls voting sessions and attendance check sessions in the CU. Again, the message format descriptions have the same meaning as in section 3.4.3.
Danish Interpretation Systems Technical Specifications ‘j’ <0> <52> <11> <0> <0> An attendance check (or presence check) among delegates is conducted in order to determine, how many are actually participating the meeting – how many votes can be cast from the present delegates. This command is sent to the CU to start an attendance check.
Danish Interpretation Systems Technical Specifications Message format: ‘j’ <0> <52> <14> <0> <0> Once an attendance check has been completed successfully, the external control unit can request the attendance check result. The attendance check result remains in the CU until the next attendance check session is started, or until the CU is reset.
Danish Interpretation Systems Technical Specifications followed by the message VOTING_STATUS_VOTING_CLOSED. Notice, the order of these messages is opposite to the attendance check. VOTING_CONTROL_REQUEST_VOTING_DETAILS Command item value: 21 Message format: ‘j’ <0> <52> <21> <0> <0> Also, the result of a voting session remains in the CU until start of the next voting session or reset of the CU.
Danish Interpretation Systems Technical Specifications MICROPHONE_CONTROL_MICROPHONE_ON MICROPHONE_CONTROL_MICROPHONE_OFF MICROPHONE_CONTROL_REQUEST_ON MICROPHONE_CONTROL_REQUEST_OFF 14 15 16 17 MICROPHONE_CONTROL_SYSTEM_OPERATION_MODE 18 MICROPHONE_CONTROL_REQUEST_SYSTEM_STATUS 20 Turn on a delegate microphone. Turn off a delegate microphone Set a delegate in the request list Remove a delegate from the request list Set the operation mode of the system Request status of the microphone system.
Danish Interpretation Systems Technical Specifications VOTING_CONTROL_MU (=52): Command Item VOTING_CONTROL_TYPE_OF_VOTING VOTING_CONTROL_SECET_VOTING VOTING_CONTROL_START_ATTENDANCE_CHECK VOTING_CONTROL_STOP_ATTENDANCE_CHECK VOTING_CONTROL_REQUEST_ATTENDANCE_RESULT value 1 3 11 12 14 VOTING_CONTROL_OPEN_VOTING VOTING_CONTROL_CLOSE_VOTING VOTING_CONTROL_REQUEST_VOTING_DETAILS 16 18 21 Comment 3-Button or 5-Button voting. Open or Secret voting.
Danish Interpretation Systems Technical Specifications Messages in MAIN_GRP The following subsections describe each of the messages in the group. The message format descriptions have the same meaning as in section 3.4.4.
Danish Interpretation Systems Technical Specifications EXTERNAL_UNIT_ADDRESS Command item value: 2 Message format: 'c' <27> <4> <2> The CU sends this message to tell the external control unit what address it has been assigned. The address is 256*Address MSB + Address LSB. The External Identity is the value, which the registering unit has already sent to the CU.
Danish Interpretation Systems Technical Specifications The Delegate Off Status indicates whether the delegate off restriction is imposed to the system by another control units/chairman unit. MICROPHONE_STATUS_DELEGATE_MUTE_ACTIVE Command item value: 3 Message format: 'c' <23> <3> <3> The unit with address 256*Control Unit Addr MSB + Control Unit Addr LSB has muted the delegate microphones.
Danish Interpretation Systems Technical Specifications MICROPHONE_STATUS_MICROPHONE_ON Command item value: 9 Message format: 'c' <23> <3> <9> The CU sends this message to signal that the microphone with the address 256*Microphone Address MSB + Microphone Address LSB has been activated.
Danish Interpretation Systems Technical Specifications MICROPHONE_STATUS_MAX_SPEAKERS Command item value: 15 Message format: 'c' <23> <2> <15> Sent to signify that the maximum number of simultaneous active delegate microphones has been set to Max Speakers Value. The message is sent both when the value has been changed and as part of the system status.
Danish Interpretation Systems Technical Specifications The CU sends this message to tell that a complete update on the status of the microphone control application will be sent. MICROPHONE_STATUS_UPDATE_STOP Command item value: 20 Message format: 'c' <23> <1> <20> The CU sends this message to tell that it has just finished sending a complete update on the status of the microphone control application.
Danish Interpretation Systems Technical Specifications This message gives the following status information about the microphone with the address 256*Microphone Address MSB + Microphone Address LSB Information Microphone State Stored in Bit 0 of State A Meaning 1 Microphone is on 0 Microphone is off Request State Bit 1 of State A 1 Microphone is in the request queue 0 Microphone is not in the request queue Microphone Mute Bit 2 of State A 1 Microphone is muted State 0 Microphone is not muted
Danish Interpretation Systems Technical Specifications AUDIO_STATUS_MU_SPEAKER_OFF Command item value: 4 Message format: 'c' <29> <1> <4> The CU sends this message when the speakers on the delegate microphones are switched off.
Danish Interpretation Systems Technical Specifications AUDIO_STATUS_MU_LINEIN_TO_LINEOUT Command item value: 9 Message format: 'c' <29> <2> <9> This message signifies that the gain setting of amplifier 3 has been changed to Gain Level dB. A setting of –41dB means the amplifier is switched off.
Danish Interpretation Systems Technical Specifications Type of Voting 3-Button Voting Value 3 5-Button Voting 5 Description Three voting alternatives will be available – typically Yes, Abstain and No. Five voting alternatives will be available – typically ++, +, 0, - and --.
Danish Interpretation Systems Technical Specifications 'c' <53> <1> <13> This message informs that an attendance is cancelled by the CU. This only happens in case of communication problems. After cancellation of an attendance check, the CU does not store any attendance check result.
Danish Interpretation Systems Technical Specifications Message format: 'c' <53> <1> <18> This message informs that a voting session is closed in the CU. Immediately before this message, the CU has distributed the final voting result (VOTING_STATUS_VOTING_RESULTS).
Danish Interpretation Systems Technical Specifications microphone unit addresses, where delegates have acknowlegded their presence. The message format has the same meaning as in section 3.4.4.
Danish Interpretation Systems Address 1 Presence Technical Specifications = 16* + = 16 * 0 + 1 = 1 = =1 (Address 1 is present) For Address 2 we receive: Address 2 Presence = <2><18> = 16*2 + 2 = 34 =1 (Address 34 is present) For Address 3 and Address 4 there is no information (all is 0). 4.5.
Danish Interpretation Systems Technical Specifications The votes of a delegate is only valid, if the address is not 0 and the Vote is not 0: Example: Imagine, that the CU has received a Yes-vote from address 3 and a No-vote from address 20. The CU ‘packs’ the votes of both units into the same message.
Danish Interpretation Systems Technical Specifications EXTERNAL_HEART_BEAT_REQUEST MICROPHONE_STATUS_GRP (=23): Command Item MICROPHONE_STATUS_DELEGATE_OFF_ACTIVE MICROPHONE_STATUS_DELEGATE_OFF_INACTIVE MICROPHONE_STATUS_DELEGATE_MUTE_ACTIVE MICROPHONE_STATUS_DELEGATE_MUTE_INACTIVE 3 Request to external control units to confirm RS232 communication value 1 2 3 4 Comment Delegate Off is active Delegate Off is no longer active All speaking delegates are muted Speaking delegates are no longer muted A del
Danish Interpretation Systems Technical Specifications AUDIO_STATUS_MU_LINEIN_TO_SPEAKER 8 AUDIO_STATUS_MU_LINEIN_TO_LINEOUT AUDIO_STATUS_MU_LINE_IN_LEVEL AUDIO_STATUS_MU_STATUS_START AUDIO_STATUS_MU_STATUS_STOP 9 14 20 21 delegates to LineOut Audio level from LineIn to delegate loudspeakers Audio level from LineIn to LineOut LineIn level.
Danish Interpretation Systems Technical Specifications 5 Controlling Microphones The purpose of this section is to give a short summary of how the methods described in the rest of the manual can be used to control the system. 5.1 CRC Calculation 5.1.1 CU Reset message When the CU is powered up, the very first control message to send to the external control unit is a ‘CU reset’ message.
Danish Interpretation Systems Technical Specifications 5.2.1 Power up of the CU after connecting When the connection to the CU is done prior to putting power on the CU, the external control unit will receive start up information from the CU at power up, the ‘CU reset’ message. This is the initial message indicating, that the CU is powered up.
Danish Interpretation Systems Technical Specifications After the ‘CU reset’ message, the CU transmits an ASCII text. This text is not wrapped in and delimiters, so it should simply be dismissed. Inside the CU, an initialization phase takes place after sending of the ‘CU reset’ message.
Danish Interpretation Systems Technical Specifications 5.3 The Heart Beat process After the external controller has been registered in the CU, it becomes part of the heart beat process. The heart beat process consists of a pair of control messages, a reply from the CU and a response from the external control unit. Every 5 seconds, the CU sends a Heart Beat Request to the external control unit, and by responding by a Heart Beat Reply, the external control unit indicates, that it is an active controller.
Danish Interpretation Systems Technical Specifications The following sequence illustrates retrieval of the microphone control system status. External Control Unit Request Control System Status Request for Microphone Control System status Microphone Control Status Start Microphone control system status Start indication Microphone Unit Status For all microphone units, the CU sends 'Microphone Unit Status' and 'Microphone Activity Status'.
Danish Interpretation Systems Technical Specifications The following sequence shows retrieval of Microphone Audio System status: External Control Unit Request MU Audio System Status Request for Microphone Audio System status Microphone audio system status Start indication MU Audio Status Start Speaker Volume LineOut Volume Mic to Speaker Mic to LineOut LineIn to Speaker LineIn to LineOut LineIn Level Speaker On/ Speaker Off MU Audio Status Stop Microphone Audio System status Stop indication Figu
Danish Interpretation Systems Technical Specifications 6 Additional detailed example 6.1 Example - Registration with the CU The first example shows how registration with the CU is done from AMX. The AMX equipment is connected to the CU via the RS232 connection. The CU has already been powered up. Three steps must be passed: - Step (1) - The CU must be put in Microphone Control Mode - Step (2) – A registration request must be transmitted from AMX - Step (3) – The registration reply is received in AMX 6.1.
Danish Interpretation Systems Technical Specifications Byte ‘m’ = <109> = [6D] Last CRC-value <0> = [0] <0> = [0] ‘c’= <99> = [63] <4> = [4] <28> = [1C] ‘m’ = <109> = [6D] <122> = [7A] Table lookup index [6D]^[0] = [6D] = <109> [0]^[4] = [4] = <4> [63]^[1C] = [7F] = <127> [6D]^[7A] = [17] = <23> New CRC-value <4> <28> <122> ‘e’ = <101> Resulting CRC-value is <109>. Now, the unfinished control message looks like this: ‘m’ <0> ‘c’ ‘m’ ’e’ Step (1.
Danish Interpretation Systems Technical Specifications 6.1.2 Step(2) – Requesting registration in the CU After entering microphone control mode, it is time to send a registration request to the CU. The control message required to do registration is EXTERNAL_NEW_UNIT in the EXTERNAL_CONTROL_GRP. Again the five steps of above must be completed to find the full control message to send: Step Action 1 Deciding MessageType and contents. Control Message Message Type: ‘j’.
Danish Interpretation Systems Technical Specifications 6.1.3 Step(3) – Registration reply from the CU The Registration Reply is received from the CU (EXTERNAL_UNIT_ADDRESS in The following reply is received: EXTERNAL_CONTROL_GRP).
Danish Interpretation Systems Technical Specifications 6.Receiver address checking Besides the above 5 steps, the external control unit must verify that the control message needs to be treated. This is done by checking the receiver address. Receiver Address = MSB addr * 256 + LSB addr = 4013 4013 is the group address of external control units, and that naturally needs to be handled. 7.
Danish Interpretation Systems Technical Specifications 6.2 Example 2 – Turning on the microphone of a delegate. Assume, that a control unit has connected to a CU, entered microphone control mode and registered in the CU. Furthermore, the microphone status has been retrieved from the CU. Now, a chairman wants to turn on the microphone of a delegate. Assume this is the microphone with the address number 10.