MAIMAN ELECTRONICS SF6040 Benutzerhandbuch - Seite 13
Blättern Sie online oder laden Sie pdf Benutzerhandbuch für DC-Antriebe MAIMAN ELECTRONICS SF6040 herunter. MAIMAN ELECTRONICS SF6040 20 Seiten. Laser diode driver
Maiman Electronics
Data exchange between the driver and the PC is only initiated by the PC. All commands are
sent in plain text format. All commands are sent with prefix. Number of command follows the
prefix without any symbols. If there is the value after the command they separates with "space"
symbol. The command ends with "carriage return" symbol.
The format of the command to set the value (P-type);
Number of byte
1
2-5
6
7-10
11
The device does not respond to P-type commands by default. (see section "the protocol
extension")
You can request the value of parameter by the J-type command. The device will return a
value of requested parameter.
The format of the command to get the value (J-type)
Number of byte
1
2-5
6
The format of the response
Number of byte
1
2-5
6
7-10
11
If the device could not recognize a command, it returns an error message with error code.
The format and codes of errors
Error (returned
command)
E0000
E0001
E0002
K0000 0000
Value
P (50h)
Number of the parameter
'space' symbol (20h)
New value of the parameter
'return carriage' symbol<CR> (0Dh)
Value
J (4Ah)
Number of the parameter
'return carriage' symbol<CR> (0Dh)
Value
K (4Bh)
Number of the parameter
'space' symbol (20h)
Returned value of the parameter
'return carriage' symbol<CR> (0Dh)
Reasons (one or few)
1) Internal buffer of device is overflowed.
2) Cannot find <CR> (0x0D) or\and <LF> (0x0A).
3) Format of command is invalid.
1) Unknown command (it does not P- or J-type command).
2) The device failed to correctly interpret a command.
The CRC of received command (see section "the protocol extension").
Request or set the parameter that does not exist.
Comment
Set prefix
Hex-number of the parameter. For
example, 0100h
Hex-value of the parameter. For example,
0000h
End of the command
Comment
Request prefix
Hex-number of the parameter. For
example, 0100h
End of the command
Comment
Response prefix
Hex-number of the requested parameter
Hex-value of the parameter
End of the command
12
SF6040