Page 15 of 19
Doc. no: 312-0003-002-001 Rev 1.06
RS-232: 1 to 3
Description
Syntax
Data
Read/Write
Def.
Set the comport
baudrate
NEAMP1,COM:<port>,BAUDRATE=<data>
1200,2400,4800,
9600,14400,19200,
38400,57600,115200
R/W
9600
Set the comport data bit NEAMP1,COM:<port>,DATABIT=<data>
7, 8
R/W
8
Ser the comport parity
NEAMP1,COM:<port>,PARITY=<data>
NONE, ODD or EVEN
R/W
NONE
Set the comport stop bit
NEAMP1,COM:<port>, STOPBIT =<data>
1 or 2
R/W
1
Global functions
Description
Syntax
Data
Read/Write
Default
Save the current settings as
the default startup values.
NEAMP1,SAVE=TRUE
W
Restore factory defaults
values for the entire system.
NEAMP1,FACTORYDEFAULT=<data>
AUDIO, COM,
LAN or ALL.
W
Set all the values to their
default (last saved).
NEAMP1,RESET=<data>
AUDIO, COM,
LAN or ALL.
W
All commands that are in a span (e.g. Set volume 0-51, Select input 1-4, or Set balance -79
–
79 and
so on…) can be used with INC (increment 1) or DEC (decrement 1) commands. E.g. if the volume is
25 and you send NEAMP1,VOL=DEC<CR> then the volume will be 24.
When asking for a current state of a command simply replace the <data> in the command with “?”.
All the commands must be terminated with <CR> (0x0D in HEX value).
When a command is successful executed the amplifier retunes:
NEAMP1,OK
<CR>
If the commands that are sent are unknown the amplifier returns:
NEAMP1,ERR
<CR>
Examples for use of the protocol
Setup your RS-232 port to the following values:
x
Baudrate: 9600
x
Databits: 8
x
Stopbits: 1
x
Parity: None
E.g. for setting the audio amplifier to input 2 and gain for that input to 3
Set gain to 3 on input 2:
Send:
NEAMP1,INPUT:2,GAIN=3
<CR>
Response:
NEAMP1,OK <CR>
Select the input 2 to be played:
Send:
NEAMP1,INPUT=2 <CR>
Response:
NEAMP1,OK
<CR>
E.g. ask for input gain on input 2:
Send:
NEAMP1,INPUT:2,GAIN=?<CR>
Response:
NEAMP1,OK,INPUT:2,GAIN=3<CR>
Summary of Contents for 312-0003
Page 1: ......