Extron electronic QSD 204 D Serial Communication, RS-232 Programmer’s Guide, Error responses

Models: QSD 204 QSD 204 D

1 48
Download 48 pages 54.18 Kb
Page 32
Image 32
Serial Communication

Serial Communication

The QSD 204 can be remotely controlled via a host computer or other device (such as a control system) attached to the rear panel Remote connector. The control device (host) can use either Extron’s Simple Instruction Set (SIS) commands or the graphical control program for Windows.

The decoder uses a protocol of 9600 baud, 1 stop bit, no parity, and no flow control.

The rear panel RS-232 9-pin D connector has the following pin assignments:

Pin

RS-232 function

Description

5

1

 

 

 

1

Input #1

Contact closure

 

 

2

Tx

Transmit data

 

 

3

Rx

Receive data

9

6

4

Input #2

Contact closure

DB9 Pin Locations

5

Gnd

Signal ground

Female

6

Input #3

Contact closure

 

 

7

Input #4

Contact closure

 

 

8

No connection

 

 

9

No connection

 

 

RS-232 Programmer’s Guide

Host-to-decoder communications

SIS commands consist of one or more characters per field. No special characters are required to begin or end a command sequence. When the QSD 204 determines that a command is valid, it executes the command and sends a response to the host device. All responses from the decoder to the host end with a carriage return and a line feed (CR/LF = RS-232 Programmer’s Guide ), which signals the end of the response character string. A string is one or more characters.

Decoder-initiated messages

When a local event such as a front panel selection or adjustment takes place, the QSD 204 decoder responds by sending a message to the host. No response is required from the host. The decoder-initiated messages are listed here (underlined).

(C) Copyright 2002, Extron Electronics, QSD 204, Vx.xx Host-to-decoder communications

The QSD 204 sends the copyright message when it first powers on. Vx.xx is the firmware version number.

C hn X1Decoder-initiated messagesError responses (where X1 is the input number)

The QSD 204 sends this response when an input is switched. C = both audio and video were switched.

Error responses

When the decoder receives a valid SIS command, it executes the command and sends a response to the host device. If the QSD 204 is unable to execute the command because the command is invalid or it contains invalid parameters, it returns an error response to the host.

The error response codes and their descriptions are as follows:

E01 – Invalid input channel number (the number is too large)

E10 – Invalid command

E11 – Invalid preset number

E13 – Invalid value (the number is out of range/too large)

E17 – Illegal command for this signal type.

3-2 QSD 204 • Serial Communication
Page 32
Image 32
Extron electronic QSD 204 D manual Serial Communication, RS-232 Programmer’s Guide, Host-to-decoder communications