Intermec 4980 Programmer's Manual

Page 1
Model 4980 Network Controller
PROGRAMMER’S
GUIDE
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
PN: 977-028-001
Revision A
August 1993
Page 2
purpose of allowing customers to operate and service Intermec manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Intermec.
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.
Wewelcome 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
INTERMEC, NORAND, NOR*WARE, and PEN*KEY are registered trademarks of Intermec Technologies Corporation.
Ó 1992 Intermec Technologies Corporation. All rights reserved.
This publication printed on recycled paper.
Page 3
CONTENTS
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Introduction
SECTION 1
Getting Started
Communication Session 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Configurations 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Physical Ports, Logical Ports, and Logical Channels 1-7. . . . .
Device Channel Option 1-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
File Structures
Introduction 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pseudo Host Communications Program 2-2. . . . . . . . . . . . . . . .
Common File Structures 2-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Record Types 2-6. . . . . . . . . . . . . . . . . . .
Special Request Subtypes 2-7. . . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Records 2-8. . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Record Formats with
a 1-byte Channel ID 2-10. . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Record Formats with
2-byte Channel ID 2-13. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Asynchronous Interface 2-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Records 2-14. . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Records 2-14. . . . . . . . . . . . . . . . . . . . . . . .
Special Commands 2-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bisynchronous Interface 2-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controller-to-Host Records 2-18. . . . . . . . . . . . . . . . . . . . . . . .
Host-to-Controller Records 2-19. . . . . . . . . . . . . . . . . . . . . . . .
SNA/SDLC Interface 2-22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Model 4980 Network Controller Programmer’s Guide i
Page 4
CONTENTS
Activation Record Parameters 2-23. . . . . . . . . . . . . . . . . . . . . . . . .
Type 0 – Bisynchronous Host (CONFIG.NCC only) 2-24. . Type 1 – Asynchronous Host (CONFIG.NCC only) 2-25. . . Type 2 – Primary ADCCP
(CONFIG.NCC or Host Activation Parameters) 2-26. .
Type 3 – Primary TTY
(CONFIG.NCC or Host Activation Parameters) 2-30. .
Type 4 – LAN
(CONFIG.NCC or Host Activation Parameters) 2-33. .
Type 5 – Secondary ADCCP Host (CONFIG.NCC only) 2-34
Initialization Record Parameters 2-37. . . . . . . . . . . . . . . . . . . . . .
System Parameters 2-37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host Parameters 2-39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bisynchronous Host 2-42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Port Parameters 2-42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Record Examples 2-43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Asynchronous Host Example 2-43. . . . . . . . . . . . . . . . . . .
Bisynchronous Host Example 2-43. . . . . . . . . . . . . . . . . .
System Mode Parameters 2-43. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
System Configuration File – CONFIG.NCC 2-46. . . . . . . . . . . . .
Controller Error Status Codes 2-48.. . . . . . . . . . . . . . . . . . . . . . . .
End of Session Status Codes 2-48. . . . . . . . . . . . . . . . . . . . . . .
Activate Request Status Codes 2-48. . . . . . . . . . . . . . . . . . . .
Host File Directive Status Codes 2-49. . . . . . . . . . . . . . . . . . .
SECTION 3
Equipment Interfaces
Modem Support 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Front Panel Run-Time Display 3-4. . . . . . . . . . . . . . . . . . . . . . . .
SECTION 4
Other Features
Controller-Based File Processing 4-1. . . . . . . . . . . . . . . . . . . . . .
Booting Hand-Held Computers from the Controller 4-5. . . . .
Autodialing from a Remote Controller 4-5. . . . . . . . . . . . . . . . .
ii Model 4980 Network Controller Programmer’s Guide
Page 5
CONTENTS
SECTION 5
Front Panel User Interface
Navigating the Menus 5-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting and Changing a Value Option 5-13. . . . . . . . . . . . . . . .
Conventions 5-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logging On 5-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Phone Entries 5-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Date and Time 5-19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Date 5-21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Time 5-23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define System Mode Parameters 5-25.. . . . . . . . . . . . . . . . . . . . .
Set the Controller ID 5-29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring Port Parameters 5-31. . . . . . . . . . . . . . . . . . . . . . . . .
Ymodem Port 5-33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Host Port 5-35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Secondary ADCCP 5-37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bisync 5-40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Async 5-42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SNA/SDLC 5-44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Port 1 5-47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ADCCP 5-49.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TTY 5-51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LAN 5-53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Port 1 Alt 5-55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logging Off 5-56.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX A
Communications Session
Asynchronous Host to
4980 Network Communications Controller A-1. . . . . . . . . .
Bisynchronous Host to 4980 Communications Session A-3. . .
Bisynchronous Host-to-Controller A-5. . . . . . . . . . . . . . . . . . . . .
APPENDIX B
Example C-Program B-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Model 4980 Network Controller Programmer’s Guide iii
Page 6
CONTENTS
APPENDIX C
Adapting Programs Used with the NI315 Protocol Converter
Record Types C-2.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NI315 Record Types C-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4980 Network Controller C-2. . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Channels C-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Record Length C-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII/EBCDIC Host Support C-6. . . . . . . . . . . . . . . . . . . . . . . . .
Enhancements C-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX D
Adapting Programs Used with the NI311 Protocol Converter
Record Types D-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NI311 Record Types D-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4980 Network Controller D-2. . . . . . . . . . . . . . . . . . . . . . . . . .
Special Commands D-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Channels D-6.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Record Length D-7.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enhancements D-7.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX E
Xenix Line Definition E-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX F
3275 Line Definition F-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX G
Asynchronous Hosts G-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX H
3745 Nonswitched Line Definition H-1. . . . . . . . . . . . . . . . . . . . .
iv Model 4980 Network Controller Programmer’s Guide
Page 7
CONTENTS
FIGURES
Figure 1-1 Local 4980 Network (ADCCP/TTY) 1-4. . . . . . . . . .
Figure 1-2 Local 4980 Network (NPCP to LAN) 1-5. . . . . . . . .
Figure 1-3 Remote 4980 1-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 1-4 Remote Hand-Held Computer
(Single Terminal) 1-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 1-5 Remote Hand-Held Computer (ADCCP/TTY) 1-5.
Figure 1-6 Remote 602/277 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 1-7 Remote MQL 1-6.. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 1-8 Complete Sample Network Configuration 1-6. . . .
Figure 5-1 Navigating the Menus 5-2. . . . . . . . . . . . . . . . . . . . . .
Figure 5-2 TTY Specific Parameters Overview Part 1 5-4. . . .
Figure 5-3 TTY Specific Parameters Overview Part 2 5-5. . . .
Figure 5-4 ASYNC and Secondary ADCCP Parameters
Overview Part 1 5-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-5 ASYNC and Secondary ADCCP Parameters
Overview Part 2 5-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-6 ASYNC and Secondary ADCCP Parameters
Overview Part 3 5-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-7 YModem, Bisync, 3270 SNA, and System Parameters
Overview Part 1 5-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-8 YModem, Bisync, 3270 SNA, and System Parameters
Overview Part 2 5-10.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-9 YModem, Bisync, 3270 SNA, and System Parameters
Overview Part 3 5-11.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-10 Front Panel of 4980 Controller 5-12. . . . . . . . . . . . .
Figure 5-11 Logging On Parameters 5-14. . . . . . . . . . . . . . . . . . .
Figure 5-12 Phone Entries Parameters 5-16. . . . . . . . . . . . . . . . .
Figure 5-13 Date and Time Parameters 5-18. . . . . . . . . . . . . . . .
Figure 5-14 Additional Date Parameters 5-20. . . . . . . . . . . . . . .
Figure 5-15 Additional Time Parameters 5-22. . . . . . . . . . . . . . .
Figure 5-16 System Mode Parameters 5-24. . . . . . . . . . . . . . . . .
Figure 5-17 System Mode Compatibility Parameters 5-26. . . .
Figure 5-18 Controller ID Parameters 5-28. . . . . . . . . . . . . . . . .
Figure 5-19 Port Parameters 5-30.. . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-20 Ymodem Port Parameters 5-32. . . . . . . . . . . . . . . . .
Figure 5-21 Host Port Parameters 5-34. . . . . . . . . . . . . . . . . . . . .
Figure 5-22 Secondary ADCCP Parameters 5-36. . . . . . . . . . . . .
Figure 5-23 Bisync Parameters 5-39. . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-24 Async Parameters 5-41. . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-25 SNA/SDLC Parameters 5-43. . . . . . . . . . . . . . . . . . .
Model 4980 Network Controller Programmer’s Guide v
Page 8
CONTENTS
Figure 5-26 Logical Port 1 Parameters 5-46. . . . . . . . . . . . . . . . .
Figure 5-27 ADCCP Parameters 5-48. . . . . . . . . . . . . . . . . . . . . . .
Figure 5-28 TTY Parameters 5-50.. . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-29 LAN Parameters 5-52.. . . . . . . . . . . . . . . . . . . . . . . .
Figure 5-30 Logical Port 1 Alt Parameters 5-54. . . . . . . . . . . . . .
Figure 5-31 Logging Off 5-56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLES
Table 1-1 Controller Environments 1-1.. . . . . . . . . . . . . . . . . . .
Table 1-2 Possible Controller Port Configurations 1-3. . . . . . .
Table 2-1 Controller-to-Host Record Types 2-6. . . . . . . . . . . . . .
Table 2-2 Special Request Subtypes 2-7. . . . . . . . . . . . . . . . . . . .
Table 2-3 Host-to-Controller Records 2-8. . . . . . . . . . . . . . . . . . .
Table 2-4 Host Directive Subtypes 2-9. . . . . . . . . . . . . . . . . . . . .
Table 2-5 Controller-to-Host Records 2-11. . . . . . . . . . . . . . . . . . .
Table 2-6 2-Byte Channel ID 2-13. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2-7 Async Host-to-Controller Records 2-15. . . . . . . . . . . . .
Table 2-8 Asynchronous Special Commands 2-18. . . . . . . . . . . .
Table 2-9 Bisync Host-to-Controller Records 2-19. . . . . . . . . . . .
Table 2-10 Type 0 – Bisynchronous Host 2-24. . . . . . . . . . . . . . .
Table 2-11 Type 1 – Asynchronous Host 2-25. . . . . . . . . . . . . . . .
Table 2-12 Type 2 – Primary ADCCP 2-26.. . . . . . . . . . . . . . . . . .
Table 2-13 Type 3 – Primary TTY 2-30. . . . . . . . . . . . . . . . . . . . . .
Table 2-14 Type 4 – LAN 2-33. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2-15 Type 5 – Secondary ADCCP Host 2-34.. . . . . . . . . . .
Table 2-16 System Parameters 2-38. . . . . . . . . . . . . . . . . . . . . . . .
Table 2-17 Asynchronous Host 2-40. . . . . . . . . . . . . . . . . . . . . . . .
Table 2-18 System Mode Parameter Codes 2-44.. . . . . . . . . . . .
Table 2-19 End of Session Status Codes 2-48. . . . . . . . . . . . . . . .
Table 2-20 Activate Request Status Codes 2-48. . . . . . . . . . . . . .
Table 2-21 Host File Directive Status Codes 2-49.. . . . . . . . . . .
Table 3-1 Configuration Strings for Modems 3-3. . . . . . . . . . .
Table 4-1 NCDIR.NCC Directory Entries 4-2. . . . . . . . . . . . . . .
GLOSSARY
INDEX
vi Model 4980 Network Controller Programmer’s Guide
Page 9
Introduction
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
The 4980 Network Communications Controller provides a data communications interface between the host computer and NORANDRdevices. The controller is programmable and can be configured many ways. The possible configura­tion fall into two basic categories:
" a bisynchronous or asynchronous communications
gateway to a host computer
" a hand-held computer communications controller.
Refer to the Glossary for other terms, abbreviations, and initializations.
In the first configuration, the controller is directly con­nected to a customer’s host computer and provides a gate­way through which data and data requests pass from re­mote controllers and hand-held computers to the host on logical channels.
In the second configuration, the controller is usually located at a remote site and provides an interface between hand­held computers and a “gateway” controller. Section 1 pro­vides a pictorial representation of several possible configu­rations.
A host telecommunication program and associated support programs are required to interface to a 4980 network com­munications controller. Two host interfaces are provided:
" point-to-point bisynchronous " asynchronous
The host link can be configured for speeds up to 19,200 bps.
Model 4980 Network Controller Programmer’s Guide 1
Page 10
Introduction
The host telecommunications program initializes the con­troller and then remains in a loop reading data and request records from the controller. Each record from the controller is preceded by a logical channel identifier and a record type field.
There are eight record types which may be sent from the controller to the host. Some are request records which re­place a response from the host computer. Each record from the host computer is preceded by a record type field. There are six record types which may be sent from the host to the controller. Note that the controller translates information to/from EBCDIC for EBCDIC hosts. Translation of the data part of upload and download data records can be disabled.
This book has been divided into five major sections. The following paragraphs detail topics discussed in each section.
Section 1 covers the hardware configuration of the net­work, the physical port assignments on the controller, and the logical port assignments.
Section 2 covers the data structures you will have to build into your programs.
The file types, their functions and uses are described, as well as the physical record layouts within those files.
The controller initialization and port activation pa­rameters have been split out into separate subsections for ease on referencing.
The status and error codes that are returned from the controller are located in Section 2.
Section 3 describes the modems that the controller can communicate with. Modem configuration data strings are listed in Section 3. The controller display panel is also shown in detail.
2 Model 4980 Network Controller Programmer’s Guide
Page 11
Introduction
Section 4 gives details on how to program the controller for processing of files on the controller. Instructions on how to boot a hand-held computer from the controller are given in Section 4. Autodialing from a remote controller is also cov­ered.
Section 5 shows how to program the controller from its front display panel. It details the steps to follow for each selection. The controller identification and the system mode parameters are defined and set by the display panel.
The appendixes have several examples of programs for a host computer that communicates with the controller.
Model 4980 Network Controller Programmer’s Guide 3
Page 12
Introduction
4 Model 4980 Network Controller Programmer’s Guide
Page 13
Section 1
Getting Started
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Communication Session
The controller is designed to facilitate the host-to-hand-held computer communications sessions. The controller provides the physical connection for the communications session and maintains the session on a logical channel.
A logical channel between a hand-held computer and the host computer will always pass through one or more con­trollers. All data sent to the host from a controller is pre­fixed by a logical channel identifier.
Table 1-1 summarizes the communication abilities of each of the hand-held computer types in specific environments. Other environments may be possible with special adapters.
Table 1-1
Controller Environments
Hand-Held Computer Type
101 TTY Modem, lockbox w/NM602 or NM277, direct connect 121/141 TTY Modem, lockbox w/NM602 or NM277, direct connect 121/141 ADCCP Modem, Multi-Quad Lockbox (MQL), direct connect 4000 TTY Modem (single dock), direct connect 4000 NPCP Single or multidock directly connected to a controller
Protocol Option Environment
Model 4980 Network Controller Programmer’s Guide 1-1
Page 14
"
NOTE: The controller supports only full-duplex modems. Other environ-
ments may be possible with special adapters.
SECTION 1Getting Started
As an example, Table 1-1 indicates that a 4000 Series ter­minal can communicate using TTY or NPCP (NORAND
R
Portable Communication Protocol). If NPCP is used, the hand-held computer must be in a dock which is directly cabled to a controller.
The controller minimizes the differences between NORAND hand-held computers. After the physical connection is es­tablished, the communications sessions for all of the hand­held computer types are identical.
The communication session for a hand-held computer, cur­rently, consists of:
" An “upload” " A “download” " An “end-of-session” from the hand-held computer
Typically, the hand-held computer sends identification in­formation in the first upload record, which can be used by the host to tie a specific packet of download data to the unique route or driver assigned to that particular hand-held computer. This download part is optional.
EXAMPLE: The host will receive upload records from a hand-held computer, on
a logical channel, until the upload is complete. After the upload is complete, the host will receive download data requests, on the same logical channel, for the hand-held computer. The host will respond with download data until finished, at which point, an end-of-data re­cord is sent. The host will then receive and end-of-session record which reports the status of the hand-held computer session.
The user must be aware of hand-held computer differences in the NORAND Wide Area Network (WAN) in order to make the correct physical connection to a given remote site.
For example, a port on a local controller which is configured for ADCCP cannot communicate to a remote TTY device. The controller can support several modem types.
1-2 Model 4980 Network Controller Programmer’s Guide
Page 15
SECTION 1 Getting Started
If automatic modem configuration and auto-dialing is de­sired, the user must supply the correct information for each port connected to a modem. Port configuration can be input from the front-panel interface on the controller, or be sup­plied by the host computer during the host-to-controller communications session. The user can ensure that the cor­rect connections are made by associating phone numbers with ports on the controller.
For example, a dial lost if phone numbers for remote ADCCP and TTY. In this case, only one type is active at a time, and the host must activate the port as either ADCCP or TTY before a connection to a remote site is made.
This is useful in an autodial situation, because the protocol type of the remote site can simply be associated with the phone number of the remote site. Table 1-2 specifies pos­sible configurations for controller ports and the environ­ments to which the ports can connect.
Table 1-2
Possible Controller Port Configurations
Port Types Possible Remote Connection
0 Bisync Bisync host computer 1 Async Async host computer 2 Primary
ADCCP
3 TTY 101/121/141 Hand-Held Computer (modem, direct connect, or
2/3 TTY or
ADCCP
4 NPCP
(LAN)
5 Secondary
ADCCP
Remote controller. 121/141 Hand-Held Computer (modem or direct connect) 121/141 Hand-Held Computer in an MQL.
lockbox attached to an NM602/277) RS-232 to a 4000 Series (mo­dem or direct connect)
Same as TTY or primary ADCCP except that the port type can be changed from TTY/ADCCP to ADCCP/TTY during the host­to-controller communications session.
RS-485 Direct Connect to 4000 Series in single dock or multi­dock.
Primary ADCCP port on a host controller.
Model 4980 Network Controller Programmer’s Guide 1-3
Page 16
Network Configurations
The controllers can be configured with four RS-232 ports or with three RS-232 ports and one RS-485 port. Use the RS-485 link for NPCP communications to terminals in a Lo­cal Area Network (LAN) environment. One of the RS-232 ports serves as the host port.
The host port may be attached to either a host computer or a host controller. Currently, the connection to the host must use one of three data-link protocols.
If the host is a host computer, the connection must be trans­parent bisync or async.
If the host is another controller, the connection must use ADCCP with the host controller configured as a “primary” and the remote controller configured as a “secondary”. The remaining three ports can be configured as either:
" Primary ADCCP " TTY " Primary ADCCP/TTY " or NPCP
Primary ADCCP ports can connect to either remote control­lers, MQLs, or hand-held computers using ADCCP.
SECTION 1Getting Started
The following Figures represent some of the network config­urations possible with the controller.
Async
or
Host
Computer
Bisync
Local 4980 Network (ADCCP/TTY)
1-4 Model 4980 Network Controller Programmer’s Guide
Local 4980
Controller
Figure 1-1
ADCCP/TTY -- to remote site ADCCP/TTY -- to remote site ADCCP/TTY -- to remote site
Page 17
SECTION 1 Getting Started
to 4980 Controller
Host
Computer
ADCCP
Async
or
Bisync
Local 4980
Controller
ADCCP/TTY -- to remote site ADCCP/TTY -- to remote site NPCP -- to LAN
Figure 1-2
Local 4980 Network (NPCP to LAN)
Remote
4980
Controller
TTY – to NM602/NM277/hand-held computer ADCCP -- to MQL/4980 NPCP -- to LAN
Figure 1-3
Remote 4980
Single hand-
held computer
(101) (121/141)
(4000)
to 4980 Controller
TTY
Figure 1-4
Remote Hand-Held Computer (Single Terminal)
Single hand-
held computer
(121/141)
to 4980 Controller
ADCCP/
TTY
Figure 1-5
Remote Hand-Held Computer (ADCCP/TTY)
Model 4980 Network Controller Programmer’s Guide 1-5
Page 18
SECTION 1Getting Started
to 4980 Controller
TTY
NM602
or
NM277
Figure 1-6
Remote 602/277
to 4980 Controller
ADCCP
MQLs
Figure 1-7
Remote MQL
"
NOTE: The 4980-to-4980 controller link can be direct or over a switched line
(with full-duplex modems).
TTY
Host
Computer
Local
Controller
ADCCP
Remote
Controller
ADCCP NPCP
LAN
NPCP
Figure 1-8
Complete Sample Network Configuration
In Figure 1-8, the local controller has two hand-held com­puter ports: an NPCP LAN port and a primary ADCCP port. The primary ADCCP port is shown connected to a re­mote controller. The remote controller has three hand-held computer ports: a TTY port, a primary ADCCP port, and an NPCP port. The ADCCP port on the remote controller
1-6 Model 4980 Network Controller Programmer’s Guide
LAN
Page 19
SECTION 1 Getting Started
can connect to yet another remote controller. In Figure 1-8, data to or from the third controller would be routed through both of the controllers illustrated. Up to nine remote con­trollers may have active sessions with the host computer at one time.
"
NOTE: A two-byte channel ID is required for this configuration because the
remote controller has more than one hand-held computer port.
Physical Ports, Logical Ports, and Logical Channels
The 4980 Network Communications Controller has four in­ternal physical ports: A, B, C, and D. There are six external connectors on the back of the controller; A, B, C, D, LAN1, and LAN2.
Internal ports B,C, and D are hard-wired to the 15-pin RS-232 external connectors labeled B, C, and D respective­ly.
An internal software switch links the internal physical port A to the 15-pin RS-232 external connector labeled A, or the two 9-pin RS-485 external connectors labeled LAN1 and LAN2. The selection is automatic based on the protocol type selected for the port.
LAN1 and LAN2 are hard-wired together and are identical, with the exception that LAN1 provides power to hand-held computers in a connected dock. An APU (Auxiliary Power Unit) must be used in conjunction with the LAN2 connector.
When configuring the controller, the user must define two to four logical ports, numbered from 0 to 3, and assign them to the internal physical ports. A logical port can be as­signed to any one of the four physical ports. Several data­link protocol options are available for each of the ports.
Port 0 is always the host port and must be configured as either bisync, async, or secondary ADCCP. Use ADCCP if
Model 4980 Network Controller Programmer’s Guide 1-7
Page 20
SECTION 1Getting Started
the host will be another controller. Logical Ports 1–3 are hand-held computer ports.
The remote ports can be configured as Primary ADCCP, TTY, ADCCP/TTY, or NPCP.
If NPCP is selected, the logical port is automatically associ­ated with the internal physical port labeled “A”, and the ex­ternal LAN connectors are automatically selected. NPCP communicates with hand-held computers in the NORAND RS-485 LAN environment.
Primary ADCCP ports can communicate with either remote controllers or hand-held computers in MQLs. TTY commu­nicates with single hand-held computers or older NORAND TTY devices such as an NM602.
If a port is defined as both ADCCP and TTY, it may be dy­namically toggled between the two protocols under the di­rection of the host computer.
The host computer TCOM program interfaces with logical ports, but the host program must be aware of the physical link associated with each logical port.
For example, to implement autodial on logical port 1, the port must be attached to one of the RS-232 ports which is connected to the appropriate modem. It is advisable to store such configuration information in files on the host which can be modified without a program change.
Each of the three remote logical ports may contain up to three logical data channels. The logical channels associated with the logical hand-held computer ports are:
" Port 1 Channels 1, 4, and 7 " Port 2 Channels 2, 5, and 8 " Port 3 Channels 3, 6, and 9
All data from the controller is prefixed by a logical channel number and record type. Data from an hand-held computer will always be in a contiguous sequence on a logical chan­nel. The host TCOM program must maintain the state
1-8 Model 4980 Network Controller Programmer’s Guide
Page 21
SECTION 1 Getting Started
variables and file pointers which are indexed by logical channel number.
The lowest logical channel number on each port is also used as the logical port number. Data or requests which are port-specific, such as port activation requests, are always send on the lowest logical channel for the port.
Device Channel Option
A remote port which is configured with primary ADCCP can connect to another controller. Like the host controller, the remote controller may have as many as nine logical channels, three per hand-held computer port. If none of the
remote controllers in the network attached to the host con­troller (directly or by switched line) has more than one hand-held computer port, then the logical channels for the remote controller can be placed on the logical channels of the host controller. (This is always true if there are only two
ports defined for the remote controllers – a host port and one hand-held computer (remote) port.) In this case, logical channels can be specified by a single hand-held computer channel identifier which precedes each record sent from the controller. However, if a remote controller has more than
one hand-held computer port, then logical channels to the host computer must consist of two parts: a device channel, and a hand-held computer channel.
The device channel identifies the controller to which the hand-held computer channel belongs. When the device channel option is in effect, a new device channel is opened each time a remote controller comes on line.
The first data the host will receive on the new device chan­nel is an identification record. which contains a user-de­fined ID and configuration information for the remote con­troller. Device channels require the host to index state and file variables by device and hand-held computer channel number.
Model 4980 Network Controller Programmer’s Guide 1-9
Page 22
SECTION 1Getting Started
The logical channel ID, which precedes all records sent from the controller to the host, is a 1-byte field if device channels are not enabled and is a 2-byte field if device channels are enabled. Therefore, this option should be considered before the host TCOM program is written.
The device channel option can be enabled from the front panel of the controller attached to the host computer, or with an initialization record parameter.
The partial record layouts illustrate the differences in the logical channel options:
" Device channel disabled:
Position 1 Hand-held computer channel Position 2 Record type Position 3+ Type-dependent
" Device channel enabled:
Position 1 Device channel Position 2 Hand-held computer channel Position 3 Record type Position 4+ Type-dependent
1-10 Model 4980 Network Controller Programmer’s Guide
Page 23
Section 2
File Structures
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Introduction
You configure the controller by using one of the following methods:
" Initialization record parameters. The host sends this
record at the beginning of a session.
" Activation record parameters. The host sends this re-
cord to activate a port.
" Control parameters stored in the configuration file.
CONFIG.NCC is on the controller system diskette.
" The front panel keyboard and display. Section 5 de-
scribes how to configure the controller upon power-up using the front panel keyboard and display. This is part of the initial setup of the controller.
Configuring the controller consists of:
" Defining a host port. The host port can be bisync,
async, or secondary ADCCP.
" Defining each of the remote ports. " Setting system mode parameters.
A description of the mode parameters that can be set with the front-panel user interface is in Section 5.
Model 4980 Network Controller Programmer’s Guide 2-1
Page 24
SECTION 1File Structures
Pseudo Host Communications Program
Main Routine:
Open Files Initialize counters to 0 and port/channel states to
inactive. (Note counters, state variables, etc. are indexed by channel)
Send Initialization Record to 4980 While Not Finished
If Async_host
Send ready character (e.g. “?”) to the 4980. Perform 4980_Read. Determine Logical Channel and Record Type. If type equal Upload_Data
Perform Received_Upload_Data_Routine. Else if type equal End_Tcom_Status
Perform End_Status_Routine. Else if type equal Download_Data_Request
Perform Download_Data_Routine. Else if type equal Inactive_Status
Display “port inactive”.(or ignore) Else if type equal Active_Status
Display “port active”.(or ignore) Else if type equal Activate_Request
Perform Activation_Routine. Else if type equal Special_Request
Perform Special_Request_Routine. Else if type equal Controller ID
Perform Remote_4980_Logon. Else
Perform Invalid_Record_Routine. Endif
End While Not Finished. Close Files. End of Program.
End Main Routine
2-2 Model 4980 Network Controller Programmer’s Guide
Page 25
SECTION 2 File Structures
Upload_Data_Routine:
If channel inactive
Save HHC ID from first upload record in save area for
channel (EBCDIC hosts in transparent mode have
to translate the hand-held computer ID). Reset upload sequence counter for channel. Change channel state to “uploading”. Write upload record with channel/hand-held computer ID/sequence counter key.
Else
Increment upload sequence counter. Write upload record with channel/hand-held computer ID/sequence counter key.
Endif. Return.
End Upload_Data Routine. End_Status_Routine:
Log final status of hand-held computer telecom session. Reset channel status to inactive. Return.
End End_Status_Routine. Download_Data_Routine:
(It may be necessary for bisynchronous hosts to explicitly
read the EOT, that follows the download request,
from the controller at this point.)
If channel state is uploading
Log good status for upload. Reset download sequence counters for channel. Change channel state to downloading.
Endif. If more download data for the hand-held computer
Send download data record.
Else
Send an end-of-data record.
Model 4980 Network Controller Programmer’s Guide 2-3
Page 26
SECTION 2File Structures
Endif. (Note: One way to associate download data with a
hand-held computer is to maintain a “download request” file that contains a list of “download” files for each scheduled hand-held computer. The list of files may actually be a list of keys for indexed file systems.)
Return.
End Download_Data_Routine Activation_Routine:
(It may be necessary for bisynchronous hosts to explicitly read the EOT,that follows the activation request, from the controller at this point.)
(Note that the hand-held computer channel number is the port number for activation requests.)
If a phone number is active on the port
Log the status of the phone number. Store the phone number for possible retry later.
Endif. Get the next phone number for the port type. If a phone number is available for the port type
Send the phone number in the activation record.
Else if too soon to retry phone numbers
Send an activation_delay record.
Else if no more phone numbers
Send the default (possibly blank) activation record for
the port type.
Endif. Return.
End Activation_Routine.
2-4 Model 4980 Network Controller Programmer’s Guide
Page 27
SECTION 2 File Structures
Special Request Routine:
(It may be necessary for bisynchronous hosts to explicitly read the EOT, that follows the activation request, from the controller at this point.)
Display “No special requests are supported”. Send an end-of-data record.
End Special_Request_Routine Remote_4980_Logon:
(It may be necessary for bisynchronous hosts to explicitly read the EOT, that follows the activation request, from the controller at this point.)
Send an initialization record for the remote 4980 (The initialization record may be blank).
End Remote_4980_Logon
Common File Structures
The file transfer protocol between the controller and host is implemented with eight controller-to-host record types and six host-to-controller record types.
This section explains the function of each record type. Ac­tual record layouts are in the record layout sections on pages 2-14 (async) and 2-18 (bisync).
Model 4980 Network Controller Programmer’s Guide 2-5
Page 28
SECTION 2File Structures
Controller-to-Host Record Types
The record types are:
Table 2-1
Controller-to-Host Record Types
Record ID Type Description
0 Upload Data The hand-held computer sends contiguous upload data
records to the host on a logical channel.
1 End of
Session Status
2 Data Request The hand-held computer sends a download data request
3 Inactive
Status
4 Active Status Active status records indicate a logical port status. The
5 Activate
Request
6 Special
Request
Indicates the status of a single hand-held computer session. Each hand-held computer sends an end-of-session record as it completes. See page 2-48.
to the host. The host sends back a download data record, an end-of-data or a download file directive.
This record indicates the status of a logical port. The host port uses inactive status records as time-fill records whenever it is idle. The host program discards or ignores these records.
host port uses active status records as time-fill records whenever it is idle. The host program discards or ignores these records.
The host activates a port using the activate request records. Requests are sent for an enabled port whenever the port disconnects. The prior connection status for the port is also in the request record. The host responds with an autodial record, autoanswer activate record, or a deactivate-for-one-minute record. See page 2-23.
Special request records lump a variety of special records into one record type. A subtype field determines the actual request type. There are two subtypes specified, see Table 2-2 on page 2-7.
2-6 Model 4980 Network Controller Programmer’s Guide
Page 29
SECTION 2 File Structures
Table 2-1 (Continued)
Controller-to-Host Record Types
Record ID DescriptionType
7 Directive
Status
8 Identification If used, the controller sends an ID record to the host at
The controller sends directive status records to the host after completing a host directive (with or without error). See page 2-49.
the beginning of each session with a remote controller. The ID record serves two purposes. It identifies the just connected remote controller, and it opens a new device channel. See page 2-10.
Special Request Subtypes
Table 2-2
Special Request Subtypes
Record ID Type Description
1 File request File requests obtain file processing information from the
host. The host responds with a file directive or an end-of-data record.
2 Deactivate
Request (Async interface only)
Deactivate requests are enabled using the controller initialization record. When enabled, the controller periodically sends a deactivate request to the host for each autoanswer port. The host then responds with a deactivate directive (yes or no).
Model 4980 Network Controller Programmer’s Guide 2-7
Page 30
SECTION 2File Structures
Host-to-Controller Records
The record types are:
Table 2-3
Host-to-Controller Records
Record ID Type Description
0 Download
Data
1 End-of-data The host sends end-of-data records in response to a
2 Initialization An initialization record is sent at the beginning of a
3 Activate
autoanswer
4 Activate
autodial
The host sends download data records in response to a download request. Information obtained from upload data links download data with a specific hand-held com­puter on a logical channel.
download request from the controller. This indicates that no more download data exists for this session. End­of-data records are also sent in response to a file request to terminate file processing.
host/controller session to set the system mode parame­ters and default port activation parameters. See page 2-37.
The host sends an activate record in response to a re­quest record. If the record contains a phone number pa­rameter, an autodial is attempted, else the port is config­ured for autoanswer. Nonswitched (direct) connections are considered to be autoanswer.
The host sends an activate record in response to a re­quest record. If the record contains a phone number pa­rameter, an autodial is attempted, else the port is set to autoanswer. Nonswitched (direct) connections are con­sidered to be autoanswer. The controller processes auto­answer and autodial activate records identically. A hand-held computer port can be defined as both TTY and primary ADCCP. The activate record specifies the protocol type (TTY or ADCCP) to use for the next con­nection.
2-8 Model 4980 Network Controller Programmer’s Guide
Page 31
SECTION 2 File Structures
Table 2-3 (Continued)
Host-to-Controller Records
Record ID DescriptionType
5 Deactivate
for one minute
Deactivate records can postpone activating a port for one minute. This feature causes a delay between phone number dials or implements an activation window for a port.
6 Host
Directive
The host sends a directive in response to a special or download data request from the controller. Six subtypes of host directives are available:
" Types 1–3 manage user data files. " Type 4 sends download data to a hand-held computer. " Type 5 deactivates a request, and " Type 6 cancels file processing.
If the file processing system mode parameter is enabled, the host receives file requests at the beginning of a host-to-con­troller session. The six subtypes are as follows:
Table 2-4
Host Directive Subtypes
Record ID Type Description
1 File upload
directive
2 File
create/load directive
3 File Delete
Directive
The host sends an upload directive in response to an upload data request from the controller.
The host sends this directive in response to a request to create a data file on the controller. After the controller receives a create directive, it sends the host data request records. The host then sends data records until all the data is sent. An end-of-data record from the host marks the end of the data for the file.
The host sends this directive in response to a request to delete a data file from the controller’s directory.
Model 4980 Network Controller Programmer’s Guide 2-9
Page 32
Record ID DescriptionType
4 File
download directive
5 Deactivate
Directive
6 File
Processing Abort
SECTION 2File Structures
Table 2-4 (Continued)
Host Directive Subtypes
The host sends this directive in response to a request for download data for a hand-held computer. After receiv­ing a download directive, the controller opens the file specified and downloads it to the hand-held computer.
The host sends this directive response to a deactivate request. The directive can deactivate an autoanswer port. If the port is deactivated, the host is immediately prompted with an activate record for that port.
The host sends this directive to inform the controller that a file error has occurred on the host. The controller responds by locking the files on the controller. Normal telecom continues with the hand-held computers at this time. The files are unlocked after a successful file proc­essing session.
"
NOTE: The controller sends a directive status to the host immediately after
completing a host directive. Directive status codes are on page 2-49.
Controller-to-Host Record Formats with a 1-byte Channel ID
This section contains record layouts for ASYNCHRONOUS (async) and BISYNCHRONOUS (bisync) records sent from the controller to a host. The layouts for the bisync and async records are basically identical. Differences are noted in separate bisync and async sections.
Channel ID, record types, status information, etc. is trans­lated to EBCDIC for EBCDIC hosts. Hand-held computer character data (in type 0 records) can optionally be trans­lated.
2-10 Model 4980 Network Controller Programmer’s Guide
Page 33
SECTION 2 File Structures
Table 2-5
Controller-to-Host Records
Position Bytes Description 0 – Upload Data Record (258 bytes)
1 1 Channel ID: “1–9” 2 1 Record Type: “0” 3 256 Upload Data
1 – End of Session Status Record (257 bytes)
1 1 Channel ID: “1–9” 2 1 Record Type: “1” 3 1 End of session status code. See page 2-48. 4 4 Hand-held computer application status in-
formation. 8 1 Local port identifier 9 249 Reserved for diagnostic information.
2 – Download data request record (2 bytes)
1 1 Channel ID: “1–9” 2 1 Record Type: “2”
3 – Inactive Status Record (2 bytes)
1 1 Port ID: “1–3” 2 1 Record Type: “3”
4 – Active Status Record (2 bytes)
1 1 Port ID: “1–3” 2 1 Record Type: “4”
5 – Activate Request and Status Record (7 bytes)
1 1 Port ID: “1–3” 2 1 Record Type: “5” 3 1 Status code for previous port activation.
See page 2-48. 4 4 Reserved for diagnostic information.
Model 4980 Network Controller Programmer’s Guide 2-11
Page 34
Table 2-5 (Continued)
Controller-to-Host Records
Position DescriptionBytes 6 – Special Request Records (3 bytes)
1 1 Channel ID: “1–9” 2 1 Record Type: “6” 3 1 Special request subtype: “1 or 2”
Subtype 1: File request Subtype 2: Deactivate request
7 – Directive Status Record (7 bytes)
1 1 Channel ID: “1–9” 2 1 Record Type: “7” 3 1 Status Type: “1–4”. The status type
equates to a host directive type. 4 1 Directive status. See page 2-49. 5 3 Reserved for diagnostic information.
8 – Controller ID Record (258 bytes)
1 1 Channel ID: “1–9” 2 1 Record Type: “8” 3 8 Controller ID. This is the 0–8 character ID
that may be entered with the controller
keyboard. 11 10 Controller system data and time in
YYMMDDHHMM format. 21 5 The 5-digit system mode. Refer to page
2-46. 26 5 The controller’s system software version. 31 2 Number of enabled ports on the controller,
including the host port. 33 16 Four digits are allowed to each port, two
digits each for the primary and secondary
type. The ports are defined in sequence,
with “0” as the host port. Only primary
ADCCP (type 02) and TTY (type 03) ports
may have a secondary type. 48 210 Reserved.
SECTION 2File Structures
2-12 Model 4980 Network Controller Programmer’s Guide
Page 35
SECTION 2 File Structures
Controller-to-Host Record Formats with 2-byte Channel ID
Records from controller-to-host use a 2-type channel ID that consists of a 1-byte “device channel” field. Hand-held com­puter channels belong to the active device on the corre­sponding device channel.
Device channel “0” is reserved for the controller direct-con­nected to the host. Use channels “1–9” for remote control­lers.
The record formats with the 2-byte channel option are the same as 1-byte channels. The difference is that the device channel ID is attached to the beginning of each record.
"
NOTE: The 2-byte channel ID format is required if a remote controller has
more than one hand-held computer port.
The 2-byte format is shown below.
Table 2-6
2-Byte Channel ID
Position Bytes Description
1 1 Channel ID: “1–9” 2 1 Hand-held computer Channel ID: “1–9” 3+ Records defined in Table 2-5 beginning
with position 2 (page 2-11).
Model 4980 Network Controller Programmer’s Guide 2-13
Page 36
Asynchronous Interface
Controller-to-Host Records
The record layouts specified, starting on page 2-5, do not include optional pad characters. The host may use initial­ization record parameters to force the controller to pad all records sent, to a minimum or fixed-length record. This is useful for hosts unable to handle variable-length records. The default is no pad. If a minimum record length is de- fined, a pad character may also be given. The default pad
character is an ASCII space.
An optional end-of-record delimiter (for example, a carriage return) can be appended to the end of each record. The de­limiter is defined in the initialization record. The default
delimiter is a carriage return appended to the end of every record sent to the host.
SECTION 2File Structures
The record format with optional pad and end-of-record de­limiter is generally as follows:
" 1 to M Record as defined. " M+1 N Optional pad. " N+1 Optional end-of-record delimiter
“M” is the record length. “N” can be up to 261 bytes, there­fore, the maximum record length for an async interface is 262, with the optional pad and end-of-record delimiter.
Host-to-Controller Records
Each record from an asynchronous host must begin with a 1-byte beginning-of-record delimiter (a slash “/”) and a 1-byte command code (EBCDIC or ASCII),“0–6”.
Records are sent from the host in response to requests from the controller, except for the initialization record.
2-14 Model 4980 Network Controller Programmer’s Guide
Page 37
SECTION 2 File Structures
The host may also send two special commands to the con­troller. A question mark “?” and an asterisk “*”. A question mark indicates the host is ready to receive data. The aster­isk resets the controller, although the controller automati­cally resets after a period of inactivity.
Records from the host (not including the special commands) must all be of the same fixed-length, and may include end­of-line pad bytes.
The controller uses the initialization record sent from the host to determine:
" The record length " The end-of-line pad length " Whether the host is an EBCDIC or ASCII machine.
Table 2-7
Async Host-to-Controller Records
Position Bytes Description 0 – Download Data Record
1 1 Beginning delimiter “/” 2 1 Command code: “0” 3 256 Download data 259+ Optional pad (up to 5 bytes)
1 – End-of-data Record
1 1 Beginning delimiter “/” 2 1 Command code: “1” 3 256 Filler 259+ Optional pad (up to 5 bytes)
2 – Initialization Record
1 1 Beginning delimiter “/” 2 1 Command code: “2” 3 256 Optional initialization parameters list. The
parameter list terminates with a slash “/”.
See page 2-37. 259+ Optional pad (up to 5 bytes)
Model 4980 Network Controller Programmer’s Guide 2-15
Page 38
Table 2-7 (Continued)
Async Host-to-Controller Records
Position DescriptionBytes 3 – Activate (autoanswer) Record
1 1 Beginning delimiter “/” 2 1 Command code: “3” 3 1 This field can change the port type from
ADCCP/TTY to TTY/ADCCP for ports de-
fined for both ADCCP and TTY.
" Blank No change
" 2 Change to ADCCP
" 3 Change to TTY
The default is the primary port type. See
page 2-42. 4 255 Optional activation parameters list. This
list terminates with a slash “/”. See page
2-23. 259+ Optional pad (up to 5 bytes)
SECTION 2File Structures
4 – Activate (autodial) Record
1 1 Beginning delimiter “/” 2 1 Command code: “4” 3 1 This field can change the type from
ADCCP/TTY to TTY/ADCCP for ports de-
fined for both ADCCP and TTY.
" Blank No change
" 2 Change to ADCCP
" 3 Change to TTY
The default is the primary port type. See
page 2-42. 4 255 Optional activation parameters list. This
list terminates with a slash “/”. See page
2-23. 259+ Optional pad (up to 5 bytes)
5 – Deactivate for One Minute Record
1 1 Beginning delimiter “/” 2 1 Command code: “5”
2-16 Model 4980 Network Controller Programmer’s Guide
Page 39
SECTION 2 File Structures
Table 2-7 (Continued)
Async Host-to-Controller Records
Position DescriptionBytes
3 256 Filler 259+ Optional pad (up to 5 bytes)
6 – Host Directive Record
1 1 Beginning delimiter “/” 2 1 Command code: “6” 3 1 Directive type: “1–5”
" 1 File upload directive
" 2 File create/load directive
" 3 File delete directive
" 4 File download directive
" 5 Deactivate directive
" 6 File processing Abort
4 255 Directive information. See Section 4 for
directory entry information. The informa-
tion required for this field is dependent on
the directive type. For example, if you use
a directive type of “1” (File upload) then
this field holds the 11-byte filename and
extension.
" 1 11-byte filename and extension
" 2 32-byte directory entry
" 3 11-byte filename and extension
" 4 11-byte filename and extension
" 5 Deactivate Yes or No response of
byte in length. 0 No, do not deactivate 1 Yes, deactivate the port
" 6 Filler
259+ Optional pad (up to 5 bytes)
Model 4980 Network Controller Programmer’s Guide 2-17
Page 40
Special Commands
Table 2-8
Asynchronous Special Commands
Position Bytes Description ? – Host Ready Command
1 1 Question mark: “?” 2+ Optional pad (up to 5 bytes). The pad
following the host ready command can be
different than the pad following other re-
cords. However, the pad must be consistent
for each ready command sent.
“*” – Reinitialization Command
1 1 Asterisk: “*” 2+ Optional pad (up to 5 bytes). This com-
mand, “*” is sent only when the controller
is expecting a ready command “?” from the
host.
SECTION 2File Structures
Bisynchronous Interface
Controller-to-Host Records
The record layouts specified, starting on page 2-5, do not include bisync framing characters. All records sent from or to the controller must be generally framed as follows:
syn syn dle stx (records) dle etx crc-16 Pad
---+---+---+---+ +---+---+------+----
Bisync line control characters are in EBCDIC. The mode is always transparent, even when only character information is sent.
2-18 Model 4980 Network Controller Programmer’s Guide
Page 41
SECTION 2 File Structures
The controller translates data sent to the host from ASCII to EBCDIC and translates data sent from the host from EBCDIC to ASCII. If the port mode is configured as “trans­parent”, the controller does not translate the data portion of upload and download records.
Ports can be configured as transparent individually, or with a global system-mode transparent parameter (see pages 2-23 and 2-37).
Host-to-Controller Records
Each record from the host begins with a 1-byte command code (“0–6”). Records from the host, except for the initial­ization record are sent in response to requests from the con­troller.
The record layouts shown do not include bisync framing characters. All records sent from and to the controller must be generally framed as illustrated:
syn syn dle stx (records) dle etx crc-16 Pad
---+---+---+---+ +---+---+------+----
Bisync line control characters are in EBCDIC. The trans­mission mode is always transparent, even when only char­acter data is sent.
The record layouts described may be padded with spaces to a maximum length of 257 bytes. This is useful for hosts unable to send variable-length records.
Command codes are in ASCII or EBCDIC depending on the host.
Table 2-9
Bisync Host-to-Controller Records
Position Bytes Description 0 – Download Data Record
1 1 Command code: “0” 2 256 Download data
Model 4980 Network Controller Programmer’s Guide 2-19
Page 42
Table 2-9 (Continued)
Bisync Host-to-Controller Records
Position DescriptionBytes
1 – End-of-data Record
1 1 Command code: “1”
2 – Initialization Record
1 1 Command code: “2” 2 256 Optional initialization parameters list. The
list is terminated with a slash “/”. See page
2-37.
3 – Activate (autoanswer) Record
1 1 Command code: “3” 2 1 The port type field can change the port
type from ADCCP/TTY to TTY/ADCCP for
ports defined for both ADCCP and TTY.
" Blank No change
" 2 Change to ADCCP
" 3 Change to TTY
This field must be blank, or match the cur-
rent port protocol type, if the port is not
defined as ADCCP or TTY. The default is
the primary port type. See page 2-42. 3 255 Optional activation parameters list. This
list terminates with a slash “/”. See page
2-23.
SECTION 2File Structures
2-20 Model 4980 Network Controller Programmer’s Guide
Page 43
SECTION 2 File Structures
Table 2-9 (Continued)
Bisync Host-to-Controller Records
Position DescriptionBytes 4 – Activate (autodial) Record
1 1 Command code: “4” 2 1 The port type field can change the port
type from ADCCP/TTY to TTY/ADCCP for
ports defined for both ADCCP and TTY.
" Blank No change from current
" 2 Change to ADCCP
" 3 Change to TTY
This field must be blank, or match the cur-
rent port protocol type, if the port is not
defined as ADCCP or TTY. The default is
the primary port type. See page 2-42. 3 255 Optional activation list parameters. This
list terminates with a slash “/”. See page
2-23.
5 – Deactivate for One Minute Record
1 1 Command code: “5”
6 – Host Directive Record
1 1 Command code: “6” 2 1 Directive type: “1–4”
" 1 File upload directive
" 2 File create/load directive
" 3 File delete directive
" 4 File download directive
3 255 Directive information. See Section 4. If
you use directive type “1” (File upload) then
in this field you enter the 11-byte filename
and extension of the upload file.
" 1 11-byte filename and extension
" 2 32-byte directory entry
" 3 11-byte filename and extension
" 4 11-byte filename and extension
Model 4980 Network Controller Programmer’s Guide 2-21
Page 44
SNA/SDLC Interface
The SNA 4980 Communication Controller Software emu­lates a 3174/3274 physical unit type 2 cluster controller. This emulation pertains to the SNA/SDLC interface of these controller types and not the additional features such as NETVIEW, or TOKEN RING.
Only one logical unit is defined for this physical unit. The logical unit must always be defined with the lowest address available for the control unit.
The logical unit local address must always be 2. The logical unit emulates a generic 24x80 screen, 3278 model 2 display type.
A user writing the application should define the screen to be one field for send and receive. Data for both send and receive begins in Row 1, Column 1. The actual record for­mats of the data being sent and received are defined start­ing on page 2-5.
SECTION 2File Structures
Communications with the SNA 4980 is established by first
varying the physical and logical units to an active state on VTAM. The next step is to “Bind” the logical unit to an ap­plication such as CICS. This is accomplished by “acquiring” the logical unit to CICS. The 4980 controller is now ready to receive an initialization record.
A communication session is started by “Binding” the logical unit to an application followed by sending an initialization record and ended by unbinding the logical unit from the session. For example: A release from CICS.
The SDLC address of the physical unit should match the ADDR statement in the physical unit definition in VTAM.
"
NOTE: The physical unit address in the VTAM definition is in hex.
If the 4980 controller is to provide the clocking, then a BPS rate should be selected and the 4980 controller connected directly (no modems) to the communications control unit.
2-22 Model 4980 Network Controller Programmer’s Guide
Page 45
SECTION 2 File Structures
This can be done using the 216-690-00x cable for most host computers. (Use the 216-569-00x cable if a male host con­nection is needed.)
Set the clocking to “EXT” external if there is a clocking de­vice such as modem between the 4980 controller and the communications controller. Clocking should always be set to “EXT” on the BTAM definition.
The SDLC ID option is only used if VTAM is defined to have the control unit on a switched network. The four by­tes, eight nibbles, must match the IDBLK and IDNUM defi­nition on the physical unit statement where:
xxxyyyyy xxx = IDBLK yyyyy = IDNUM
NRZI Encoding – Select “yes” or “no” to match the defini­tion on the VTAM gen.
Max Frame – Also known as MAXDATA on VTAM defini­tions. Either 265/532 can be used. 532 is preferred because it increases efficiency.
Activation Record Parameters
Activation records are in the controller’s system configura­tion file, CONFIG.NCC which is found on the system start­up diskette, or they are sent from the host to activate hand­held computer ports.
The record layouts are specified in the host-to-controller re­cord layout subsections in this section. The CONFIG.NCC file, found on the system startup diskette, is described on page 2-43.
Optional parameters may be specified in activation records to customize a port configuration. These parameters are port protocol-type specific and are specified later in this sec­tion.
Model 4980 Network Controller Programmer’s Guide 2-23
Page 46
SECTION 2File Structures
Some of the parameters can only be sent in an activation record, from the host. In this case, the parameters are doc­umented as CONFIG.NCC only or host only respectively.
"
NOTE: CONFIG.NCC settings override the documented default settings for
activation parameters. Most of the CONFIG.NCC parameters can be modified via the front panel user-interface.
The parameter list has the general form:
-[type][parameter] -[type] is a 1-byte character specifying the parameter type and [parameter] is a string of digits or characters.
"
NOTE: All optional parameters begin with a dash.
Type 0 – Bisynchronous Host (CONFIG.NCC only)
Table 2-10
Type 0 – Bisynchronous Host
Parameter Description –a[mode] [mode] is a 1- to 5-digit numeric field which
sets the mode for the host port. Model should be zero.
–b[speed] [speed] is a 1- to 5-digit numeric field which
sets the host port speed in bits per second (BPS). The default is 19200. Zero specifies that the speed is set by an external source.
For example, using zero means the host port speed is determined by the modem the port is talking to.
Valid values are: 0, 1200, 2400, 4800, 9600, or
19200.
2-24 Model 4980 Network Controller Programmer’s Guide
Page 47
SECTION 2 File Structures
Type 1 – Asynchronous Host (CONFIG.NCC only)
Table 2-11
Type 1 – Asynchronous Host
Parameter Description –a[mode] [mode] is a 1- to 5-digit numeric field which
sets the mode for the host port. Model should be zero.
–b[speed] [speed] is a 1- to 5-digit numeric field which
sets the host port speed in BPS. Valid values are: 1200, 2400, 4800, 9600, or
19200. The default is 19200.
–c[parity] [parity] is a 1-digit numeric field which sets
parity and number of data bits. The default is no parity/8 data bits. Valid values are:
" 0 no parity/8 data bits " 1 odd parity/7 data bits " 2 even parity/7 data bits
–d[stopbits] [stopbits] is a 1-digit numeric field which sets
the number of stop bits. Valid values are:
" 1 one stop bit " 2 two stop bits " 3 one and one half stop bits
Model 4980 Network Controller Programmer’s Guide 2-25
Page 48
SECTION 2File Structures
Type 2 – Primary ADCCP (CONFIG.NCC or Host Activation Parameters)
Table 2-12
Type 2 – Primary ADCCP
Parameter Description –a[mode] This is a 1- to 5-digit numeric field which sets
the mode for the host port. Mode parameters are associated with a value and can be turned on by “adding in” the value for a specific pa­rameter to the mode. The following mode pa­rameters are supported:
" 0 All mode parameters are set off " 4 Disable data translation on this port
–b[speed] This is a 1- to 5-digit numeric field which sets
the hand-held computer port speed in BPS. The default is zero. Zero specifies the speed is set by an external source.
For example, using zero means the host port speed is determined by the modem the port is talking to.
Valid values are 0, 1200, 2400, 4800, 9600, or
19200.
–c[channels] This field specifies the number of logical chan-
nels. It is used only when the controller con­nects to hand-held computers using ADCCP in MQLs. If [channels] is set to “2” the controller can communicate with two hand-held comput­ers in MQLs concurrently for increased effi­ciency. The default is one channel.
Valid values are “1” or “2”.
2-26 Model 4980 Network Controller Programmer’s Guide
Page 49
SECTION 2 File Structures
Table 2-12 (Continued)
Type 2 – Primary ADCCP
Parameter Description –d[min addr] This field specifies the minimum ADCCP ad-
dress to poll. This parameter can skip lower addresses in an array of MQLs. The default is
one.
Valid values are 1–64.
–e[max addr] This field specifies the maximum ADCCP ad-
dress to poll. [max addr] should be set to the highest ADCCP address in the WAN. The de-
fault is 64.
Valid values are 1–64. The [min addr] and [max addr] parameters are
used together to specify a range of ADCCP addresses to poll. If the network includes MQLs, the highest ADCCP address in the net­work is also the highest MQL slot number.
–f[block timeout]
The highest address is “2” if the network con­sists of controllers with attached hand-held computers, single hand-held computers, and TTY equipment. Use this parameter to skip upper addresses in an array of MQLs to avoid unnecessary polling time.
This field specifies the ADCCP block time out in tenths of seconds. The default is 20 (2 sec-
onds).
CONFIG.NCC only.
This parameter should be modified only by technical personnel.
Model 4980 Network Controller Programmer’s Guide 2-27
Page 50
Table 2-12 (Continued)
Type 2 – Primary ADCCP
Parameter Description
SECTION 2File Structures
–g[poll timeout]
This field specifies the ADCCP poll time out in tenths of seconds. The default is 5 or 1/2 sec-
ond.
CONFIG.NCC only
This parameter should be modified only by technical personnel.
–h[ADCCP retries]
This field specifies the number of ADCCP re­tries. The default is 7.
CONFIG.NCC only
This parameter should be modified only by technical personnel.
–m[modem] This is a 1-byte alphanumeric field which
specifies the type of modem attached to the port. The default is zero. The valid values are 0–6.
" 0 No modem or an unsupported modem
is attached to the port.
A supported type is required for autodialing. See Section 3 for modems supported by the controller.
–n[cfg str] This is a 1- to 40-byte alphanumeric field,
which may contain a substitute modem config­uration string. No edit checking is done on this field. Default values are specific to the modem and port type. See Section 3 on mo­dem support for detailed information.
2-28 Model 4980 Network Controller Programmer’s Guide
Page 51
SECTION 2 File Structures
Table 2-12 (Continued)
Type 2 – Primary ADCCP
Parameter Description –p[phoneno]
(host only)
This is a 1- to 27-byte alphanumeric field which may contain a telephone dial sequence. No edit checking is done on this field. The de- fault is no dial sequence. Section 3 on modem support, defines the characters that may be a valid dial sequence.
First character must be a “T” or a “P”. If a character is not entered, “T” becomes the de­fault.
–r[modem reset]
This is a 1- to 10-byte alphanumeric field which may contain a modem reset string. The reset string is sent to the modem before the modem is configured setting the modem to a known state. This parameter prevents a reset to factory options (“at”), or for selecting one of several factory default configuration (“at&F1”). No edit checking is done. The de-
fault for the modem types which are supported is “At&F”.
–t[timeout] This is a numeric field specifying an autoan-
swer timeout in seconds. When a timeout is specified, the primary ADCCP port waits for a connection for [timeout] seconds. If a connec­tion is not made, the port deactivates and the host is prompted with another activate request for the port. The default depends on the host port type. If the host port configuration is sec­ondary ADCCP, the default is 60 seconds. Otherwise, the default is zero, which specifies no timeout. Valid values are 0–3600.
Model 4980 Network Controller Programmer’s Guide 2-29
Page 52
SECTION 2File Structures
Type 3 – Primary TTY (CONFIG.NCC or Host Activation Parameters)
Table 2-13
Type 3 – Primary TTY
Parameter Description –a[mode] This is a 1- to 5-digit numeric field which sets
the mode for the host port. Mode parameters are associated with a value and can be turned on by “adding in” the value for a specific pa­rameter to the mode. Currently the following mode parameters are supported:
" 0 All mode parameters are set off. " 4 Disable data translation on this port. " 8 Single TCOM per call. This parameter
should be set for “single terminal” ports.
–b[speed] This is a 1- to 5-digit numeric field which sets
the hand-held computer port speed in BPS. The default is 9600. Valid values are 1200, 2400, 4800, 9600, or 19200.
–c[parity] This is a 1-digit numeric field which sets par-
ity and number of data bits. Valid values are:
" 0 No parity/8 data bits " 1 Odd parity/7 data bits " 2 Even parity/7 data bits " 3 Odd parity/8 data bits " 4 Even parity/8 data bits
–d[stopbits] [stopbits] is a 1-digit numeric field which sets
the number of stop bits. Valid values are:
" 1 One stop bit " 2 Two stop bits " 3 One and one half stop bits
2-30 Model 4980 Network Controller Programmer’s Guide
Page 53
SECTION 2 File Structures
Table 2-13 (Continued)
Type 3 – Primary TTY
Parameter Description –f[tty
timeout]
This is a 1- to 3-digit numeric field specifying the maximum time, in tenths of seconds, that the controller’s TTY receiver waits for a block of data before retransmitting an ENQ, ACK, or NAK. The timeout can be increased to run TTY over networks which have propagation delays.
Valid values are 0 (no timeout) to 300 (30 sec­onds).
–m[modem] This is a 1-byte alphanumeric field which
specifies the type of modem attached to the port. The valid values are 0–6. Zero indicates that no modem or an unsupported modem is attached to the port. A supported type is re­quired for autodialing. See Section 3 for the modems which are supported by the controller.
The default is zero.
–n[cfg str] This is a 1- to 40-byte alphanumeric field
which may contain a substitute modem config­uration string. No edit checking is done on this field. Default values are specific to the modem and port type. See Section 3 on mo­dem support for detailed information.
–p[phoneno] (host only)
This is a 1- to 28-byte alphanumeric field which may contain a telephone dial sequence. Section 3 defines the characters that may be in a valid dial sequence. No edit checking is done. The default is no dial sequence.
Model 4980 Network Controller Programmer’s Guide 2-31
Page 54
Table 2-13 (Continued)
Type 3 – Primary TTY
Parameter Description
SECTION 2File Structures
–r[modem reset]
This is a 1- to 10-byte alphanumeric field which may contain a modem reset string. The reset string is sent to the modem before the modem is configured, setting the modem to a known state. This parameter prevents a reset to factory options (“at”), or for selecting one of several factory default configuration (“at&F1”). No edit checking is done. The de-
fault for the modem types which are supported is “At&F”.
–t[timeout] This is a numeric field which specifies an auto-
answer timeout in seconds. When a timeout is specified, the primary ADCCP port waits for a connection for [timeout] seconds. If no connec­tion is made, the port deactivates and the host is prompted with another activate request for the port. The default depends on the host port type. If the host port configuration is secon­dary ADCCP, the default is 60 seconds. Other­wise, the default is zero, no timeout. Valid val­ues are 0–3600.
2-32 Model 4980 Network Controller Programmer’s Guide
Page 55
SECTION 2 File Structures
Type 4 – LAN (CONFIG.NCC or Host Activation Parameters)
Table 2-14
Type 4 – LAN
Parameter Description –a[mode] This is a 1- to 5-digit numeric field which sets
the mode for the host port. Mode parameters are associated with a value and can be turned on by “adding in” the value for a specific pa­rameter to the mode. The following mode pa­rameters are supported:
" 0 All mode parameters are set off. " 4 Disable data translation on this port.
–c[channels] This field specifies the number of logical chan-
nels. Valid values are 1 or 2. The default is 1
channel.
–t[timeout] This field specifies a “no activity” timeout peri-
od, in tenths of seconds. If the timeout period expires the port will deactivate. The remote controller hangs up the phone when all ports are inactive.
Model 4980 Network Controller Programmer’s Guide 2-33
Page 56
SECTION 2File Structures
Type 5 – Secondary ADCCP Host (CONFIG.NCC only)
Table 2-15
Type 5 – Secondary ADCCP Host
Parameter Description –a[mode] This is a 1- to 5-digit numeric field which sets
the mode for the host port. Mode should be zero.
–b[speed] This is a 1- to 5-digit numeric field which sets
the hand-held computer port speed in BPS. The default is zero. Valid values are 0, 1200, 2400, 4800, 9600, or 19200. (Zero specifies ex­ternal clocking for example, by modem.)
–m[modem] This is a 1-byte alphanumeric field which
specifies the type of modem attached to the port. Section 3 details the modems which are supported by the controller. The default is zero. Valid values are 0–6. Zero indicates that no modem or an unsupported modem is at­tached to the port. A supported type is re­quired for autodialing.
–n[cfg str] This is a 1- to 40-byte alphanumeric field
which may contain a substitute modem config­uration string. No edit checking is done. De-
fault values are specific to the modem and port type. Refer to Section 3 on modem support for
detailed information.
–o[retry wait]
2-34 Model 4980 Network Controller Programmer’s Guide
This is a 1- to 4-digit numeric field specifying the number of seconds to wait before dialing a phone number. This parameter regulates dial retries. Valid values are 0–7200 seconds. The
default is 20 seconds.
Page 57
SECTION 2 File Structures
Table 2-15 (Continued)
Type 5 – Secondary ADCCP Host
Parameter Description –p[phoneno] This is a 1- to 28-byte alphanumeric field
which may contain a telephone dial sequence. Section 3 defines the characters that may be in a valid dial sequence. No edit checking is done. The default is no dial sequence.
–q[sec phoneno]
This is a 1- to 28-byte alphanumeric field which may contain a second telephone dial sequence. If a second dial sequence is speci­fied, the controller switches to the other se­quence anytime a dial fails for any reason. No edit checking is done. The default is no second
dial sequence.
–r[modem reset]
This is a 1- to 10-byte alphanumeric field which may contain a modem reset string. The reset string is sent to the modem before the modem is configured, setting the modem to a known state. This parameter prevents a reset to factory options (“at”), or for selecting one of several factory default configuration (“at&F1”). No edit checking is done. The de-
fault for the modem types which are supported is “At&F”.
Model 4980 Network Controller Programmer’s Guide 2-35
Page 58
SECTION 2File Structures
Table 2-15 (Continued)
Type 5 – Secondary ADCCP Host
Parameter Description –U[dial time] This is a 4-digit numeric field which specifies
an optional 24-hour begin dial time in HHMM format. After the begin [dial time] is reached, the controller attempts to autodial if an at­tached hand-held computer is ready to TCOM. The [ENT] key on the controller can be pressed to start an early dial, when the con­troller is waiting for the begin [dial time] to be reached.
Valid values are 0000–2359. “0000” specifies no begin-dial time.
The controller system time must be set correct­ly before this feature is used.
–V[dial cut­off]
This is a 4-digit numeric field which specifies an optional 24-hour dial cutoff time in HHMM format. The cutoff-time is used with the begin dial-time to define an autodial window. Valid values are 0000–2359. “0000” specifies no dial cutoff time. If the cutoff-time is less than the begin dial-time, then the window spans mid­night.
Example: If the begin time is 2200 and the cutoff time is 0300, then the autodial window is from 10:00 pm, until 3:00 am the following day. The default cutoff time is 1200 (12 noon).
2-36 Model 4980 Network Controller Programmer’s Guide
Page 59
SECTION 2 File Structures
Initialization Record Parameters
The host can change system and port parameters with an initialization record sent at the beginning of a session.
These parameters can be subdivided into:
" System parameters, " host parameters, and " port parameters.
Initialization parameters are terminated with a slash “/” if the initialization record is not padded with spaces.
System Parameters
You can customize the controller configuration using system parameters.
A parameter list has the general form:
“-[type]parm” [type] is a 1-byte field specifying the pa-
rameter type. “parm” contains the actu­al value of the parameter.
Model 4980 Network Controller Programmer’s Guide 2-37
Page 60
SECTION 2File Structures
Table 2-16
System Parameters
Parameter Description –s[system mode] This is a 1- to 5-digit numeric field adjust-
ing the operational mode for the control­ler. Mode parameters are associated with a value and can be turned on by adding in the value for a specific parameter to the mode. See page 2-43 for details. The following mode parameters are sup­ported:
" 0 All mode parameters are set off " 4 Disable data translation on all
ports
" 32 Enable the device channel
option (2-byte channel ID)
" 64 Forward ID records from remote
controllers to the host.
" 128 Enable file processing on the
controller. (Must be on to use file processing.)
" 256 Forward port activation requests
from remote controllers to the host.
" 512 Sets “local ID” on. When “local
ID” is on, the local controller begins a TCOM session by sending an ID record to the host. The host must respond with an initialization record. Using this option prevents the controller from automatically detecting if the host is EBCDIC.
Note: If file processing is set on, it will stay on until the con­troller is “booted”, or a command is sent explicitly turning file processing off (–s0)
2-38 Model 4980 Network Controller Programmer’s Guide
Page 61
SECTION 2 File Structures
Table 2-16 (Continued)
System Parameters
Parameter Description
" 1024 Forced autoanswer ON. This pa-
rameter applies only to remote control­lers. When this parameter ison, aremote controller will always answer the phone, even when there are no attached hand­held computers in a ready state.
" 4096 Deactivate Request ON. (Async
only). If deactivate requests is “on”, the
controller periodically sends a deactivate request to the host for each enabled auto­answer port not currently active (such as port is waiting for a phone call). The host can then time window port configura­tions. (See pages 2-14 and 2-18.)
" 8192 Cyclic Redundancy Check (CRC)
ON. (Async only). If CRC is “on”, the con­troller appends two CRC characters to the end of the upload data (type 0) records. The host is also expected to append two characters to the end of download data blocks (type 0). See page 2-14.
–t[date-time] This is a 10-digit numeric field setting
the date and time. It must be in yymmddhhmm (year-month-day-hour­minute) format. The time is in a 24-hour clock format. (0000–2359)
Host Parameters
Host parameters have the following general form:
“-[type]parm” [type] is a 1-byte field specifying the pa-
rameter type. “parm” contains the actu­al value of the parameter.
Model 4980 Network Controller Programmer’s Guide 2-39
Page 62
SECTION 2File Structures
Host parameters are specific to the host type (asynchronous or bisynchronous). The following are the initialization pa­rameters for each host type.
Table 2-17
Asynchronous Host
Parameter Description –a[mode] This is a 1- to 5-digit numeric field setting the
mode for the host port. Mode should be zero.
–c[parity] This is a 1-digit numeric field setting parity
and number of data bits. The default is no parity/8 data bits. Valid values are:
" 0 No parity/8 data bits " 1 Odd parity/7 data bits " 2 Even parity/7 data bits
–d[stopbits] This is a 1-digit numeric field setting stop bits.
The default is one stop bit. Valid values are:
" 1 One stop bit " 2 Two stop bits " 3 One and one half stop bits
–e[delimiter] This is a 1- or 2-digit numeric field specifying
the collating sequence number of the charac­ter used to mark the end of all records sent from the controller to the host. A delimiter of “0” specifies no end-of-record delimiter. The
default is a Carriage Return (CR).
Example: “E10” changes the end-of-record delimiter to an ASCII line-feed (LF) character. The ASCII collating sequence number of a CR is 13.
–f[block size] This is a 1- to 3-digit numeric field specifying
the minimum host block size. It does not in­clude the end-of-record delimiter character. Records shorter than block size are padded to the block size and the delimiter character is appended. This option forces the controller to send fixed-length blocks to the host.
2-40 Model 4980 Network Controller Programmer’s Guide
Page 63
SECTION 2 File Structures
Table 2-17 (Continued)
Asynchronous Host
Parameter Description –g[pad char] This is a 1- to 3-digit numeric field specifying
the collating sequence number of the charac­ter that should be used to pad short blocks when a minimum block size is specified. The default is a space. (The collating sequence number of an ASCII space is 32).
–h[ready char]
This is a 1- to 3-digit number field specifying the collating sequence number of the charac­ter that the host sends to the controller to in­dicate it is ready to receive.
Example: –h17 could change the ready char­acter to an XON character.
–i[read time­out]
This is a 2- or 3-digit numeric field specifying the maximum time in seconds, that the con­troller waits for a response from the host. Val­id values are 10–120.
–j[host
-delay]
This is a 1- or 2-digit numeric field specifying a delay in hundredths of a second increments, before the controller sends the next message to the host after receiving a ready character from the host. Valid values are 0–50.
–k[char-gap] This is a 1- or 2-digit numeric field specifying
the maximum intercharacter gap time in whole seconds allowed in a block of data sent from the host. Valid values are 1–10. The de-
fault value is 3 seconds.
–l[cts-gap] This is a 1- to 3-digit numeric field specifying
the maximum time in tenths of seconds that the controller waits for CTS after raising RTS. Valid values are 0–100.
Model 4980 Network Controller Programmer’s Guide 2-41
Page 64
SECTION 2File Structures
Bisynchronous Host
There are no host initialization parameters for a bisynchro­nous host.
Port Parameters
Port parameters change the activation defaults for hand­held computer ports attached to the controller for which the initialization record is intended. These changes remain in effect until the controller is rebooted. Port parameters are placed in the initialization record after the system and host initialization parameters.
Port parameters have the following general format.
@[port], [porT-type], activation parameters
" [port] is a 1-digit number (1–3) specifying the hand-
held computer port.
" [port type] is a 1-digit number specifying the port
type. Valid port types are:
" 2 – ADCCP, " 3 – TTY, and " 4 – LAN (NPCP)
" “Activation parameters” can be the same as those
parameters allowed in an activation record for the port type specified. (See page 2-23).
If a port is defined as both TTY and ADCCP, the type named in the initialization record port parameter becomes the current active type. If both types are specified succes­sively, the last type named will be the current active type.
2-42 Model 4980 Network Controller Programmer’s Guide
Page 65
SECTION 2 File Structures
Record Examples
Asynchronous Host Example
/2 –S4 –C0 @1,2,–B2400,@2,3,–M1/
" “–S4” Disables data translation on all ports
on the controller.
" “–C0” Specifies 8 data bits/no parity. " “@1,2,–B2400” Changes the default speed of port
number 1 to 2400 BPS. Port 1 is an ADCCP port.
" “@2,3,–M1” Changes the default modem type on
port number 2 to an NM2400A. Port 2 is a TTY port.
" “/” The end of the string terminating the
initialization data. The slash is required only if the record is not padded with spaces.
Bisynchronous Host Example
2 –S36 @1,2,–E32/
" “–S36” Disables data translation on all ports
on the controller and enables the device channel option.
" “@1,2,–E32” Sets the maximum ADCCP polling
addresses on port 1 to decimal 32.
System Mode Parameters
You use system mode parameters to select controller opera­tional modes. The system mode is stored in CONFIG.NCC on the controller’s system disk. Most of the parameters can be modified with the user interface or overridden with the initialization record sent from the host.
Model 4980 Network Controller Programmer’s Guide 2-43
Page 66
SECTION 2File Structures
See Section 5 and page 2-37 for information on which pa­rameters can be changed and how to change them. A ma­jority of these parameters should be set when the controller is installed.
A mode of operation must be determined before the host communications program is coded. Mode parameters are associated with a value, and the associated option can be turned on by “adding in” the value for a specific parameter to the mode.
EXAMPLE: If the system mode is 104 (8 + 32 + 64), then boot processing,
2-byte channel IDs, and remote controller IDs are enabled.
The system mode is stored in the CONFIG.NCC file. If no mode is stored, then the default system mode is:
" 0 If a LAN port is not defined on the controller " 8 If a LAN port is defined
Table 2-18
System Mode Parameter Codes
Value Description
0 All mode parameters are set off 1 EBCDIC host. The controller automatically determines if the host is EB-
CDIC or ASCII if this field is not added in.
4 Transparent mode on all ports. This parameter only applies to EBCDIC
hosts. When this option is added in, ASCII/EBCDIC data translation is disabled on all ports. Data translation can be enabled or disabled for indi­vidual ports.
8 Boot 4000 Series Hand-Held Computers in a LAN directly connected to
the controller. This option is automatically enabled when a LAN port is
installed and a list of boot files exists on the controller’s system disk. 16 Debug mode. This option is reserved for diagnostic use. 32 2-byte channel option. When this option is added in, all records sent to
the host are preceded by a 2-byte channel identifier. The 2-byte channel
option is required if any of the remote controllers in the network have
more than one hand-held computer port.
2-44 Model 4980 Network Controller Programmer’s Guide
Page 67
SECTION 2 File Structures
Table 2-18 (Continued)
System Mode Parameter Codes
Value Description
64 Forwards ID records from remote controllers to the host. This option
must be “on” if the 2-byte channel option is enabled. 128 Controller file processing. When this option is added in, the host is
prompted with file requests at the beginning of a host-controller commu-
nications session. 256 Forwards port activation requests from remote controllers to the host.
This option should be enabled only if it is necessary for the host computer
to send activation parameters to ports on remote controllers. Normally,
the host does not need to see activation requests from remote controllers,
unless the remote controller is directly cabled to a host controller which is
directly connected to the host computer. 512 Local controller ID. When this option is added in, the local controller be-
gins a communications session with the host by sending an ID record.
The host then responds with an initialization record. This option should
normally be disabled, because it prohibits the host from using initializa-
tion record parameters to tailor the host-controller interface. When this
option is enabled, the EBCDIC host option must be set for EBCDIC host
computers. 1024 Force autoanswer for remote controllers. When this option is enabled, a
remote controller always answers the phone, even when no hand-held
computers are ready to communicate. If this option is not enabled, a re-
mote controller will not answer the phone unless a hand-held computer is
ready. 2048 The secondary controller is direct-connected. This option applies only to
remote controllers. If this option is enabled, a controller which is con-
nected to a hand-held computer port on a host controller always holds up
the link to the host controller.
Model 4980 Network Controller Programmer’s Guide 2-45
Page 68
SECTION 2File Structures
Table 2-18 (Continued)
System Mode Parameter Codes
Value Description
4096 Deactivate Request ON. Async only. If deactivate requests is “on”, the
controller periodically sends a deactivate request to the host for each en-
abled autoanswer port not currently active (such as a port waiting for a
phone call). The host can then time window port configurations, see pages
2-14 and 2-18. 8192 Cyclic Redundancy Check (CRC) is “on”. (Async only) If CRC is “on”, the
controller appends two CRC characters to the end of the upload data (type
0) records. The host is also expected to append two characters to the end
of download data blocks (type 0).
System Configuration File – CONFIG.NCC
Configuration parameters for the controller are stored on the system diskette in a file called CONFIG.NCC. Most of the CONFIG.NCC parameters can be modified with the front panel user interface.
CONFIG.NCC is a DOS-compatible ASCII file. The file is composed of records which are delimited by a CR and LF character. Each record in the file begins with a 1-byte re­cord identifier in the first column, which is followed by re­quired or optional parameters.
Required parameters are separated by commas and may be null. Optional parameters are preceded by a dash and 1-byte parameter type.
Numeric parameters are enclosed in [ ] brackets. Character parameters are enclosed in double quotes. Optional param­eters are enclosed in [ ] brackets. Comment lines are pre­ceded by an *.
"
NOTE: The CONFIG.NCC parameters are not intended to be directly modi-
fied by the user and are not defined in this guide.
2-46 Model 4980 Network Controller Programmer’s Guide
Page 69
SECTION 2 File Structures
Valid record formats are illustrated below.
*This is a comment record * S,[system mode],”8-character identifier” * *–p– records define ports port 0 – the host port. * P,[minor] * *–T– records define the port type. * T,[type],[run mode],”name”,”command line parms” * *–A– records store activation parameters for the port. * A,[type],{activation parameters} * *–L– records load modules (for example a port driver) * L,”name” * *–R– records execute modules. * R,[run mode],[0],”name”,”command line parms” * *port 1 the first logical hand-held computer port. * P,[minor[ T,[type],[run mode],”name”,”command line parms” A,[type],{activation parameters} L,”name” R,[run mode],[priority],”name”,”command line parms” * *Note: up to two types (ADCCP and TTY) can be defined. * T,[type],[run mode],”name”,”command line parms” A,[type],{activation parameters} L,”name” R,[run mode],[priority],”name”,”command line parms” * *Port 2 – the second logical hand-held computer port * P,[minor[ T,[type],[run mode],”name”,”command line parms” A,[type],{activation parameters} L,”name” R,[run mode],[priority],”name”,”command line parms” * *Port 3 is not defined *
Model 4980 Network Controller Programmer’s Guide 2-47
Page 70
Controller Error Status Codes
End of Session Status Codes
An End of session record is sent to the host at the end of each hand-held computer session. End of session status codes are ASCII or EBCDIC numeric characters and are listed below.
Table 2-19
End of Session Status Codes
Code Description
0 Good status 1 Abort. The port connection was lost. 4 Disconnect. The session was disconnected, probably
due to a datalink protocol error.
8 Hand-held computer logic error. The hand-held com-
puter detected a logic error in the file transfer process. Status information from the hand-held computer fol­lows the status code.
SECTION 2File Structures
Activate Request Status Codes
An activate request record is sent to the host whenever a port is inactive. The request contains a status code indicat­ing the state of the previous activation attempt or connec­tion. The status codes are ASCII or EBCDIC numeric char­acters and are listed below.
Table 2-20
Activate Request Status Codes
Code Description
0 No status (first request only) 1 Abort. The physical connection was lost. A port deacti-
vates normally with an abort status when no hand-held computers are active on the port.
2-48 Model 4980 Network Controller Programmer’s Guide
Page 71
SECTION 2 File Structures
Table 2-20 (Continued)
Activate Request Status Codes
Code Description
2 No answer. 3 Modem configuration error or bad modem status. 4 Disconnect. 5 Activation parameter error. 6 General port activation error. 7 Autoanswer timeout. If a timeout is defined for a hand-
held computer port, and the timeout period expires with no activity, the port deactivates with a timeout status code.
9 Line busy.
Host File Directive Status Codes
Currently, four types of file directives are implemented on the controller. After a directive is completed, successfully or unsuccessfully, the controller sends a directive status record to the host containing the directive type and a 1-byte status code. The status codes for the file processing directives are ASCII or EBCDIC 1-byte characters and are listed below.
Table 2-21
Host File Directive Status Codes
Code Description
0 Good status A File open error. B File read error. C File write error. D The maximum number of files exceeded on a create op-
eration.
Model 4980 Network Controller Programmer’s Guide 2-49
Page 72
SECTION 2File Structures
Table 2-21 (Continued)
Host File Directive Status Codes
Code Description
E The maximum number of open files exceeded on a file
open operation. F File not found error. G Bad file handle (internal only). H File in use error. A file cannot be overwritten with a
create operation or deleted while it is in use. This situ-
ation could occur if a file was used to boot a hand-held
computer when the host attempted to recreate the file. I File not open error (internal only). J File allocation error. K End of file (internal only). L File directory error.
2-50 Model 4980 Network Controller Programmer’s Guide
Page 73
Section 3
Equipment Interfaces
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
Modem Support
The controller supports a number of Hayes-compatible mo­dem types with respect to configuration and autodial. Any support provided is subject to changes made in the modem interface by the modem vendor.
Currently, supported modems are as follows:
" 0 No modem/unsupported modem " 1 NORAND " 2 NORAND NM2400 — TTY only " 3 Hayes 1200 " 4 Hayes 2400 " 5 Codex 2260 " 6 NORAND 9600 V.32
The NORAND NM2400 is supported for TTY communica­tions only. Automatic fallback is not supported for the NM2400. The NM2400 must be configured for Hayes mode communications.
R
NM2400A
Model 4980 Network Controller Programmer’s Guide 3-1
Page 74
SECTION 1Equipment Interfaces
If a modem type is defined for a controller port, the control­ler follows the following steps each time the port is acti­vated:
1. A reset string is sent to the modem. The reset string is currently “AT&F” for all modem types.
2. A string is sent to the modem to disable command echoing and to set the modem response mode. The controller recognizes only digital responses. Current­ly, the response mode string is “ATE0X4V0” for all mo­dem types.
3. An “AT” is sent to the modem to determine whether the modem is responding correctly.
4. A configuration string is sent to the modem. The de­fault configuration string depends on the modem type and can be found in Table 3-1.
5. If a phone number dial sequence is sent as an activa­tion parameter, the controller prefixes “ATD” to the dial sequence and sends the sequence to the modem.
" Begin the dial sequence with a “T” or “P” to speci-
fy tone or pulse dial respectively.
" A “W” embedded in the dial digits inserts an ar-
bitrary wait.
" A “P” embedded in the dial digits forces the mo-
dem to wait for a second dial tone.
The “W” is the recommended method for inserting a pause for a second dial tone.
EXAMPLE: T9W13128880000
The leading “T” indicates a tone dial. The embedded “W” tells the modem to wait. This allows you to use phones which require a spe­cial number to be dialed before connecting you to an outside line.
6. On ADCCP ports only. “ATS0=0” is sent to disabled autoanswer on the port when the port is inactive. Au­toanswer is automatically disabled on TTY ports when the port is inactive.
3-2 Model 4980 Network Controller Programmer’s Guide
Page 75
SECTION 3 Equipment Interfaces
Table 3-1 lists the default configuration string and configu­ration speed for each modem type for ADCCP and TTY ports.
Table 3-1
Configuration Strings for Modems
Port Type
ADCCP 1 2400 AT&C1&M1&R1S0=1 ADCCP 2 2400 AT&C1&M1&R1S0=1 ADCCP 3 1200 AT&C1&M1&R1S0=1 ADCCP 4 2400 AT&C1&M1&R1S0=1 ADCCP 5 9600 AT&C1&M1&R1*AA5S0=1 ADCCP 6 9600 AT&C1&D2&M1&R1S0=1 TTY 1 2400 AT&C1&D2&M0&R1S0=1 TTY 2 2400 AT&C1&D2&M0&R1S0=1 TTY 3 1200 AT&C1&D2&M0&R1S0=1 TTY 4 2400 AT&C1&D2&M0&R1S0=1 TTY 5 9600 AT&C1&D2&M0&R*AA5S0=1 TTY 6 9600 AT&S1&C1&D2&M0&RS0=1
Modem Type
Config. Speed Configuration String
Both ADCCP and TTY ports fall back to the connect speed of the modems automatically. Note that a NORAND 9600 V.32 modem can connect to another NORAND 9600 V.32 modem or to a NORAND NM2400A. Also, a NORAND NM2400A can connect to another 2400A or to a NORAND full-duplex 1200-bps acoustic coupler.
Model 4980 Network Controller Programmer’s Guide 3-3
Page 76
Front Panel Run-Time Display
The front panel display on the controller records the status and type of each port on the controller. The display speci­fies:
" The logical port number of each port implicitly. " The physical connector to which each logical port is
assigned.
" The type of each port. " The state of each port.
The display for each port is four columns wide by two rows long.
" The ports are displayed in logical port order from left
to right. The first port is always the host port. Hand­held computer ports 1–3 follow.
" The left-most character in the first row for each port
specifies the physical connector to which the port is connected. The connectors are labeled “A”, “B”, “C”, or “D”. “A” refers to the 15-pin connector labeled “A” and the two 9-pin connectors labeled “LAN1” and “LAN2”, since all three connectors are attached to the same in­ternal port.
SECTION 3Equipment Interfaces
If the port type is LAN, then the LAN connectors are automatically selected. Otherwise, the 15-pin RS-232 connector is selected.
" The type of each port is specified in character positions
“2” and “3” in the first row for each port. Position “3” specifies the alternate port type for ADCCP/TTY ports.
Possible port types are:
" 0 Bisynchronous host " 3 TTY " 1 Asynchronous host " 4 LAN (NPCP) " 2 Primary ADCCP " 5 Secondary ADCCP
3-4 Model 4980 Network Controller Programmer’s Guide
Page 77
SECTION 3 Equipment Interfaces
" The state of each port is specified in character position
“1–3” in the second row for each port. Possible states are:
" OFF Disabled status " INA Inactive status " RDY on a host port. Indicates that the port is
ready to connect to the host. The host cannot begin a session with the controller until the status is RDY.
" RDY on a hand-held computer port. Indicates
that a hand-held computer is ready to communicate on a hand-held computer port of a remote controller.
" ACT Active status. A port is active when a
hand-held computer attached to the port has established a session with the host.
B5 A4 C32 D RDYRDYINA OFF
In the above sample:
" The host port is configured as secondary ADCCP and
is attached to the 15-pin connector labeled “B” on the back of the controller. The port is in a “ready” state.
" Port 1 is configured for the LAN and must be attached
to the 9-pin connectors labeled “LAN1” and “LAN2”. (The connectors are tied together and are identical, except that LAN1 provides power to terminals in a multidock.) The port is in a “ready” state which indi­cates that a hand-held computer on the LAN is ready to begin a session with the host computer.
" Port 2 is a TTY/ADCCP port attached to connector “C”
and is inactive. The primary type is TTY and the al­ternate type is ADCCP.
" Port 3 is disabled.
Model 4980 Network Controller Programmer’s Guide 3-5
Page 78
SECTION 3Equipment Interfaces
3-6 Model 4980 Network Controller Programmer’s Guide
Page 79
Section 4
Other Features
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
This section covers several of the more advanced processes and features that are available with the controller.
Controller-Based File Processing
The controller can store up to 30 data files on the system diskette. The total file size must not exceed 240K. The data files may include files which boot hand-held comput­ers.
The files are stored in a directory named “DATA”. A direc­tory file, NCDIR.NCC, contains a 32-byte directory entry for each data file in the DATA directory.
Model 4980 Network Controller Programmer’s Guide 4-1
Page 80
SECTION 1Other Features
The following is the format of a single directory entry:
Table 4-1
NCDIR.NCC Directory Entries
Position Bytes Description
1 8 DOS compatible filename (Required) 9 3 DOS compatible file extension
(Required field)
12 6 Date field (YYMMDD) 18 4 Military 24-hour time (HHMM) 22 2 User-defined filler 24 1 User-defined file type “0” or blank – hand-
held computer boot file
25 1 Translation type (Required field)
" 0 or blank No translation " 1 Translate file data from
EBCDIC to ASCII as received from host computer
26 1 File status:
" 0 Defined (good) " 1 Undefined " 2 Deleted " 3 System
27 6 File length (in bytes) Required field
All data entry fields must contain ASCII character data.
"
NOTE: Directory entries which are sent in a file directive from an EBCDIC
host will be translated from EBCDIC to ASCII.
All the fields in a directory entry, except for the status field, are filled out by the user when the file is created.
The file status field indicates the current status of the file. The filename and extension fields, translation type field,
and file length field are required.
4-2 Model 4980 Network Controller Programmer’s Guide
Page 81
SECTION 4 Other Features
The filename and extension must be DOS compatible, left­justified, and padded with blanks. If an extension is not used, it must be blank.
The translation field applies only to file data which is sent from a host computer.
The file length field must contain the exact length of the file in bytes, must be right-justified, and padded to the left with leading zeros.
The date, time, fill, and type fields can be filled out as re­quired by the user. Future NORANDRsoftware products may use the fields as specified.
The following is a sample of a directory entry:
“MYFILE DAT8906222322 000001064”
The file in the example is called MYFILE.DAT, was created on June 22 at 11:22 p.m., has a good status, and is 1064 by­tes long.
Directory entries are maintained in a file in the DATA di­rectory called NCDIR.NNN. The file contains 32-byte re­cords with one directory entry per record. A blank directory entry must mark the end of the file.
Files on the controller can be maintained by the host com­puter, if “file processing” is enabled (with the controller front panel interface or with an initialization record param­eter).
The controller provides three file directives for this purpose:
" Upload " Create/load " Delete
If file processing is enabled, the host will have the opportu­nity to update controller files at the beginning of each host­to-controller session.
After the host sends the initialization record, the controller will send file requests to the host until the host responds
Model 4980 Network Controller Programmer’s Guide 4-3
Page 82
with an end-of-data record. The host may respond to a file request with any of the three directives listed previously.
Typically, the host will use an “upload” directive to obtain the NCDIR.NCC directory file for comparison with a direc­tory maintained on the host computer.
"
NOTE: The directory is sorted and sent in “upload data” records. The host
then uses “delete” and “create” directives to update the controller files.
EXAMPLE: The following is an example of a file processing session:
HOST CONTROLLER
<–––––––– File processing request
NCDIR.NCC upload directive
––––––––> <–––––––– Data record <–––––––– Data record <–––––––– Directive status record <–––––––– File processing request
Delete directive ––––––––>
<–––––––– Directive status record <–––––––– File processing request
Create directive ––––––––>
<–––––––– Data request
Data record ––––––––>
. . . . <–––––––– Data request
End-of-data record ––––––––>
<–––––––– Directive status record <–––––––– File processing request
End-of-data record ––––––––>
SECTION 4Other Features
"
NOTE: “Create” directives must contain a directory entry, and “delete” and
“upload” directives must contain a filename and extension as speci­fied on pages 2-8 and 2-14.
"
NOTE: The last data record for a file must be padded with blanks if the file
length is not an even multiple of 256. The pad should not be in­cluded in the file length field in the directory entry for the file.
4-4 Model 4980 Network Controller Programmer’s Guide
Page 83
SECTION 4 Other Features
Booting Hand-Held Computers from the Controller
The controller can boot 4000 Series Hand-Held Computers in the LAN environment with a list of files kept in a file named NETRPL.LST.
NETRPL.LST is a data file in the controller “DATA”directo­ry which as 11-byte records. Each record contains an 8-byte filename and 3-byte extensions.
A blank filename terminates the list of files. When the “boot option” is in effect, the controller attempts
to send all the files specified in NETRPL.LST to any termi­nal on the attached LAN trying to boot.
Normally, NETRPL.LST and the associated boot files are copied onto the controller’s system disk with a utility pro­vided by us. However, the host computer can maintain NETRPL.LST and the boot files with the facilities described on page 4-1.
"
NOTE: The controller’s system disk can be damaged or left in an undefined
state if the controller loses power while files are updated. It is the user’s responsibility to ensure that a backup copy of the controller’s system disk is always available.
Autodialing from a Remote Controller
A remote controller can be configured to automatically dial a host controller. Note: The host port is always defined as Secondary ADCCP on a remote controller.
Autodial is enabled if a phone number and valid modem type are entered via the front panel user interface.
Model 4980 Network Controller Programmer’s Guide 4-5
Page 84
SECTION 4Other Features
The user must enter a primary phone number and can op­tionally enter a secondary phone number. If a secondary phone number is entered, the controller will toggle to the second phone number whenever the first phone number fails to connect. The same (primary or secondary) phone number is used as long as a successful connection is made with that number.
The remote autodial can be configured with or without a dial time window.
To define a dial-time window, enter a dial-time and a cutoff time in HHMM 24-hour format via the front panel user in­terface.
If a time window is not defined, the controller dials whenev­er an attached hand-held computer is ready to communi­cate. If a time window is defined the controller dials only in the defined window when an attached hand-held computer is ready.
If the dial time equals the cutoff time or if the dial time is “0000”, then no dial window is used. If the cutoff time is less than the dial time, then the window spans midnight.
EXAMPLE: If the dial time is 2300 and the cutoff time is 0300, then the controller
dials the phone only from 11 p.m. until 3 a.m. when a hand-held com­puter is ready.
While the controller is waiting for the dial time to be reached, the following screen appears on the front panel:
system time:hhmm dial:hhmm – hhmm
The current system time displays on the first line and the dial window displays on the second line. When this screen is displayed, the user may press <ENT> to force an early dial.
4-6 Model 4980 Network Controller Programmer’s Guide
Page 85
SECTION 4 Other Features
The following screen appears:
ENT to dial CLR to wait
If <ENT> is pressed, the controller dials immediately. If [CLR] is pressed, the controller returns to the first display and waits for the dial time to arrive.
This feature can implement a “send data” function on the controller similar to the “send data” function on a NORAND NM277.
The controller waits 10 to 7200 seconds between dial at­tempts. The retry wait time can be specified with the user interface. The default wait time is 20 seconds, but a longer time is recommended. When the controller is waiting be­tween attempts, the following screen displays:
dial retry wait ?? seconds
?? is replaced by the remaining wait time in seconds. Note that the retry wait time is not intended to provide an accu­rate dial window, but is rather intended to reduce the num­ber of total dial attempts.
Model 4980 Network Controller Programmer’s Guide 4-7
Page 86
SECTION 4Other Features
4-8 Model 4980 Network Controller Programmer’s Guide
Page 87
Section 5
Front Panel User Interface
" " " " " " " " " " " " " " " " " " " " " " " " " " " "
The Model 4980 Network Communications Controller ships with a default configuration. After it is installed, you can reconfigure the controller with the user interface.
This section explains how to set the various options from the front panel user interface. It includes a map of the en­tire menu series and describes how to move through the various menus, how to select a function, and how to use the editing features to change a parameter.
Model 4980 Network Controller Programmer’s Guide 5-1
Page 88
SECTION 1Front Panel User Interface
Down
Up
Right
Left
Figure 5-1
Navigating the Menus
5-2 Model 4980 Network Controller Programmer’s Guide
Page 89
SECTION 5 Front Panel User Interface
Navigating the Menus
You reach the controller’s options by moving through a se­ries of menus displayed on the screen.
The menu system is hierarchical. You can move from one menu level down through a series of subordinate menus un­til you reach specific operating parameters. You can return to a higher level menu from any lower level and you can view options in a particular menu.
Down Arrow: Means “Yes” or “Enter”. Has the same
meaning and function as the [ENT] key.
Up Arrow: Returns from a lower level display to a
higher level display.
Right and Left Arrows:
View displays on the same level.
Model 4980 Network Controller Programmer’s Guide 5-3
Page 90
SECTION 5Front Panel User Interface
PARTA
Change Password?
99.99 SNA V99.99
All Parameters?
99.99 SNA V99.99
Set Date/Time?
99.99 SNA V99.99
PASSWD XXXXXX
All Parameters?
Configure?
All Parameters?
Go to Figure 5-3
Choose 1
Log Port 1?
Configure?
Host Port?
Configure?
LAN
Log Port 1?
TTY
Log Port 1?
PART B
Go to Figure 5-3
Parity?
TTY
Modem?
TTY
None
Parity?
9600
Modem?
None
Modem?
Yes
MNP Enable?
Phone Entries?
99.99 SNA V99.99
Run?
99.99 SNA V99.99
Ymodem Port?
Configure?
System Parms?
Configure?
ADCCP
Log Port 1?
None
Log Port 1?
Figure 5-2
TTY Specific Parameters Overview Part 1
5-4 Model 4980 Network Controller Programmer’s Guide
Transparent?
TTY
Physical Port?
TTY
No
Transparent?
Page 91
SECTION 5 Front Panel User Interface
(Log Port n Alt)?
Configure?
Single TCOM?
TTY
(Log Port n)?
Configure?
Speed?
TTY
Log Port 1 Alt?
Configure?
Parity?
TTY
Choose 1
Log Port 1?
Configure?
PART B
From Figure 5-2
No
Single TCOM?
2400
Speed?
None
Parity?
PARTA
From Figure 5-2
TTY Specific Parameters Overview Part 2
Figure 5-3
Model 4980 Network Controller Programmer’s Guide 5-5
Page 92
SECTION 5Front Panel User Interface
PARTA
Change Password?
99.99 SNA V99.99
All Parameters?
99.99 SNA V99.99
Set Date/Time?
99.99 SNA V99.99
PASSWD XXXXXX
All Parameters?
Configure?
All Parameters?
Go to Figure 5-5
Choose 1Choose 1
Log Port 1?
Configure?
Host Port?
Configure?
Async
Host Port?
Bisync
Host Port?
Stop Bits?
Async
Parity?
Async
Speed?
Async
1
Stop Bits?
None
Parity?
9600
Speed?
PART B
Go to Figure 5-5
Dial Time?
Sec ADCCP
Retry Wait?
Sec ADCCP
0000
Dial Time?
20
Retry Wait?
Phone Entries?
99.99 SNA V99.99
Run?
99.99 SNA V99.99
Ymodem Port?
Configure?
System Parms?
Configure?
SNA 3270
Host Port?
Sec ADCCP
Host Port?
Figure 5-4
ASYNC and Secondary ADCCP Parameters Overview Part 1
5-6 Model 4980 Network Controller Programmer’s Guide
Physical Port?
Async
Secondary Ph#?
Sec ADCCP
Primary Ph#?
Sec ADCCP
Page 93
SECTION 5 Front Panel User Interface
PARTA
(Log Port n Alt)?
Configure?
(Log Port n)?
Configure?
Log Port 1 Alt?
Configure?
Log Port 1?
Configure?
Go to Figure 5-6
TTY
Log Port 1?
ADCCP
Log Port 1?
Choose 1
None
Log Port 1?
PART B
Go to Figure 5-6
Sec ADCCP
Modem?
ADCCP
# Chans?
ADCCP
Transparent?
ADCCP
None
Modem?
Sec ADCCP
2
# Chans?
Sec ADCCP
No
Transparent?
PART C
Go to Figure 5-6
Physical Port?
Dial+Answer?
Cutoff Time?
No
Dial+Answer?
0000
Cutoff Time?
PARTA
From Figure 5-4
Physical Port?
ADCCP
ASYNC and Secondary ADCCP Parameters Overview Part 2
PART B
Dial Time?
Sec ADCCP
From Figure 5-4
0000
Dial Time?
Figure 5-5
Model 4980 Network Controller Programmer’s Guide 5-7
Page 94
SECTION 5Front Panel User Interface
LAN Timeout?
LAN
# Chans?
LAN
LAN
Log Port 1?
Transparent?
LAN
60
LAN Timeout?
Speed?
ADCCP
2
# Chans?
Max Address?
ADCCP
No
Transparent?
Modem?
ADCCP
EXT
Speed?
4
Max Address?
None
Modem?
Speed?
Sec ADCCP
Modem?
Sec ADCCP
Physical Port?
Sec ADCCP
Ext
Speed?
NM2400A
Modem?
TTY
Log Port 1?
PARTA
From Figure 5-5
PART B
From Figure 5-5
Figure 5-6
ASYNC and Secondary ADCCP Parameters Overview Part 3
5-8 Model 4980 Network Controller Programmer’s Guide
PART C
From Figure 5-5
Page 95
SECTION 5 Front Panel User Interface
PARTA
Change Password?
99.99 V99.99
All Parameters?
99.99 V99.99
Set Date/Time?
99.99 V99.99
PASSWD XXXXXX
All Parameters?
Configure?
All Parameters?
Go to Figure 5-8
Log Port 1?
Configure?
Host Port?
Configure?
Choose 1
Yes?
Ymodem Port?
Speed?
Ymodem
Modem?
Ymodem
Physical Port?
Ymodem
2400
Speed?
None
Modem?
Port D
Physical Port?
Mode?
Mode?
Compatibility?
Compatibility?
Compatibility?
Direct Conn?
Direct Conn?
PART B
Go to Figure 5-8
No
Yes
No
Phone Entries?
99.99 V99.99
Run SNA?
99.99 V99.99
Ymodem Port?
Configure?
System Parms?
Configure?
No?
Ymodem Port?
ID?
System Parms?
Mode?
System Parms?
Figure 5-7
YModem, Bisync, 3270 SNA, and System Parameters Overview Part 1
Model 4980 Network Controller Programmer’s Guide 5-9
Forced Answer?
Mode?
File Proc?
Mode?
No
Fprced Answer?
No
File Proc?
Page 96
SECTION 5Front Panel User Interface
PARTA
(Log Port n Alt)?
Configure?
(Log Port n)?
Configure?
Log Port 1 Alt?
Configure?
Go to Figure 5-9
Bisync
Host Port?
PARTA
Physical Port?
Bisync
SDLC Options
SNA 3270
PART B
Go to Figure 5-9
Rem Actv Req?
NRZI Encoding
SDLC Options
SDLC XID?
SDLC Options
No
NRZI Encoding
= 1 01H
XID Byte 1
= 127 7FH
XID Byte 2
= 192 C0H
XID Byte 3
= 1 01H
XID Byte 4
Compatibility?
Remote ID?
Compatibility?
No
Rem Actv Req?
No
Remote ID?
From Figure 5-7
Log Port 1?
Configure?
Choose 1
Host Port?
Configure?
SNA 3270
Host Port?
Sec ADCCP
Host Port?
Physical Port?
SNA 3270
Clocking
SDLC Options
SDLC Address
SDLC Options
Ext
Clocking
= 3 034
Address (1 - 254)
Figure 5-8
YModem, Bisync, 3270 SNA, and System Parameters Overview Part 2
5-10 Model 4980 Network Controller Programmer’s Guide
Local ID?
Compatibility?
PART B
No
Compatibility?
From Figure 5-7
2 Byte Chan?
Compatibility?
No
Local ID?
No
2 Byte Chan?
Page 97
SECTION 5 Front Panel User Interface
ASCII
Host Type?
Host Type?
Bisync
Host Timeout?
Bisync
Async
Host Port?
Bisync
Host Port?
Speed?
Bisync
Physical Port?
Bisync
EBCDIC
Host Type?
15 secs
Host Timeout?
Ext
Speed?
PARTA
From Figure 5-8
No
Transparent?
Timeout?
SDLC Options
MAX Frame?
SDLC Options
NRZI Encoding
SDLC Options
None
Timeout?
265
MAX Frame?
PART B
From Figure 5-8
No
NRZI Encoding
YModem, Bisync, 3270 SNA, and System Parameters Overview Part 3
Figure 5-9
Model 4980 Network Controller Programmer’s Guide 5-11
Page 98
SECTION 5Front Panel User Interface
The previous pages show complete menus. Each block rep-
resents a menu option. Each horizontal group of two or more blocks represents a menu. Information is given in a hierarchical format, i.e. the menu that lets you access the port parameter options is “lower” than the menu that lets you access the date and time options.
These Figures show options in the order they appear if you view them using the RIGHT arrow, i.e. the “Run” option appears before the “Set Parms” option.
Some options only appear with another selected option, i.e. “Phone Entries” appear in the top level menu when the host port type is Secondary ADCCP.
Not shown: “Phone entries” and “Logging Off”.
1. Use the RIGHT or LEFT arrow until the “All Param­eters” option appears.
2. Use the DOWN arrow to move to “System Parms”.
3. Use the RIGHT or LEFT arrow to reach the menu.
ABC DEF GHI
1 2 3
JKL
MNO
4 5 6
STU VWX YZ.
7 8 9
CLR
Figure 5-10
Front Panel of 4980 Controller
5-12 Model 4980 Network Controller Programmer’s Guide
0
PQR
ENT
Page 99
SECTION 5 Front Panel User Interface
Selecting and Changing a Value Option
Select specific options from the lower level menus. The con­troller shows you the current value for that option.
You type new information to change some options. Other options are assigned a limited number of values: you scroll through specific choices and select one. The instructions that follow tell you which action to take.
" Select a menu option:
At a menu level, press the DOWN arrow or [ENT] to reach the option to be changed.
" List of choices:
Press the RIGHT or LEFT arrow to see the choices and use the DOWN arrow or [ENT] to select one.
" Alphabetic characters:
Scroll through the alphabet with the RIGHT or LEFT arrow. Press [ENT] to accept the letter.
" Numbers:
Press keypad keys.
" Accept changes:
Press [ENT] or the DOWN arrow.
" Cancel changes:
Press the UP arrow.
Conventions
The procedures tell you how to set the controller’s options. They show you how to reach the appropriate menu options and explain the choices you have for each option. Each pro­cedure includes a diagram of the path through the menus to the correct options.
Model 4980 Network Controller Programmer’s Guide 5-13
Page 100
SECTION 5Front Panel User Interface
Change Password?
99.99 SNA V99.99
All Parameters?
99.99 SNA V99.99
PASSWD XXXXXX
All Parameters?
Set Date/Time?
99.99 SNA V99.99
Phone Entries?
99.99 SNA V99.99
Run?
99.99 SNA V99.99
Figure 5-11
Logging On Parameters
5-14 Model 4980 Network Controller Programmer’s Guide
Loading...