Kramer Electronics Ltd.
DIP-31
– Protocol 3000
36
Kramer Protocol 3000 Syntax
The Kramer Protocol 3000 syntax uses the following delimiters:
•
CR
= Carriage return (ASCII 13 = 0x0D)
•
LF
= Line feed (ASCII 10 = 0x0A)
•
SP
= Space (ASCII 32 = 0x20)
Some commands have short name syntax in addition to long name syntax to enable faster
typing. The response is always in long syntax.
The Protocol 3000 syntax is in the following format:
•
Host Message Format:
Start Address (optional) Body
Delimiter
#
Device_id
@
Message
CR
•
Simple Command
– Command string with only one command without addressing:
Start Body
Delimiter
#
Command
SP
Parame
ter_1,Parameter_2,…
CR
•
Command String
– Formal syntax with command concatenation and addressing:
Start Address
Body
Delimiter
#
Device_id
@
Command_1
Parameter1_1,Parameter1_2,…|
Command_2
Parameter2_1,Parameter2_2,…|
Command_3 Parameter3_1,Parameter3_2,
…
|…
CR
•
Device Message Format:
Start Address (optional) Body
Delimiter
~
Device_id
@
Message
CR
LF
•
Device Long Response
– Echoing command:
Start Address (optional) Body
Delimiter
~
Device_id
@
Command
SP
[
Param1 ,Param2 …] result
CR
LF