Kramer Electronics VS-88DTP Command String, 14.2.2, Device Message Format, Device Long Response

Models: VS-88DTP

1 55
Download 55 pages 42.16 Kb
Page 45
Image 45
14.2.1.2 Command String

14.2.1.2 Command String

Formal syntax with commands concatenation and addressing:

Start

 

Address

 

Body

 

Delimiter

#

 

Destination_id@

 

Command_1 Parameter1_1,Parameter1_2,…

 

CR

 

 

 

 

Command_2 Parameter2_1,Parameter2_2,…

 

 

 

 

 

 

Command_3

 

 

 

 

 

 

Parameter3_1,Parameter3_2,…

 

 

14.2.2

 

Device Message Format

 

 

Start

 

Address (optional)

 

Body

 

delimiter

~

 

Sender_id@

 

Message

 

CR LF

14.2.2.1 Device Long Response

Echoing command:

Start

 

Address (optional)

 

Body

 

~

 

Sender_id@

 

Command SP [Param1 ,Param2 …]

result

 

 

 

 

 

 

 

 

Delimiter

14.2.2Device Message FormatCR14.2.2.1 Device Long ResponseCR LFLF

CR LF

SP

=Carriage return (ASCII 13 = 0x0D)

=Line feed (ASCII 10 = 0x0A)

=Space (ASCII 32 = 0x20)

14.2.3Command Terms

Command

A sequence of ASCII letters ('A'-'Z', 'a'-'z' and '-').

Command and parameters must be separated by at least one space.

Parameters

A sequence of alphameric ASCII characters ('0'-'9','A'-'Z','a'-'z' and some special characters for specific commands). Parameters are separated by commas.

Message string

Every command entered as part of a message string begins with a message starting character and ends with a message closing character.

Note: A string can contain more than one command. Commands are separated by a pipe ( '' ) character.

Message starting character '#' – For host command/query '~' – For machine response

VS-88DTP - Kramer Protocol

41

Page 45
Image 45
Kramer Electronics VS-88DTP Command String, 14.2.2, Device Message Format, Device Long Response, Command Terms, Parameters