Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 12 of 16

4985 Network Controller Programmer's Guide: Section 7: 4000 Series Warm Start System

Pages 95 to 100 of 130, from 4985 Network Controller Programmer's Guide

The original document is the PDF (762 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Norand Route Commander 4000 Series APU

Page 95

Section 7 4000 Series Warm Start System "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

Using the 4985 warm start system requires changing the Hand-Held Computer (HHC) application program. This change has two parts to implement: "

Automatic program updates

"

DWNLRQ file requests

The first change requires the application to overlay itself with an updated version. The second change requires the application to interpret a command file, directing the HHC to set up for a second session. The application then requests a program update from the DWNLRQ file server. The HHC application binds to the file server (NORAND_SERVER). Code the application to obtain new program files from the host when the files are not available from the server because the server is unavailable or the HHC attaches to a modem. " NOTE:

The 4000 Series HHC receive routine uses IPFRCV, and cannot pack 7-bit Zspace hex files. Therefore, any PL/N application implementing automatic program updates must use the 8-bit binary format. Consult the Nordev Toolkit, software kit #210-682-001.

Complete the following items before controller-based file processing can begin. Details follow: "

"

Set the ID on the remote controller. The default 4985 Controller ID is “49850000.” A unique ID is not required for each controller, but is recommended. Create a file maintenance list for each controller ID. 4985 Network Controller Programmer’s Guide

7-1

Page 96

SECTION 7

"

4000 Series Warm Start System

"

Create an HHC program load “command file” and add a program load request for each HHC. A single request can broadcast to all HHCs.

"

Build a session control file.

"

Set the current version number of the HHC application.

"

"

"

"

Copy the HHC application program files into the download directory. Copy the filenames specified as boot files into a boot list file for the associated controller device. Execute session control formatting (if using 4921 Series of PC Telecommunications Packages). The boot file list, created with the device ID as the filename, goes to the controller as NETRPL.LST. Convert the HHC program to support program updates and DWNLRQ program requests.

Once the warm start system is in place, distribute a new application by copying the program files into the DWNDIR directory.

Creating File Maintenance Lists " NOTE:

Many of the configuration specifics are related to the operation of the 4921 Series of PC Telecommunications Packages.

The host communications program needs to create file maintenance lists for the controllers. This file list associates with the controller ID in the host session control file. Create a file maintenance list for each remote controller ID, using a host session control file interface. Use a boot-type parameter to generate a boot list (NETRPL.LST) for the controller. EXAMPLE:

7-2

Host session control maintenance list

N

498500201 type=boot dir=bootdir

F pacxm0p type=data dir=dnldir

F pacx10p type=data dir=dnldir

4985 Network Controller Programmer’s Guide

Page 97

SECTION 7

F " "

"

"

"

4000 Series Warm Start System sysarc.exe Controller ID is “49850201” Type and dir parameters in the “N” record set default type (boot) and directory (bootdir), for the following files Pacx files (pacxm0- and pacx10p) represent modules in HHC PL/N application sysarc.exe file is self-extracting archive which contains HHC operating system files and kernel program

In this example, when an HHC is cold-started, it receives the SYSARC file. After the operating system file “boots” the HHC, it passes control over to the kernel program. The kernel program immediately sets up a telecommunications session with the DWNLRQ file server to request download of the application program and data files. The boot process is complete when control passes to the application. After the application is running, it overlays (warm starts) itself by passing control to a communications module. The communications module requests the new PACX files from the server. The warm start initiates from the host by scheduling a program load request for the HHC. " NOTE:

The controller file maintenance subsystem does more than boot and warm start files.

Your host communications program should provide a means for updating HHC application programs. A program version number and program load request can associate with HHC identifiers in the host session control file. The program load requests activate when the program version on the HHC does not match the program version number associated with the HHC identifier on the host. Program the application on the HHC to overlay itself if you want to support warm starting. You do not have to write the HHC application to support the DWNLRQ file server on the controller. If the HHC application does not support the DWNLRQ file server, direct the host communication program to download a new program to each HHC with an out-of-date application. 4985 Network Controller Programmer’s Guide

7-3

Page 98

SECTION 7

"

4000 Series Warm Start System

If the HHC application supports the DWNLRQ file server, direct the host communication program to download a command file to the HHC. This command file directs the HHC to set up for a second session to receive the set of program files specified in the command file. The DWNLRQ file server system provides a mechanism for 4000 and 6000 Series HHCs to request files from a locally attached NORANDR LAN controller. The session interface is identical to the interface that the HHCs use to communicate with a host computer. To access the server, the application must change the name of the target application to which it is binding from NORAND_HOST to NORAND_SERVER. The server expects file requests like PL/N DWNLRQ request files. <DDWNLRQ00003X016>MYDATA.DAT PMBNX0P PMBNG0P The server sends the files as requested until: "

A fatal communications error occurs

"

A file cannot be found

"

All files have been sent

The server supports MS-DOS filenames and extensions, but does not support a path name.

Setting Version Number Set the current version number of the HHC application. A version number can enter the mode or terminal identification records in the session control file. A version number on the mode record is global. A version number on the terminal identification record applies to a specific terminal. The terminal identification option is for multiple application support.

Converting HHC Application Programs Convert the HHC program to support program updates and DWNLRQ program requests. 7-4

4985 Network Controller Programmer’s Guide

Page 99

SECTION 7

"

4000 Series Warm Start System

Once the warm start system is in place, a new application distributes by copying the program files into the host download directory. Due to improvements in hardware design in remote data communication technology, the 4000 and 6000 Series HHCs maintain their operating system and programs in Random Access Memory (RAM) rather than in Read-Only Memory (ROM). Therefore, the HHCs must have the operating system, programs, and data sent to them when you cold boot them into service for the first time. There are two changes required before your HHC application can utilize the host-to-controller warm start system. The first change requires that the application can overlay itself with an updated version. The second change requires that the application can interpret a command file. The command file directs the HHC to set up immediately for a second session. Then the file requests a program update from a controller DWNLRQ file server. The HHC application can bind to the controller file server (NORAND_SERVER). Code the HHC application to obtain new program files from the host when the files are not available from the controller’s server. Either the controller has suffered a malfunction (causing it to lose the files from its memory), or the HHC attaches to a modem and uses TTY to communicate. The receive routine for the 4000 HHC, (IPFRCV), cannot pack 7-bit z-space hex files. Therefore, any PL/N applications that implement automatic program updates must use the 8-bit binary format.

4985 Network Controller Programmer’s Guide

7-5

Page 100

SECTION 7

7-6

"

4000 Series Warm Start System

4985 Network Controller Programmer’s Guide