Programmer's guide, Introduction, Commands structure – Analog Way Trans-Scaler XT - TSC550 User Manual
Page 21: Error responses, Chapter 10 : programmer's guide

TRANS-SCALER XT™ Chapter 10 : PROGRAMMER'S GUIDE
PAGE 21
Chapter 10 : PROGRAMMER'S GUIDE
10-1. INTRODUCTION
If you need to use your own Software Control program with a PC or WORKSTATION with an RS-232 port, the
TRANS-SCALER XT
™
allows communication through an ASCII code protocol.
The TRANS-SCALER XT
™
treats any character that it receives on the RS-232 as a possible command but it only
accepts legal commands. There is no starting/ending code needed in a command string.
A command can be a single character typed on a keyboard and does not require any special character 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 TRANS-SCALER XT
™
receives a valid command, it will execute the command. Then the TSC550 will send
back the status of all the parameters that have changed due to this command.
If the command cannot be executed (value out of range, no signal on the selected input), the TRANS-SCALER XT
™
will just sends back the current status of the corresponding parameters.
If the command is invalid, an error response will be returned to the control device. All responses returned to the control
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 a command character. 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 H
HPOS15
Read Horizontal position.
10 V
VPOS10
Set Vertical position to 10.
10-3. ERROR RESPONSES
When the TRANS-SCALER XT
™
receives from the controlling device an invalid command or value, it returns an error
response:
COMMAND
VALUE
CHARACTER(S)
RESPONSE
DESCRIPTION
none Z
E10
Invalid command.
70260 V
E13
Invalid value.