Maiman Electronics
SF6015
19
Binary mode
The binary mode has a significant difference. In this mode, data are exchanged in binary
form. Length of any type of command is 8 bytes! In this mode, next options are always enable and
you cannot disable it: return a new value of parameter for P-type commands and checksum. The
format of binary mode commands is represented in table 8.
The format of binary mode commands
Number of byte
Value
Comment
1
Type of command
50h (P - ascii) – Set a new value of parameter
4Ah (J - ascii) – Get a value of parameter
4Bh (K - ascii) – Answer of the device
45h (E - ascii) – Error
2-3
Number of parameter
Hex-number of parameter
4-5
Value of parameter
Hex-value of parameter. This value is
STRICTLY
REQUIRED
in the binary mode. If this value
does not make sense, it will be returned as
0000 (K or E-type commands) or you should set
it field to any value (for P or J-type commands).
6
‘return carriage’ symbol <CR>
(0Dh)
End of value
7
Checksum
CRC checksum of the first 11 bytes
(for J and E-
type commands checksum is computed for the
first 6 bytes)
, including <CR> symbol.
8
‘new line’ symbol <LF> (0Ah)
End of command