43 dab1 distributed audio system – Sonance DAB1 User Manual
Page 43

43
DAB1 DISTRIBUTED AUDIO SYSTEM
R S - 2 3 2 C o m m a n d ( O u t b o u n d S e r i a l C o n t r o l )
The DAB1 can issue macros containing outbound serial control strings to a device in
the system via its RS-232 connector (see
Figure 14, on page 17).
To create an RS-232 macro command set the following parameters and then drag the
icon into the M
ACRO
Window (see
Figure 60):
BBaa uudd RRaatt ee —
— Select the correct baud rate from the drop-down box for the device
being communicated with.
FFoorrm
maatt —
— Select the appropriate format from the drop-down box for the serial line of
the device being communicated with:
8
8N
N1
1
=
eight data bits, no parity, one stop bit
7
7EE1
1
=
seven data bits, even parity, one stop bit
7
7O
O1
1
=
seven data bits, odd parity, one stop bit
7
7M
M1
1
=
seven data bits, mark parity, one stop bit
7
7SS1
1
=
seven data bits, space parity, one stop bit
C
C oo m
m m
m aa nn dd SS tt rr ii nn gg —
— RS-232 commands can be in either ASCII text or Hex code.
• If you’re typing ASCII text make sure that the H
EX
M
ODE
button is not selected, then type the command into the S
TRING
window.
• If you’re typing a Hex command or importing a Hex command from another device, press the H
EX
M
ODE
button first and then
type or copy the command into the window.
Once the proper command is in the S
TRING
window drag the icon into the M
ACRO
Window.
TT ee rr m
m ii nn aa ll PP uu ll ll -- D
D oo w
w nn — Select the terminal
(ending character) for the RS-232 command
from the pull-down menu:
\r
=
Carriage return
\n
=
Line feed
\k
=
Hex byte
\e
=
Escape
\t
=
Tab
\\
=
Backslash
Figure 61 shows the RS-232 M
ACRO
E
DITOR
window with a sample RS-232 ASCII text macro
command string.
Select
Baud
Rate
Drag
Icon Into
Macro
Window
Select
Format
Terminal
Pull-Down
Enter
Command
String
Figure 60:
RS-232 M
ACRO
Window
Figure 61:
RS-232 M
ACRO
E
DITOR
Window with an RS-232 command string