Appendix : programmer’s guide – Analog Way Octo Value User Manual
Page 45
![background image](/manuals/327166/45/background.png)
APPENDIX : PROGRAMMER’S GUIDE
A. INTRODUCTION
B. COMMANDS STRUCTURE
C. ERROR RESPONSES
If you need to use your own Software Control program from a PC or WORKSTATION with an RS232 port, the device
allows communication through an ASCII code protocol.
The device treats any character that it receives on the RS-232 as a possible command but only accepts legal com-
mands. 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 B).
When the device receives a valid command, it will execute the command. Then it will send back the status of the para-
meters that have changed due to this command. If the command cannot be executed (value out of range, no signal on
the selected input), the device 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
chapter C).
Commands are usually composed of a numerical value followed by the command character. The characters used wi-
thout any numerical value return the current setting of the command.
Command = Value (optional) + Character.
Command
Response
Description
Value
Character
none
FY
OSYN
Read the output sync type.
10
V
VP10
Set Vertical position to 10.
Examples :
When the device receives from the control device an invalid command or value, it returns an error response :
Command
Response
Description
Value
Character
none
z
E10
Invalid command.
70260
H
E13
Invalid value.
PAGE 44