2 command terms – Kramer Electronics VP-4x4K User Manual
Page 48

44
VP-4x4K - Kramer Protocol
13.2.2 Command 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
Device address (Optional when directly connected to the device)
K-NET Device ID or MACHINE NUMBER followed by '@'
(ex. #02@CRLF )
Query sign
'?' follows some commands to define a query request.
All outputs sign
'*' defines all outputs.
Message closing character
CR – For host messages; carriage return (ASCII 13)
CRLF – For machine messages; carriage return (ASCII 13) + line-feed (ASCII 10)
Command chain separator character
When a message string contains more than one command, a pipe ( '|' ) character
separates each command.
Spaces between parameters or command terms are ignored.