ESM's "Schaums Outline" example strings for RS232. 02/01/03
The following is the specification and implementation details of the B&K
Components Device Interface Protocol, BKC-DIP. BKC-DIP is an ASCII text based
serial protocol. The electrical specification is RS232, thus B&K Components'
devices may be controlled by standard "COM" ports or similar serial devices.
Through the use of Receive and Transmit IDs, multiple B&K Components units may
be controlled on a common serial bus. The following is an example of the BKC-DIP
RS232 instruction structure.
BKC-DIP delimiter character .................. | |
BKC-DIP delimiter character ............... | | |
| | | |
Indicates the start of instruction---->(id,cc,ss;1234)
| | | |
B&K receive ID .........................| | | |
BKC-DIP command ...........................| | |
BKC-DIP command specifier ....................| |
BKC-DIP end of instruction character ................|
Notes:
I have elected to NOT use checksums (no "checksum data" after a semicolon).
The following examples are used in conjunction with a B&K product that has the
receive ID and transmit ID set to 0.
Examples are only valid for the product and zone specified, see specific
product appendix for comparability or correct system or preset parameter
details.
------------------------------------------------------------------------------- IR (InfraRed)
The following set of strings are used to discreetly select sources. These
strings may be used to emulate the functionality of the IR functions
of a B&K AV System Remote Controller
BKC-DIP source parameter (select CD) ............
BKC-DIP zone identifier (1) ................... |
BKC-DIP IR command instruction .............. | |
BKC-DIP set command instruction ........... | | |
B&K product with a receive ID set to .... | | | |
| | | | |
(0,S,I,1=F0;)
Copy the below strings to select a source (product dependent).
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
TUNER [TUNER] (0,S,I,1=70;)
AM [AM] (0,S,I,1=6E;)
FM [FM] (0,S,I,1=71;)
********************************************************
Currently not supported by any product, however
B&K intends to add IR support for the following sources:
********************************************************
The following set of strings are used to toggle the zone power state. These
strings are similar to the IR functions of the B&K AV System Remote Controller
AV7.1.
BKC-DIP power state parameter (toggle) ..........
BKC-DIP zone identifier (1) ................... |
BKC-DIP IR command instruction .............. | |
BKC-DIP set command instruction ........... | | |
B&K product with a receive ID set to .... | | | |
| | | | |
(0,S,I,1=45;)
Copy the below string to toggle "Zone 1" power state on/off.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
Power On/Off Toggle - (0,S,I,1=45;)
Copy the below strings for "Zone 1" discrete Power On and Off commands.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
Power Off - (0,S,I,1=80;)
Power On - (0,S,I,1=40;)
The following set of strings are used to increment the zone volume. These
strings are similar to the IR functions of the B&K AV System Remote Controller
AV7.1.
BKC-DIP volume increment/decrement parameter ....
BKC-DIP zone identifier (1) ................... |
BKC-DIP IR command instruction .............. | |
BKC-DIP set command instruction ........... | | |
B&K product with a receive ID set to .... | | | |
| | | | |
(0,S,I,1=24;)
Copy the below strings to increase or decrease the zone master volume.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
The following set of strings are the eXecutive commands to discreetly select
presets. These strings differ from using the B&K AV System Remote Controller
AV7.1 in that they are a direct way of accessing system presets in one step.
BKC-DIP preset identifier (0) ...................
BKC-DIP zone identifier (1) ................... |
BKC-DIP recall preset instruction ........... | |
BKC-DIP eXecutive command instruction ..... | | |
B&K product with a receive ID set to .... | | | |
| | | | |
(0,X,0,1=0;)
Copy the below strings to recall presets.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
The following set of strings are the GET display commands to acquire
text messages from the Vacuum Fluorescent Display "VFP".
BKC-DIP VFP identifier ........................
BKC-DIP display instruction ................. |
BKC-DIP get display command instruction ... | |
B&K product with a receive ID set to .... | | |
| | | |
(0,G,D,F;)
Copy the below string to acquire the contents of the Vacuum Fluorescent Display.
(0,G,D,F;)
Results:
(0,R,D,F,0="FM 102.5 Stereo 7 ",80=1;0983)
Note: This can be useful when using a touch panel. You can query the unit
and in return display current input and surround mode status on the
touch panel display.
The following set of strings are the GET display commands to acquire
text messages from the OSD on screen display "OSD".
BKC-DIP display location identifier ...........
BKC-DIP display instruction ................. |
BKC-DIP get display command instruction ... | |
B&K product with a receive ID set to .... | | |
| | | |
(0,G,D,O;)
Copy the below string to acquire the contents of the On Screen Display.
(0,G,D,O;)
------------------------------------------------------------------------------- SYSTEM PARAMETERS
Zone 1 of a Ref 50 or AVR 507
(not valid for CT series product).
The following set of strings are the set preset parameters commands to set
system preset parameters. The "FF" refers to the current state of the unit,
not to any specific preset.
BKC-DIP preset parameter identifier state ...........
BKC-DIP current input parameter identifier ........ |
BKC-DIP current preset identifier .............. | |
BKC-DIP zone identifier ...................... | | |
BKC-DIP set command instruction ........... | | | |
B&K product with a receive ID set to .... | | | | |
| | | | | |
(0,S,P1=FF,3=0;)
Copy the below strings to select a source.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
Tuner - (0,S,P1=FF,3=0;)
V1 - (0,S,P1=FF,3=1;)
V2 - (0,S,P1=FF,3=2;)
V3 - (0,S,P1=FF,3=3;)
DVD - (0,S,P1=FF,3=4;)
CD - (0,S,P1=FF,3=5;)
SAT - (0,S,P1=FF,3=6;)
Tape - (0,S,P1=FF,3=7;)
The following set of strings are the set preset parameters commands to set
system preset parameters. The "FF" refers to the current state of the unit,
not to any specific preset.
BKC-DIP preset parameter identifier state ............
BKC-DIP current input audio mode parameter ........ |
BKC-DIP current preset identifier .............. | |
BKC-DIP zone identifier ...................... | | |
BKC-DIP set command instruction ........... | | | |
B&K product with a receive ID set to .... | | | | |
| | | | | |
(0,S,P1=FF,F3=0;)
Copy the below strings to select a surround modes.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
The following set of strings are the set preset parameters commands to set
system preset parameters. The "FF" refers to the current state of the unit,
not to any specific preset.
BKC-DIP preset parameter identifier state ...........
BKC-DIP current volume parameter identifier ....... |
BKC-DIP current preset identifier .............. | |
BKC-DIP zone identifier ...................... | | |
BKC-DIP set command instruction ........... | | | |
B&K product with a receive ID set to .... | | | | |
| | | | | |
(0,S,P1=FF,1=0;)
Copy the below strings to change the master volume to a specific dB level.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.
The following set of strings are the set preset parameters commands to set
system preset parameters. The "FF" refers to the current state of the unit,
not to any specific preset.
BKC-DIP preset parameter identifier state ...........
BKC-DIP FM frequency parameter identifier ......... |
BKC-DIP current preset identifier .............. | |
BKC-DIP zone identifier ...................... | | |
BKC-DIP set command instruction ........... | | | |
B&K product with a receive ID set to .... | | | | |
| | | | | |
(0,S,P1=FF,6=6;)
Zone 1 of a Ref20, 30 or AVR202,307 (not valid for CT series product).
Copy the below strings to change FM frequency.
NOTE: Only copy and include between the open "(" and Close ")" parenthesis.