30
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 device and to initialize the interface.
It has no effect on the condition of the recipient. The command parameter is always zero, the answer
parameter too.
IDENT
IDENT
IDENT
IDENT
It is used to determine the device ID of an attached recipient. Has no effect on the condition of the
recipient. The parameter is always 0. The answer contains the ID.
GETHARDVER
GETHARDVER
GETHARDVER
GETHARDVER
This command instructs the recipient to send back the version number of the hardware being used.
The parameter is always zero. The answer contains the hardware 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 1.2.3 has the parameter 0x000000010203.
GETSOFTVER
GETSOFTVER
GETSOFTVER
GETSOFTVER
Instructs the recipient to send back the version number of the software being used. 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 recipient 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 recipient to send back the name of the device. 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
Command Name
Command Name
Command 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 … 255
0xFF08
Refer to description
GETIDSTRING
GETIDSTRING
GETIDSTRING
GETIDSTRING
0xFE09
0 … 255
0xFF09
Refer to description