Intermec 4985 Programmer's Manual

Category
Networking
Type
Programmer's Manual
4985 Network Controller
PROGRAMMERS
GUIDE
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
PN: 977-028-006
Revision A
May 1996
"
NOTICE This publication contains information proprietary to Intermec Technologies Corpo-
ration. It is being supplied to you with the express understanding that the in-
formation contained herein is for the benefit of the contracting party only, and
may not be copied, distributed, or displayed to third parties without the express
written consent of 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.
This publication is furnished for information only, and the information in it is
subject to change without notice. Although every effort has been made to provide
complete and accurate information, Intermec Technologies Corporation assumes
no responsibility or liability for any errors or inaccuracies that may appear in this
document.
Disclaimer of Warranties. The sample source code included in this document is
presented for reference only. The code does not necessarily represent complete,
tested programs. The code is provided AS IS WITH ALL FAULTS. ALL
WARRANTIES ARE EXPRESSLY DISCLAIMED, INCLUDING THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
We welcome your comments concerning this publication. Although every effort has
been made to keep it free of errors, some may occur. When reporting a specific
problem, please describe it briefly and include the book title and part number, as
well as the paragraph or figure number and the page number.
Send your comments to:
Intermec Technologies Corporation
Publications Department
550 Second Street SE
Cedar Rapids, IA 52401
NORAND and PEN*KEY are registered trademarks of Intermec Technologies
Corporation.
Ó 1991 Intermec Technologies Corporation. All rights reserved.
This publication printed on recycled paper.
Acknowledgments
MS-DOS is a registered trademark of Microsoft Corporation.
FCC Computer Compliance
"
NOTICE This equipment meets Class A digital device limits per Part 15 of FCC Rules.
These limits protect against interference in a commercial area. It emits, uses, and
can radiate radio frequency energy. If you do not install and use the equipment
according to its instructions, it may interfere with radio signals. Using it in a
residential area is likely to cause interference. If this occurs, you must correct the
interference at your expense.
4985 Network Controller Programmers Guide i
CONTENTS
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
SECTION 1
Introduction 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About the Controller 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host Interfaces 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
Getting Started 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Configurations 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4985 Configuration Switches 2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communication Session 2-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Device Channels 2-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Help 2-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Beeping 2-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connections 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Testing 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modem Indicator 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Cleaning 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Specifications 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware 2-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unpacking Equipment 2-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General Equipment 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Peripherals 2-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single Dock 2-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multidock 2-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Auxiliary Power Unit (APU) 2-15. . . . . . . . . . . . . . . . . . . . . . . . .
Power Supply 2-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modems 2-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Location 2-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Brackets 2-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CONTENTS "
ii 4985 Network Controller Programmers Guide
Connectors 2-20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AC Power 2-21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3
Installation 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Start Up Operations 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Button 3-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File System 3-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 4
File Structures 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Records 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Commands 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Type ? - Host Ready Command 4-2. . . . . . . . . . . . . . . . . . . . . . .
Type * - Reinitialization Command 4-2. . . . . . . . . . . . . . . . . . . .
Record Layouts 4-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Type 0 - Download Data Record 4-3. . . . . . . . . . . . . . . . . . . . . .
Type 1 - End-of-Data Record 4-4. . . . . . . . . . . . . . . . . . . . . . . . .
Type 2 - Initialization Record 4-5. . . . . . . . . . . . . . . . . . . . . . . . .
Type 3 - Activate (Auto-Answer) Record 4-6. . . . . . . . . . . . . . . .
Type 4 - Activate (Auto-Dial) Record 4-6. . . . . . . . . . . . . . . . . .
Type 5 - Deactivate for One Minute Record 4-8. . . . . . . . . . . . .
Type 6 - Host Directive Record 4-8. . . . . . . . . . . . . . . . . . . . . . .
Type 7 - Reboot Controller Directive 4-9. . . . . . . . . . . . . . . . . .
Directive Types 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Upload Directive 1 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Create or Load Directive 2 4-10. . . . . . . . . . . . . . . . . . . . .
File Delete Directive 3 4-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Download Directive 4 4-12. . . . . . . . . . . . . . . . . . . . . . . . . .
File Processing Abort 6 4-13. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Record Layouts 4-13. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Type 0 - Upload Data Record 4-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Type 1 - End of Session Status Record 4-14. . . . . . . . . . . . . . . . . . . . .
Type 2 - Data Request Record 4-16. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Type 3 - Inactive Status Record 4-16. . . . . . . . . . . . . . . . . . . . . . . . . . .
Type 4 - Active Status Record 4-16. . . . . . . . . . . . . . . . . . . . . . . . . . . .
CONTENTS "
4985 Network Controller Programmers Guide iii
Type 5 - Activate Request Record 4-17. . . . . . . . . . . . . . . . . . . . . . . . .
Type 6 - Special Request Record 4-18. . . . . . . . . . . . . . . . . . . . . . . . . .
Type 7 - Directive Status Record 4-19. . . . . . . . . . . . . . . . . . . . . . . . . .
Initialization Record 4-20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
System Mode Parameters 4-21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host Parameters 4-23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Port Parameters 4-25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Activation Parameters 4-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 5
Other Features 5-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-Based File Processing 5-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NCDIR.NCC 5-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller File Processing Related Commands 5-5. . . . . . . . . . .
Initialization Record (Type 2) 5-5. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host Directive Record (Type 6) 5-6. . . . . . . . . . . . . . . . . . . . . . . . . .
Host Directive Subrecords (Types 1-3) 5-6. . . . . . . . . . . . . . . . . . . .
File Upload (Subtype 1) 5-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Create or Load (Subtype 2) 5-6. . . . . . . . . . . . . . . . . . . . . .
File Delete (Subtype 3) 5-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host File Processing Related Commands 5-7. . . . . . . . . . .
Controller-to-Host Records with 2-Byte Channel ID 5-7. . . . . . . . . .
Directive Status Record (Type 7) 5-7. . . . . . . . . . . . . . . . . . . . . . . . .
Booting HHCs from Controller 5-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NETRPL.LST 5-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Session Sample 1 5-8. . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Session Sample 2 5-10. . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 6
Writing the Host Program 6-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting the Main Routine 6-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Receiving Data 6-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Download Data 6-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ending Status Routine 6-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Handling Time-Fill Records 6-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Activating LAN Port 6-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Special Requests 6-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CONTENTS "
iv 4985 Network Controller Programmers Guide
Processing Directive Status Records 6-8. . . . . . . . . . . . . . . . . . . . . . . . . .
Adapting Older Host Programs 6-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Record Types 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NI311 Record Types 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NI311-to-Host 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-NI311 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4985 Network Controller 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Records 6-10. . . . . . . . . . . . . . . . . . . . . . . . . .
Special Commands 6-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Channels 6-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Record Length 6-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enhancements 6-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 7
4000 Series Warm Start System 7-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating File Maintenance Lists 7-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Version Number 7-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Converting HHC Application Programs 7-4. . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX A
Power-Up Self-Tests A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX B
Communication Session B-1.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX C
CRC Checking with Asynchronous Interface C-1. . . . . . . . . . . . . . . . . . . .
APPENDIX D
File Structure Records D-1.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Records D-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Commands D-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Record Layouts D-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CONTENTS "
4985 Network Controller Programmers Guide v
Directive Types D-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Record Layouts D-7. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Initialization Record D-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Activation Parameters D-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FIGURES
Figure 2-1 Host-to-4985 Using 4980 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-2 4980 Network Communications Controller Connection
to 4985 Controller 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-3 4920 Host Communications Package Connection
to 4985 Controller 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-4 4985 Multidocks with Maximum Configuration 2-3. . . . . . . .
Figure 2-5 Optional Wiring with 2 APUs Connected 2-5. . . . . . . . . . . . . .
Figure 2-6 Default Switch Settings 2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-7 Typical Host-to-4985 Setup 2-7. . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-8 1-Byte Identifier 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-9 2-Byte Identifier 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-10 4985 Network Controller 2-12. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-11 4950 Single Dock 2-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-12 4960 Multidock 2-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-13 Auxiliary Power Unit 2-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2-14 Power Supply Placement and Connectors 2-16. . . . . . . . . . . .
Figure 2-15 Approximate Dimensions of Auxiliary Power Unit 2-17. . . . .
Figure 2-16 Approximate Dimensions of 4985 Network Controller 2-17. .
Figure 2-17 Approximate Dimensions of Docks 2-18. . . . . . . . . . . . . . . . .
Figure 2-18 Sample Wall Layout with Brackets 2-19. . . . . . . . . . . . . . . . . .
Figure 2-19 Vertical or Wall-Mounted Bracket 2-19. . . . . . . . . . . . . . . . . .
Figure 2-20 Horizontal or Shelf-Mounted Brackets 2-20. . . . . . . . . . . . . . .
Figure 2-21 Connectors on the Back of a 4985 Network Controller 2-21.
Figure 2-22 Isolated Ground Outlets 2-22. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3-1 Default Switch Settings 3-5. . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLES
Table 3-1 Bank 1 Dip Switches 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3-2 Bank 2 Dip Switches 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3-3 Bank 3 Dip Switches 3-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-1 Type ? -Host Ready Command 4-2. . . . . . . . . . . . . . . . . . . . . . .
Table 4-2 Type * -Reinitialization Command 4-2. . . . . . . . . . . . . . . . . . . .
CONTENTS "
vi 4985 Network Controller Programmers Guide
Table 4-3 Type 0 -Download Data Record 4-3. . . . . . . . . . . . . . . . . . . . . .
Table 4-4 Type 1 -End-of-Data Record 4-4. . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-5 Type 2 -Initialization Record 4-5. . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-6 Type 3 -Activate (Auto-Answer) Record 4-6. . . . . . . . . . . . . . .
Table 4-7 Type 4 -Activate (Auto-Dial) Record 4-7. . . . . . . . . . . . . . . . . .
Table 4-8 Type 5 -Deactivate for One Minute Record 4-8. . . . . . . . . . . .
Table 4-9 Type 6 -Host Directive Record 4-9. . . . . . . . . . . . . . . . . . . . . . .
Table 4-10 Type 7 -Reboot Controller Directive 4-9. . . . . . . . . . . . . . . . .
Table 4-11 File Upload Directive 1 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-12 File Create or Load Directive 2 4-11. . . . . . . . . . . . . . . . . . . .
Table 4-13 File Delete Directive 3 4-12. . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-14 File Download Directive 4 4-12. . . . . . . . . . . . . . . . . . . . . . . .
Table 4-15 File Processing Abort 6 4-13. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-16 Type 0 -Upload Data Record 4-14. . . . . . . . . . . . . . . . . . . . . . .
Table 4-17 Type 1 -End of Session Status Record 4-15. . . . . . . . . . . . . . . .
Table 4-18 Type 2 -Data Request Record 4-16. . . . . . . . . . . . . . . . . . . . . . .
Table 4-19 Type 3 -Inactive Status Record 4-16. . . . . . . . . . . . . . . . . . . . . .
Table 4-20 Type 4 -Active Status Record 4-17. . . . . . . . . . . . . . . . . . . . . . .
Table 4-21 Type 5 -Activate Request Record 4-17. . . . . . . . . . . . . . . . . . . .
Table 4-22 Type 6 -Special Request Record 4-18. . . . . . . . . . . . . . . . . . . . .
Table 4-23 Type 7 -Directive Status Record 4-19. . . . . . . . . . . . . . . . . . . .
Table 4-24 System Mode Parameters 4-22. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-25 Host Parameters 4-24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 4-26 Type 4 -LAN Parameters 4-26. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 5-1 NCDIR.NCC Record Layout 5-2. . . . . . . . . . . . . . . . . . . . . . . . .
Table 5-2 NETRPL.LST File 5-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A-1 Beep Count A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table D-1 Type ? -Host Ready Command D-1. . . . . . . . . . . . . . . . . . . . . .
Table D-2 Type * -Reinitialization Command D-1. . . . . . . . . . . . . . . . . . .
Table D-3 Type 0 -Download Data Record D-1. . . . . . . . . . . . . . . . . . . . .
Table D-4 Type 1 -End-of-Data Record D-2. . . . . . . . . . . . . . . . . . . . . . . . .
Table D-5 Type 2 -Initialization Record D-2. . . . . . . . . . . . . . . . . . . . . . . .
Table D-6 Type 3 -Activate (Auto-Answer) Record D-2. . . . . . . . . . . . . . .
Table D-7 Type 4 -Activate (Auto-Dial) Record D-3. . . . . . . . . . . . . . . . . .
Table D-8 Type 5 -Deactivate for One Minute Record D-3. . . . . . . . . . . .
Table D-9 Type 6 -Host Directive Record D-4. . . . . . . . . . . . . . . . . . . . . .
Table D-10 Type 7 -Reboot Controller Directive D-4. . . . . . . . . . . . . . . . .
Table D-11 File Upload Directive 1 D-4. . . . . . . . . . . . . . . . . . . . . . . . . .
Table D-12 File Create or Load Directive 2 D-5. . . . . . . . . . . . . . . . . . . .
Table D-13 File Delete Directive 3 D-6. . . . . . . . . . . . . . . . . . . . . . . . . . .
CONTENTS "
4985 Network Controller Programmers Guide vii
Table D-14 File Download Directive 4 D-6. . . . . . . . . . . . . . . . . . . . . . . .
Table D-15 File Processing Abort 6 D-6. . . . . . . . . . . . . . . . . . . . . . . . . .
Table D-16 Type 0 -Upload Data Record D-7. . . . . . . . . . . . . . . . . . . . . . .
Table D-17 Type 1 -End of Session Status Record D-7. . . . . . . . . . . . . . .
Table D-18 Type 2 -Data Request Record D-8. . . . . . . . . . . . . . . . . . . . . .
Table D-19 Type 3 -Inactive Status Record D-8. . . . . . . . . . . . . . . . . . . . .
Table D-20 Type 4 -Active Status Record D-8. . . . . . . . . . . . . . . . . . . . . . .
Table D-21 Type 5 -Activate Request Record D-8. . . . . . . . . . . . . . . . . . .
Table D-22 Type 6 -Special Request Record D-9. . . . . . . . . . . . . . . . . . . .
Table D-23 Type 7 -Directive Status Record D-10. . . . . . . . . . . . . . . . . . . .
Table D-24 System Mode Parameters D-11. . . . . . . . . . . . . . . . . . . . . . . . .
Table D-25 Host Parameters D-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table D-26 Type 4 -LAN Parameters D-14. . . . . . . . . . . . . . . . . . . . . . . . . .
GLOSSARY
INDEX
CONTENTS "
viii 4985 Network Controller Programmers Guide
4985 Network Controller Programmers Guide 1-1
Section 1
Introduction
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
The 4985 Network Communication Controller provides the commu-
nication link between a NORAND
â
Hand-Held Computers (HHCs) and
your host computer. Two serial communication channels service the
network. The host interface channel is an RS-232 interface, while the
Local Area Network (LAN) is an RS-485 interface.
Once powered on, the 4985 Network Communication Controller re-
quires little or no operator intervention. You can enter changes to the
host interface portion using the dip switches (located at the back of the
controller) or a host program that directs the internal soft changes.
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. The first bank defines the type of communications, the se-
cond defines the modem type connected to the network, and the third
bank defines the controllers unique address in your overall network.
Norand supports NORAND modems. You can enable or disable the
modem configuration by setting on or off the appropriate DIP switch.
The file maintenance system provides an HHC boot mechanism. Your
host computer downloads a boot file list during the file processing
stage of communication. After completing file processing, all of the
files specified in the list can be downloaded to the HHC on the RS-485
network.
SECTION 1 " Introduction
1-2 4985 Network Controller Programmers Guide
About the Controller
This controller requires little or no operator intervention during nor-
mal operation. Once the initial configuration is complete, controller
operation becomes transparent to the user.
The power-up sequence verifies proper operation of the Read-Only
Memory (ROM), Random Access Memory (RAM), and partial testing
of the serial communication controller. Upon successful completion of
the power-up self-test, the controller sounds a single beep. Passing the
power-up self-test also implies proper operation of the internal Central
Processing Unit (CPU) and bus interface logic. A double beep indi-
cates the host port is ready to communicate.
Should the controller beep multiple times during power-up, the control-
ler has failed a portion of the startup test sequence. Consult the beep
counts table in Appendix A for descriptions of the error codes.
After successful power up, the controller is ready to communicate with
the device attached to the host interface port. If the host port device is
a modem, the controller may configure the modem and wait for the
remote system to call.
You can access a debug facility for analysis of controller hardware and
configuration.
Host Interfaces
You may need a host communication program and support programs
to talk to the controller. Norand provides two host interfaces: Asynch-
ronous and Secondary ADCCP.
The Secondary ADCCP interface only communicates with the
NORAND 4980 Network Controller or the 4920 PC Communication
Package and can communicate locally or remotely using modems.
The asynchronous interface connects the controller directly to your
host computer. 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
SECTION 1 " Introduction
4985 Network Controller Programmers Guide 1-3
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 sessions needs.
SECTION 1 " Introduction
1-4 4985 Network Controller Programmers Guide
4985 Network Controller Programmers Guide 2-1
Section 2
Getting Started
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Network Configurations
The host port attaches to a host computer, a PC, or another controller.
This connection must use one of two datalink protocols: ASYNC or Sec-
ondary ADCCP.
Host Computer
4985 Controller
4960 Multidock
Modem
Modem
4980 Controller
Figure 2-1
Host-to-4985 Using 4980
ASYNC
ADCCP
Synchronous
SADCCP
Synchronous
NPCP
Figure 2-1 demonstrates the host computer directly connecting to a
4980 Network Controller, wired to a synchronous modem. A telephone
SECTION 2 " Getting Started
2-2 4985 Network Controller Programmers Guide
line or lease links the two identical modems. Both modems must be
configured exactly alike for smooth communications. The 4985 Net-
work 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.
Direct Connect
Figure 2-2
4980 Network Communications Controller Connection to 4985 Controller
4980 Network
Controller
4985 Controller
Modem
Modem
-OR-
Figure 2-3 shows a setup using the 4920 Communications Package for
a PC connection to the 4985 Controller.
Direct Connect
Figure 2-3
4920 Host Communications Package Connection to 4985 Controller
4920 Host Communications Package
(Includes Communication Coprocessor)
4985 Controller
Modem
Modem
-OR-
SECTION 2 " Getting Started
4985 Network Controller Programmers Guide 2-3
Figure 2-4 has the most Hand-Held Computers (HHCs) that can com-
municate through one 4985 Controller. The NORAND
â
Auxiliary Pow-
er Units (APUs) connect in series with the multidocks.
4985 Controller
Multidock Multidock
APU
APU
Figure 2-4
4985 Multidocks with Maximum Configuration
Multidock Multidock
Multidock Multidock
Multidock MultidockMultidock
Multidock
SECTION 2 " Getting Started
2-4 4985 Network Controller Programmers Guide
"
NOTE: Add APUs to the network when using more than two multidocks. This ensures
adequate power for the multidocks to recharge the HHCs when placed in these
docks. 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.
SECTION 2 " Getting Started
4985 Network Controller Programmers Guide 2-5
4985 Controller
Multidock Multidock
APU
APU
Figure 2-5
Optional Wiring with 2 APUs Connected
Multidock Multidock
Multidock Multidock
Multidock MultidockMultidock
Multidock
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.
SECTION 2 " Getting Started
2-6 4985 Network Controller Programmers Guide
4985 Configuration Switches
Three 8-position DIP switches allows a user to customize the 4985 for
their particular system application. Switches 1through 5of DIP
bank #2 apply only to ADCCP host applications. DIP bank #3 config-
ures the controllers identification number for a large system. The con-
troller converts this 8-bit ID to an ASCII decimal number in the
49850000 to 49850255 range. This ID goes to the host computer at the
start of the host-to-controller communication session. The default val-
ue is 49850000and 49850255is reserved.
"
NOTE: Details of the three Data Input (DI) bank switches start on page 3-1.
Figure 2-6 shows switch settings for connecting the 4985 Network Con-
troller to the 4980 Network Controller or the 4920 Communication
Package using Secondary ADCCP and a NM9600 Modem.
O
N
1 2 3 4 5 6 7 8
Bank 1
O
N
1 2 3 4 5 6 7 8
Bank 2
Figure 2-6
Default Switch Settings
Bank 1: Switch 1: Command mode is off
Switch 2: Communications mode uses Secondary
ADCCP
Switch 3-5: Communications uses external clocking to
determine speed
Switch 6: Reserved.
Switch 7-8: Sets controller to handle three channels
active to HHCs concurrently.
"
NOTE: All reserved switches or those not applicable must be in the off position.
Bank 2: Switch 1: Auto-configure the modem
Switch 2-3: Auto-dialing is off
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130

Intermec 4985 Programmer's Manual

Category
Networking
Type
Programmer's Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI