ABC Office DC-2, MC-1 manual Physical Layer, DB-9 RS232 Connector, Serial Port Driver

Page 5

Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

The DC-2/MC-1 uses simple notification, command, response and acknowledgment packets to have communication transactions with a given HOST. This protocol is designed for point to point communication between a HOST and DC-2/MC-1. The DC-2/MC-1 Protocol is a 3 layered system. The DC-2/MC-1 serial protocol allows for the DC-2/MC-1, or the HOST to initiate a communication transaction. Most transactions are initiated by the HOST. DC-2/MC-1 then responds to the HOST command with either a response or acknowledgment packet. There are a few asynchronous notifications that DC-2/MC-1 initiates indicating system changes. Each transaction initiated must wait for a corresponding response before initiating the next transmission.

The 3 protocol layers are: Physical, Data Link, and Application Layers.

Physical Layer (RS232)

Data Link Layer

Application Layer

5 Physical Layer

5.1 DB-9 RS232 Connector

Dc-2/MC-1

Ch A

Transmit Data

2

 

 

 

 

Ch A

Receive Data

3

 

 

 

 

Ch A

Ground

5

 

 

 

 

 

 

 

 

 

9Pin D-Shell (female) lower connector

Typical Host

2Rx Data

3Tx Data

5Ground

9-Pin D-Shell (male)

Note: The wiring requirements for a 9 pin to 9 pin serial connection, are a male to female straight through cable.

5.2 Serial Port Driver

DC-2/MC-1 serial port has been setup to operate as follows:

Operating Mode:

Full Duplex

Baud rate:

19.2K baud

Data Size:

8 bits

Parity:

Odd

Stop Bits:

1

5 of 44

Image 5
Contents Serial Communications Protocol Definition Data Link Layer Internal Use Definitions DocumentsAbbreviations General DescriptionSerial Port Driver DB-9 RS232 ConnectorPhysical Layer DC-2/MC-1 Receive Buffer ErrorsDC-2/MC-1 Hardware Verification Data Link LayerDC-2/MC-1 Asynchronous Notification Packets Application LayerWakeup Notification Notification Packet DescriptionFront Panel Display Buffer Sleep NotificationHost Response Expected Data DescriptionSupported System Parameters Host ResponseNo Acknowledge Acknowledgment PacketsAcknowledge Reset Unit Host Initiated Command PacketsRestore Defaults Send IR Command4.2 DC-2/MC-1 Unit Configuration Response Packet Get DC-2/MC-1 Unit Configuration3.3 DC-2/MC-1 Response Data ValidationSW Type Product IDTHX AC3 DTS SW LevelDcrespsysstatus Get System StatusSystem Status Response Packet Rateunknown RATE44 RATE48 RATE88 Get Record/Zone 2 StatusRATE96 INSTREAMAC351Get System Parameter Definition Get System Parameter Definition by Id Command PacketRecord/Zone2 Status Response Packet DccmdgetrecstatusSystem Parameter Definition Response Packet Get System Parameter Definition by Name Command PacketDccmdgetsysparambyname DcrespsysparamdefGet Effect Definition by Id Get System Parameter ValuesSystem Parameter Values Response Packet Effect Definition Response PacketEffect Parameter Definition Response Packet Get Effect Parameter DefinitionDcrespeffectdef Dccmdgeteffectparamdef10.5 Data Description Get Effect Parameter ValuesEffect Parameter Values Response Packet ApplicationHeaderData Description Custom Name Response Packet Get Custom NameGet Input Name by Id FPD Control Register Response Packet Get FPD Control RegistersInput Name Response Packet Set Effect Parameter Values Set System Parameter Values15.3 DC-2/MC-1 Response Dcrespfpdcontrol16.3 DC-2/MC-1 Response Set Effect Name by Effect Id17.3 DC-2/MC-1 Response DccmdseteffectparamvaluesSet Main Balance Set System Volume18.3 DC-2/MC-1 Response 19.3 DC-2/MC-1 ResponseSet Active Effect by Id Set Front/Back BalancePacket Description 20.3 DC-2/MC-1 ResponseClear Record/Zone2 Input Set Record/Zone2 Input22.3 DC-2/MC-1 Response Data Validation 23.3 DC-2/MC-1 Response Data ValidationSet Zone2 Left/Right Balance Set Zone2 VolumeSet Custom Name 24.3 DC-2/MC-1 Response26.3 DC-2/MC-1 Response Set Input Name by Id27.3 DC-2/MC-1 Response DccmdsetcustnameHost Wakeup Set FPD Control Registers28.3 DC-2/MC-1 Response Data Description 29.3 DC-2/MC-1 Response31.3 Data Description Get Communication ConfigurationHost Sleep Dccmdsetcomconfig Set Communication ConfigurationSet Mute 32.2 Data Description33.3 DC-2/MC-1 Response Set Output Level Adjustments34.2 Data Description Dccmdsetmute34.3 DC-2/MC-1 Response Send Display String Command35.2 Data Description 35.3 DC-2/MC-1 ResponsePoke Command Peek CommandAppendix a Command Codes Internal UseAcknowledgments ResponsesError CodeHex Appendix B Error CodesHex Function Code Shift Functions Hex Code Rec Function Appendix C DC-2/MC-1 IR-CodesAppendix E Protocol Constants Appendix D Input Id’sInput Name Input Id Constant ValueDecApplication Notes and Examples Appendix F FPD Control RegistersBox initializations 15.1.1 DC-2/MC-1Simple System Control & System Status Getting System Wide Status and SetupDownloading the System Setup to the DC-2/MC-1 Examples Get Unit ConfigurationSOP DLL DC CMD DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA815.5.3 Set Input Name Get Effect DefinitionCmd Send IR Command Example