VS-1616D - Protocol 3000
127
•
Message starting character
:
o
#
– For host command/query
o
~
– For device response
•
Device address
– K-NET Device ID followed by @ (optional, K-NET only)
•
Query sign
– ? follows some commands to define a query request
•
Message closing character
:
o
CR
– Carriage return for host messages (ASCII 13)
o
CR LF
– Carriage return for device messages (ASCII 13) and line-
feed (ASCII 10)
•
Command chain separator character
– Multiple commands can be chained
in the same string. Each command is delimited by a pipe character (|). When
chaining commands, enter the message starting character and the message
closing character only at the beginning and end of the string.
Spaces between parameters or command terms are ignored.
Commands in the string do not execute until the closing character is
entered. A separate response is sent for every command in the
chain.
16.2
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