☎ Sales: +8613689562640
☎ Supports: +8613828891549
 


Shenzhen Xingtong IOT Technology Co., Ltd.

Barcode Scanner Manufacturer with development & Invention ability

How to Trigger a Barcode Scanner Module with Serial Commands
来源: | Arthuor: XTIOT Barcode Scanner | Time: 2026-10-01 | 11 Reading | 🔊 点击朗读正文 ❚❚ ▶ | 分享到:



In kiosks, production machines and self-service devices, the scanner often needs to start reading only when requested by the host. A serial command barcode scanner module makes this possible without a physical trigger button.

The basic process is simple:

  1. Connect the scanner module to the host.

  2. Open the serial port using the correct parameters.

  3. Send the trigger command.

  4. Receive the decoded barcode data.

  5. Send the stop command if required.

XT206M1 Default Serial Port Settings

Use the following default settings when communicating with the XT206M1:

ParameterDefault Setting
Baud Rate9600
ParityNone
Data Bits8
Stop Bits1
Hardware Flow ControlNone

The typical control sequence is:

Open serial port
Send: Trigger ON
Receive: Barcode data
Send: Trigger OFF

The trigger command must be sent in the format specified in the XT206M1 command protocol. If it is a hexadecimal command, it should be transmitted as raw bytes rather than ordinary text.

Receiving and Editing Barcode Data

After decoding a barcode, the XT206M1 returns the data through the serial interface. The output can also be configured to include:

  • Prefix characters

  • Suffix characters

  • Enter or Tab

  • Custom terminators

  • GS invisible characters

  • Selected barcode identifiers

These settings are useful when the host software requires a specific data format.

Troubleshooting

If the module does not respond, check the TX and RX connections, interface voltage level and serial port settings. Also confirm that the host is sending the correct command bytes.

Testing the complete process before installation is recommended:

Host sends trigger → XT206M1 reads code → Data returns to host

For the XT206M1 serial command protocol or integration support, contact XTIOT with your interface type and host-system requirements.


Related Products:
  • XTMZ40B

    XTMZ40B

    Automate Reader

    0.00

    0.00

  • XT8001E Android 13 PDA with 4.2'' screen

    XT8001E Android 13 PDA with 4.2'' screen

    PDA & Tablet PC & Cash Register

    0.00

    0.00

  • XTS03-2 Networked Barcode Error-Proofing System

    XTS03-2 Networked Barcode Error-Proofing System

    Automate Reader

    0.00

    0.00

  • XTS03-1 Barcode Verification & Poka-Yoke System

    XTS03-1 Barcode Verification & Poka-Yoke System

    Automate Reader

    0.00

    0.00

  • XT8501B MES WMS ERP System Integration Barcode Reader

    XT8501B MES WMS ERP System Integration Barcode Reader

    Data Matrix Scanner

    0.00

    0.00

  • XT8601B Barcode Scanner for Automation Factory

    XT8601B Barcode Scanner for Automation Factory

    Data Matrix Scanner

    0.00

    0.00

更多