101501-695 REV B
5
475 Wireless Boulevard • Hauppauge, New York 11788, USA • www.spellmanhv.com • T:+1 631.630.3000 • F:+1 631.435.1620
4.0
COMMANDS
4.1 INTERFACE PROTOCOL
There are two categories of commands from the host computer to the
Monoblock.
1. Commands that have an argument.
2. Commands that do not have an argument.
The syntax of commands that have an argument is:
<STX>CMD<SP>ARG;<CSUM><CR><LF>
The syntax of commands that do not have an argument is:
<STX>CMD;<CSUM><CR><LF>
The specification of the above symbols is as follows:
<STX>
= 1 ASCII 0x02 Start of Text character
CMD
= 3 - 4 ALPHA ASCII characters representing the command
ID
<SP>
= 1 ASCII 0x20 character
<ARG>
= Command Argument
;
= 1 ASCII semicolon character 0x3B
<CSUM>
= Checksum (RS-232 only, see section 4.3 for details)
<CR>
= Carriage return character 0x0D.
<LF>
= Line feed character 0x0A
4.2 COMMAND ARGUMENTS
The format of the numbers is a variable length string. To represent the
number 42, the string ‘42’, ‘042’, or ‘0042’ can be used. This being the
case, commands and responses that carry data are variable in length.