beautypg.com

Manual-24 sr 3 communication protocol – Rane SR 3 User Manual

Page 24

background image

Manual-24

SR 3 Communication Protocol

The SR 3 communication protocol follows Rane’s RW 485 specification. The follow-

ing describes the SR 3 implementation.

Physical
The baud rate is 38,400 bps with No parity, 8 Data Bits, 1 Stop Bit (N81) format. The

SR 3 also supports 9600, 19200, 57600, and 115200 bps. When configuring Remotes

used with Rane controllers (RPM 22, 44, 88), the RW 485 baud rate of 38400 bps is

required. At the end of a command message, the Master must release the bus within

10 ms. The SR 3 waits this length of time before transmitting its response. To restore

the SR 4 communication settings to 38400 baud 10 ms delay, apply power while

pushing the encoder in for several seconds until “COMM RESTORED” is displayed

on the LCD.

Master/Slave
RW 485 is a master/slave bus network, with only one master in charge, which we de-

fine as the Protocol Master (controller). When the Protocol Master expects a response

from a slave, it relinquishes control of the bus, allowing the slave to drive the RS-485

bus. The slave must then release the bus back to the Protocol Master, and we start

again. The SR 3 is always a slave.

Value Encoding
All numeric values are represented in ASCII decimal format separated by commas,

except LCD data which are represented in ASCII hex (2 characters per byte, no

commas). Values with the MSB set ($80 or larger) are interpreted as potential device

addresses.

Syntax
Command messages are sent from the Protocol Master to the SR 3. Response mes-

sages are returned to the Protocol Master from the SR 3. The SR 3 always responds to

the Protocol Master upon receiving a complete command message at the correct baud

rate.

Command and response messages have the same format:

message =

<addr> Each device has a unique address in the range [0, 7]. The encoding is one

byte with the MSB set.

For example, if the SR 3’s address switch is set to 5, the controller would send

10000101.