Optimus SMP-23317 Manual de usuario

Tipo
Manual de usuario
OPTIMUS, S.A.
Barcelona. 101
E-17003 GIRONA (Spain)
Tel (+34) 972 203 300
Fax (+34) 972 218 413
E-mail: girona@optimus.es
E-mail: export@optimus.es
www.optimus.es
Optimus Sociedad Anónima. Inscrita en el Registro Mercantil de Girona. Tomo 142, Libro 0, Sección 8, Folio 12, Hoja GE 2556, Insc.. 16. CIF A17004417
BARCELONA BILBAO BADAJOZ A CORUÑA GIJON MADRID MALAGA MURCIA PALMA DE MALLORCA SALAMANCA SEVILLA VALENCIA ZARAGOZA
SONIDO Y COMUNICACI
Ó
N
PROTOCOLO DE COMUNICACIÓN SERIE TARJETA SMP-23317
Niveles eléctricos: RS-232 / RS-422
Velocidad de transmisión: 9600 baudios
Formato: 8N1 (8 bits / no paridad / 1 stop)
CONTROL PROGRAMA MUSICAL
Se manda Zona, Nivel y Programa a la placa.
Esta información se manda en una trama de 5 bytes en el siguiente orden:
Byte Binario Decimal Significado
B1 1001ZZZZ 144+ZZZZ Z=4 bits altos de zona
B2 1000zzzz 128+zzzz z=4 bits bajos de zona
B3 11LLLLLL 192+LLLLLL L=6 bits de Nivel de Audio
B4 1010PPPP 160+PPPP P=4 bits de programa
B5 0CCCCCCC Checksum (7 bits) = B1+B2+B3+B4 y 127
Zona (1 a 208) = ZZZZzzzz + 1 (0 indica la primera zona = zona 1)
Nivel (0 a 50) = LLLLLL (0 +10dB 50 -40dB)
Programa (0 a 13) = PPPP (0 silencio, 1 a 12 programa PPPP, 13 Control salidas)
La tarjeta responde con un único byte:
- Responde con el mismo checksum si acepta la trama.
- Responde 128 si no la acepta; puede ser causado por :
- Error checksum
- Tarjeta ocupada procesando la trama anterior
Otros errores de comunicación podrían provocar que la tarjeta no conteste.
Ejemplo: Para seleccionar programa 1, a zona 1, a 0 dB:
Enviar trama: 144,128,202,161,123
Tarjeta responde: 123
CONTROL SALIDAS DIRECTAS
En el caso de recibir el valor de programa=13, es indicativo de que se trata de una trama especial en la que
los 8 bits de zona y los 6 del nivel controlan directamente 14 salidas de la regleta de conexión de los
dispositivos de control remoto.
Salida 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Bit Z Z Z Z z z z z L L L L L L
OPTIMUS, S.A.
Barcelona. 101
E-17003 GIRONA (Spain)
Tel (+34) 972 203 300
Fax (+34) 972 218 413
E-mail: girona@optimus.es
E-mail: export@optimus.es
www.optimus.es
Optimus Sociedad Anónima. Inscrita en el Registro Mercantil de Girona. Tomo 142, Libro 0, Sección 8, Folio 12, Hoja GE 2556, Insc.. 16. CIF A17004417
BARCELONA BILBAO BADAJOZ A CORUÑA GIJON MADRID MALAGA MURCIA PALMA DE MALLORCA SALAMANCA SEVILLA VALENCIA ZARAGOZA
SONIDO Y COMUNICACI
Ó
N
SMP-23317 SERIAL COMMUNICATION PROTOCOL
Electric Interface: RS-232 / RS-422
Communication speed: 9600 baud
Format: 8N1 (8 bits / no parity / 1 stop)
AUDIO PROGRAM CONTROL
Zone, Level and Program are sent to SMP23317 board in a 5 byte frame in the following order:
Byte Binary decimal Meaning
B1 1001ZZZZ 144+ZZZZ Z=4 high bits of zone
B2 1000zzzz 128+zzzz z=4 low bits of zone
B3 11LLLLLL 192+LLLLLL L=6 audio level bits
B4 1010PPPP 160+PPPP P=4 program select bits
B5 0CCCCCCC Checksum (7 bits) = B1+B2+B3+B4 and 127
Zone (1 to 208) = ZZZZzzzz + 1 (0 means first zone = zone 1)
Level (0 to 50) = LLLLLL (0 +10dB 50 -40dB)
Program (0 to 13) = PPPP (0 silence, 1 to 12 program PPPP, 13 control outputs)
Answer from SMP-23317 card is one byte:
- Same checksum if frame is accepted.
- 128 if frame not accepted. This can be caused by:
- Checksum error
- Card is busy processing previous frame.
In case of other communication errors card does not respond.
Example: In order to select program 1 at 0dB to zone 1:
Send frame: 144,128,202,161,123
Card’s answer: 123
CONTROL OUTPUTS
If received program value= 13, the 8 zone bits and 6 Level bits are used to control 14 outputs of the terminal
block. (1=ON, 0=OFF)
Output 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Bit Z Z Z Z z z z z L L L L L L
  • Page 1 1
  • Page 2 2

Optimus SMP-23317 Manual de usuario

Tipo
Manual de usuario