Professional Documents
Culture Documents
CommunicationCommand English
CommunicationCommand English
CommunicationCommand English
Operation Manual
Communication Commands for Industrial Code Reader • Operation Manual
Legal Information
© 2023 Hangzhou Hikrobot Co., Ltd. All rights reserved.
About This Manual
The Manual includes instructions for using and managing the Product. Pictures, charts,
images and all other information hereinafter are for description and explanation only. The
information contained in the Manual is subject to change, without notice, due to firmware
updates or other reasons. Please find the latest version of this Manual at the Hikrobot
website (https://en.hikrobotics.com/). Please use this Manual with the guidance and
assistance of professionals trained in supporting the Product.
Trademarks
and other Hikrobot's trademarks and logos are the properties of
Hikrobot in various jurisdictions. Other trademarks and logos mentioned are the properties
of their respective owners.
Disclaimer
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS MANUAL AND THE
PRODUCT DESCRIBED, WITH ITS HARDWARE, SOFTWARE AND FIRMWARE, ARE
PROVIDED "AS IS" AND "WITH ALL FAULTS AND ERRORS". HIKROBOT MAKES NO
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION,
MERCHANTABILITY, SATISFACTORY QUALITY, OR FITNESS FOR A PARTICULAR
PURPOSE. THE USE OF THE PRODUCT BY YOU IS AT YOUR OWN RISK. IN NO EVENT WILL
HIKROBOT BE LIABLE TO YOU FOR ANY SPECIAL, CONSEQUENTIAL, INCIDENTAL, OR
INDIRECT DAMAGES, INCLUDING, AMONG OTHERS, DAMAGES FOR LOSS OF BUSINESS
PROFITS, BUSINESS INTERRUPTION, OR LOSS OF DATA, CORRUPTION OF SYSTEMS, OR
LOSS OF DOCUMENTATION, WHETHER BASED ON BREACH OF CONTRACT, TORT
(INCLUDING NEGLIGENCE), PRODUCT LIABILITY, OR OTHERWISE, IN CONNECTION WITH
THE USE OF THE PRODUCT, EVEN IF HIKROBOT HAS BEEN ADVISED OF THE POSSIBILITY
OF SUCH DAMAGES OR LOSS.
YOU ACKNOWLEDGE THAT THE NATURE OF INTERNET PROVIDES FOR INHERENT
SECURITY RISKS, AND HIKROBOT SHALL NOT TAKE ANY RESPONSIBILITIES FOR
ABNORMAL OPERATION, PRIVACY LEAKAGE OR OTHER DAMAGES RESULTING FROM
CYBER-ATTACK, HACKER ATTACK, VIRUS INFECTION, OR OTHER INTERNET SECURITY
RISKS; HOWEVER, HIKROBOT WILL PROVIDE TIMELY TECHNICAL SUPPORT IF REQUIRED.
YOU AGREE TO USE THIS PRODUCT IN COMPLIANCE WITH ALL APPLICABLE LAWS, AND
YOU ARE SOLELY RESPONSIBLE FOR ENSURING THAT YOUR USE CONFORMS TO THE
APPLICABLE LAW. ESPECIALLY, YOU ARE RESPONSIBLE, FOR USING THIS PRODUCT IN A
MANNER THAT DOES NOT INFRINGE ON THE RIGHTS OF THIRD PARTIES, INCLUDING
WITHOUT LIMITATION, RIGHTS OF PUBLICITY, INTELLECTUAL PROPERTY RIGHTS, OR
DATA PROTECTION AND OTHER PRIVACY RIGHTS. YOU SHALL NOT USE THIS PRODUCT
FOR ANY PROHIBITED END-USES, INCLUDING THE DEVELOPMENT OR PRODUCTION OF
WEAPONS OF MASS DESTRUCTION, THE DEVELOPMENT OR PRODUCTION OF
CHEMICAL OR BIOLOGICAL WEAPONS, ANY ACTIVITIES IN THE CONTEXT RELATED TO
i
Communication Commands for Industrial Code Reader • Operation Manual
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Indicates a hazardous situation which, if not avoided, will or
Danger
could result in death or serious injury.
Indicates a potentially hazardous situation which, if not avoided,
Caution could result in equipment damage, data loss, performance
degradation, or unexpected results.
Provides additional information to emphasize or supplement
Note
important points of the main text.
Available Model
This manual is applicable to the industrial code reader.
Contact Information
Hangzhou Hikrobot Co., Ltd.
E-mail: tech_support@hikrobotics.com
Website: https://en.hikrobotics.com/
ii
Communication Commands for Industrial Code Reader • Operation Manual
Contents
Chapter 1 Communication Commands ......................................................................................... 1
1.1 Overview............................................................................................................................... 1
1.2 Command Type ................................................................................................................... 1
1.3 Command Format............................................................................................................... 1
1.4 Communication Protocol .................................................................................................. 2
Chapter 2 Communication Settings ............................................................................................... 3
2.1 TCP Communication .......................................................................................................... 3
2.1.1 Client Software Settings ........................................................................................ 3
2.1.2 Debugging Tool Settings ....................................................................................... 3
2.2 UDP Communication.......................................................................................................... 4
2.2.1 Client Software Settings ........................................................................................ 4
2.2.2 Debugging Tool Settings ....................................................................................... 5
2.3 Serial Communication ....................................................................................................... 5
2.3.1 Client Software Settings ........................................................................................ 5
2.3.2 Debugging Tool Settings ....................................................................................... 6
Appendix A Communication Command List ................................................................................. 7
iii
Communication Commands for Industrial Code Reader • Operation Manual
1.1 Overview
The communication commands mentioned in this manual refer to the communication
commands provided by communication methods of TCP, UDP, and Serial. After the device
receives the command, it can perform functions of device control, user parameters, trigger
and I/O, parameter settings, etc.
Note
Refer to Appendix A Communication Command List for specific commands.
1
Communication Commands for Industrial Code Reader • Operation Manual
Note
When the input commands do not conform to the common format and cannot parse the
corresponding fields, invalid will be returned. Examples are as follows:<cmdType, cmdstr,
param> invalid.
2
Communication Commands for Industrial Code Reader • Operation Manual
Note
● Refer to the user manual of the client software for detailed installation and operation.
● You need to set the device’s mode to Normal before specific parameter settings.
Note
● Contact technical support to get the installation package of the TCP debugging tool.
● Parameters configured in debugging tool should be the same with those in IDMVS client
software.
3
Communication Commands for Industrial Code Reader • Operation Manual
Note
Send communication commands in sending area to configure the device correspondingly.
Refer to Appendix A for detailed commands.
Note
● Refer to the user manual of the client software for detailed installation and operation.
● You need to set the device’s mode to Normal before specific parameter settings.
4
Communication Commands for Industrial Code Reader • Operation Manual
Note
● Contact technical support to get the installation package of the UDP debugging tool.
● Parameters configured in debugging tool should be the same with those in IDMVS client
software.
Note
Send communication commands in sending area to configure the device correspondingly.
Refer to Appendix A for detailed commands.
5
Communication Commands for Industrial Code Reader • Operation Manual
Note
● Refer to the user manual of the client software for detailed installation and operation.
● You need to set the device’s mode to Normal before specific parameter settings.
Note
● Contact technical support to get the installation package of the serial debugging tool.
● Parameters configured in debugging tool should be the same with those in IDMVS client
software.
Note
Send communication commands in sending area to configure the device correspondingly.
Refer to Appendix A for detailed commands.
6
Communication Commands for Industrial Code Reader • Operation Manual
7
Communication Commands for Industrial Code Reader • Operation Manual
8
Communication Commands for Industrial Code Reader • Operation Manual
9
Communication Commands for Industrial Code Reader • Operation Manual
10
Communication Commands for Industrial Code Reader • Operation Manual
11
Communication Commands for Industrial Code Reader • Operation Manual
Note
Here we list some error code:
● EXT_CMD_ERR_OK= 0, the commands is executed.
● EXT_CMD_ERR_NOT_SUPPORT = -1, the command is not supported.
● EXT_CMD_ERR_PARAM_INVALID= -2, the input parameters are invalid.
● EXT_CMD_ERR_CMD_INVALID= -3, the input command strings are invalid.
● EXT_CMD_ERR_DEV_BUZY= -4, the device is busy.
● EXT_CMD_ERR_EXEC_TIMEOUT= -5, executing commands is timed out.
● EXT_CMD_ERR_UNKNOWN = -6, other unknown error.
12
UD30926B