Analog Way DI-VENTIX II - Ref. DVX8044 Programmer's Guide User Manual

Page 2

Advertising
background image

2

A1: Introduction

If you need to use your own Software Control program from a PC or WORKSTATION with an RS-232 or LAN port, the device allows communication
through an ASCII code protocol.

The device treats any character that it receives on the RS-232 or LAN 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 A-2).

When the device 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),etc. 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 <CR> and a line feed <LF> signaling the end of the response character string (see chapter A-3).


A2: Commands structure


Commands are usually composed of numerical values followed by the command characters. The characters used without any numerical value return
the current setting of the command. [read command]

The indexes are defined number: the layer number, the input number, the preset ... on which the command apply. They are separated with a comma.
There is commands without index and others with up to 3 indexes.

Write command = [[index,] ...] + Value + Character (s) code

A read command is constituted by index followed by a command coded in 1 or 2 alpha numeric characters, same structure as write command without the value.

Read command = [[index,] ...] + Value + Character (s) code




Advertising