Siemens TIWAY 1 User Manual

SIMA
TIC TIWAY 1
UNILINK Host Adapter
User
Manual
Order Number: PPX:TIWAY–8121–2 Manual Assembly Number: 2587871–0045 Second Edition
CHAPTER 1
THE
UNILINK HOST ADAPTER

1.1 INTRODUCTION

The
UNILINK Host Adapter interface devices the “adapter” in this manual, is a hardware and software extension of the original
product that allows a host computer to operate and control secondary
on a TIWAY I network. The UNILINK Host Adapter
TIWAY I Host Adapter
, Figure
.
1–1 is a second generation host computer
, also referred to as
Figure 1–1 UNILINK Host Adapter
UNILINK HOST
USER MANUAL
ADAPTER1–1
THE UNILINK HOST ADAPTER

1.2 FEATURES

The
hardware is composed of the UNILINK Adapter, shown in Figure 1–1, with a
plug-in Personality Interface Module (PIM) PPX:500–6224. in Figure 1–2, contains the software that causes the UNILINK Adapter to operate
as the UNILINK Host Adapter
.
Figure 1–2 Personality Interface Module (PIM)
The PIM, shown
Figure 1–3 illustrates the basic structure of the UNILINK Host Adapter. The corresponding physical features are shown in Figure 1–4. It includes an RS–232–C/RS–423–A compatible host port that supports the Non-Intelligent Terminal Protocol (NITP) used by the original TIWAY I Host Adapter, or the BDLC
protocol, an advanced, byte-oriented subset of the HDLC protocol. Also,
there are two TIWAY I interface ports and an external I/O point block.
UNILINK HOST
USER MANUAL
ADAPTER 1–2
THE UNILINK HOST ADAPTER
Host
Computer
RS–232–C/RS–423A
Interface
Host
(Command Processor)
TIWA
Y I
Interface
TIWA
Y I
Input Point
External
Output Point
Network
Secondaries
Figure 1–3 UNILINK Host Adapter Block Diagram
UniLink Host Adapter
Host
PPX:500–711
Computer Port
TIWA
Port
1
Y I Ports
Port
2
Port
1, Dual Local Line media ports shown here.
3
Power Connections
Port
4
External I/O Points
Figure 1–4 UNILINK Host Adapter Physical Features
AC
GND
NEUTACLINE
1
2 3 4 5
I/O
UNILINK HOST
USER MANUAL
ADAPTER1–3
THE UNILINK HOST ADAPTER
The
features of the UNILINK Host Adapter include:
The adapter is noise hardened for factory floor use.
There are internal diagnostics tests to check the internal operation
when
powered-up or reset, and during normal operation. There is also a
selectable
The adapter can be reset locally with an internal switch or remotely
with
test mode that is set locally
a host issued command.
.
The
The adapter is backward compatible with TIWAY I Host Adapter
The adapter includes an independent host communications port
This
The
The
The
adapter supports secondary-to-secondary communications without
complex
software
capable of serial communications at 38.4K baud. This port operates simultaneously
throughput and data integrity. This protocol also allows up to 32 UNILINK Host Adapters to be multidropped (via a modem) from the same
The adapter supports or provides the following TIWAY I features.
fault
devices
computer another request when using the advanced host communication protocol.
host software or additional hardware.
and drivers.
with the network ports.
host port provides an optional advanced host protocol for improved
host computer RS–232–C/RS–423–A port.
adapter supports the TIWAY I redundant media feature, providing
tolerant communications in case of a media failure.
adapter supports communication with multiple network secondary
concurrently for higher network throughput.
adapter supports concurrent network request processing. The host
does not have to wait
for a request to complete before issuing
UNILINK HOST
USER MANUAL
Commands are provided for background data collection. The adapter
can be configured to collect data for the host computer by storing the most current data values in internal memory. Another command then retrieves
ADAPTER 1–4
the data.
THE UNILINK HOST ADAPTER
The adapter is configurable for a variety of applications needs and
includes multiple host computer support, allowing several host computers to communicate with the secondary devices on the same T I WAY
The adapter provides transaction statistics collection to aid network
performance

1.3 TYPICAL NETWORK APPLICATIONS

I network.
tuning.
Figure
1–5 illustrates
a typical single host network managing a process control application. The host computer application directs the secondary devices through
the UNILINK Host Adapter and the TIWAY I network. Commands are provided for downloading or uploading data from the host computer to the secondary
devices and for checking the status of an individual device.
Host
Computer
RS–232–C/RS–423–A Host Interface Cable
UNILINK
TIWAY
I
UniLink Host Adapter ( MHU)
Figure 1–5 Single Host Network
UNILINK HOST
USER MANUAL
ADAPTER1–5
THE UNILINK HOST ADAPTER
The
flexibility of the UNILINK Host Adapter also provides for illustrated in Figure 1–6. In addition to the process control application, your main plant system can link to the same network to track work-in-progress, adjust
schedule loads for peak efficiency, and collect product cost data. W additional UNILINK Host Adapter, you can also add a personal computer workstation
to the network for statistical quality control or other uses.
multiple hosts as
ith an
Host
Computer
UniLink
Adapter (MHU)
Host
Computer
UNILINK
UniLink Host
Adapter (MHU)
Figure 1–6 Multiple Host Network
Host
UNILINK
UNILINK HOST
USER MANUAL
ADAPTER 1–6
THE UNILINK HOST ADAPTER
1.4 TIWA
Y I SYSTEM CHARACTERISTICS
TIWAY I is a bus structure Local Area Network (LAN) designed for industrial environments. The TIWAY I network connects a series of Texas Instruments Programmable Controllers (P/Cs) and other devices to one or more host computers. W any
of the following Siemens products:
SIMATICTI520/SIMATICTI530/
SIMATICTI560/SIMATICTI565 P/Cs
IT–111, IT–121, IT–121A, IT150, and IT–160 Intelligent Tank
The P/Cs are connected to a TIWAY I network through Network Interface Modules (NIMs). The PM550 P/C can also be connected with a Computer Interface Module (CIM), but Secondary as
the following, to be connected to a TIWAY I network.
ith the network, you can obtain, modify or replace data stored in
SIMATICTI520C/SIMATICTI530C P/Cs
PM550/PM550C P/Cs 5TI, Series 102, 103 P/Cs
Transmitters
Adapter is a
(ITT
s)
it limits the configuration choices. The UNILINK
TIWAY I interface device that allows other devices, such
Robots
Computer numerical controlled machines
Non-SIMA
Intelligent instruments
Computer equipment
TIWAY I gateways are also available for connecting the Fisher, Foxboro, and Honeywell networks to TIWAY I. However, you cannot use a gateway and a UNILINK satisfy today’s factory requirements for acquiring data and controlling manufacturing network that uses an advanced data link protocol.
Series 500 controllers can be connected with PEERLINK for high speed transfer of small amounts of data between controllers. The PEERLINK is a solution for applications where one or more Series 500 controllers are dependent
Host Adapter in the same TIWAY I network. TIWAY I
on high speed transfer of data from another Series 500 controller
TIC programmable controllers
processes.
It is a noise-hardened serial binary communications
is designed to
.
UNILINK HOST
USER MANUAL
ADAPTER1–7
THE UNILINK HOST ADAPTER
With
appropriate host software, an operator can program, monitor any P/C or other intelligent device on the TIWAY I network from a single location.
The importance of the UNILINK Host Adapter is that it provides a communication link between the TIWAY I network and one or more host computers. Figure 1–7 is a diagram representing the various host computers that
can be connected to a UNILINK Host Adapter
can
be controlled in a TIWAY I network.
IBM
DEC
Y
ICC 6000
CVU
5000
TIPC
DEC
PDP– 11
/
X
S E R T E S 1
, and the typical devices that
Other
M
IBM
PC/
XT/
AT
I
PC/
H
XT/ I
S
/
M
I C R
AT
O S
, and control
NIM
5TI
UniLink
Host
Adapter
Honeywell
Fisher
Gateways
Y I
TIWA
Secondary
Adapter
NIM
SIMATIC
TI520
PEERLINK
NIM
PM550
NIM
SIMATIC
TI560
PEERLINK PEERLINK PEERLINK
NIM
SIMATIC
TI565
NIM
SIMATIC
TI530/
TI530C
NIM
Int. Tank Xmtr.
Robots
CNC
Int. Scales
Figure 1–7 TIWAY I Network
You cannot use a UNILINK Host Adapter in a TIWAY I network that also contains Host Adapter. Chapter 4 provides information on interfacing the adapter to a TIWAY
a TIWAY I Gateway or Network Control Module (NCM) or a TIWAY I
I network.
Map
Foxboro
Other
Int. Devices
Others
UNILINK HOST
USER MANUAL
ADAPTER 1–8
THE UNILINK HOST ADAPTER

1.5 INSTALLATION

Instructions for installing the UNILINK Adapter and the UNILINK Host Adapter PIM are given in the UNILINK Adapter Installation and Operation Manual (PPX:TIWAY–8106). It provides the electrical and mechanical installation
Chapter 2 discusses the different operational modes and how they are configured.
instructions and guidelines for the the UNILINK Host Adapter
.
Chapter dipswitches
Chapter your
1.6 TECHNICAL
If you need assistance with the installation an operation of this equipment, contact you States,
1.7 CUSTOMER
If you need assistance in placing an order, returning a product, or learning about product availability, contact your Siemens Industrial Automation, Inc. distributor or
3 discusses the host computer interface port, Port 3, and how to set the
to establish communications.
4 discusses the TIWAY I interface ports, Ports 1 and 2, and how setup
network.
ASSIST
your Siemens Industrial Automation, Inc. distributor or sales agent. If
need assistance in contacting your distributor or sales office in the United
call 800–964–41
SER
or sales agent. If you need
sales office in the United States, call 800–964–41
ANCE
14.
VICE CENTER
assistance in contacting your distributor
14.
UNILINK HOST
USER MANUAL
ADAPTER1–9
CHAPTER
2
OPERA
TION AND APPLICA

2.1 INTRODUCTION

This
chapter provides an introduction to the UNILINK Host Adapter operation and how it can be used in typical applications. Y the
complete command syntax and to the Glossary for help with any unfamiliar terms. Network planning forms are located in Appendix E, Appendix F, and Appendix
G.
ou should refer to Chapter 5 for

2.2 COMMAND PROCESSING

The
UNILINK Host Adapter commands are a set of functional tools to help you direct network applications. Each command consists of a one-byte command code and one or more parameters as shown in Figure 2–1. Most parameters have
default values that network you can improve network needs. Figure 2–2 illustrates the relative performance and flexibility gained
and expand it with minimal software changes. As your network grows,
network efficiency by redefining the parameters to match your
with using additional commands.
were selected to help you quickly install an operational
TION
Command
Code
Parameter#1Parameter
#2
Figure 2–1 Command String Structure
Parameter
#n
UNILINK HOST
USER MANUAL
ADAPTER2–1
OPERATION
AND
APPLICATION
Network Manager Commands
Performance and Applications Flexibility
Mode Independent Commands
Basic HIU Commands
Extended HIU Commands
Configure Adapter Commands
   
NUMBER OF COMMANDS
Figure 2–2 Performance vs Commands
Communications between the host computer and the UNILINK Host Adapter are
a series of commands and responses as illustrated in Figure 2–3. For every command sent, there will be a response. The response will be one of the following.
UNILINK HOST
USER MANUAL
An
ADAPTER 2–2
acknowledgment that the command was received A command response The ERROR RESPONSE
OPERATION
AND
APPLICATION
Secondary
Secondary
Host Computer
Commands
UNILINK Host Adapter
Responses
Figure 2–3 Host Computer To UNILINK Host Adapter
Communications
Commands are checked for errors before they are executed. The ERROR RESPONSE is a special response that returns a code indicating the type of error. If an error is found, the command will not be executed and the ERROR RESPONSE network request does not complete within the host command timeout. The possible error codes that may be returned in the ERROR RESPONSE and corrective
will
be returned. The ERROR RESPONSE will also be returned if a
actions to take are listed in Chapter 6.
UNILINK HOST
USER MANUAL
ADAPTER2–3
OPERATION
AND
APPLICATION

2.3 FUNCTIONAL ORGANIZATION AND OPERATING MODES

The
UNILINK Host Adapter is organized into two primary functions; the Host Interface Unit (HIU) function and the Network Manager (NM) function. An adapter form of
In addition to the above modes, there are two Emulate Host Adapter (EHA) modes
can be configured with one
a Master Host Interface Unit (MHIU). The MHIU, HIU, and NM are three
the six configurable operating modes.
and a Standalone Network Manager (SANM) mode.
of these functions or they can be combined to
2.3.1
Host Inter
The primary purpose of the Host Interface Unit (HIU) function is to establish communications between the host computer and the secondary devices on a TIWAY I network. The HIU uses the memory in the adapter for macro buffers and are
used to store connecting, delays
Commands the host requests are processed and queued to the Network Manager function for
routing to the appropriate secondary device. The Master Host Interface Unit
(MHIU)
face Unit Function
to store host-to-secondary statistics as shown in Figure
macro commands and responses. Macros provide a method for
disconnecting, or sending a Primitive
in host processing. Macros are discussed further in Paragraph 2.10.1.
are received from the host computer and checked for validity
mode combines the HIU function and the Network Manager function.
to a secondary device without
2–4. Macro buffers
. Then
UNILINK HOST
USER MANUAL
ADAPTER 2–4
OPERATION
AND
APPLICATION
HIU
Establishes communications between the host computer and the secondary devices.
Uses memory for:
Macro Buffers
(Dynamically allocated)
Host–to–Secondary Statistics
Figure 2–4 Host Interface Unit Function
Part
of the statistics
issued
to
connect and disconnect secondaries, the specified secondary address is
added
or deleted from the Secondary Log and a network request is queued into
the
Network Manager
memory area is used for a Secondary Log. As commands are
.
In the background, the adapter is continuously collecting statistics on the number of commands processed, transactions completed on the network, and other items. Commands to retrieve these statistics do not require network transactions,
The following operating modes include the HIU function.
but return the information from the appropriate statistical area.
Master Host Interface Unit (MHIU) Host Interface Unit (HIU) Master Host Interface Unit/Emulate Host Adapter (MHIU/EHA) Host Interface Unit/Emulate Host Adapter (HIU/EHA)
UNILINK HOST
USER MANUAL
ADAPTER2–5
OPERATION
AND
APPLICATION
2.3.2

Network Manager Function

Acting as the network primary, the Network Manager function is responsible for
controlling the message traffic on the TIWAY I network as shown in Figure
2–5.
It
receives the requests from HIUs and stores them in a NM buffer
them
to the designated secondary devices, and returns the secondary response
to the HIU that issued the request. There can be only one adapter configured
the Network Manager function in any particular TIWAY I network.
with
This
function will only process Network Manager commands. These control and handle the background monitor and redundant media switching operations. All network requests and responses are queued in the Network Manager
the TIWAY I network operations, return network statistical information
buffers area.
, routes
commands
NM
Manages the message traffic on the TIWAY I network.
Uses memory for:
Network Buffers Network Stations
Figure 2–5 Network Manager Function
UNILINK HOST
USER MANUAL
ADAPTER 2–6
OPERATION
The following operational modes include the NM function. However, the MHIU/EHA
mode does not provide access to the NM command set.
Master Host Interface Unit (MHIU) Network Manager (NM) Standalone Network Manager (SANM) Master Host Interface Unit/Emulate Host Adapter (MHIU/EHA)
AND
APPLICATION
2.3.3
The Master Host Inter
The Master Host Interface Unit (MHIU) is a combination of the HIU and NM functions communicate with secondary devices through the HIU function and control network a
TIWAY I network may have the NM function.
as shown in Figure 2–6. A host computer connected to an MHIU
performance
face Unit Mode
through the NM function. Remember
can
, only one adapter in
HIU NM
MHIU
Figure 2–6 Master Host Interface Unit Diagram
UNILINK HOST
ADAPTER2–7
USER MANUAL
OPERATION
AND
APPLICATION
2.3.4 Typical
Both single and multiple host networks are supported by the UNILINK Host Adapter. Figure 2–7 illustrates a typical single host network which uses an MHIU
Network Applications
as the host interface and network manager
Host Com­puter
UNILINK
UniLink Host Adapter ( MHU)
RS–232–C/RS–4 23–A Host
Interface
Cable
TIWAY
.
I
Figure 2–7 Typical Single Host Network
Multiple operating modes as illustrated in Figure 2–8 and Figure 2–9. Since the NM function and HIUs can use the total memory resources of the adapters for their respective needs. This could be an advantage in large networks where the additional
host
networks can be configured with a variety of adapters in different
is not in the same adapter with the HIU function in Figure 2–9, the NM
memory for NM buffers will increase network performance.
UNILINK HOST
USER MANUAL
ADAPTER 2–8
OPERATION
AND
APPLICATION
Host Com­puter
UniLink Host Adapter (MHU)
Figure 2–8 Typical Multiple Host Network
UNILINK
Host Com­puter
UNILINK
UniLink Host Adapter (MHU)
Host
Com-
puter
Host Com­puter
UNILINK
(HIU)
UNILINK
Figure 2–9 NM Network
Host Com­puter
UNILINK
(HIU)
UNILINK HOST
USER MANUAL
ADAPTER2–9
OPERATION
AND
APPLICATION
2.3.5 The
There are two modes available that provide an emulation of the TIWAY I Host Adapter; the MHIU/EHA and the HIU/EHA. These modes are limited to the base command codes 01 through 08, 20, 21, and FC through FF. The POLL command, will operate with applications software written for the TIWAY I Host Adapter. The MHIU/EHA can directly replace the TIWAY I Host Adapter in single host network applications. However, the MHIU/EHA cannot be used in a multiple host software
2.3.6

The Standalone Network Manager Mode

The Standalone Network Manager mode operates independent of any host computer. It controls the TIWAY I network, but cannot accept any host commands to change any performance parameters. You can use this mode to implement TIWAY I Host Adapter. Only minor changes to the applications software are needed to process the adapter configuration command. A typical network is shown
Emulate Host Adapter Modes
code 03, is not available in the HIU/EHA mode. Both of these modes
network. The HIU/EHA provides the ability to use TIWAY I Host Adapter
applications in a multiple host network.
a multiple host network using applications software written for the
in Figure 2–10.
UNILINK
(SANM)
Host Com­puter
UNILINK
(HIU)
Host Com­puter
(HIU)
Figure 2–10 Standalone NM Network

2.4 TIWAY I HOST SOFTWARE SUPPORT

As mentioned in Paragraph 2.3.5, the MHIU/EHA and HIU/EHA modes will operate with the TIWAY I HOST SOFTWARE products. The MHIU and NM modes
will also work with this product; however
and
NM commands in the XP
AR subroutine.
, you must enclose the extended
UNILINK
UNILINK HOST
USER MANUAL
ADAPTER 2–10
OPERATION
AND
APPLICATION
TIWAY I Host Software can be used with adapters in a However, CONFIGURE
you must define an HIU address using the XP
HIU command, and you cannot use the POLL command.
multiple host network.
AR subroutine and the
UNILINK HOST
USER MANUAL
ADAPTER2–11
OPERATION
AND
APPLICATION

2.5 SETTING THE OPERATING MODE

Each adapter must be configured for one of the six possible operating modes. The mode is configured with the CONFIGURE ADAPTER command with the exception of the Standalone NM mode, which is chosen by setting Positions 9 and
10
of Dipswitch 1 down. The defaults and dipswitch settings are discussed further in Paragraph 2.5.1. There are three configuration commands; the CONFIGURE CONFIGURE
ADAPTER command, the NM command.
CONFIGURE HIU command, and the
2.5.1

Configuration Defaults and Dipswitch Settings

Most of the parameters associated with the configuration commands have default values chosen to help you install an operating host interface with a minimum amount of effort. As your network expands and you gain experience with
the advanced commands, you can change the defaults to tailor the network
performance The adapter has two 10-position dipswitch banks, located behind the front
access door as shown in Figure 2–11. Most of the settings on the dipswitches relate
to the parameters for the host and TIWAY I ports. However Position up, the adapter will default to an HIU/EHA and when Position 9 is down, the adapter
to your needs.
, the setting of
9 on Dipswitch 2 determines the default mode value. When Position 9 is
will default to an MHIU/EHA.
Number 1
2
LEDsResetNumber
2.5.2
UNILINK HOST
USER MANUAL
Figure 2–11 Dipswitch Positions
The
default mode will be chosen when you issue one before issuing the CONFIGURE ADAPTER command. In the later case, the adapter and issue or

The CONFIGURE ADAPTER Command

The first command your application software should send is the CONFIGURE ADAPTER
ADAPTER 2–12
assumes the
assumes the EHA mode. This means that after the adapter is reset, if you
any of commands 01 through 08, the adapter will assume the MHIU/EHA
HIU/EHA mode depending on the setting of Position 9.
command, code 20. The main function of this command is to set the
default mode from the setting of Position 9 on Dipswitch 2
of the Base HIU commands
OPERATION
AND
APPLICATION
operating set with this command is the Standalone Network Manager (SANM), since it can not accept any host computer commands. Instead, the SANM mode is selected computer must send this command to its attached UNILINK Host Adapter(s). The mode remains in effect and can not be changed until the adapter is reset. The parameters for this command specify the HIU address, the maximum secondary
mode to the value specified. The only operating mode that can not be
by
dipswitch settings described in Chapter 3 and Chapter 4. Each host
device address, and the macro memory limit.
UNILINK HOST
USER MANUAL
ADAPTER2–13
OPERATION
At
any
time, your applications software can retrieve the current values for these parameters code 21. In addition to those parameter values, this command will also return the values of the dipswitch settings and a flag that indicates whether the CONFIGURE
The physical network parameters for the HIU function of an MHIU are not used, but the CONFIGURE ADAPTER command must still be sent to enable the
HIUs network interface.
by issuing the REPORT ADAPTER CONFIGURA
ADAPTER command was previously processed.
AND
APPLICATION
TION command,
2.5.3
2.5.4

The CONFIGURE HIU Command

The CONFIGURE HIU command defines the network parameters for an HIU function and enables the HIUs TIWAY I interface for both an MHIU and an HIU.
The options and associated parameters can occur in the command string
in
any
order
, but they can not occur twice in the same command. This command can only be issued once and if successful, the command code, 11, will be returned.
The REPORT HIU CONFIGURATION command, code 12, will return the values of the dipswitches, HIU Options, and a flag indicating whether the configuration

The CONFIGURE NETWORK MANAGER Command

The CONFIGURE NETWORK MANAGER command, code 30, defines the operating parameters for the network ports in the NM and MHIU modes and specifies
Issue the REPORT NETWORK MANAGER CONFIGURATION command, code 31, to retrieve the dipswitch settings and the current values for the Network Manager parameters and to determine if the CONFIGURE NETWORK MANAGER command has been processed. In a multiprocessing environment, whether
has been performed.
network options such as auto redundant media.
the tasks can check the configuration processed flag to determine
or not they can begin issuing commands to the adapter
.
UNILINK HOST
USER MANUAL
ADAPTER 2–14
OPERATION
AND
APPLICATION
2.5.5

Configuring the Standalone Network Manager

The
Standalone Network Manager (SANM)
dipswitch
settings. The
definition for some of the dipswitch positions is different
mode is configured completely with
for this operating mode as shown in Figure 2–12. The SANM mode is selected by defining the host command timeout as zero by setting Positions 9 and 10 of Dipswitch 1 down. The other positions of Dipswitch 1 define the TIWAY I network
parameters.
DIPSWITCH 1
1
2345678910
U P
MSB LSB
UP = SYNCHRONOUS DOWN = ASYNCHRONOUS
UP = FULL DUPLEX DOWN = HALF DUPLEX
UP = NRZI DOWN = NRZ
DEFAULTS TO NITP
HOST COMMAND
TIMEOUT = 0
TIWAY I BAUD RATE
TIWAY I
TIWAY I
TIWAY I
DIPSWITCH 2
1
2345678910
U P
UP = TEST MODE DOWN = RUN MODE
MSB
LSB
UP = HIU/EHA &
DOWN = MHIU/EHA
UNUSED
UP = AUTO
DOWN = NO REDUNDĆ
HIU/NM BUFFERS
UP = DISC DOWN = NO DISC
UP = AFTER CTS
DOWN = NO DELAY
IO LOOP TEST
REDUNDANT
MEDIA
ANT MEDIA
DELAY
Figure 2–12 Standalone Network Manager Dipswitch Settings
UNILINK HOST
USER MANUAL
ADAPTER2–15
OPERATION
Since
the SANM cannot accept any NM commands, Positions 1–7
define
certain Network Manager function options normally configured with the
CONFIGURE
NETWORK MANAGER command.
When
Position 1 of Dipswitch 2 is
after
CTS is active. No delay is selected when the dipswitch is down.
When
Position 2 of Dipswitch 2 is up, all issue a network disconnect (DISC). This permission is granted by the NM function when it initializes the HIU. No HIUs will be given permission
to issue a DISC when the dipswitch is down.
AND
APPLICATION
of Dipswitch 2
up, it selects a one-half second delay
HIUs are given permission to
2.5.6
Positions of NM buffers to assign to an HIU when the HIU is initialized. The number selected significant bit and Position 6 is the least significant bit. The adapter will then
When Position 7 of Dipswitch 2 is up, the NM function will use the redundant communicate

Configuration Summary

The general procedure for configuring the adapter follows in the list below
1.
Set the dipswitch positions.
2.
Issue the CONFIGURE ADAPTER command.
3. Issue or
a NM)
4. Issue the CONFIGURE HIU command. (If this adapter will be an MHIU
3–6 of Dipswitch
of NM buffers can range from 1 to 16. The actual binary value will range from 0000 to 1111 binary where Position 3 is the most
add 1 to the binary value to scale the actual range to 1–16.
media feature that uses both network ports, Ports 1 and 2, to
with the secondary devices.
the CONFIGURE NM command. (If this adapter will be an
or an HIU)
2 represent the binary value for the number
MHIU
.
UNILINK HOST
USER MANUAL
ADAPTER 2–16
OPERATION
AND
APPLICATION

2.6 SPECIAL NETWORK MANAGER FEATURES

The adapter provides two special features in the MHIU and NM operating modes. channel switching. Second is the background monitor that will bring devices online
First is the redundant media channels with selectable automatic media
dynamically
.
2.6.1

Redundant Media Channels

The
adapter provides for two network media channels, Ports 1 and 2, described
in
more detail in Chapter 4 . Y specifying the command. Using redundant media increases the mission reliability of the network or the probability that the network will remain operational when a random Channel A or Port 1. Your applications software can then issue the SWITCH CHANNEL command at any time to change the operating channel for one, several, redundant media feature is not active; however, if it is active, the Network Manager Port
2 must be available or an ERROR RESPONSE will be returned when you try to issue this command. the
command code and the channel code.
The primary function of redundant media is to provide a second communications be used as a maintenance aid by switching all secondaries to the alternate channel so that the main channel can be maintained without completely shutting the network down. Remember, only one media or channel can be transmitting
appropriate value in the CONFIGURE NETWORK MANAGER
failure occurs. When first initialized, the adapter
or all secondary devices. The channel can be switched even if the
function will switch the channel back if a failure occurs. Channel B or
path in the event of a failure on the primary path. This can also
or receiving in a given instance.
ou may select to use only one channel or both by
will communicate on
auto
If the command is accepted, the adapter will return
The auto redundant media feature allows the Network Manager function to automatically switch a secondary device to the opposite channel if communications device will be switched if it fails to respond consecutively in maximum-retry-count times. The maximum retry count is specified in the CONFIGURE the secondary has been switched, the Network Manager function will attempt to
communicate again on the new channel up secondary responds, communications will continue on this channel. If the secondary fails to respond, the secondary will be logged as off-line and all associated macros will be disabled. All macro response status words will be updated to indicate that the secondary is off-line, and any network requests that
were pending will return the ERROR RESPONSE.
2.6.2 Backgr
Background monitor is a feature of the Network Manager that instructs it to periodically check the link status of each secondary device. This feature is active in the Network Manager function in all but the EHA modes and the SANM mode. The link status information includes for each channel and for each secondary, whether the secondary is online or
can no longer continue on the current channel. The
NETWORK MANAGER command and defaults to 3 times. Once
to the maximum retry count. If the
ound Monitor
the communications status
UNILINK HOST
secondary
ADAPTER2–17
USER MANUAL
OPERATION
AND
APPLICATION
offline, through directives or responses. In addition, it will also select one secondary device address initially begins with secondary number one and continues with the next secondary address number until reaching the maximum secondary address specified in the CONFIGURE ADAPTER command. Background monitoring then
The current link status determines what action to take when monitoring a device. If the current link status for the selected secondary address is offline, the Network Manager will issue the initialization sequence. If there is no response, the Network Manager will assume that the device is not in the network and will not retry the message. If the device does respond, its status will time online.
and if the secondary is an HIU. The Network Manager normally cycles
the secondary device log and checks to see if there are any outstanding
per cycle to perform a
starts over again with address one.
be updated and if it is an HIU, buffers will be allocated. This means that any
that a valid secondary device is connected to the
link status check. The selected secondary address
network, it will be brought
UNILINK HOST
USER MANUAL
ADAPTER 2–18
OPERATION
If the background monitor detects a secondary that went offline and the auto redundant media feature is active, the Network Manager will attempt to contact the secondary on the alternate channel as described in the Redundant Media
section above.
You can obtain peak performance by consecutively numbering your secondary devices and HIUs, starting with address 01, and by setting the largest secondary will keep the Network Manager from spending time on device addresses that will status code
device address value in
never exist on
information with the REPORT SECONDARY LINK STATUS command,
32.
the network. Y
AND
APPLICATION
the CONFIGURE ADAPTER command. This
our applications software can request the link
UNILINK HOST
USER MANUAL
ADAPTER2–19
OPERATION
AND
APPLICATION

2.7 THE HIU AS A SECONDARY

The
HIU function appears as a special secondary device to the NM function. In addition to queuing network requests for the NM function to process, the HIU function will respond to TIWAY I Primitives 02 — Machine Status, 03 — Machine Type/Configuration, and 04 — Primitive Format Configuration. The TIWAY I Systems Manual provides more details on the format and use of Primitives.
2.7.1 Primitive
The Primitive 02 response will be returned as follows (spaces were added for clarity).
Where
Status is not available,
02 Response
LLLL
02 HH DD EE FF
LLLL is the Primitive length,
HH will be 00 indicating that it is operational and performing instruction execution,
DD will be 01 indicating that the Auxiliary Power Source
EE will be 00 indicating that the NIM is operational,
FF will be 00 and has no meaning for an HIU.
UNILINK HOST
USER MANUAL
ADAPTER 2–20
Loading...
+ 178 hidden pages