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 21 of 56

JANUS 2010 Hand-Held Computer (4MB) User's Manual, pages 201 to 210

Pages 201 to 210 of 556

The original document is the PDF (3.0 MB). 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 J2010

Page 201

Networking the Reader nugget code39 helconital

6

The next procedures show you how to perform these tasks: •

Determine if you should specify a value for the FCR

•

Calculate the two-digit hex value for the FCR

•

Specify the two-digit hex value for the FCR

To determine if you should specify a value •

You must specify a value if you plan to perform either of these activities: COM1 You plan to run a non-Intermec communications application on COM1 that changes the reader’s COM1 UART FCR to use UART 16x550 mode, and you do not load an Intermec protocol handler into memory. COM2 You plan to run a non-Intermec communications application on COM2 that changes the reader’s COM2 UART FCR to use UART 16x550 mode. Many communications applications change the reader’s COM1 or COM2 UART FCR to use UART 16x550 mode. To learn if your application uses UART 16x550 mode, see its manual.

To calculate the two-digit hex value 1. Use the illustration on the next page as a guide for calculating the value for the FCR. In this illustration, the two-digit hex value is the value you will specify for the FCR. Calculate this value by converting the contents of the FCR byte to two hexadecimal numbers. The FCR byte contains eight bits. Each bit represents a parameter that controls how the UART buffer operates. You set or clear each parameter by setting each bit to 1 or 0. 2. Choose 1 or 0 for each bit in the FCR byte. Read the descriptions to decide whether to set or clear each bit. 3. Convert the bits to two hexadecimal numbers. The resulting two-digit hex number is the value you will specify for the FCR. For example, a two-digit hex value of 81 enables UART 16x550 mode, requires the buffer to receive four bytes of data before generating a receive interrupt, and leaves all other parameters disabled: 8 1 0 0 0 0

1 0 0 1 2010U.089

6-19

Page 202

JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital

Method for Calculating the Two Digit Hexadecimal Value for the UART FIFO Control Register (FCR)

Two-digit hex value

FIFO control register (FCR) byte

7 6 5 4 3

2 1 0 Descriptions of each bit 0 to disable FIFO (16x450 mode) 1 to enable FIFO (16x550 mode) 0 does not reset 1 to reset receive FIFO 0 does not reset 1 to reset transmit FIFO 0 for a single transfer direct memory access (DMA) 1 for a multiple transfer DMA that empties all of the FCR contents in one DMA transaction

Reserved (always 00) Indicates the number of bytes that the buffer must receive before generating a Receive Interrupt: 7

6

Number of bytes

0

0

1

1

0

4

0

1

8

1

1

14

2010U.088

To specify the value •

Specify the value for the FCR using one of these methods: Use IC.EXE Start IC.EXE, choose the COM port from the COM menu, and type the value into the FIFO CONTROL REGISTER parameter. For help using IC.EXE, see Chapter 5, “Configuring the Reader.” Scan a command Scan the Communications Port, UART Restore command in Chapter 12, “Configuration Command Reference.” Use software interrupts Use software interrupts in your application. For help, see your JANUS PSK reference manual.

6-20

Page 203

Networking the Reader nugget code39 helconital

6

Connecting the Reader to Another Device You can physically connect the reader to another device using one of the three methods described next. Note: If you have a JANUS 2010 with an RF back, you do not physically connect the reader to another device. The reader communicates through radio signals instead of a physical connection. Communications Dock Place the reader in a communications dock and connect one or two devices to the dock’s serial ports. The dock’s network port is a 25-pin DTE connector and the auxiliary port is a 25-pin DCE connector. Depending on how you set the dock’s DIP switches, the reader communicates with both ports or the ports communicate with each other. If you plan to run Interlnk with the reader connected to a host computer through the communications dock, you must connect the dock to the host computer with a 3-wire (2, 3, and 7) cable for Interlnk to operate properly. If the reader will communicate through only one port (network or auxiliary) on the reader communications dock, you must select that port with the Communications Dock Port command. For help, see “Communications Dock Port” in Chapter 12 or the JANUS 2010 Communications Dock Quick Reference Guide.

25-pin DTE cable connected to a peripheral device

Power cord connected to an electrical outlet D

Communications Dock 2010U.051

6-21

Page 204

JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital Optical Link Adapter Connect the optical link adapter to the optical port on the end of the reader. Then connect a device to the optical link adapter’s serial port, which is a 9-pin DTE connector. For help, see the JL2010 Optical Link Adapter Quick Reference Guide.

–, Power cord connected to an electrical outlet

2010U.066

Optical Link Adapter

9-pin DTE cable connected to a peripheral device

Reader-to-reader Align two JANUS readers for direct communications. Line up the receive signal on the first reader with the transmit signal on the second reader. Line up the transmit signal on the first reader with the receive signal on the second reader. An arrow on the bottom of the reader helps you align the readers. The readers can be no more than 1 inch apart. Locator arrow

Maximum spacing of 1"

$

4

!

% d en

1 ^

5 r te en

@ e ac sp

2

)

6 pg

# s in dn

0 >

3 l de c me er Int r te en ck lo c

0 l de

)

#

1

Transmit Data d en

4

!

%

5 r te en

@

^ e ac sp s in

2 pg

6 dn

3

>

.

ck lo rme r te en m nu m nu

.

Inte

$

Receive Data

2010U.005

6-22

Indicates direction of transmission

Page 205

Networking the Reader nugget code39 helconital

6

Running Interlnk to Transfer Files With Interlnk, you can easily transfer files between your reader and a host computer or another reader. You can also make all the drives on one computer appear as if they are physically located on the other, so that you have unrestricted access to the contents of all the drives. You can run programs over the Interlnk connections. Note: You cannot execute IRL programs over an Interlnk connection. Also, you cannot run Interlnk in an RF network.

Differentiating Between Client and Server The Interlnk utility consists of two programs: Interlnk and Intersvr. These two programs are designed to be run on separate computers: •

The computer running Interlnk is called the client.

•

The computer running Intersvr is called the server.

The difference between client and server is a simple one: the client is the device from which you enter all commands. In this example, the host computer is the client:

Client

Server

2010U.097

Client The client is the computer from which you will access drives, directories, files, and programs that are stored on the server. You will type commands on the client’s keyboard or keypad to access those drives.

6-23

Page 206

JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital Server The server is the computer that contains the drives, directories, files, and programs you want to access. The server’s drives and printers look as if they are on the client. Intersvr displays the status of the connection between Interlnk and Intersvr on the server’s screen. Sometimes your reader will be the client, and sometimes it will be the server, depending upon the task you are trying to accomplish. Intermec suggests that you always make the host computer the client because Interlnk requires more conventional memory than Intersvr and your host computer probably has more conventional memory available than your JANUS reader. Your reader should be the client when: •

You want the drives on the host computer to show up on the reader as if they were physically part of the reader.

•

There is an application on the host computer that you want to run on the reader.

Your reader should be the server when: •

You want the drives on the reader to show up on the host computer as if they were physically part of the host computer.

•

There is an application on the reader that you want to run on the host computer.

Note: The client cannot access a server’s drive that was redirected before Interlnk was started, such as a network drive.

Example of Using Interlnk Suppose the host computer has two disk drives (A and B) and two hard drives (C and D). The J2010 with the PCMCIA Back has five drives: three simulated drives (C, D, and E), one Type I PC card drive (F), and one Type II PC card drive (G). You want access to the drives on the reader while working at the host. Therefore, the host computer must be the client and the reader must be the server. Run Interlnk on the host computer and run Intersvr on the reader. Instructions for these tasks are included later in this chapter.

6-24

Page 207

Networking the Reader nugget code39 helconital

6

Example of Using Interlnk Client Host computer running Interlnk

Dr A ive B C D

Server Reader running Intersvr

Dr C ive Dr G ive H Drives redirected from the reader

I

D E F G

J K 2010U.002

Note: Interlnk reserves drives E and F for the server’s drives A and B, even though the reader does not have drives A and B. Now the reader’s drives appear on the host computer, as if they were physically located on the host computer. The host computer has its original drives A, B, C, and D, plus drives G, H, I, J, and K. Drive I on the host computer is really the physical RAM drive E on the reader. Anything you do to the host computer’s drive I affects the reader’s drive E. You can type standard DOS commands on the host computer’s keyboard to access the directories and files in the reader’s drives. For example, to display a list of files located in the root directory of the reader’s drive E, type this command on the host computer: dir i:\

6-25

Page 208

JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital To copy a file from a directory on the host computer’s drive C to the reader’s drive E, type this command on the host computer: copy c:\shared\data\accounts.txt i:\accounts.txt

Interlnk System Requirements Your host computer and reader must meet these requirements to run Interlnk and Intersvr: •

A serial port is available on the host computer and reader.

•

The host computer is running DOS 3.0 or higher.

•

The client has 16K of free memory.

•

The server has 130K of free memory.

•

The reader is connected to the host computer through a communications dock or optical link adapter. If you use the communications dock, you must connect the dock to the host computer with a 3-wire (2, 3, and 7) cable for Interlnk to operate properly.

Installing Interlnk on the Host Computer You need two files to run Interlnk: INTERLNK.EXE

The device driver that you load into the client’s memory.

INTERSVR.EXE

The program that you run on the server.

You must install those files on the host computer before you can run Interlnk or Intersvr on the host. You can install the files from either the MS-DOS Programs companion disk 2 or the reader’s drive D. To install Interlnk on the host computer from companion disk 2 1. On the host computer, make sure that the current working directory is the directory where you want to install the Interlnk files. 2. Insert companion disk 2 into a disk drive on the host computer. 3. Copy INTERLNK.EXE and INTERSVR.EXE from companion disk 2 to the host computer.

6-26

Page 209

Networking the Reader nugget code39 helconital

6

To install Interlnk on the host computer from the reader’s drive D 1. Connect the reader to the host computer using a 7-wire, null-modem serial cable and either the communications dock or optical link adapter. 2. Make sure that the MODE command is available on the host computer. 3. On the host computer, make sure that the current working directory is the directory where you want to install the Interlnk files. 4. At the reader’s DOS prompt, type this command to copy the Interlnk files from the reader’s drive D to the host computer: intersvr /rcopy

Or scan this bar code:

*INTERSVR /ORCOPY* *INTERSVR /RCOPY*

Follow any instructions displayed on the reader. If the host computer locks up after you copy the files, reboot the host.

Making the Host Computer the Client Follow these instructions to run Interlnk with the host computer as the client. When the host computer is the client, you can access all the reader’s drives by typing commands on the host computer’s keyboard. Client

Server

2010U.101

6-27

Page 210

JANUS 2010 Hand-Held Computer User’s Manual (4MB) nugget code39 helconital To run Interlnk with the host computer as the client 1. Connect the reader to the host computer through a communications dock or optical link adapter. If you use the communications dock, you must connect the dock to the host computer with a 3-wire (2, 3, and 7) cable for Interlnk to operate properly. 2. Edit the host computer’s AUTOEXEC.BAT and CONFIG.SYS files: •

Add a device command to CONFIG.SYS that specifies the location of INTERLNK.EXE and the number of drives to redirect from the server to the client. (If you do not include the /drives: option, Interlnk redirects three drives and you cannot access all the reader’s drives.) For example: device=c:\janus\network\interlnk.exe /drives:7

•

If you execute the Windows SMARTDRV.EXE on the host computer, remark it out of the AUTOEXEC.BAT or CONFIG.SYS file.

•

If you are not using the host computer’s COM1 and you execute the DOS command SHARE.EXE on the host computer, remark out the SHARE command in the AUTOEXEC.BAT or CONFIG.SYS file.

3. At the reader’s DOS prompt, type this command to start Intersvr: intersvr

Or scan this bar code:

*INTERSVR* *INTERSVR*

The Interlnk Server Status screen appears, but no information is displayed because the connection has not been made yet. 4. On the host computer, press Ctrl-Alt-Del to reboot and load Interlnk from the CONFIG.SYS file. Note: After you modify CONFIG.SYS and reboot your host computer once, you no longer need to reboot to establish a connection. Instead, you can type interlnk at the host computer’s DOS prompt. 5. On the reader, the Interlnk Server Status screen is updated with information about the redirected drives. Use the viewport to view the screen. For help, see “Interpreting the Server’s Status Screen” later in this chapter.

6-28