7. LW2 Programmers' Reference
7.3. General LW2 Commands
7.3.1. View Product Type
The device responds its name.
Command and Response
{i}
(I:<PRODUCT_TYPE>)CrLf
Example
{i}
(I:MMX8x4-HT420M)
7.3.2. View Serial Number
The device responds its 8-digit serial
Command and Response
{S}
(SN:<SERIAL_N>)CrLf
Example
{s}
(SN:00005484)
7.3.3. Query Device Label
The device responds its label.
Command and Response
{LABEL=?}
(SN:<DEVICE_LABEL>)CrLf
Example
{LABEL=?}
(LABEL=MMX8x4-HT-420M)CrLf
7.3.4. Query Control Protocol
The device can be controlled with different control protocols. This command queries the active protocol of
the currently used control interface.
Command and Response
{P_?}
(CURRENT•PROTOCOL•=•#<protocol>)CrLf
number. #serialnumber
Applied firmware package: v1.2.2b5 | LDC software: v2.2.1
MMX8x4-HT series – User's Manual
Example
{P_?}
(CURRENT PROTOCOL = #1)
The device communicates with LW2 protocol.
7.3.5. View Firmware Version of the CPU
View the installed firmware package
Command and Response
{f}
(FW:<FW_VER>•<s>)CrLf
Parameters
<FW_VER>
is the firmware package version. It is followed by
Example
{f}
(FW:1.0.0b15 r17)
7.3.6. Connection Test
Simple test to see if the connection is established successfully.
Command and Response
{PING}
(PONG!)CrLf
Example
{ping}
(PONG!)
7.3.7. Compile Time
Returns the date, when the microcontroller firmware was compiled.
Command and Response
{CT}
(Complied: <DATE&TIME>)CrLf
Example
{ct}
(Compiled: May 11 2016 11:01:27)
version. #firmwareversion
<s>
string which may indicate special versions.
88