Manual-20 – Rane SR 2 User Manual
Page 20
![background image](/manuals/650060/20/background.png)
Manual-20
The SR 2 responds with response data based on the commands/arguments it was
sent. The SR 2 limits its response data to 40 characters. In the case of an error, the
response data is: n,"ERROR" where n is an error code defined below:
Hex
ASCII Error Code Meaning
$31
'1'
Sent <devtype> invalid.
$32
'2'
Sent <checksum> did not verify.
$33
'3'
Sent <command/data> parse error.
$34
'4'
Sent <command/data> greater than 40 characters, or
the number of concatenated commands >4.
$35
'5'
Response <command/data> greater than 40 characters.
See the SR 2 Command Set section below for details of valid SR 2 responses.
<CR> A carriage return ($0D) terminates every message.
SR 2 Command Set
This section details the <command/data> portion of a complete RW 485 mes-
sage. The SR 2 supports 10 commands. Below is a table of commands and associ-
ated responses, followed by descriptions.
Configuration Commands
Cmd Arg(s)* Description
Response**
V
Get Firmware, Hardware Version
n1,n2,"OK"
N
["ccc…"] Read/Write Device's Name
"ccc…","OK"
SPL
n1[,n2]
Read/Write Stored Parameter
n,"OK"
Input Commands
ILD
[n1]
Read/Write LED Enable
n1,"OK"
ILK
[n1]
Read/Write Input Lock
n1,"OK"
IQ
Input Query
n1,n2,"OK"
IR
Input Raw
n1,n2,n3,n4,"OK"
IS
n1,n2
Input Suggest
n1,n2,"OK"
ISR
n1,n2
Input Suggest Raw
n1,n2,n3,n4,"OK"
IF
n1,n2
Input Force
"OK"
* [ ] denotes optional Command Argument
** Responses from concatenated commands produce
only one "OK"