Communication Control Table Of Host Port; Type Definition - Unitech MR350 MKII Technical Reference Manual

Data collection terminal
Hide thumbs Also See for MR350 MKII:
Table of Contents

Advertisement

4.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 listed later in
appendix B.

4.4.1. Type Definition

typedef struct {
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:
stop_bit:
data_bit:
parity:
protocol:
BYTE baud_rate;
BYTE stop_bit;
BYTE data_bit;
BYTE parity;
BYTE protocol;
BYTE address;
WORD time-out;
} COM_CONFIG;
'0'
= 110 bits per second
'1'
= 150
'2'
= 300
'3'
= 600
'4'
= 1200
'5'
= 2400
'6'
= 4800
'7'
= 9600 (default)
'8'
= 19200
'9'
= 38400
'1'
= one stop bit (default)
'2'
= two stop bits
'7'
= 7 data bits
'8'
= 8 data bits (default)
'N'
= None parity (default)
'O'
= Odd parity
'E'
= Even parity
'M'
= Multipoint (default)
'F'
= None protocol
4-49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents