Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 12 of 16

M90 Series Portable Data Entry Unit Reference Manual, pages 111 to 120

Pages 111 to 120 of 156

The original document is the PDF (352 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec M90

Page 111

SECTION 4

" NOTE:

DOS System Call

The following function does not check system input-data buffers. It waits for interrupts and new input data. M90 shuts off according to system settings if there is no data input during the auto-off time period.

2 Wait Interrupt - Input Data with Buffer Check Entry Parameter: AH=2 Return Value: AL=(bit sets) Bit 0: Keypad Bit 1: Scanner Bit 2: RS-232 receiver Bit 3: Other or userĆdefined interrupts Bit 4: PowerĆon " NOTE:

If there is input data in the system buffers, the function returns directly. Otherwise, it waits for interrupts and new input data. M90 shuts off according to system settings if there is no data input during the auto-off time period.

3 Wait Interrupt - Input Data with Timeout Entry Parameter: AH=3 CX=Timeout 10-30,000 ms Return Value: AL=0 Keypad AL=1 Scanner AL=2 RS-232 receiver AL=3 Other or userĆdefined interrupts AL=4 PowerĆon AL=5 Timeout

M90 Series Portable Data Entry Unit Reference Manual

4-41

Page 112

DOS System Call

" NOTE:

SECTION 4

The Wait Interrupt – Input Data with Buffer Check and Timeout function does not check system input data buffers. If there is input data in the system buffers, the function returns directly. Otherwise, it waits for interrupts and new input data. M90 will not turn off according to system settings.

4 Wait Interrupt Ċ Input Data with Buffer Check and Timeout Entry Parameter: AH=4 CX=Timeout 10-30,000 ms Return Value: AL=(bit sets) Bit 0: Keypad Bit 1: Scanner Bit 2: RS-232 receiver Bit 3: Other or userĆdefined interrupts Bit 4: PowerĆon

Beeper Frequency and Time Control: INT 31H Entry Parameter: AX=Frequency BX=Time duration Return Value: None Note:

4-42

AX 0 1 2 3 4 5 6 7 8

Frequency(Hz) BX 200 0 400 1 600 2 800 3 1K 4 2K 5 2.5K 6 3K 7 5K 8

M90 Series Portable Data Entry Unit Reference Manual

Time Duration 10 ms 50 ms 100 ms 200 ms 500 ms 800 ms 1 second 1.5 seconds 2 seconds

Page 113

SECTION 4

DOS System Call

Table 4-6 Implemented BIOS Functions (INT 31h) Function

Description

Comment

(Not applicable)

Beeper frequency and Time Control

Added function

RS-232 Function: INT 33H 0 Set Communication Parameters Entry Parameter: AH=0 AL Bits 7ć4: 0001xxxx Baud 150 0010xxxx Baud 300 0011xxxx Baud 600 0100xxxx Baud 1200 0101xxxx Baud 2400 0110xxxx Baud 4800 0111xxxx Baud 9600 1000xxxx Baud 19200 1001xxxx Baud 38400 1010xxxx Baud 57600 Bits 3ć2: xxxx00xx No parity xxxx01xx Odd parity xxxx11xx Even parity Bit 1: xxxxxx0x One stop bit xxxxxx1x Two stop bits Bit 0: xxxxxxx0 7 data bits xxxxxxx1 8 data bits Return Value: None 1 Input Character Entry Parameter: AH=1 Return Value: If no character received: AH=1 AL=Unpredictable If a character received: AH=0 AL=Character input M90 Series Portable Data Entry Unit Reference Manual

4-43

Page 114

DOS System Call

SECTION 4

2 Output Character Entry Parameter: AH=2 AL=Character output Return Value: None 3 Enable RS-232 Port Entry Parameter: AH=3 Return Value: None 4 Disable RS-232 Port Entry Parameter: AH=4 Return Value: None 5 Set RTS/DTR Entry Parameter: AH=5 AL= Bit 0: Bit 1: Return Value:

None

0 1 0 1

Set RTS low level Set RTS high level Set DTR low level Set DTR high level

6 Get RS-232 Hardware Status Entry Parameter: AH=6 Return Value: AL= Bit 0: 0 Get RTS low level 1 Get RTS high level Bit 1: 0 Get DTR low level 1 Get DTR high level Bit 2: 0 Get OUT0 low level 1 Get OUT0 high level Bit 3: 0 Get CTS low level 1 Get CTS high level Bit 4: 0 Get DSR low level 1 Get DSR high level Bit 5: 0 Get RI low level 1 Get RI high level Bit 6: 0 Get DCD low level 1 Get DCD high level

4-44

M90 Series Portable Data Entry Unit Reference Manual

Page 115

SECTION 4

" NOTE:

DOS System Call

Bits 4, 5, and 6 (DSR, RI, and DCD) are returning the same value as RI. If Function 6 is called when the M90 is in an office dock, RI is the only signal present in the connector. If the M90 is connected via the direct connect cable, all of those bits are undefined as neither signal is present in the Modular connector at the bottom of the M90.

7 Set OUT0 Signal Entry Parameter: AH=7 AL=0 AL=1 Return Value:

None

Set OUT0 signal in Modular 10Ćpin connector to low Set OUT0 signal in Modular 10Ćpin connector to high

Table 4-7 Implemented BIOS Functions (INT 33h) Function Description

Comment

00h

Set Communication Parameters

Added function

01h

Input RS-232 character

Added function

02h

Output RS-232 character

Added function

03h

Enable RS-232 port

Added function

04h

Disable RS-232 port

Added function

05h

Set RTS/DTR

Added function

06h

Get RS-232 hardware status

Added function

07h

Set OUT0 signal in Modular 10Ćpin connector

Added function

M90 Series Portable Data Entry Unit Reference Manual

4-45

Page 116

DOS System Call

4-46

M90 Series Portable Data Entry Unit Reference Manual

SECTION 4

Page 117

Appendix A

Connector Pin Assignments "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

Table A-1 10-Pin Modular Connector Pin # Signal

Direction Description

1

DC 9 V

Power

9Ćvolt charge power

2

TXD

Output

Transmitted Data

3

RXD

Input

Receive Data

4

I/O 5 V

Power

Regulated 5Ćvolt max 100 mA

5

GND

Power

Ground

6

DTR

Output

Data Terminal Ready

7

CTS

Input

Clear to Send

8

RTS

Output

Request to Send

9

WANDSIG1

Input

Wand input

10

OUT0

Output

Digital OUT0 signal

M90 Series Portable Data Entry Unit Reference Manual

A-1

Page 118

Connector Pin Assignments

A-2

M90 Series Portable Data Entry Unit Reference Manual

APPENDIX A

Page 119

Appendix B

Programming Applications "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

The M90 provides a utility for putting application programs into the system Read-Only Memory (ROM) area. Once in the ROM, the programs become userĆresident applications in the M90 system. The advantage of the userĆresident apĆ plication is that they do not have to be downloaded from a host computer through M90 RS-232 port and cannot be acĆ cidentally deleted. It can also save the Random Access Memory (RAM) space for the system. Up to eight userĆresiĆ dent applications can be in the M90, with the total file size less than or equal to 128 KB. The M90 system EXEC job scheduler supports the userĆresĆ ident application. The ROM resident user applications must be of *.EXE type. The system does not allow data files. EXEC searches userĆresident applications first when a RUN command executes. If there is an AUTOEXEC.EXE userĆresident application, it runs after powerĆon when the M90 is in Mode." To add a program to the ROM disk, download the program to the RAM disk as described later in this appendix, then start the M90 in the Mode." Select System → Programming → Add Program. Adding a program is fully described under Modes" in Section 3. " NOTE:

As this requires reprogramming of the FLASH in the M90, make sure that either the M90 battery is fully charged or that the M90 is on charge (office dock). A power failure during flash programming could corrupt the FLASH. If this occurs, you must have the M90 FLASH EEPROM replaced at a service center. M90 Series Portable Data Entry Unit Reference Manual

B-1

Page 120

Programming Applications

APPENDIX B

Reprogramming the M90 Flash The following steps explain how to update the existing flash program in the M90. The M90 Flash can be updated to a new version. Download the new flash to the M90 RAM disk, then start the M90 in Mode." Select System → ProĆ gramming → Update Flash (see Modes" in Section 3). " NOTE:

As this requires reprogramming of the FLASH in the M90, make sure that either the M90 battery is fully charged or that the M90 is on charge (office dock). A power failure during flash programming could corrupt the FLASH. If this occurs, the M90 has to have the FLASH EEPROM replaced at a service center.

Download Application or BIOS to M90 Set Up M90 Downloading from Host Computer Connect the host personal computer (PC) to the M90 unit with a serial null modem cable. Select in the Mode" and the M90 enters the server" mode with default communication parameters 19200 bps, 8 bit, 1 stop, no parity, and no flow control.

Kermit Communications Program To set up the PC to talk to the M90 unit using a Kermit communications program, consult your manual for the KerĆ mit communications program.

B-2

M90 Series Portable Data Entry Unit Reference Manual