稀客音响招募全国代理商工程商集成商合作伙伴

 找回密码
 注册

扫一扫,访问微社区

搜索
查看: 7104|回复: 2

[尽责]DIS CU4000协议

[复制链接]

11

主题

294

回帖

1435

积分

贵宾

XYCAD Team

积分
1435

专家勋章版主勋章

QQ
发表于 2006-9-11 18:10 | 显示全部楼层 |阅读模式
涉及音响灯光机械视频方案从此不求人,秒拿预算!

亲,只有注册或登录才能下载更有用的哦

您需要 登录 才可以下载或查看,没有账号?注册

×
<br>- ]1 Y2 g3 d3 O* w: A) [( W
External Control of the CU 4005/CU 4010<br>
) i/ B& V! }# f8 V! E; L, J7 C<br>
" [3 h+ j' P. F$ M# R8 N1. General<br>
2 ~. j9 j3 z+ F% q$ I$ u1 Q5 s& WData is sent using a rate of 9600 baud, 8 bits, No parity and 1 stop bit . The RTS/CTS handshake signals are in use. The RS4232 card has two serial ports – one RS232 port and one RS422 port, which may be used simultaneously.<br>
9 w+ P0 j+ |  }<br>( t6 v  D% z# V
The messages to and from the RS2432 card are sent in ‘strings’, which are not zeroterminated, but terminated with either a checksum&lt;CHKSUM&gt; calculated over the entire message or by a carriage return&lt;CR&gt;. The brackets &lt;&gt; are not part of the syntax, but are used to identify a single byte.<br>8 g' m' q# b& M  n' G1 R3 p
<br>$ A* s" ~- q9 X; X* }
_(underscore) is used in this paper to identify the space character. (ASCII value 32)<br>
5 X' k9 [2 Z3 C0 j& u' z5 F<br>! z1 N) F6 l: B( D. J: A
2. RS4232 interface card, message-fist<br>* W: k* c/ Z/ d% e  a/ U
Date from the RS4232 Card<br>
; {; i6 f* ~5 H2 uStartup message from RS4232 <br>* }$ b2 D0 Q' |4 z9 ]0 T1 Q
Number of microphones connected <br>
# o% v, y% B! V0 q3 f* x% U4 [Chairmen connected <br>
2 S0 P. g- p' I' h) n% vMaximum number of delegates speaking <br>1 n$ C! P9 a% J
Maximum number of delegates in request <br>
& O7 {0 U( r7 ^- \8 R5 P+ gSystem mode <br>4 Q  t% i. e* b3 k4 D
Volume Control <br>/ }& j$ ~. y# K$ l, ]7 f; Q( E
Microphone is turned on <br>
5 O, A6 ~& `: _4 EMicrophone in Speak<br>
! ?( M; s$ C+ i9 `' K4 g) f<br>
! t: }6 y/ E8 L6 x6 I+ JMicrophone is put in Request<br>
  N$ g8 R$ a# |) e( iMicrophone in Request<br>3 u( y, a" R: ]% R
Microphone is turned off <br>( |; N8 H7 A# b' W
RS4232 card internal buffer overflow<br>
; C7 d1 j- S) _5 k<br>9 M/ h' f& k. W: S
Data to the RS4232 Card<br>
# R  a9 W0 X8 J, ESystem request messages<br>
9 o" G; b1 f, ~" j6 {9 nMicrophone status request<br>
- a' ^8 ~: s/ q2 e: E" U; nCommands to control the microphone system<br>9 Z) ?( I5 I0 o7 V, C) U  {7 |
<br>
$ o/ Q& Q$ `" O) g: y/ U$ c+ @3. Data from the RS4232 Card<br>* B( Z- N6 K4 M) [
(1) Startup message from RS4232<br>
! p$ W4 w/ @# D- c“! W_RS4232_version_1.0_Copyright_DIS_(Danish_Interpretation_Systems)_1995&lt;CR&gt;”<br>& _& }- c! R2 c' S& ~0 z
<br>/ o* k5 n/ A8 D" m/ g
This message is sent from the interface card, after Power Up. The version number and/or year will be altered in upgraded versions of the RS4232 software.<br>; ~3 o8 F% c+ \. K4 N' ~
<br>6 d8 Q- U  U  m9 N
(2) Number of microphones connected<br>! B3 e/ ?* [/ R6 X/ ^4 ]" J$ k6 {
“! M&lt;CU1:CHAIN1&gt;&gt;CU1:CHAIN2&gt;&lt;CU2:CHAIN1&gt;_&lt;CU10:CHAIN2&gt;&lt;CHKSUM&gt;”<br>
: G5 J: _' b, ]& |, I8 }0 l<br>
$ ?$ |' W# h3 b; _( OThis message is sent as response to a request on the number of microphones connected in the system, when the number of microphones in the system is changed, or a chain of microphones changes state (valid/invalid). The byte&lt;CU1: CHAIN1&gt;contains the number of microphones connected to CU number 1 Chain number 1 and so forth. Data is sent for each of the 10 CU’s with each 2 Chains allowed in a single system. A single chain can contain from 0 to 50 microphones.<br>
9 w+ C: m7 E! K; @4 ^0 c<br>
  q1 L4 Z5 w" k/ hIf a Chain is identified as invalid (due to a faulty microphone or a change in the number of microphones) the number 255 is sent. In case a chain is invalidated during operation, the remaining system will still work. When a chain is invalidated this message also implies that microphones in this chain is turned off from Speak or Request – hence no separate messages are sent.<br>
' i* J! I9 b3 W! E3 i7 |; X<br>
& u$ H$ t3 j; B5 Z7 h(3) Chairmen connected<br>
# f6 e; o: C& K+ C+ `“! C&lt;CHAIRMAN1 CU&gt;&lt;CHAIRMAN1 CHAIN&gt;&lt;CHAIRMAN1 MIC&gt;<br>& j: _$ J4 k( I- d+ D
“”<br>
- @. p7 m; {; O1 s4 ]+ C6 `3 i4 G&lt;CHAIRMAN10 CU&gt;&lt;CHAIRMAN10 CHAIN&gt;&lt;CHAIRMAN10 MIC&gt;&lt;CHKSUM&gt;”<br>
: a' m1 O0 J; w; r! _: |, Y&lt;CHAIRMAN1 CU&gt; holds the number of the CU (1-10) to which the first chairman microphone is connected. If this chairman microphone is not present in the system this byte takes on the value 0.<br>" M/ @# @+ x( v2 O* G$ q+ N
<br>$ k* C0 @7 z6 p5 m" e+ T
&lt;CHAIRMAN1 CHAIN&gt; holds the number of the Chain (1-2) to which the first chairman microphone is connected.<br>( p8 E! @: H- G3 x: M
<br>) u0 U3 [" k; l1 _* q" k  S
&lt;CHAIRMAN1 MIC&gt; holds the number of the Chairman microphone in the Chain (1-50).<br>
% q1 h7 f: {* t<br>
/ `# e; X$ Q- a% `3 C# r  AData is sent for the possible 10 Chairman Microphones.<br>4 R. S6 o# [4 T; k9 D& e
<br>
( T  ]) a; f' ]" c( s(4) Maximum number of delegates speaking<br>
6 b8 l7 j' h! m  c8 H, u' \“! K&lt;MAXSPK&gt;&lt;CHKSUM&gt;”<br>
0 m0 j4 B9 Q; H  C7 S<br>
- B. g8 _. f( Z+ ^& Y5 r! zThis message contains the maximum number of delegate microphones allowed to be in Speak at any time. This system value ranges from 1 to 6.<br>
9 H! J# Z7 t# |+ O<br>2 J% R- K( {- Z" @
(5) Maximum number of delegates in request<br>3 K- J2 ^4 `6 n0 @% w, s) q. C
“! Q&lt;MAXREQmsb&gt;&lt;MAXREQlsb&gt;&lt;CHKSUM&gt;”<br>
% g( k/ J, ]% ~, M- h  P<br>% E# Z" Y4 R! s# V8 R4 Z
This message contains the maximum number of delegate microphones that can be put in request at any time. &lt;MAXREQmsb&gt; contains the most significant byte, and &lt;MAXREQlsb&gt; contains the least significant byte. This system value ranges from 1 to 999.<br>) x) O0 G( Q1 @+ |% o
<br>
& t- N% f, J% ^- y- s# G1 ]" O(6) System mode<br>
) p) o9 m7 M2 b& p! O9 h“! E&lt;MODE&gt;&lt;CHKSUM&gt;”<br>: y& x6 w$ Q) t
<br>9 v, h, o1 b. e# I4 J4 A* U
This message is sent when the mode of operation for the CDS 4000 system changes. Possible modes are:<br>
4 b$ z8 C$ ^, K/ ]7 C& u$ P- t‘A’: AUTOMATIC<br>
, d. G; M% C% W4 G‘F’: FIFO<br># v; V. Y0 C2 X2 J0 P& E' w
‘M’: MANUAL<br>
+ I# w) `0 r5 |<br>; \$ B, n; ^  R
(7) Volume Control<br>
  W, ]0 M/ }, y8 L, ^3 i# f$ _“! V&lt;MIC VOLUME&gt;&lt;INPUT VOLUME&gt;&lt;CHKSUM&gt;”<br>
1 \6 T. e9 K, R4 Q* n<br>
* m4 a/ ^) j" I# L) LThis message is sent, when one of the volume controls is adjusted. The possible ranges for each of the two volume controls is 0 to 64.<br>
) k) g# A8 F+ L- a. {( t0:  off<br>% B# H4 O% L/ F) E% C
1:  -42dB<br>% ?; C7 `0 X- k( L1 B) q
2:  -41dB<br>
: w( N4 e" P6 f2 i: D0 o7 d“<br>; W  c. s" r3 ~0 d! ^0 T& V
63: +20dB<br>
% }* B+ {2 a. n<br>
' ~3 B. m! b; ^) z(8) Microphone is turned on<br>
: [0 X  Q" c, N* x9 F“! S&lt;CU&gt;&lt;CHAIN&gt;&lt;MIC&gt;&lt;CHKSUM&gt;”<br>0 }. M9 x* M9 S. L& |
<br>
- f/ c, |/ ^/ Z. W6 DThis message is sent, when a microphone is turned on.<br>$ o% f* j0 L8 K5 ~8 o& o
&lt;CU&gt; is the number of the CU to which the microphone is connected (1-10).<br>
3 n8 ^! e: S& I+ T+ A1 S<br>9 p- @1 _; W8 z# w1 E2 t' X
&lt;CHAIN&gt; is the number of the Chain to which the microphone is connected (1-2).<br>
2 ~5 o& U( T: O<br>
# ?* [: Q8 O8 Y&lt;MIC&gt; is the microphone number in the Chain (1-50).<br>
4 `6 ]5 u* W2 Q9 g7 Y<br>
0 M! e( z2 r& |  w% z, L" {/ FIf the microphone switched on, was in request, this message also implies that the request is deleted.<br>8 V* _+ Z3 U2 X  ~
<br>- `/ T6 U/ P# i! a! n- X8 D+ H
(9) Microphone is Speak<br>1 j8 I5 `! n: O! C0 x7 a/ f5 X" e
“! s&lt;CU&gt;&lt;CHAIN&gt;&lt;MIC&gt;&lt;CHKSUM&gt;”<br>$ j! j/ e) l) V# A1 z
<br>
$ E2 i/ Y  q  E1 T; ^) _1 _This message is sent as response to a request for the system status. The message is sent for each microphone currently switched on.<br>5 K) }, T2 f0 \( y7 z8 k
<br>
) V4 |1 K8 w( N- s& h. ?(10) Microphone is put in Request<br>
, |4 I$ Y  y9 o% M+ R2 w“! R&lt;CU&gt;&lt;CHAIN&gt;&lt;MIC&gt;&lt;CHKSUM&gt;”<br>
1 U+ V: K" L! |; `: v- z8 Q) h<br>
; i3 T; @2 k' _! K* T, E. O5 BThis message is sent when a microphone is put in request.<br>5 ?7 @! ~8 k2 a3 a: C- W( l# t
<br>
( O4 v3 |2 G  S, L2 h(11) Microphone is Request<br>0 ~" @9 a1 g+ b, |
“! r&lt;CU&gt;&lt;CHAIN&gt;&lt;MIC&gt;&lt;CHKSUM&gt;”<br>) n) y; D; _6 y' r
<br>
( T! a. g7 `$ TThis message is sent as response to a request for the system status. The message is sent for each microphone currently in request. The messages are ordered so that the microphone put in request first will be identified in the first message and so forth.<br>
) R: s4 q* P0 k0 T" d<br>5 q3 B& i: R' ^  b
(12) Microphone is turned off <br>! u- P2 U% U  z* v/ J, ^6 m  K
“! O&lt;CU&gt;&lt;CHAIN&gt;&lt;MIC&gt;&lt;CHKSUM&gt;”<br>
" ]1 X. \: m1 p<br>
& g. H7 H% r( s7 g& J! xThis message is sent, when a microphone is turned off. This message is used regardless of whether the microphone was in Speak or Request before it was turned off.<br>8 k& ^/ d7 T8 [  |! m- l" c9 x5 p
<br>
" L' u, R2 b0 f- ]# K; n. S8 h' q9 I(13) RS4232 card internal buffer overflow<br>
% {  _) F# I6 ~“! X&lt;cr&gt;”<br>
6 i# K0 Q" [6 c<br>
" N. [- Z* H# w  N  X9 p( w& pThis message is sent when an internal buffer overflow occurs in the RS4232 card. This may occur if the RS4232 card receives messages from the master CU at a higher rate than it can relay the messages over the serial port – this may occur if the PC or other equipment connected to the RS4232 card holds off transmission with the hardware handshake signal. Once transmission is reestablished, the overflow message will be sent, and the external equipment has notified that one or more microphone Speak/Request/Off messages were lost. These are the only messages that can provoke an overflow, as all other messages are nonsynchrone. When the external equipment has notified that some messages were lost, it is able to reachieve correct microphone status by sending the microphone status request message to the RS4232 card and collect the response from this request.<br>* @9 \& F4 n1 L" {: z6 A
<br># V8 g7 ^# K! H5 g0 w# \
It is necessary to allow this overflow possibility to ensure that a faulty computer connected to the RS4232 card does not bring down the entire microphone system.<br>
& }  t/ [" }8 Z. L. {* F2 |<br>
. j2 r, L$ U# \+ p: ]% r4. Data to the RS4232 card<br>
/ {7 G$ Y3 t$ f' u! Y, [( B3 R(1) System request messages<br>- N/ M0 ~* O5 }  Y$ _
The external equipment can request the status of the various system variables. A message is automatically sent of an update of one of these variables occurs.<br>6 y/ Z+ X( K8 k) C
“?M&lt;CR&gt;”: Number of microphones connected<br>5 f0 q! K) X8 d* B, X7 n, a4 ^+ q
“?C&lt;CR&gt;”: Chairmen connected<br>4 H) M# e$ n% M1 R8 i1 e! j/ A# W
“?K&lt;CR&gt;”: Maximum number of delegates speaking<br>0 q% i+ s/ O9 E$ g7 S( K% o
“?Q&lt;CR&gt;”: Maximum number of delegates in request<br>
; i& E$ E  y$ i8 k1 Y“?E&lt;CR&gt;”: System mode<br>, d" [5 `4 V( s! N% B5 p6 b- `8 N
“?V&lt;CR&gt;”: Volume Control<br>$ y# U( Z& q2 _8 l- h
<br>
0 p9 R  j' U/ S+ |# }$ s(2) Microphone status request<br>
# v9 P, [) k0 k, N0 }“?S&lt;CR&gt;”<br>% _! e3 F# a  {( O
<br>
7 U9 [* Z& Q" k8 v; u+ g, m  tThis message requests the status of the microphones in the system and will be responded with a series of microphone in speak/microphone in request messages.<br>7 H* m; j/ y# A& c
<br>
$ f! h$ |$ f$ o# o(3) Commands to control the microphone system<br>
* z8 q) H- @& O& c6 s# ~& RThe commands to put a microphone in request/speak/off, adjust the volume control, set the maximum number of delegates speaking/in request, and change the system mode of operation are identical to the commands sent from the RS4232, when any of these variables are changed from the CU.<br>
3 E5 S) ^# Z" D' d" X- J) a1 i8 r( Y0 I<br>- a& h7 q# G" s; r# r
5. DM/CM 4100 Series Voice Activated microphone units<br>
0 B/ t, y% J; C: i3 G; NThe DM/CM 4100 series of units function exactly as the standard units, but only when they are in MAN/AUT mode. If they are in VOICE ACTIVATE mode, no messages will be sent about units switching on and off automatically controlled by the sound level. The message is not sent from the microphones to the central unit, so it is not possible for the central unit to tell.<br>
- t1 F- F- h" S  w, x2 w8 K6 `
Eric Ge 葛萌
Business Development Manager(Whole China)
Mobile: (86) 13370125802
Tel: (86) 10 6409-6026
Fax: (86) 10 6409-6001
Email: ericge@crestronasia.com
//欢迎光临中国音响设计网//

20

主题

125

回帖

1603

积分

银牌会员

积分
1603

专家勋章版主勋章

发表于 2010-7-28 15:35 | 显示全部楼层
呵呵一起学西
您需要登录后才可以回帖 登录 | 注册

本版积分规则

超薄音响 稀客领航
请用抖音扫一扫,关注XYCAD创始人直播

QQ|手机版|Archiver|XYCAD中国音响设计网 ( 京ICP备14030947号 )点击这里与XYCAD官方实时沟通

GMT+8, 2024-4-29 04:12 , Processed in 0.159010 second(s), 30 queries , Gzip On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表