![superlum OEM-MOPA User Manual Download Page 19](http://html1.mh-extra.com/html/superlum/oem-mopa/oem-mopa_user-manual_1403313019.webp)
OEM MOPA Light Sources. User Manual.
Document ID:
SL.3328.01.000RE / Rev. 1.0, Date: 25/09/2020 Page
19
of
23
APPENDIX B
USB Command Protocol
UART configuration:
Baud Rate = 57600;
Start Bits = 1;
Stop Bits = 1;
Parity = None;
Flow Control = None.
1
SYSTEM COMMANDS
1.1 Read Light Source type, firmware version and serial number
Request:
[I] [CR] [LF]
Acknowledge:
[I] [:] [TYPE] [:] [VH] [VL] [:] [SN] [CR] [LF]
Error message:
[!] [E] [CR]
– common error message.
[CR] [LF]
– line termination sequence ([CR] – ASCII13, [LF] – ASCII10)
[TYPE]
– Light Source type, five ASCII printable chars:
“MOPA” – two channels Light Source;
[VH]
– Major part of firmware version [0…9], one ASCII chars;
[VL]
– Minor part of firmware version [0…9], one ASCII chars;
[SN]
– Serial number, six ASCII printable chars.
1.2 Set Light Source operation mode. Read current mode.
Request:
[M] [CMD] [CR] [LF]
Acknowledge:
[M] [MODE] [CR] [LF]
Error message:
[!] [E] [CR] [LF]
– common error message.
[CMD]
DESCRIPTION
[?]
Read current mode
[L]
Set LOCAL mode
[U]
Set USB CTRL mode
[C]
Set USB CTRL mode
[MODE]
DESCRIPTION
[L]
Device operated in LOCAL mode
[U]
Device operated in USB CTRL mode
[E]
FATAL ERROR mode