MAIMAN ELECTRONICS SF6040 Manuale d'uso - Pagina 18

Sfoglia online o scarica il pdf Manuale d'uso per Azionamenti in corrente continua MAIMAN ELECTRONICS SF6040. MAIMAN ELECTRONICS SF6040 20. Laser diode driver

Maiman Electronics
Text-plain mode
All commands in text-plain mode should be in ASCII.
WARNING! If you enable the checksum it will change format of commands. After <CR> symbol
you will be write 2 bytes of checksum and last byte will be <LF> (0Ah – "new line" symbol). Checksum is
computed for all bytes of command before checksum bytes (including<CR> symbol).
All answers of the device will also contain a checksum, including K-type and E-type answers.
Checksum is computed by CRC-CCITT-8 algorithm. This is the main difference between the format
of commands for the extended protocol and standard protocol.
The format of commands for enabled checksum
Number of byte
1
2-5
6
7-10
11
12-13
14
Possible problems
1. The device waiting for symbol <LF>. If <LF> symbol does not received and buffer is overflowed,
then all symbols after overload will be processed as a new command. The device returns an
error. In this case, it is recommended to send the <LF> symbol. The device will generate an
error and clear the buffer for the next command.
2. All symbols after the <LF> symbol will be processed as a new command.
Value
P,J,K,E
Number of parameter
'space' symbol (20h)
New value of the parameter
'return carriage' symbol<CR>
(0Dh)
Checksum
'new line' symbol<LF> (0Ah)
Comment
Type of command
Hex-number of value
(does not use for J and E-type commands)
Hex-value of parameter (does not use for J and
E-type commands)
End of value
CRC checksum of the first 11 bytes (for J and E-
type commands checksum is computed for the
first 6 bytes), including <CR> symbol.
End of command
17
SF6040