![Work Microwave VHCU Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/work-microwave/vhcu/vhcu_user-manual_996765032.webp)
Satellite Upconverter Manual
WORK Microwave
32 / 49
V151207
·
The single characters are converted to their decimal value c
i
, , each c
i
, is subtracted by decimal 32
·
All decimal value are added (incl. header and trailer)
·
calculate the result modulus decimal 95
·
add to the result decimal 32
·
the check sum is the ASCII character of this number
Example:
The command ‘{AF11500000}’ has the check sum 42 = ‘*‘.
So the complete command string is ‘{AF11500000}*’.
4.2.4 Response and Error Codes
The converter unit sends a response for every received command. The response sent back has the following
basic format:
HEADER ’{‘
device address
OPCODE or
error code
response value
(if applicable)
TRAILER ‘}’
checksum
If the controller executes a setting command successfully only the OPCODE of the command is sent back.
If the controller executes a query command successfully the OPCODE of the command and the response
value is sent back.
If the controller receives an invalid command one of the following error codes is sent back (no response value
is included).
‘a’
syntax error
‘b’
value out of range or value invalid
‘c’
local device error
‘g’
general error
Example:
command:
reply:
{AT9999}t
{Ab}}
‘out of range’
{AT100}A
{AT}o
command correct
{AJX}>
{Aa}|
syntax error (invalid command)