The text of a manual · part 9 of 16
4985 Network Controller Programmer's Guide: Section 4: File Structures, pages 63 to 70
Pages 63 to 70 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 63
SECTION 4
"
File Structures
These parameters are subdivided into system, host, and port. A slash “/” terminates initialization parameters if the initialization record is padded without spaces. The initialization record size is 258 bytes, minimum. A parameter list has this general format: -[type]parm [type] a one-byte field specifying the parameter type. “parm” the parameter value.
System Mode Parameters You can customize the controller configuration using system parameters. -S[system mode] The system mode is a 1- to 5-digit numeric (base 10) field adjusting the operational mode for the controller. Mode parameters have a value and are turned on by adding in the values for each specific mode. The following mode parameters are supported in the initialization record: /* defined bits in “S” record mode */ /* system mode parameters */ /* LABEL DECIMAL BINARY */ MODE_OFF 0 /* 0000 0000 0000 0000 */ EDBDIC_ON 1 /* 0000 0000 0000 0001 */ STRANS 4 /* 0000 0000 0000 0100 */ SBOOT 8 /* 0000 0000 0000 1000 */ DEBUG_ON 16 /* 0000 0000 0001 0000 */ NCC_CHAN_ON 32 /* 0000 0000 0010 0000 */ RMT_ID_ON 64 /* 0000 0000 0100 0000 */ FILES_ON 128 /* 0000 0000 1000 0000 */ RMT_A_RQ_ON 256 /* 0000 0001 0000 0000 */ LCL_ID_ON 512 /* 0000 0010 0000 0000 */ FORCED_AA_ON 1024 /* 0000 0100 0000 0000 */ DIRECT_CNCT_ON 2048 /* 0000 1000 0000 0000 */ DEACT_RQ_ON 4096 /* 0001 0000 0000 0000 */ CRC_ON 8192 /* 0010 0000 0000 0000 */ EXAMPLE:
If a system mode is 104 (8 + 32 + 64), then boot processing, 2-byte channel IDs, and remote controller IDs are enabled. If no mode is defined, then the default system mode is 8 (LAN port defined by default). 4985 Network Controller Programmer’s Guide
4-21
Page 64
SECTION 4
"
File Structures
Table 4-24 System Mode Parameters
Value Meaning
Description
0
Mode disabled.
All mode parameters set off.
1
Force EBCDIC host.
Controller determines if host is EBCDIC or ASCII if this field is not added in.
4
Transparent mode on all ports.
Applies to EBCDIC hosts. When added in, ASCII or EBCDIC data translation is disabled on all ports. Data translation can be enabled or disabled for individual ports.
8
Boot 4000 Series HHCs in a LAN connected to the controller.
Enabled when a LAN port is installed and a list of boot files exists on the controller’s system disk.
16
Debug mode.
Reserved for Norand diagnostic use.
32
2-byte channel option.
When 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 controllers in the network are remote.
64
Forwards ID records from remote controller to the host.
Must be on if the 2-byte channel option is enabled.
128
Controller file processing.
When added in, the host is prompted with file requests at the beginning of a host-controller communications session.
256
Forwards port activation requests from remote controllers to the host.
Enable only if 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 that is directly connected to the host computer.
4-22
4985 Network Controller Programmer’s Guide
Page 65
SECTION 4
"
File Structures
Table 4-24 System Mode Parameters
Value Meaning
Description
512
Send Local controller ID on power up to host.
When added in, the local controller begins a communications session with the host by sending an ID record. This host then responds with an initialization record. Should be disabled, as it prohibits the host from using initialization record parameters to tailor the host-controller interface. When enabled, the EBCDIC host option must be set for EBCDIC host computers.
1024
Force autoanswer for remote controllers.
When enabled, a remote controller always answers the phone, even when no HHCs are ready to communicate. If not enabled, a remote controller will not answer the phone unless an HHC is ready.
2048
The secondary controller is direct-connected to the primary.
Applies to remote controllers. If enabled, a controller connected to an HHC port on a host controller always maintains the link to the host controller.
4096
Deactivate Request ON (ASYNC only)
If on, the controller periodically sends a deactivate request to the host for each enabled auto-answer port not currently active, such as a port waiting for a phone call. The host can then time window port configurations. Not useful with the 4985.
8192
Cyclic Redundancy Check (CRC) ON. (ASYNC only)
If on, the controller appends two CRC characters to the end of the upload data (type 0) records. Host appends two characters to the end of download data blocks (type 0). See Appendix C.
Host Parameters You can customize the controllers host parameters in the initialization record. 4985 Network Controller Programmer’s Guide
4-23
Page 66
SECTION 4
"
File Structures
Table 4-25 Host Parameters
4-24
Parameter
Default Description
-A[mode]
0
1 to 5 digit numeric field setting mode for host port, such as -A0.
-C[parity]
0
1 digit numeric field setting parity and number of data bits. Valid values are: “0” = No parity/8 data bits(-C0) “1” = Odd parity/7 data bits (-C1) “2” = Even parity/7 data bits (-C2)
-D[stopbits]
1
1 digit numeric field setting stop bits. Valid values are: “1” = One stop bit (-D1) “2” = Two stop bits (-D2) “3” = Three stop bits (-D3)
-E[delimiter]
13
1- to 2-digit numeric field specifying collating sequence number of character marking end of all records sent from controller to host. A delimiter of “0” specifies no end-of-record delimiter.
-F[block size]
0
Numeric field ranging from 258 to 1029; specifies the minimum controllerto-host record block size. Does not include the end-of-record delimiter character. Records shorter than the block size are padded to the block size and the delimiter character is appended. Forces the controller to send fixedlength blocks to the host.
-G[pad char]
32
1- to 3-digit numeric field specifying the characters that pad short blocks when a minimum block size is specified.
-H[ready char]
63
1- to 3-digit field specifying the host “ready” directive.
4985 Network Controller Programmer’s Guide
Page 67
SECTION 4
"
File Structures
Table 4-25 Host Parameters
Parameter
EXAMPLE:
Default Description
-I[read timeout] 30
2- or 3-digit numeric field specifying the maximum seconds the controller waits for a response from host. If no response received within set time, the controller will reset and await an initialization record from the host. Valid values are 10 to 120.
-J[host-delay]
0
1- or 2-digit numeric field specifying delay in hundredth of seconds before controller sends next message to host after receiving a ready character from host. Valid values are 0 to 50.
-K[char-gap]
10
1- or 2-digit numeric field specifying maximum intercharacter gap time in whole seconds allowed in a block of data sent from host. Valid values are 9 to 40.
-L[cts-gap]
5
1- to 3-digit numeric field specifying maximum time in tenths of seconds the controller waits for CTS after RTS. Valid values are 0 to 100.
/2-E0-I60-K30/
Port Parameters Port parameters change the activation defaults for the HHC port receiving the initialization record. These changes remain in effect until you reboot the controller. The initialization record gets port parameters after the system and host initialization parameters. Port parameters have this general format: @[port], [port-type], activation parameters -[port] 1 digit number specifying HHC port. The 4985 only has one port so the default is “1.” 4985 Network Controller Programmer’s Guide
4-25
Page 68
SECTION 4
"
File Structures
-[port-type] 1 digit number specifying port type. Valid port types are: "
4 LAN (NPCP) for LAN port only. For example: @1,4 (port 1, NPCP)
-“Activation parameters” same as those parameters allowed in an activation record for the port type specified. These are defined starting on page 4-26. The above string would appear in the host-to-controller initialization record (type 2).
Activation Parameters The host sends activation parameters to activate the HHC port. The host-to-controller record layouts subsections specify these record layouts. You can specify optional parameters in activation records to customize a port configuration. The host can send some of the parameters only in an activation record. The parameter list has this general form: -[type][parameter] -[type] 1-byte character specifying the parameter type. [parameter] a string of digits or characters. " NOTE:
All optional parameters begin with a dash. Table 4-26 Type 4 - LAN Parameters
4-26
Parameter
Default
Description
-C[channels]
3 channels
Specifies number of HHCs that communicate concurrently. Valid values are 1, 2, or 3 (-C3).
-T[timeout]
60 seconds Specifies a “no activity” timeout period in seconds. If timeout period expires, port deactivates. Valid values are from 20 to 120 (-T60).
4985 Network Controller Programmer’s Guide
Page 69
SECTION 4
EXAMPLE:
"
File Structures
Async Host /2 -S128 -C0 @1,4,-C3/ -S128 -C0 @1,4,-C3 / enable file processing specifies 8 data bits and no parity. specifies three HHC communication channels on LAN (port 1) end of string terminating initialization data. The slash is required only if record is not padded with spaces.
4985 Network Controller Programmer’s Guide
4-27
Page 70
SECTION 4
4-28
"
File Structures
4985 Network Controller Programmer’s Guide