Page 2
Intermec Technologies Corporation, and shall be returned to Intermec Technologies Corporation upon written request. If a purchase, license, or nondisclosure agreement has been executed, the terms of that agreement shall govern this document.
Page 6
Special Commands Record Layouts 4985 Network Controller Programmer’s Guide ............
Page 7
Figure 2-19 Vertical or Wall-Mounted Bracket Figure 2-20 Horizontal or Shelf-Mounted Brackets Figure 2-21 Connectors on the Back of a 4985 Network Controller Figure 2-22 Isolated Ground Outlets ......
This document aids in the writing of the interface program for your host computer. At the initial installation, configure the 4985 Network Controller for the network it should operate. There are three banks of dip switches for functional configuration of the controller. Each bank contains eight switches.
This connection provides a gateway for data to pass between the HHCs and your host using logical channels and record types. This guide primarily covers the asynchronous interface which is 4980-compatible. The primary difference between the 4980 and 4985 is 4985 Network Controller Programmer’s Guide...
Page 13
SECTION 1 Introduction " the 4985 Controller has only two ports and lacks a display, keypad, and disk drive. Since one port is dedicated to the host interface, there is only one port remaining for communicating with HHCs. The different record types, sent back and forth between the controller and the host, help tailor the communications session to meet that spe- cific session’s needs.
Page 16
Controller connects to the modem with the host port. Figure 2-2 shows the 4980 Network Controller on the left connected to a host computer. The 4985 Controller on the right is at a remote site, hooked up with at least one six-pack multidock.
Page 17
Figure 2-4 has the most Hand-Held Computers (HHCs) that can com- municate through one 4985 Controller. The NORAND er Units (APUs) connect in series with the multidocks. Multidock 4985 Controller Multidock Multidock Multidock Multidock 4985 Multidocks with Maximum Configuration 4985 Network Controller Programmer’s Guide...
Page 18
One APU powers four multidocks. The controller powers two multidocks directly. Figure 2-5 differs from Figure 2-4 by connecting the two APUs togeth- er instead of chaining the second APU in series to a multidock. The second APU connects directly to the first APU. 4985 Network Controller Programmer’s Guide...
Page 19
Optional Wiring with 2 APUs Connected If hooking up the maximum number of multidocks allowed, use the wiring diagram in Figures 2-4 or 2-5. Take into consideration your power outlets and physical setup. 4985 Network Controller Programmer’s Guide SECTION 2 Getting Started "...
Getting Started " 4985 Configuration Switches Three 8-position DIP switches allows a user to customize the 4985 for their particular system application. Switches “1” through “5” of DIP bank #2 apply only to ADCCP host applications. DIP bank #3 config- ures the controllers identification number for a large system.
The host communicates with the 4985 Controller using the NORAND asynchronous proprietary protocol. The multidock connects to the LAN port on the 4985 Controller and the host to the HOST port. The primary controller use is to facilitate the host-to-HHC communica- tion session.
It consists of four parts. Device Channel A device channel is zero as the 4985 is directly connected, the ASYNC interface is used, and an HHC channel will be “1”, “4”, or “7.” The de- vice channel identifies which controller the HHC channel belongs to.
The unit must go to a service center for repair. These beeps are diagnostic tools for the service technician. See Appendix A for a list of beep counts and their problem areas. SECTION 2 " 4985 Network Controller Programmer’s Guide Getting Started...
When cleaning, inspect for damage or wear. Clean the controller with a soft cloth dampened with a quality glass cleaner. Do not use sol vent solutions. Specifications Communication Protocol Support: RS-232 Secondary ADCCP (9.6Kbps) or Host Async (38.4Kbps) RS-485 NPCP (500Kbps) 4985 Network Controller Programmer’s Guide 2-10...
In turn, the con- troller connects to other network controller devices, a PC, modems, or a larger computer (host site) through cables or telephone link. 4985 Network Controller Programmer’s Guide 2-12 HOST/MO-...
4000 Series HHCs. Add an APU to expand the network beyond the power supply capabilities of the controller. Connect up to two APUs and ten multidocks in series to one 4985 Network Controller. Optional Peripherals Optional peripheral devices allow for flexibility and customization:...
" Multidock Chain the 4960 multidocks together with cables to increase the num- ber of HHCs connected to each controller. Each rack has six docks for the 4000 Series HHCs. 4985 Network Controller Programmer’s Guide 2-14 Figure 2-12 4960 Multidock...
RS-232 terminal to enter the phone numbers into an NM2400A. Re- fer to the operation documents for your modem before entering phone numbers into the modem. 4985 Network Controller Programmer’s Guide 2-16 Connect the network controller to this power supply outlet.
Page 31
ROUTE- COMMANDER 4000 11-1/2” Figure 2-15 Approximate Dimensions of Auxiliary Power Unit ROUTE- COMMANDER 4000 11-1/2” Figure 2-16 Approximate Dimensions of 4985 Network Controller 4985 Network Controller Programmer’s Guide SECTION 2 Getting Started " 10” SERIES 10” SERIES 2-17...
4950 Single Dock Approximate Dimensions of Docks Use graph paper to draw the installation to scale in your planning. Minimum required spacing between a 4985 Network Controller " and a multidock is 19 and 3/4 inches. Plan for 39 and 1/4 inches of space.
Mount multidock brackets on 16-inch centers. You can mount these brackets on a vertical surface or wall (Figure 2-19). Figure 2-19 Vertical or Wall-Mounted Bracket 4985 Network Controller Programmer’s Guide SECTION 2 Getting Started " Clearance between...
There is not an input or an output connector. Use the most convenient connector available on the multidock when connecting it to the control- ler, an APU, or when chaining to another multidock. 4985 Network Controller Programmer’s Guide 2-20 Figure 2-20...
RS485 Connectors on the Back of a 4985 Network Controller " NOTE: You can connect up to two multidocks. Add another APU if you want another multidock. You need special adapters for a single dock. AC Power Use alternating current (AC) power for data communication equipment with isolated ground outlets.
Code paragraph 250-74, (exception #4). A separate, insulated ground wire must be run, uninterrupted, from the outlets and terminate direct- ly at an equipment grounding conductor terminal of the derived system or service. 4985 Network Controller Programmer’s Guide 2-22 Figure 2-22 Isolated Ground Outlets...
“000” and “254.” There are 256 unique identity codes. The default ID is zero. " NOTE: ID number 255 is reserved. " " " " " " " " " " Model 4985 Network Controller Programmer’s Guide Section 3 Installation " " " " " " " "...
Switch Meaning Command mode Host type Speed (bps) Parity Databits Model 4985 Network Controller Programmer’s Guide Table 3-1 Bank 1 Dip Switches Description off: Normal host communications. on: Controller powers up in command mode and awaits input commands from user on the RS-232 port. Provided as a diagnostic tool.
Page 39
1 channel active channels on the LAN port. on off: 2 channels active concurrently (see Note 3 off on: 3 channels active concurrently on on: Reserved after table) Model 4985 Network Controller Programmer’s Guide SECTION 3 Installation " â 9600 Modem.
The ID sent to the host will range from “49850000” to “49850254,” where the last three digits come from the switch settings and the first five digits are the device type. Model 4985 Network Controller Programmer’s Guide Table 3-3 Bank 3 Dip Switches Description Default ID is 49850000.
HHC channels be- long to the active device on the corresponding device channel. The 4985 asynchronous interface works with device channel “0”. The Local Area Network (LAN) port works with HHC channels “1”, “4”, and “7”.
“6” = Host Directive " Record Layouts This explains the function of each record type. Actual record layouts appear after the record description. 4985 Network Controller Programmer’s Guide Table 4-1 Type ? - Host Ready Command Question mark “?” Table 4-2 Type * - Reinitialization Command Asterisk “*”...
The host also sends end-of-data records in response to a file request to terminate file processing. Position Bytes Description 259+ 4985 Network Controller Programmer’s Guide Table 4-4 Type 1 - End-of-Data Record Beginning delimiter: “/”...
SECTION 4 Table 4-5 Type 2 - Initialization Record Beginning delimiter: “/” Command code: “2” Initialization parameters list. The parameter list terminates with a slash “/.” Optional pad (up to 5 bytes) 4985 Network Controller Programmer’s Guide File Structures "...
Nonswitched (direct) connections are auto-answer connections. The controller processes auto-dial activate records for connections that are dial-out. The activation parameters lists are derived on page 4-26. 4985 Network Controller Programmer’s Guide Table 4-6 Beginning delimiter: “/” Command code: “3”...
" NOTE: This is used on the 4980 Controller and is presented here for compatibility. The 4985 uses autoanswer records for NPCP. Position Bytes Description 259+ EXAMPLE: (CR = end of record marker) /4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ppppp<CR> Beginning delimiter = “/”...
Five subtypes of host directives are avail- able. Types “1”, “2”, and “3” manage user data files. Type “4” sends download data to an HHC and type “6” cancels file processing. 4985 Network Controller Programmer’s Guide Table 4-8 Beginning delimiter: “/”...
If file processing is enabled using the system mode parameter in the initialization record, the host will receive file requests from the control- ler at the beginning of a host-to-controller session and after the host 4985 Network Controller Programmer’s Guide SECTION 4 File Structures...
The controller sends a directive status to the host immediately after completing a host directive. File Upload Directive “1” The host sends an upload directive, in response to a file processing special request, to upload a file stored on the 4985 controller (usually the directory file). Position Bytes Description EXAMPLE: /51FILENAMEEXT.
Type 1 - End of Session Status Record This record indicates the status of a single HHC session. Each HHC sends an end-of-session record when finished communicating. 4985 Network Controller Programmer’s Guide 4-14 Table 4-16 Type 0 - Upload Data Record Device channel ID HHC channel ID: “1”, “4”, or “7”...
“8” = HHC logic error. The HHC detected a logic error in the file transfer process. HHC application status information Local port identifier Reserved for diagnostic information 4985 Network Controller Programmer’s Guide File Structures " 4-15...
Type 4 - Active Status Record Active status records indicate a logical port status. The host port uses active status records as time-fill records whenever it is idle. The host 4985 Network Controller Programmer’s Guide 4-16 Table 4-18 Type 2 - Data Request Record Device channel ID: “1”...
Type 4 - Active Status Record Device channel ID: “1” HHC channel ID: “1” Record type = “4” Table 4-21 Type 5 - Activate Request Record Device channel: “0” HHC channel ID: “1” Record type: “5” 4985 Network Controller Programmer’s Guide File Structures " 4-17...
Special request records lump a variety of special records into one re- cord type. A subtype field determines the actual request type. Cur- rently there is only one subtype defined. Position Bytes Description 4985 Network Controller Programmer’s Guide 4-18 Table 4-21 Type 5 - Activate Request Record...
“xxx” is reserved for diagnostic information Initialization Record The host can change system parameters with an initialization record sent at the beginning of a session. 4985 Network Controller Programmer’s Guide 4-20 Table 4-23 Type 7 - Directive Status Record Description Directive status: “0”...
Forwards ID records from remote controller to the host. Controller file processing. Forwards port activation requests from remote controllers to the host. 4985 Network Controller Programmer’s Guide 4-22 Table 4-24 Description All mode parameters set off. Controller determines if host is EBCDIC or ASCII if this field is not added in.
If on, the controller appends two CRC characters to the end of the upload data (type 0) records. Host appends two characters to the end of download data blocks (type 0). See Appendix C. 4985 Network Controller Programmer’s Guide File Structures " 4-23...
-A[mode] -C[parity] -D[stopbits] -E[delimiter] -F[block size] -G[pad char] -H[ready char] 4985 Network Controller Programmer’s Guide 4-24 Table 4-25 Host Parameters Default Description 1 to 5 digit numeric field setting mode for host port, such as -A0. 1 digit numeric field setting parity and number of data bits.
The initialization record gets port parame- ters after the system and host initialization parameters. Port parameters have this general format: @[port], [port-type], activation parameters -[port] 1 digit number specifying HHC port. The 4985 only has one port so the default is “1.” SECTION 4 "...
[parameter] a string of digits or characters. " NOTE: All optional parameters begin with a dash. Parameter -C[channels] -T[timeout] 4985 Network Controller Programmer’s Guide 4-26 Table 4-26 Type 4 - LAN Parameters Default Description 3 channels Specifies number of HHCs that commu- nicate concurrently.
Page 69
8 data bits and no parity. specifies three HHC communication channels on LAN (port 1) @1,4,-C3 end of string terminating initialization data. The slash is required only if record is not padded with spaces. SECTION 4 " 4985 Network Controller Programmer’s Guide File Structures 4-27...
“download request” file. The “download request” file must have the proper filenames located on the controller. Other Features " " " " " " " " " " 4985 Network Controller Programmer’s Guide Section 5 " " " " " " " "...
This information includes file- names, date created, file size, and file status. The record size is 32 by- tes. The record layout is as follows: Position Bytes Description 4985 Network Controller Programmer’s Guide Table 5-1 NCDIR.NCC Record Layout MS-DOS compatible filename (required)
Page 73
Normal operations do not affect the NETRPL.LST file. Use an “Abort” record to abort the file processing session and lock the 4985 file system. The file system unlocks after a successful file proces- sing session. SECTION 5 "...
Page 74
MYFILE File extension: MS-DOS compatible Date created: June 22, 1996 960622 Time created: 11:22 pm 2322 User defined filler File type - HHC boot file Filler File status: Good File length is 1064 bytes 1064 4985 Network Controller Programmer’s Guide...
4-20. EXAMPLE: /2 -S224/ Initialize controller with the following controller options enabled: Controller file processing " Forward ID records from remote controller to host " 2-byte channel option " SECTION 5 " 4985 Network Controller Programmer’s Guide Other Features...
A file delete directive may be sent in response to a file request to delete a user data file from the controller user file directory. " NOTE: A directive status record (type 7) goes to the host immediately after a host direc- tive has been completed. 4985 Network Controller Programmer’s Guide...
Device channel “0” is reserved for the controller directly connected to the host computer. Device channels “1” to “9” are for remote controllers. The record formats for the 2-byte channel option are the same as the 1-byte channel option except that the device channel ID is prepended to each record from the controller.
" NOTE: Asterisks indicate spaces in the command column. Complete commands may not be shown. 4985 Network Controller Programmer’s Guide Table 5-2 NETRPL.LST File DOS compatible filename (right-justified, padded with blank spaces)
Page 79
File Processing Request 0161 End of Data Record --------> <end of file processing phase> <beginning of data communication phase> <-------- Activate Request SECTION 5 " Command /2 -S224 /61NCDIR***NCC 010********* 01710 /62NETRPL**LST9507050914*****000022 /62APP*****EXE9507021412*****021123 /0<data> 01720 /0150 4985 Network Controller Programmer’s Guide Other Features...
File Processing Request 0161 End of Data Record --------> Host Ready --------> <end of file processing phase> <beginning of data communication phase> <-------- Activate Request 4985 Network Controller Programmer’s Guide 5-10 Command /2 -S224 /61NCDIR***NCC 010APP*****EXE9507021412*****021123 NETRPL**LST9507050914*****000022 01710 /63NETRPL**LST 01730...
Norand provides a generic pseudo-coded host program that includes most everything you need to know for your host computer to communicate with the 4985 Network Controller. " NOTE: The pseudo programs in the following subsections do not have a status screen.
Page 83
Perform Activation_Routine Else if type is Special_Request Perform File_Processing_Routine Else if type is Directive_Status Perform Directive_Status_Routine Else Perform Invalid_Record_Routine Endif End While Not Finished Close Files End Program End Main Routine 4985 Network Controller Programmer’s Guide Writing the Host Program "...
Set up data save area for channel 7 “?” (ready) Add record to data save area already set up “?” (ready) Set up data save area for channel 4 “?” (ready) 4985 Network Controller Programmer’s Guide Controller --------> --------> first HHC begins to transmit <------- Chan 1 Upload Data -------->...
SECTION 6 Writing the Host Program " Controller second HHC transmits another block of data <-------- Chan 7 Upload Data 4985 Network Controller Programmer’s Guide...
Move Upload_count to log record upload counter. Move Download_count to log record download counter. Move current_status to log record status. Add the log record to the upload status. Change session status to inactive. Display log status of HHC telecom session. 4985 Network Controller Programmer’s Guide...
The prior connection status for this port is contained in the uploaded activate request record. The host program should respond with either an activate auto-answer record (record type 3) or an acti- vate auto-dial record (record type 4). SECTION 6 Writing the Host Program " 4985 Network Controller Programmer’s Guide...
The other major area of change is in the data record. The length of the data block has increased from 128 bytes to 256 bytes. 4985 Network Controller Programmer’s Guide...
SECTION 6 Writing the Host Program " Record Types Record types for both the NI311 and controllers follow. Listed are dif- ferences (if any) in how you can use the records. NI311 Record Types NI311-to-Host a) 0 Upload Data b) 1 End-of-call Status...
The following record types are not NI311 compatible and do not go to the host unless the system enables the associated options. g) 6 Special Request Currently, one subtype follows: 1 File Requests h) 7 Directive Status 8 Controller Identification Host-to-Controller Records a) 0 Download Data 4985 Network Controller Programmer’s Guide 6-10...
Page 91
NOTE: The following record types are not NI311 compatible, and cannot be sent to the controller unless the system enables the associated options. g) 6 Host Directive SECTION 6 Writing the Host Program " 4985 Network Controller Programmer’s Guide 6-11...
If enabled, port “1” may have logical channels “1,” “4,” and “7.” Records from the controller (specific to a port, such as Activate Re- quests) always use the logical channel that equates to the logical port 4985 Network Controller Programmer’s Guide 6-12...
You can add support for any of the above enhancements to an existing controller host program running in an NI311 compatibility mode with- out changing the general structure of the host program. SECTION 6 Writing the Host Program " 4985 Network Controller Programmer’s Guide 6-13...
Page 94
SECTION 6 Writing the Host Program " 4985 Network Controller Programmer’s Guide 6-14...
#210-682-001. Complete the following items before controller-based file processing can begin. Details follow: Set the ID on the remote controller. The default 4985 Controller " ID is “49850000.” A unique ID is not required for each control- ler, but is recommended.
PC Telecommunications Packages. The host communications program needs to create file maintenance lists for the controllers. This file list associates with the controller ID in the host session control file. Create a file maintenance list for each remote controller ID, using a host session control file interface.
Page 97
If the HHC application does not support the DWNLRQ file server, direct the host communication program to download a new program to each HHC with an out-of-date application. SECTION 7 4000 Series Warm Start System " 4985 Network Controller Programmer’s Guide...
A version number on the mode record is global. A version number on the terminal identification record applies to a specific terminal. The terminal identification option is for multiple application support. Converting HHC Application Programs Convert the HHC program to support program updates and DWNLRQ program requests. 4985 Network Controller Programmer’s Guide...
Page 99
HHC attaches to a modem and uses TTY to communicate. The receive routine for the 4000 HHC, (IPFRCV), cannot pack 7-bit z-space hex files. Therefore, any PL/N applications that implement automatic program updates must use the 8-bit binary format. 4985 Network Controller Programmer’s Guide...
Page 100
SECTION 7 4000 Series Warm Start System " 4985 Network Controller Programmer’s Guide...
CPU DMA controller test error CPU interrupt controller test error even ROM test error odd ROM test error SCC test error bad opcode trap bad interrupt vector trap heap memory exhausted 4985 Network Controller Programmer’s Guide " " " " " " "...
Chan 4 Upload Data --------> <-------- Chan 4 Activate Status --------> <-------- Chan 7 Upload Data --------> <-------- Chan 4 Upload Data --------> <-------- Chan 1 Data Request --------> 4985 Network Controller Programmer’s Guide " " " " " " " "...
Page 104
End of Data “?” “?” “?” End of Data “?” Download Data “?” “?” End of Data “?” 4985 Network Controller Programmer’s Guide Network Controller --------> <-------- Chan 1 Data Request --------> --------> <-------- Chan 7 Upload Data --------> <-------- Chan 1 Data Request -------->...
/0<256 bytes data><CRC byte><CRC byte> -S8129 enables CRC checking in the system mode parameter in the initialization record sent to the 4985 from the host. The system mode parameter is the -S<system_mode> parameter in the initialization record (see page 4-20).
Position Bytes Description 259+ Position Bytes Description 259+ Type 3 - Activate (Auto-Answer) Record Position Bytes Description 4985 Network Controller Programmer’s Guide Table D-3 Type 0 - Download Data Record Description Download data Optional CRC bytes (if enabled) Optional pad (up to 3 bytes)
Page 111
Optional pad up to 5 bytes Table D-8 Type 5 - Deactivate for One Minute Record Position Bytes Description Beginning delimiter: “/” Command code: “5” Required pad bytes 259+ Optional pad up to 5 bytes 4985 Network Controller Programmer’s Guide File Structure Records "...
“4” = Disconnect. The session disconnected, probably due to a datalink protocol error. “8” = HHC logic error. The HHC detected a logic error in the file transfer process. HHC application status information Local port identifier Reserved for diagnostic information 4985 Network Controller Programmer’s Guide...
File Structure Records " Position Bytes Description Position Bytes Description Position Bytes Description Position Bytes Description 4985 Network Controller Programmer’s Guide Table D-18 Type 2 - Data Request Record Device channel ID: “1” HHC channel ID: “1” Record type = “2”...
Page 117
Device channel ID: “0” Channel ID: “1” Record type: “6” Special request subtype: “1” = Obtains file processing from the host. The host responds with a file directive or an end-of-data record. 4985 Network Controller Programmer’s Guide File Structure Records "...
Normally, the host does not need to see activation requests from remote controllers, unless the remote controller is directly cabled to a host controller directly connected to the host computer. 4985 Network Controller Programmer’s Guide D-11...
Page 120
4096 Deactivate Request ON (ASYNC only) 8192 Cyclic Redundancy Check (CRC) ON. (ASYNC only) 4985 Network Controller Programmer’s Guide D-12 Table D-24 Description When added in, the local controller begins a communications session with the host by sending an ID record. This host then responds with an initialization record.
1- to 3-digit numeric field specifying the characters that pad short blocks when a minimum block size is specified. -H[ready char] 1- to 3-digit field specifying the host “ready” directive. 4985 Network Controller Programmer’s Guide File Structure Records " D-13...
-I[read timeout] 30 -J[host-delay] -K[char-gap] -L[cts-gap] Activation Parameters Parameter -C[channels] -T[timeout] 4985 Network Controller Programmer’s Guide D-14 Table D-25 Host Parameters Default Description 2- or 3-digit numeric field specifying the maximum seconds the controller waits for a response from host. If no re-...
Page 123
An IBM defined, byte-controlled communications protocol, using control characters and synchronized transmission of binary coded data. " " " " " " " " " " 4985 Network Controller Programmer’s Guide Glossary " " " " " " " " Glossary-1...
Page 124
Clear To Send. A time delay inserted after a data HHC equipment re- quests to send data to allow the modem to turn carrier on and establish equalization and synchronization. Also known as RTS-CTS delay and turnaround delay. â NORAND Hand-Held Computer. 4985 Network Controller Programmer’s Guide Glossary-2...
Page 125
RS-485 interface for NO- RAND HHC LAN. Local Controller A controller which is directly connected to a host computer. A local controller uses either secondary ADCCP or ASYNC on its host port. 4985 Network Controller Programmer’s Guide GLOSSARY " Glossary-3...
Page 126
15-pin connectors labeled “B”, “C”, and “D” respectively on the back of the controller. Port “A” is attached to either the 15-pin RS-232 connector labeled “A” or to both of the two 9-pin RS-485 connec- 4985 Network Controller Programmer’s Guide Glossary-4...
Page 127
A remote controller uses second- ary ADCCP on its host port. Secondary ADCCP Protocol on host port of a remote 4980 or the 4985 Controller and com- municates to a Primary ADCCP remote port on another controller. 4985 Network Controller Programmer’s Guide GLOSSARY "...
Page 128
GLOSSARY " TCOM or Telecom Telecommunications. Terminal Circuit terminating device such as a HHC. NORAND 2-way TTY asynchronous data link protocol. 4985 Network Controller Programmer’s Guide Glossary-6...
Need help?
Do you have a question about the 4985 and is the answer not in the manual?
Questions and answers