Rs-232 programmer's guide, Introduction, Commands structure – Analog Way Smart Fade - SMF251A Manuel d'utilisation
Page 31: Error responses

SMART FADE™ Chapter 10 : RS-232 PROGRAMMER'S GUIDE
PAGE 31
Chapter 10 : RS-232 PROGRAMMER'S GUIDE
10-1. INTRODUCTION
If you need to use your own Software Control program from a PC or WORKSTATION with an RS-232 port, the SMART
FADE
™
allows communication through an ASCII code protocol.
The SMART FADE
™
treats any character that it receives on the RS-232 as a possible command but 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 SMART FADE
™
receives a valid command, it will execute the command. Then it will send back the status of 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 SMART FADE
™
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 the command character. The characters used without
any numerical value return the current setting of the command.
COMMANDS structure = VALUE (optional) + CHARACTER.
Examples:
COMMAND
VALUE
CHARACTER
RESPONSE
DESCRIPTION
none o
OSIG
Read the output sync type.
10 V
VPOS10
Set Vertical position to 10.
10-3. ERROR RESPONSES
When the SMART FADE
™
receives from the control device an invalid command or value, it returns an error response:
COMMAND
VALUE
CHARACTER
RESPONSE
DESCRIPTION
none Z
E10
Invalid command.
70260 H
E13
Invalid value.