Rane SR 2 Manuale Utente Pagina 18

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 36
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 17
Manual-18
SR 2 Communication Protocol
e SR 2 communication protocol follows Rane’s RW 485 specication. e follow-
ing describes the SR 2 implementation.
Physical
e baud rate is 38,400 bps with No parity, 8 Data Bits, 1 Stop Bit (N81) format. e
SR 2 also supports 9600, 19200, 57600, and 115200 bps. When conguring 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. e SR 2 waits this length of time before transmitting its response. To restore
the SR 2 communication settings to 38400 baud 10 ms delay, apply power while
pushing the encoder in for several seconds until the encoder LED illuminates.
Master/Slave
RW 485 is a master/slave bus network, with only one master in charge, which we de-
ne 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. e slave must then release the bus back to the Protocol Master, and we start
again. e SR 2 is always a slave.
Value Encoding
All numeric values are represented in ASCII decimal format separated by 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 2. Response mes-
sages are returned to the Protocol Master from the SR 2.
e SR 2 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> <msgtype> <devtype> <checksum> <command/data> <CR>
<addr> Each device has a unique address in the range [0, 7]. e encoding is one
byte with the MSB set.
For example, if the SR 2’s address switch is set to 5, the controller would send
10000101. ($5 + $80)
e SR 2 always returns its address switch setting plus $80. ($addr + $80)
e address switch must be set in the range [0, 7].
Vedere la pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 35 36

Commenti su questo manuale

Nessun commento