Unitech MR350MKII manual Communication Control Table of Host port, Byte, Word, Comconfig

Models: MR350MKII

1 86
Download 86 pages 30.91 Kb
Page 17
Image 17

'F'

= Disable barcode decoding of Code 128

2.4.Communication Control Table of Host port

The communication control table is applicable to configure the host port of the MR350MKII.

The communication control table specifies all communication parameters between the host system and the MR350MKII. When a hard reset command is issued via keypad input or host command sequence the default communication parameters are restored. The host system may then configure most MR350MKII parameters by issuing host command sequences. The host command sequences will be introduced in this manual.

2.4.1. Type Definition

typedef struct {

BYTE

baud_rate;

 

BYTE

stop_bit;

 

BYTE

data_bit;

 

BYTE

parity;

 

BYTE

protocol;

 

BYTE

address;

 

WORD

timeout;

} COM_CONFIG;

The MR350MKII terminal communicates with the host via the host port. The communication baud rate may be programmed from 110 to 38.4K baud (bits per second).

baud_rate:

'0'

= 110 bits per second

 

'1'

= 150

 

'2'

= 300

 

'3'

= 600

 

'4'

= 1200

 

'5'

= 2400

 

'6'

= 4800

 

'7'

= 9600 (default)

 

'8'

= 19200

 

'9'

= 38400

stop_bit:

'1'

= one stop bit (default)

 

'2'

= two stop bits

data_bit:

'7'

= 7 data bits

 

'8'

= 8 data bits (default)

parity:

'N'

= None parity (default)

2-16

Page 17
Image 17
Unitech MR350MKII manual Communication Control Table of Host port, Byte, Word, Comconfig