The leader in industrial automation and control solutions

Introduction

All Maple Systems HMIs programmed with EBPro (EasyBuilder Pro), including every cMT X Series and cMT Series model, are compatible with a Barcode Scanner/Keyboard. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

HMI Setting

ParametersRecommendedOptionsNotes
PLC typeBarcode Scanner/Keyboard
PLC I/FRS232RS232/485, USB
Baud rate96009600~115200
Data bits87, 8
ParityNoneNone, Even, Odd
Stop bits11, 2
TerminatorCR/LFCR/LF, STX/ETX, Other, None

NOTE: When setting device properties, select [Barcode scanner] or [Keyboard] mode.

Device Settings dialog showing COM Port Settings and Parameter Settings with Barcode scanner mode selected, Read byte limit, Start code, and Terminator options.

Device Address

Bit/WordDevice typeFormatRangeMemo
BFLAGDD0 ~ 17Flag
BRESETO0*Note 1
BCONNECT_STATUSO0
WBARCODEDD0Length *Note 2
WBARCODEDD1 ~ 511Data *Note 2
WRESULTD0*Note 3

1. RESET: If set on, clears the data of BARCODE and RESULT, and clears FLAG to OFF.

2. BARCODE 0: Number of bytes currently read.
BARCODE 1 ~ n: Stores the data read.

3. RESULT: Indicates the result of data reading. The following values indicate:

  • 0 : Waiting to read BARCODE.
  • 1 : BARCODE is successfully read.
  • 2 : Invalid BARCODE format.
  • 3 : Exceeds the number of bytes specified in [Read byte limit].
  • 4 : The Start Code of the data read does not match the setting.
  • 5 : The Terminator of the data read does not match the setting.

Wiring Diagram

NOTE: The serial port pin assignments may vary between HMI models.

RS-232

HMIDirectionPLC
Pin assignmentsRS232
9P D-Sub
Female
Rx↔ (bidirectional)TXD
Tx↔ (bidirectional)RXD
GND↔ (bidirectional)GND