18
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
Is used to determine the presence of a connected recipient and to initialize the interface of
the recipient for this protocol. Has no effect on the condition of the recipient. The
command parameter is always 0, the answer parameter too.
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
Instructs the recipient to send back the version number of the hardware being used. The
parameter is always 0. 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
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
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
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
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 … 255
0xFF08
Refer to
description
GETIDSTRING
0xFE09
0 … 255
0xFF09
Refer to
description
GETDEVICECHEC
KSUM
0xFE0A
0
0xFF0A
CRC16
checksum
RESET
0xFE0E
0
0xFF0B
0
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
苏州波弗光电科技有限公司
网址:www.bonphot.com
电话:0512-62828421