![PICOLAS LDP-C 120-40 NG User Manual Download Page 32](http://html1.mh-extra.com/html/picolas/ldp-c-120-40-ng/ldp-c-120-40-ng_user-manual_1555438032.webp)
Rev. 01/2021
31
General Commands
The following list contains an overview of the general commands which are supported by
every product from PicoLAS which makes use of this protocol. The explanation of the
individual commands is given further below.
PIN
G
This
com
mand
is
used
to
deter
mine
the
prese
nce
of a
connected driver and to initialize its interface. It does not change any registers. The command
parameter is always 0, the answer parameter too.
IDENT
This command is used to determine the device ID of an attached recipient. It has no effect on
the condition of the recipient. The parameter is always 0. The answer contains the ID.
GETHARDVER
Instructs the driver to send back the version number of its hardware. The parameter is always
0. The answer contains the hardware version number. The format of the answer is:
0x000000<major><minor><revision>. In other words: one byte for each of the three elements
of the version number.
As example, version 1.2.3 has the parameter 0x000000010203.
GETSOFTVER
Instructs the driver to send back the version number of its firmware. The parameter is always
0.
The answer contains the software version of the recipient. The format of the answer is:
0x000000<major><minor><revision>. In other words: one byte for each of the three elements
of the version number.
As example, version 2.3.4 has the parameter 0x000000020304.
GETSERIAL
Instructs the driver to send back its serial number. If 0 is sent as parameter, the answer
contains the number of (ASCII) digits of the serial number. Otherwise the respective position
of the serial number is sent in ASCII format.
GETIDSTRING
Instructs the driver to send back its name. If 0 is sent as parameter, the answer contains the
number of digits of the string. Otherwise the respective position of the serial number is sent in
ASCII format.
Command Name
Sent Frame
Answer Frame
Command
Parameter Command Parameter
PING
0xFE01
0
0xFF01
0
IDENT
0xFE02
0
0xFF02
ID
GETHARDVER
0xFE06
0
0xFF06
Version
GETSOFTVER
0xFE07
0
0xFF07
Version
GETSERIAL
0xFE08
0 .. 20
0xFF08
Refer to
description
GETIDSTRING
0xFE09
0 .. 20
0xFF09
Refer to
description