" NOTICEThe information contained herein is proprietary and is provided solely for the
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.
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 configuration 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 connected to a customer’s host computer and provides a gateway through which data and data requests pass from remote 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 handheld computers and a “gateway” controller. Section 1 provides a pictorial representation of several possible configurations.
A host telecommunication program and associated support
programs are required to interface to a 4980 network communications 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 Guide1
Page 10
Introduction
The host telecommunications program initializes the controller 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 replace 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 network, 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 parameters 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.
2Model 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 covered.
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 Guide3
Page 12
Introduction
4Model 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 controllers. All data sent to the host from a controller is prefixed 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
101TTYModem, lockbox w/NM602 or NM277, direct connect
121/141TTYModem, lockbox w/NM602 or NM277, direct connect
121/141ADCCPModem, Multi-Quad Lockbox (MQL), direct connect
4000TTYModem (single dock), direct connect
4000NPCPSingle or multidock directly connected to a controller
Protocol
OptionEnvironment
Model 4980 Network Controller Programmer’s Guide1-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 terminal 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 established, the communications sessions for all of the handheld computer types are identical.
The communication session for a hand-held computer, currently, consists of:
" An “upload”
" A “download”
" An “end-of-session” from the hand-held computer
Typically, the hand-held computer sends identification information 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 record 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.
If automatic modem configuration and auto-dialing is desired, 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 supplied by the host computer during the host-to-controller
communications session. The user can ensure that the correct 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 possible configurations for controller ports and the environments to which the ports can connect.
3TTY101/121/141 Hand-Held Computer (modem, direct connect, or
2/3TTY or
ADCCP
4NPCP
(LAN)
5Secondary
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 (modem 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 hostto-controller communications session.
RS-485 Direct Connect to 4000 Series in single dock or multidock.
Primary ADCCP port on a host controller.
Model 4980 Network Controller Programmer’s Guide1-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 Local 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 transparent 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:
ADCCP/TTY -- to remote site
ADCCP/TTY -- to remote site
ADCCP/TTY -- to remote site
Page 17
SECTION 1Getting 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 Guide1-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 computer ports: an NPCP LAN port and a primary ADCCP
port. The primary ADCCP port is shown connected to a remote 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
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 controllers 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 internal 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 respectively.
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 assigned to any one of the four physical ports. Several datalink 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 Guide1-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 associated with the internal physical port labeled “A”, and the external 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 communicates 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 dynamically toggled between the two protocols under the direction 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 channel. The host TCOM program must maintain the state
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 controller (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 channel is an identification record. which contains a user-defined ID and configuration information for the remote controller. 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 1Hand-held computer channel
Position 2Record type
Position 3+Type-dependent
" Device channel enabled:
Position 1Device channel
Position 2Hand-held computer channel
Position 3Record 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 2File 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 2File 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. Actual 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
IDTypeDescription
0Upload DataThe hand-held computer sends contiguous upload data
records to the host on a logical channel.
1End of
Session
Status
2Data Request The hand-held computer sends a download data request
3Inactive
Status
4Active Status Active status records indicate a logical port status. The
5Activate
Request
6Special
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 2File Structures
Table 2-1 (Continued)
Controller-to-Host Record Types
Record
IDDescriptionType
7Directive
Status
8Identification 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
IDTypeDescription
1File requestFile requests obtain file processing information from the
host. The host responds with a file directive or an
end-of-data record.
2Deactivate
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
IDTypeDescription
0Download
Data
1End-of-dataThe host sends end-of-data records in response to a
2InitializationAn initialization record is sent at the beginning of a
3Activate
autoanswer
4Activate
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 computer on a logical channel.
download request from the controller. This indicates
that no more download data exists for this session. Endof-data records are also sent in response to a file request
to terminate file processing.
host/controller session to set the system mode parameters and default port activation parameters. See page
2-37.
The host sends an activate record in response to a request record. If the record contains a phone number parameter, an autodial is attempted, else the port is configured for autoanswer. Nonswitched (direct) connections
are considered to be autoanswer.
The host sends an activate record in response to a request record. If the record contains a phone number parameter, an autodial is attempted, else the port is set to
autoanswer. Nonswitched (direct) connections are considered to be autoanswer. The controller processes autoanswer 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 connection.
2-8 Model 4980 Network Controller Programmer’s Guide
Page 31
SECTION 2File Structures
Table 2-3 (Continued)
Host-to-Controller Records
Record
IDDescriptionType
5Deactivate
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.
6Host
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-controller session. The six subtypes are as follows:
Table 2-4
Host Directive Subtypes
Record
IDTypeDescription
1File upload
directive
2File
create/load
directive
3File 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
IDDescriptionType
4File
download
directive
5Deactivate
Directive
6File
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 receiving 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 processing 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 translated to EBCDIC for EBCDIC hosts. Hand-held computer
character data (in type 0 records) can optionally be translated.
2-10 Model 4980 Network Controller Programmer’s Guide
Page 33
SECTION 2File Structures
Table 2-5
Controller-to-Host Records
PositionBytesDescription
0 – Upload Data Record (258 bytes)
11Channel ID:“1–9”
21Record Type:“0”
3256Upload Data
1 – End of Session Status Record (257 bytes)
11Channel ID:“1–9”
21Record Type:“1”
31End of session status code. See page 2-48.
44Hand-held computer application status in-
formation.
81Local port identifier
9249Reserved for diagnostic information.
2 – Download data request record (2 bytes)
11Channel ID:“1–9”
21Record Type:“2”
3 – Inactive Status Record (2 bytes)
11Port ID:“1–3”
21Record Type:“3”
4 – Active Status Record (2 bytes)
11Port ID:“1–3”
21Record Type:“4”
5 – Activate Request and Status Record (7 bytes)
11Port ID:“1–3”
21Record Type:“5”
31Status code for previous port activation.
See page 2-48.
44Reserved for diagnostic information.
Model 4980 Network Controller Programmer’s Guide 2-11
Page 34
Table 2-5 (Continued)
Controller-to-Host Records
PositionDescriptionBytes
6 – Special Request Records (3 bytes)
11Channel ID:“1–9”
21Record Type:“6”
31Special request subtype:“1 or 2”
11Channel ID:“1–9”
21Record Type:“7”
31Status Type:“1–4”. The status type
equates to a host directive type.
41Directive status. See page 2-49.
53Reserved for diagnostic information.
8 – Controller ID Record (258 bytes)
11Channel ID:“1–9”
21Record Type:“8”
38Controller ID. This is the 0–8 character ID
that may be entered with the controller
keyboard.
1110Controller system data and time in
YYMMDDHHMM format.
215The 5-digit system mode. Refer to page
2-46.
265The controller’s system software version.
312Number of enabled ports on the controller,
including the host port.
3316Four 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.
48210Reserved.
SECTION 2File Structures
2-12 Model 4980 Network Controller Programmer’s Guide
Page 35
SECTION 2File 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 computer channels belong to the active device on the corresponding device channel.
Device channel “0” is reserved for the controller direct-connected to the host. Use channels “1–9” for remote controllers.
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
PositionBytesDescription
11Channel ID:“1–9”
21Hand-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 initialization 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 delimiter 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 delimiter is generally as follows:
" 1 to MRecord as defined.
" M+1 NOptional pad.
" N+1Optional end-of-record delimiter
“M” is the record length. “N” can be up to 261 bytes, therefore, 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 2File Structures
The host may also send two special commands to the controller. A question mark “?” and an asterisk “*”. A question
mark indicates the host is ready to receive data. The asterisk resets the controller, although the controller automatically 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 endof-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
PositionBytesDescription
0 – Download Data Record
11Beginning delimiter“/”
21Command code:“0”
3256Download data
259+Optional pad (up to 5 bytes)
1 – End-of-data Record
11Beginning delimiter“/”
21Command code:“1”
3256Filler
259+Optional pad (up to 5 bytes)
2 – Initialization Record
11Beginning delimiter“/”
21Command code:“2”
3256Optional 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
PositionDescriptionBytes
3 – Activate (autoanswer) Record
11Beginning delimiter“/”
21Command code:“3”
31This field can change the port type from
ADCCP/TTY to TTY/ADCCP for ports de-
fined for both ADCCP and TTY.
" BlankNo change
" 2Change to ADCCP
" 3Change to TTY
The default is the primary port type. See
page 2-42.
4255Optional 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
11Beginning delimiter“/”
21Command code:“4”
31This field can change the type from
ADCCP/TTY to TTY/ADCCP for ports de-
fined for both ADCCP and TTY.
" BlankNo change
" 2Change to ADCCP
" 3Change to TTY
The default is the primary port type. See
page 2-42.
4255Optional 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
11Beginning delimiter“/”
21Command code:“5”
2-16 Model 4980 Network Controller Programmer’s Guide
byte in length.
0No, do not deactivate
1Yes, deactivate the port
" 6Filler
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
PositionBytesDescription
? – Host Ready Command
11Question 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
11Asterisk:“*”
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 2File 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 “transparent”, 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 initialization record are sent in response to requests from the controller.
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 transmission mode is always transparent, even when only character 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
PositionBytesDescription
0 – Download Data Record
11Command code:“0”
2256Download data
Model 4980 Network Controller Programmer’s Guide 2-19
Page 42
Table 2-9 (Continued)
Bisync Host-to-Controller Records
PositionDescriptionBytes
1 – End-of-data Record
11Command code:“1”
2 – Initialization Record
11Command code:“2”
2256Optional initialization parameters list. The
list is terminated with a slash “/”. See page
2-37.
3 – Activate (autoanswer) Record
11Command code:“3”
21The port type field can change the port
type from ADCCP/TTY to TTY/ADCCP for
ports defined for both ADCCP and TTY.
" BlankNo change
" 2Change to ADCCP
" 3Change 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.
3255Optional 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 2File Structures
Table 2-9 (Continued)
Bisync Host-to-Controller Records
PositionDescriptionBytes
4 – Activate (autodial) Record
11Command code:“4”
21The port type field can change the port
type from ADCCP/TTY to TTY/ADCCP for
ports defined for both ADCCP and TTY.
" BlankNo change from current
" 2Change to ADCCP
" 3Change 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.
3255Optional activation list parameters. This
list terminates with a slash “/”. See page
2-23.
5 – Deactivate for One Minute Record
11Command code:“5”
6 – Host Directive Record
11Command code:“6”
21Directive type:“1–4”
" 1File upload directive
" 2File create/load directive
" 3File delete directive
" 4File download directive
3255Directive 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.
" 111-byte filename and extension
" 232-byte directory entry
" 311-byte filename and extension
" 411-byte filename and extension
Model 4980 Network Controller Programmer’s Guide 2-21
Page 44
SNA/SDLC Interface
The SNA 4980 Communication Controller Software emulates 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 formats of the data being sent and received are defined starting 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 application 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 2File 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 connection is needed.)
Set the clocking to “EXT” external if there is a clocking device 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 bytes, eight nibbles, must match the IDBLK and IDNUM definition on the physical unit statement where:
xxxyyyyy
xxx = IDBLK
yyyyy = IDNUM
NRZI Encoding – Select “yes” or “no” to match the definition on the VTAM gen.
Max Frame – Also known as MAXDATA on VTAM definitions. Either 265/532 can be used. 532 is preferred because
it increases efficiency.
Activation Record Parameters
Activation records are in the controller’s system configuration file, CONFIG.NCC which is found on the system startup diskette, or they are sent from the host to activate handheld computer ports.
The record layouts are specified in the host-to-controller record 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 section.
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 documented 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
ParameterDescription
–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 2File Structures
Type 1 – Asynchronous Host
(CONFIG.NCC only)
Table 2-11
Type 1 – Asynchronous Host
ParameterDescription
–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 isno parity/8 data bits. Valid values are:
" 0no parity/8 data bits
" 1odd parity/7 data bits
" 2even parity/7 data bits
–d[stopbits][stopbits] is a 1-digit numeric field which sets
the number of stop bits. Valid values are:
" 1one stop bit
" 2two stop bits
" 3one 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
ParameterDescription
–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 parameter to the mode. The following mode parameters are supported:
" 0All mode parameters are set off
" 4Disable 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 connects to hand-held computers using ADCCP in
MQLs. If [channels] is set to “2” the controller
can communicate with two hand-held computers in MQLs concurrently for increased efficiency. The default is one channel.
Valid values are “1” or “2”.
2-26 Model 4980 Network Controller Programmer’s Guide
Page 49
SECTION 2File Structures
Table 2-12 (Continued)
Type 2 – Primary ADCCP
ParameterDescription
–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 network is also the highest MQL slot number.
–f[block
timeout]
The highest address is “2” if the network consists 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
ParameterDescription
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 retries. 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.
" 0No 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 configuration string. No edit checking is done on
this field. Default values are specific to themodem and port type. See Section 3 on modem support for detailed information.
2-28 Model 4980 Network Controller Programmer’s Guide
Page 51
SECTION 2File Structures
Table 2-12 (Continued)
Type 2 – Primary ADCCP
ParameterDescription
–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 default.
–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 connection is not made, the port deactivates and the
host is prompted with another activate request
for the port. The default depends on the hostport type. If the host port configuration is secondary 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
ParameterDescription
–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 parameter to the mode. Currently the following
mode parameters are supported:
" 0All mode parameters are set off.
" 4Disable data translation on this port.
" 8Single 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:
" 0No parity/8 data bits
" 1Odd parity/7 data bits
" 2Even parity/7 data bits
" 3Odd parity/8 data bits
" 4Even parity/8 data bits
–d[stopbits][stopbits] is a 1-digit numeric field which sets
the number of stop bits. Valid values are:
" 1One stop bit
" 2Two stop bits
" 3One and one half stop bits
2-30 Model 4980 Network Controller Programmer’s Guide
Page 53
SECTION 2File Structures
Table 2-13 (Continued)
Type 3 – Primary TTY
ParameterDescription
–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 seconds).
–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 required 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 configuration string. No edit checking is done on
this field. Default values are specific to themodem and port type. See Section 3 on modem 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
ParameterDescription
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 connection is made, the port deactivates and the host
is prompted with another activate request for
the port. The default depends on the host porttype. If the host port configuration is secondary ADCCP, the default is 60 seconds. Otherwise, the default is zero, no timeout. Valid values are 0–3600.
2-32 Model 4980 Network Controller Programmer’s Guide
Page 55
SECTION 2File Structures
Type 4 – LAN (CONFIG.NCC or
Host Activation Parameters)
Table 2-14
Type 4 – LAN
ParameterDescription
–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 parameter to the mode. The following mode parameters are supported:
" 0All mode parameters are set off.
" 4Disable 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
ParameterDescription
–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 external 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 iszero. Valid values are 0–6. Zero indicates that
no modem or an unsupported modem is attached to the port. A supported type is required for autodialing.
–n[cfg str]This is a 1- to 40-byte alphanumeric field
which may contain a substitute modem configuration 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 2File Structures
Table 2-15 (Continued)
Type 5 – Secondary ADCCP Host
ParameterDescription
–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 specified, the controller switches to the other sequence 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
ParameterDescription
–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 attached hand-held computer is ready to TCOM.
The [ENT] key on the controller can be
pressed to start an early dial, when the controller 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 correctly before this feature is used.
–V[dial cutoff]
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 midnight.
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 2File 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 actual value of the parameter.
Model 4980 Network Controller Programmer’s Guide 2-37
Page 60
SECTION 2File Structures
Table 2-16
System Parameters
ParameterDescription
–s[system mode]This is a 1- to 5-digit numeric field adjust-
ing the operational mode for the controller. 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 supported:
" 0All mode parameters are set off
" 4Disable data translation on all
ports
" 32Enable the device channel
option (2-byte channel ID)
" 64Forward 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 controller 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 2File Structures
Table 2-16 (Continued)
System Parameters
ParameterDescription
" 1024 Forced autoanswer ON. This pa-
rameter applies only to remote controllers. When this parameter ison, aremote
controller will always answer the phone,
even when there are no attached handheld 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 autoanswer port not currently active (such as
port is 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)
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). 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-hourminute) 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 actual 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 parameters for each host type.
Table 2-17
Asynchronous Host
ParameterDescription
–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 noparity/8 data bits. Valid values are:
" 0No parity/8 data bits
" 1Odd parity/7 data bits
" 2Even 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:
" 1One stop bit
" 2Two stop bits
" 3One and one half stop bits
–e[delimiter]This is a 1- or 2-digit numeric field specifying
the collating sequence number of the character 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 include 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 2File Structures
Table 2-17 (Continued)
Asynchronous Host
ParameterDescription
–g[pad char]This is a 1- to 3-digit numeric field specifying
the collating sequence number of the character that should be used to pad short blocks
when a minimum block size is specified. Thedefault 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 character that the host sends to the controller to indicate it is ready to receive.
Example: –h17 could change the ready character to an XON character.
–i[read timeout]
This is a 2- or 3-digit numeric field specifying
the maximum time in seconds, that the controller waits for a response from the host. Valid 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 bisynchronous host.
Port Parameters
Port parameters change the activation defaults for handheld 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 successively, the last type named will be the current active type.
2-42 Model 4980 Network Controller Programmer’s Guide
Page 65
SECTION 2File 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 operational 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 parameters can be changed and how to change them. A majority 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:
" 0If a LAN port is not defined on the controller
" 8If a LAN port is defined
Table 2-18
System Mode Parameter Codes
ValueDescription
0All mode parameters are set off
1EBCDIC host. The controller automatically determines if the host is EB-
CDIC or ASCII if this field is not added in.
4Transparent 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 individual ports.
8Boot 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.
16Debug mode. This option is reserved for diagnostic use.
322-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 2File Structures
Table 2-18 (Continued)
System Mode Parameter Codes
Value Description
64Forwards ID records from remote controllers to the host. This option
must be “on” if the 2-byte channel option is enabled.
128Controller 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.
256Forwards 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.
512Local 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.
1024Force 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.
2048The 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
4096Deactivate 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.
8192Cyclic 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 record identifier in the first column, which is followed by required 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 parameters are enclosed in [ ] brackets. Comment lines are preceded 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 2File 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
0Good status
1Abort. The port connection was lost.
4Disconnect. The session was disconnected, probably
due to a datalink protocol error.
8Hand-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 follows 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 indicating the state of the previous activation attempt or connection. The status codes are ASCII or EBCDIC numeric characters and are listed below.
Table 2-20
Activate Request Status Codes
Code Description
0No status (first request only)
1Abort. 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 2File Structures
Table 2-20 (Continued)
Activate Request Status Codes
Code Description
2No answer.
3Modem configuration error or bad modem status.
4Disconnect.
5Activation parameter error.
6General port activation error.
7Autoanswer 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.
9Line 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
0Good status
AFile open error.
BFile read error.
CFile write error.
DThe 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
EThe maximum number of open files exceeded on a file
open operation.
FFile not found error.
GBad file handle (internal only).
HFile 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.
IFile not open error (internal only).
JFile allocation error.
KEnd of file (internal only).
LFile 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 modem types with respect to configuration and autodial. Any
support provided is subject to changes made in the modem
interface by the modem vendor.
The NORAND NM2400 is supported for TTY communications 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 controller follows the following steps each time the port is activated:
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. Currently, the response mode string is “ATE0X4V0” for all modem 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 default 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 activation 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 special 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. Autoanswer is automatically disabled on TTY ports when
the port is inactive.
3-2 Model 4980 Network Controller Programmer’s Guide
Page 75
SECTION 3Equipment Interfaces
Table 3-1 lists the default configuration string and configuration speed for each modem type for ADCCP and TTY
ports.
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 specifies:
" 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. Handheld 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 internal 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.
3-4 Model 4980 Network Controller Programmer’s Guide
Page 77
SECTION 3Equipment Interfaces
" The state of each port is specified in character position
“1–3” in the second row for each port. Possible states
are:
" OFFDisabled status
" INAInactive status
" RDYon 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.
" RDYon 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.
" ACTActive 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 indicates 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 alternate 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 computers.
The files are stored in a directory named “DATA”. A directory 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:
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 4Other Features
The filename and extension must be DOS compatible, leftjustified, 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 required by the user. Future NORANDRsoftware products
may use the fields as specified.
The following is a sample of a directory entry:
“MYFILEDAT8906222322 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 bytes long.
Directory entries are maintained in a file in the DATA directory called NCDIR.NNN. The file contains 32-byte records 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 computer, if “file processing” is enabled (with the controller
front panel interface or with an initialization record parameter).
The controller provides three file directives for this purpose:
" Upload
" Create/load
" Delete
If file processing is enabled, the host will have the opportunity to update controller files at the beginning of each hostto-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 directory 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:
HOSTCONTROLLER
<––––––––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 specified 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 included in the file length field in the directory entry for the file.
4-4 Model 4980 Network Controller Programmer’s Guide
Page 83
SECTION 4Other 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”directory 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 terminal 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 provided 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 optionally 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 interface.
If a time window is not defined, the controller dials whenever an attached hand-held computer is ready to communicate. 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 computer 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 4Other 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 attempts. 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 between 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 accurate dial window, but is rather intended to reduce the number 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 entire 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 5Front Panel User Interface
Navigating the Menus
You reach the controller’s options by moving through a series 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 until 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 5Front 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 5Front 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 5Front Panel User Interface
PARTA
Change Password?
99.99V99.99
All Parameters?
99.99V99.99
Set Date/Time?
99.99V99.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.99V99.99
Run SNA?
99.99V99.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
= 101H
XID Byte 1
= 127 7FH
XID Byte 2
= 192 C0H
XID Byte 3
= 101H
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 5Front 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 Parameters” option appears.
2. Use the DOWN arrow to move to “System Parms”.
3. Use the RIGHT or LEFT arrow to reach the menu.
ABCDEFGHI
123
JKL
MNO
456
STUVWXYZ.
789
CLR
Figure 5-10
Front Panel of 4980 Controller
5-12 Model 4980 Network Controller Programmer’s Guide
0
PQR
ENT
Page 99
SECTION 5Front Panel User Interface
Selecting and Changing a Value Option
Select specific options from the lower level menus. The controller 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 procedure 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...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.