![background image](http://html1.mh-extra.com/html/kramer/pl-18/pl-18_user-manual_2000957014.webp)
Protocol 3000 Syntax
11
11
9.3
Device Message Format
Start
Address (optional)
Body
delimiter
~
Sender_id@
Message
CR
LF
9.3.1 Device Long Response
Echoing command:
Start
Address (optional)
Body
Delimiter
~
Sender_id@
Command SP [Param1 ,Param2 …] result
CR
LF
CR
= Carriage return (ASCII 13 = 0x0D)
LF
= Line feed (ASCII 10 = 0x0A)
SP
= Space (ASCII 32 = 0x20)
9.4
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, for K-NET)
K-NET Device ID followed by '@'
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)
im Vertrieb von CAMBOARD Electronics
www.camboard.de
Tel. 07131 911201
Fax 07131 911203