![PICOLAS PL-TEC-2-1024 User Manual Download Page 22](http://html1.mh-extra.com/html/picolas/pl-tec-2-1024/pl-tec-2-1024_user-manual_1555430022.webp)
22
General Commands
General Commands
General Commands
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.
PING
PING
PING
PING
This command is used to determine the presence 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
IDENT
IDENT
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
GETHARDVER
GETHARDVER
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
GETSOFTVER
GETSOFTVER
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
GETSERIAL
GETSERIAL
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
GETIDSTRING
GETIDSTRING
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.
Comm
Comm
Comm
Command Name
and Name
and Name
and Name
Sent Frame
Sent Frame
Sent Frame
Sent Frame
Answer Frame
Answer Frame
Answer Frame
Answer Frame
Command
Command
Command
Command
Parameter
Parameter
Parameter
Parameter
Command
Command
Command
Command Parameter
Parameter
Parameter
Parameter
PING
PING
PING
PING
0xFE01
0
0xFF01
0
IDENT
IDENT
IDENT
IDENT
0xFE02
0
0xFF02
ID
GETHARDVER
GETHARDVER
GETHARDVER
GETHARDVER
0xFE06
0
0xFF06
Version
GETSOFTVER
GETSOFTVER
GETSOFTVER
GETSOFTVER
0xFE07
0
0xFF07
Version
GETSERIAL
GETSERIAL
GETSERIAL
GETSERIAL
0xFE08
0 … 20
0xFF08
Refer to description
GETIDSTRI
GETIDSTRI
GETIDSTRI
GETIDSTRING
NG
NG
NG
0xFE09
0 … 20
0xFF09
Refer to description