Rs-232 programmer's guide, Introduction, Commands structure – Analog Way Graphic Switcher II - GSW2811 Manuel d'utilisation

Page 34: Error responses, Chapter 10 : rs-232 programmer's guide

Advertising
background image

GRAPHIC SWITCHER II™


PAGE 34

Chapter 10 : RS-232 PROGRAMMER'S GUIDE

10-1. INTRODUCTION

If you need to use your own Control Software from a PC, or WORKSTATION with an RS-232 port, the GRAPHIC
SWITCHER II

allows communicating through an ASCII code protocol.

The GRAPHIC SWITCHER II

treats any character received on its RS-232 as a possible command but, it only accepts

legal commands. There is no starting/ending in a command string.
A command can be 1 or 2 characters typed on a keyboard and does not require any special characters before or after it.
(it is not necessary to press "ENTER" on the keyboard). A command can be preceded by a value (see chapter 10-2.
COMMANDS STRUCTURE).

When the GRAPHIC SWITCHER II

receives a valid command, it will execute the command. Then it will send back

the status of all the parameters that have changed due to this command from the control device.
For example: When you pre-select an input the GRAPHIC SWITCHER II

indicates the input that you have pre-

selected and the status of all its parameters (input standard, image adjustment,...)

If the command cannot be executed (value out of range, no signal on the selected input), the GRAPHIC SWITCHER
II

just send back the current status of the corresponding parameters.

If the command is invalid, an error response will be returned to the controlling device. All responses sent to the
controlling device end with a carriage return <CR> and a line feed <LF> signaling the end of the response character
string. (see chapter 10-3. ERROR RESPONSES).

10-2. COMMANDS STRUCTURE

Commands are usually composed of a numerical value followed by the command characters (1 or 2). The characters
used without any numerical value return the current setting of the command.

COMMAND structure = VALUE (optional) + CHARACTER(S)

Examples:

COMMAND

VALUE

CHARACTER(S)

RESPONSE

DESCRIPTION

none fm

OSYN0

Read the Sync type of the MAIN output.

10 V

VP10

Set Vertical position to 10.

10-3. ERROR RESPONSES

When the GRAPHIC SWITCHER II

receives from the controlling device an invalid command or value, it returns an

error response:

COMMAND

VALUE

CHARACTER(S)

RESPONSE

DESCRIPTION

none BB

E10

Invalid command.

70260 V

E13

Invalid value.

Advertising