Siemens SIMATIC TIWAY 1 Bedienungsanleitung
- Schauen Sie die Anleitung online durch oderladen Sie diese herunter
- 208 Seiten
- 0.57 mb
Zur Seite of
Ähnliche Gebrauchsanleitungen
-
Network Card
Siemens S5-135U/155U
560 Seiten 4.46 mb -
Network Card
Siemens 200
282 Seiten 3.04 mb -
Network Card
Siemens ESM
98 Seiten 0.98 mb -
Network Card
Siemens SIMATIC TIWAY 1
208 Seiten 0.57 mb -
Network Card
Siemens 11
51 Seiten 0.72 mb -
Network Card
Siemens 2000592-001
72 Seiten 1.43 mb -
Network Card
Siemens GIGASET 54
56 Seiten 0.69 mb -
Network Card
Siemens 6RA70
232 Seiten 2.81 mb
Richtige Gebrauchsanleitung
Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Siemens SIMATIC TIWAY 1 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Siemens SIMATIC TIWAY 1, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.
Was ist eine Gebrauchsanleitung?
Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Siemens SIMATIC TIWAY 1 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.
Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Siemens SIMATIC TIWAY 1. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.
Was sollte also eine ideale Gebrauchsanleitung beinhalten?
Die Gebrauchsanleitung Siemens SIMATIC TIWAY 1 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Siemens SIMATIC TIWAY 1
- Den Namen des Produzenten und das Produktionsjahr des Geräts Siemens SIMATIC TIWAY 1
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Siemens SIMATIC TIWAY 1
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen
Warum lesen wir keine Gebrauchsanleitungen?
Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Siemens SIMATIC TIWAY 1 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Siemens SIMATIC TIWAY 1 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Siemens finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Siemens SIMATIC TIWAY 1 zu überspringen, wie es bei der Papierform passiert.
Warum sollte man Gebrauchsanleitungen lesen?
In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Siemens SIMATIC TIWAY 1, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.
Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Siemens SIMATIC TIWAY 1 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.
Inhaltsverzeichnis der Gebrauchsanleitungen
-
Seite 1
SIMA TIC TIW A Y 1 UNILINK Host Adapter User Manual Order Number: PPX:TIW A Y–8121–2 Manual Assembly Number: 2587871–0045 Second Edition[...]
-
Seite 2
UNILINK HOST ADAPTER 1–1 USER MANUAL CHAPTER 1 THE UNILINK HOST ADAPTER 1.1 INTRODUCTION The UNILINK Host Adapter , Figure 1–1 is a second generation host computer interface product that allows a host computer to operate and control secondary devices on a TIW A Y I network. The UNILINK Host Adapter , also referred to as the “adapter” in thi[...]
-
Seite 3
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–2 USER MANUAL 1.2 FEA TURES The hardware is composed of the UNILINK Adapter , shown in Figure 1–1, with a plug-in Personality Interface Module (PIM) PPX:500–6224. The PIM, shown in Figure 1–2, contains the software that causes the UNILINK Adapter to operate as the UNILINK Host Adapter . Figure[...]
-
Seite 4
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–3 USER MANUAL Host Computer RS–232–C/RS–423A Host Interface (Command Processor) TIW A Y I Interface External Input Point Output Point TIW A Y I Network Secondaries UniLink Host Adapter Figure 1–3 UNILINK Host Adapter Block Diagram Port 1 Port 2 Port 3 Port 4 AC NEUT AC LINE GND 1 2 3 4 5 I/O[...]
-
Seite 5
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–4 USER MANUAL 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 test mode that is set lo[...]
-
Seite 6
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–5 USER MANUAL 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 I network. The adapter provides transaction statistics collection to aid ne[...]
-
Seite 7
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–6 USER MANUAL The flexibility of the UNILINK Host Adapter also provides for multiple hosts as 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 co[...]
-
Seite 8
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–7 USER MANUAL 1.4 TIW A Y I SYSTEM CHARACTERISTICS TIW A Y I is a bus structure Local Area Network (LAN) designed for industrial environments. The TIW A Y I network connects a series of T exas Instruments Programmable Controllers (P/Cs) and other devices to one or more host computers. W ith the netw[...]
-
Seite 9
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–8 USER MANUAL W ith appropriate host software, an operator can program, monitor , and control any P/C or other intelligent device on the TIW A Y I network from a single location. The importance of the UNILINK Host Adapter is that it provides a communication link between the TIW A Y I network and one[...]
-
Seite 10
THE UNILINK HOST ADAPTER UNILINK HOST ADAPTER 1–9 USER MANUAL 1.5 INST ALLA TION Instructions for installing the UNILINK Adapter and the UNILINK Host Adapter PIM are given in the UNILINK Adapter Installation and Operation Manual (PPX:TIW A Y–8106). It provides the electrical and mechanical installation instructions and guidelines for the the UN[...]
-
Seite 11
UNILINK HOST ADAPTER 2–1 USER MANUAL CHAPTER 2 OPERA TION AND APPLICA TION 2.1 INTRODUCTION This chapter provides an introduction to the UNILINK Host Adapter operation and how it can be used in typical applications. Y ou should refer to Chapter 5 for the complete command syntax and to the Glossary for help with any unfamiliar terms. Network plann[...]
-
Seite 12
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–2 USER MANUAL Performance and Applications Flexibility Basic HIU Commands Mode Independent Commands Configure Adapter Commands Extended HIU Commands Network Manager Commands NUMBER OF COMMANDS Figure 2–2 Per formance vs Commands Communications between the host comput[...]
-
Seite 13
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–3 USER MANUAL Host Computer UNILINK Host Adapter Commands Responses Secondary Secondary Figure 2–3 Host Computer T o 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 [...]
-
Seite 14
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–4 USER MANUAL 2.3 FUNCTIONAL ORGANIZA TION AND OPERA TING 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 can be configured with one of these functions or they can be combined to form [...]
-
Seite 15
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–5 USER MANUAL HIU Establishes communications Uses memory for: Macro Buffers between the host computer and the secondary devices. (Dynamically allocated) Host–to–Secondary Statistics Figure 2–4 Host Inter face Unit Function Part of the statistics memory area is used for a Secondary Log. As c[...]
-
Seite 16
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–6 USER MANUAL 2.3.2 Network Manager Function Acting as the network primary , the Network Manager function is responsible for controlling the message traffic on the TIW A Y I network as shown in Figure 2–5. It receives the requests from HIUs and stores them in a NM buffer , routes them to the de[...]
-
Seite 17
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–7 USER MANUAL 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 Adapte[...]
-
Seite 18
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–8 USER MANUAL 2.3.4 Typical Network Applications 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 as the host interface and network manager . Host Com- puter UNILINK TIW A Y I UniLink Host [...]
-
Seite 19
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–9 USER MANUAL Host Com- puter UNILINK UniLink Host Adapter (MHU) Host Com- puter UNILINK UniLink Host Adapter (MHU) Figure 2–8 Typical Multiple Host Network Host Com- puter UNILINK (HIU) Host Com- puter UNILINK (HIU) UNILINK Host Com- puter Figure 2–9 NM Network[...]
-
Seite 20
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–10 USER MANUAL 2.3.5 The Emulate Host Adapter Modes There are two modes available that provide an emulation of the TIW A Y 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, code 03, is not a[...]
-
Seite 21
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–1 1 USER MANUAL TIW A Y I Host Software can be used with adapters in a multiple host network. However , you must define an HIU address using the XP AR subroutine and the CONFIGURE HIU command, and you cannot use the POLL command.[...]
-
Seite 22
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–12 USER MANUAL 2.5 SETTING THE OPERA TING 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. Th[...]
-
Seite 23
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–13 USER MANUAL operating mode to the value specified. The only operating mode that can not be 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 by dipswitch settings described in Chapter 3 and Cha[...]
-
Seite 24
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–14 USER MANUAL At any time, your applications software can retrieve the current values for these parameters by issuing the REPORT ADAPTER CONFIGURA TION command, code 21. In addition to those parameter values, this command will also return the values of the dipswitch settings and a flag that indi[...]
-
Seite 25
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–15 USER MANUAL 2.5.5 Configuring the Standalone Network Manager The Standalone Network Manager (SANM) mode is configured completely with dipswitch settings. The definition for some of the dipswitch positions is different for this operating mode as shown in Figure 2–12. The SANM mode is selected[...]
-
Seite 26
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–16 USER MANUAL Since the SANM cannot accept any NM commands, Positions 1–7 of Dipswitch 2 define certain Network Manager function options normally configured with the CONFIGURE NETWORK MANAGER command. When Position 1 of Dipswitch 2 is up, it selects a one-half second delay after CTS is active.[...]
-
Seite 27
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–17 USER MANUAL 2.6 SPECIAL NETWORK MANAGER FEA TURES The adapter provides two special features in the MHIU and NM operating modes. First is the redundant media channels with selectable automatic media channel switching. Second is the background monitor that will bring devices online dynamically .[...]
-
Seite 28
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–18 USER MANUAL offline, and if the secondary is an HIU. The Network Manager normally cycles through the secondary device log and checks to see if there are any outstanding directives or responses. In addition, it will also select one secondary device address per cycle to perform a link status che[...]
-
Seite 29
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–19 USER MANUAL 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. Y ou can obtain peak performance by [...]
-
Seite 30
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–20 USER MANUAL 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 TIW A Y I Primitives 02 — Machine Status, 03 — Machine T ype/Configurat[...]
-
Seite 31
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–21 USER MANUAL 2.7.2 Primitive 03 Response The Primitive 03 response will be returned as follows. LLLL 03 HH DDDD EEEE FFFF GGGG IIII JJJJ KKKKKKKK Where LLLL is the Primitive length, HH will be 00 indicating that it is operational and performing instruction execution, DDDD will be 007E indicatin[...]
-
Seite 32
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–22 USER MANUAL 2.8 MODE INDEPENDENT OPERA TIONS The mode independent commands perform hardware and software resets, and external I/O point operations regardless of the operating modes. 2.8.1 Reset Commands There are two reset commands that can be sent to the UNILINK Host Adapter regardless of the[...]
-
Seite 33
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–23 USER MANUAL 2.8.2 The Exter nal Input/Output Points The UNILINK Adapter provides a single external input point and a single external output point. These two points operate independently and can be used in a variety of applications like a remote “Adapter Good” indicator . For safety critica[...]
-
Seite 34
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–24 USER MANUAL 2.8.2.1 The Exter nal Input Point The input point latches a high level. The option parameter of the REPORT EXTERNAL INPUT ST A TUS command determines when to reset and latch the external input. The values for the command option are: 00 = Read the input, do not reset the latch. 01 =[...]
-
Seite 35
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–25 USER MANUAL 2.9 BASIC NETWORK OPERA TIONS The simplest network operations, in either a single or multiple host network, are performed using the Base HIU commands, codes 1–8. These commands allow you to bring secondary devices online and offline, send data to/from the secondaries, and retriev[...]
-
Seite 36
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–26 USER MANUAL 2.9.2 Sending Data T o And Fr om Secondary Devices After the secondary device is connected, your applications software can send TIW A Y I Primitives to the secondary with the SEND NETWORK DA T A command or the BROADCAST NETWORK DA T A TRANSFER command. The T I WAY I Primitives prov[...]
-
Seite 37
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–27 USER MANUAL The BROADCAST NETWORK DA T A TRANSFER command will send the Primitive to all logically connected secondary devices on the network and is provided for backward compatibility with the original TIW A Y I Host Adapter . The Broadcast/Poll sequence is more efficiently handled with macro[...]
-
Seite 38
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–28 USER MANUAL 02 0002 1 1 00 02 03 01 03 01 0002 1 1 01 03 02 03 02 0002 1 1 01 03 03 Issue Broadcast command Accepted response Poll address #1 Address #1 response Poll address #2 Address #2 response Poll remaining addresses Example 2–1 BROADCAST/POLL Example 2.9.3 Retrieving Secondary Statist[...]
-
Seite 39
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–29 USER MANUAL 2.9.4 T aking Secondary Devices Of f-line The DISCONNECT SECONDARIES command performs the opposite function of the CONNECT SECONDARIES command. The secondary devices listed after the command code are logically disconnected and their addresses removed from the secondary log. Again, [...]
-
Seite 40
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–30 USER MANUAL 2.10 EXTENDED NETWORK OPERA TIONS The Extended HIU (EHIU) commands provide several performance improvement benefits through macros and bandwidth adjustments. 2.10.1 What Ar e Macr os? Normally , when the host computer issues a network request to connect, disconnect, and send data t[...]
-
Seite 41
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–31 USER MANUAL 2.10.1.2 Repetitive and Non-Repetitive Macr os Y ou specify in each macro definition whether the macro should be issued one time or repeated at regular time intervals. Non-repetitive macros are issued once and collect one macro response, functioning much like a direct command. T o [...]
-
Seite 42
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–32 USER MANUAL 2.10.2 The Parts of a Macr o MACRO HEADER MACRO COMMAND BUFFER MACRO RESPONSE BUFFER Figure 2–14 The Parts of a Macro Each macro is stored in a variable length buffer . The macro buffer is referenced by a unique buffer number assigned by the HIU function when the buffer is alloca[...]
-
Seite 43
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–33 USER MANUAL The total macro memory requirements can be calculated by summing the memory for each individual macro. For example, suppose that you use one macro to connect secondary #7, another macro to issue a Primitive 45 bytes long expecting a response 30 bytes long, and another macro to disc[...]
-
Seite 44
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–34 USER MANUAL The UNILINK Host Adapter also supports multiprocessing in host computer applications through the host assigned Source Identification number . This number associates each host task with corresponding macros, preventing one task from interfering with another ’ s resources. Up to th[...]
-
Seite 45
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–35 USER MANUAL 2.10.4 Setting Up A Macr o Figure 2–16 flowcharts the steps for setting up macros. Commands for checking available memory are not included in the flowchart, but are described in the sections that follow . Allocate A Source ID Allocate A Macro Buf fer Define the Macro More Macros [...]
-
Seite 46
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–36 USER MANUAL 2.10.4.1 Allocate A Sour ce Identification Number Use the ALLOCA TE SOURCE ID command, code 10, to specify a Source Identification number which can range from 1 to 254 (01 to FE hex). Only thirty-two unique Source Identification numbers can be used at any one time. Figure 2–17 il[...]
-
Seite 47
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–37 USER MANUAL If this command is accepted, the UNILINK Host Adapter will echo back this same command string, otherwise the ERROR RESPONSE will be returned. Source Ids can also be used to group network responses, such as the status of each device. Only one Source Identification number is allocate[...]
-
Seite 48
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–38 USER MANUAL 2.10.4.3 Define The Macr o Use the DEFINE MACRO command, code 14, to define the macro and the macro options. Figure 2–18 shows the DEFINE MACRO command frame. Macros can connect a secondary , disconnect a secondary , or send a Primitive to a secondary . These three functions are [...]
-
Seite 49
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–39 USER MANUAL The third macro type is “send Primitive” which is functionally equivalent to using the SEND NETWORK DA T A command, but is far more flexible. This macro begins with the same bytes as the two other types with the addition of a macro options byte, a minimum reissue delay time wor[...]
-
Seite 50
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–40 USER MANUAL MSB LSB Byte ACTIONS (hex) 0 0 0 0 0 0 0 0 = 00 Non-repetitive, must be explicitly enabled, 1 1 0 0 0 0 0 0 = C0 Repetitive, auto enabled, will not freeze exception 0 1 1 1 0 0 0 0 = 70 Repetitive, must be explicitly enabled, will freeze exception data, will not check first respons[...]
-
Seite 51
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–41 USER MANUAL Yo u can request more than one buffer at a time; however , be sure that the total combined length of each buffer response does not exceed the maximum message length, or the ERROR RESPONSE will be returned. The Primitive data must fit into one host response I-Frame. The secondary ad[...]
-
Seite 52
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–42 USER MANUAL 2.10.6 Enabling and Disabling Macr os The ENABLE/DISABLE MACRO EXECUTION command explicitly enables and/or disables defined macros for execution. When this command is processed the exception flag will be cleared and the MRSW reset to 0000 hex if the macro is being enabled, or the M[...]
-
Seite 53
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–43 USER MANUAL 2.10.8 Checking Memory Usage There is a certain amount of housekeeping that your host application programs will need to do for the flexibility provided by macros. Y our programs should apply the following rules. Y our programs must assign and keep track of the Source Identifica[...]
-
Seite 54
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–44 USER MANUAL UNILINK Host Adapter Macro Response Buf fer #A Macro Response Buf fer #B Secondary #1 Secondary #2 Data Packet Data Packet Figure 2–19 Link Macro Stor e and Forward Operation Both macros must be disabled before the LINK MACRO command will be accepted. The trigger macro must be a [...]
-
Seite 55
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–45 USER MANUAL Once the action macro has successfully completed, the trigger macro behaves as though the link never existed. If it is a repetitive macro, it will be enabled. The trigger macro’ s exception flag is also set as though the link never existed except that it will not be set until the[...]
-
Seite 56
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–46 USER MANUAL 2.10.10.2 NM Buf fer Allocation These buffers are allocated implicitly with the background monitor function. However , the NM function in an adapter in the MHIU/EHA mode does not support background monitor or multiple hosts. The value specified for Option–09 of the CONFIGURE NETW[...]
-
Seite 57
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–47 USER MANUAL 2.10.10.3 Adjusting An HIUs Bandwidth The REPORT NETWORK BANDWIDTH ALLOCA TION command, code 36, returns counters that reflect the relative network activity for a specific HIU. The counters do not reset after reaching their maximum value and must be explicitly reset. Although the H[...]
-
Seite 58
OPERA TION AND APPLICA TION UNILINK HOST ADAPTER 2–48 USER MANUAL 2.10.10.4 Per formance Statistics The REPORT NETWORK MANAGER SECONDAR Y ST A TISTICS and REPORT NETWORK MANAGER NETWORK ST A TISTICS commands are provided as network diagnostic aids for locating bottlenecks or faulty secondaries. The REPORT NETWORK MANAGER SECONDAR Y ST A TISTICS c[...]
-
Seite 59
UNILINK HOST ADAPTER 3–1 USER MANUAL CHAPTER 3 CONFIGURING THE HOST COMPUTER POR T 3.1 THE HOST COMPUTER INTERF ACE The UNILINK Host Adapter communicates with a wide range of host computer devices through a serial binary data interface using EIA RS–232–C control signals and EIA RS–423–A drivers as illustrated in Figure 3–1. This port is[...]
-
Seite 60
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–2 USER MANUAL 3.2 RS–232–C/RS–423–A PHYSICAL INTERF ACE Port 3 on the UNILINK Host Adapter , shown in Figure 3–2, is a serial communications interface which implements a subset of RS–232–C control, data, and timing signals using RS–423–A drivers and receivers. It is a 25-[...]
-
Seite 61
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–3 USER MANUAL T able 3–1 RS–232–C/RS–423–A “D” Connector Pin Assignment Interchange Circuit Connector Pin No. CCITT Description AA 1 101 Protective Ground Signal Ground T ransmitted Data Recieve Data Request T o Send Clear T o Send Data Set Ready Data T erminal Ready Recieve [...]
-
Seite 62
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–4 USER MANUAL When the synchronous modem operation is selected, the adapter expects the modem to provide the clocking signals on pins 15 (DB) and 17 (DD). Selecting synchronous modem operation does not mean that you have selected a synchronous data link protocol such as the bisynchronous d[...]
-
Seite 63
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–5 USER MANUAL The IBM PC/A T r uses a 9-pin “D” connector for its serial interface port. A null modem cable diagram for the IBM PC/A T port is shown in Figure 3–5. 6 1 9 5 14 25 1 13 GND DTR SD RD DCD RI CTS RTS DSR TxD RxD RTS CTS DSR GND DCD IBM PC/A T 9–Pin UNILINK Host Adapter [...]
-
Seite 64
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–6 USER MANUAL 3.2.3 Multidr op Host Inter face Cir cuit Y ou can multidrop up to 32 adapters using modems in a multipoint circuit as shown in Figure 3–6. This allows the host computer to control multiple TIW A Y I networks; however , each adapter must use the BDLC protocol. Each adapter [...]
-
Seite 65
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–7 USER MANUAL 3.2.4 XON/XOFF Flow Contr ol XON/XOFF flow control is provided at Port 3 to accommodate host computers with small input buffers. This is achieved with the XON and XOFF flow control characters sent from the host computer . T ransmission will stop within four characters after X[...]
-
Seite 66
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–8 USER MANUAL 3.3 HOST PORT COMMUNICA TIONS The UNILINK Host Adapter provides a choice of two data link layer protocols for ensuring data integrity through the physical link; the Byte–oriented Data Link Control (BDLC) protocol and the Non–Intelligent T erminal Protocol (NITP). Both pro[...]
-
Seite 67
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–9 USER MANUAL The host computer must wait for the adapter response for the command issued, before another command can be issued. This command/response sequence, illustrated in Figure 3–8, ensures that the response matches the command. It is designed to work with a wide range of A[...]
-
Seite 68
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–10 USER MANUAL The BDLC protocol is a byte–oriented subset of the ANSI X3.66 standard protocol, similar to the ISO standard HDLC protocol. The major features of the BDLC protocol are listed below . It provides a higher level of data integrity and throughput improvements over NITP , b[...]
-
Seite 69
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–1 1 USER MANUAL BDLC Host Command BDLC Host Command RR, “Poll” RR, “Poll” RR, “Message Received” RR, “Message Received” First Network Response Second Network Response Host Computer UNILINK Host Adapter Figure 3–9 BDLC Multiple Outstanding T ransactions Another considerati[...]
-
Seite 70
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–12 USER MANUAL The host port communication parameters are configured with two 10-position dipswitches located at the front of the adapter as shown in Figure 3–3. T o select NI[...]
-
Seite 71
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–13 USER MANUAL Next set the positions on Dipswitch 2 to correspond with the communication parameters set for the host computer . The adapter always communicates with the host computer using seven data bits, one start bit, and one stop bit. The baud rate settings for Positions 5–8 of Dips[...]
-
Seite 72
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–14 USER MANUAL Position 9 on Dipswitch 2 is for selecting the adapter ’ s operational mode and will be discussed in more detail in Chapter 2. Position 10 should be down for normal operation. The other switch positions on Dipswitch 1 define the TIW A Y I network parameters and are discuss[...]
-
Seite 73
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–15 USER MANUAL T able 3–3 BDLC Pr otocol Address Dipswitch 1 Positions Address 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0 0000 4 5678 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1[...]
-
Seite 74
CONFIGURING THE HOST COMPUTER PORT UNILINK HOST ADAPTER 3–16 USER MANUAL 3.4 HOST COMMAND TIMEOUT The Host Command T imeout is the user -selectable time period that guarantees a response from the adapter will be returned within that limit. If the adapter has not received a response from the secondary device before this time period expires, the ad[...]
-
Seite 75
UNILINK HOST ADAPTER 4–1 USER MANUAL CHAPTER 4 THE TIW A Y I NETWORK POR TS 4.1 NETWORK PORTS The UNILINK Adapter offers a choice of two physical interfaces for network communications; the Local Line or Modem interfaces. The following table lists the model numbers and the type of interfaces in each. T able 4–1 UNILINK Adapter Models Model Numbe[...]
-
Seite 76
THE TIW A Y I NETWORK PORTS UNILINK HOST AD APTER 4-2 USER MANU AL 4.1.1 Local Line Inter face Port 1 Port 2 Port 3 Port 4 Local Line Interface Ports I/O 12345 Figure 4–1 Local Line Inter face Ports The Local Line interface to TIW A Y I is a female 9-pin “D” connector shown as Ports 1 and 2 in Figure 4–1. Port 1 is the primary network port.[...]
-
Seite 77
THE TIW A Y I NETWORK PORTS UNILINK HOST ADAPTER 4–3 USER MANUAL The TIW AY I Local Line interface has the advantage of being more economical than the modem interface since the media is shielded twisted pair cable, such as Belden 9860 or Belden 9271. Figure 4–2 shows the TIW A Y I bus structure with the network trunkline cable, which can ge[...]
-
Seite 78
THE TIW A Y I NETWORK PORTS UNILINK HOST AD APTER 4-4 USER MANU AL 30 25 20 15 10 8 5 4 3 2 1 6 7 10 50 100 250 Cable Unit Loading (Number of Stations) 19.2 k bps 38.4 k bps 57.6 k bps 1 15.2 k bps 1 15.2 k bps or lower Belden 9860 Belden 9271 Cable Distance (1000’s of feet) 20 5 I003648 Figure 4–3 Number of Local Line Secondaries vs. Cable Dis[...]
-
Seite 79
THE TIW A Y I NETWORK PORTS UNILINK HOST ADAPTER 4–5 USER MANUAL 4.1.2 Modem Inter face A000654 Port 1 Port 2 Port 3 Port 4 AC NEUT AC LINE GND 1 2 3 4 5 I/O Interface Ports Figure 4–4 RS–232–C/RS–423–A Modem Inter face Ports The modem interface is a standard “T ype E” DTE configuration as defined in the EIA RS–232–C standard th[...]
-
Seite 80
THE TIW A Y I NETWORK PORTS UNILINK HOST AD APTER 4-6 USER MANU AL T able 4–3 RS–232–C/RS–423–A “D” Connector Pin Assignment Interchange Circuit Connector Pin No. CCITT Description AA 1 101 Protective Ground Signal Ground T ransmitted Data Receive Data Request T o Send Clear T o Send Data Set Ready Data T erminal Ready Recieve Line Si[...]
-
Seite 81
THE TIW A Y I NETWORK PORTS UNILINK HOST ADAPTER 4–7 USER MANUAL Y ou also have a choice of using either NRZ or NRZI encoding with the modem interface. NRZI is recommended because of its self-clocking properties. A special Clear-to-send (CTS) to transmit timing delay has been provided for use with radio link modems, ranging from 0 ms to 1,000 ms [...]
-
Seite 82
THE TIW A Y I NETWORK PORTS UNILINK HOST AD APTER 4-8 USER MANU AL 4.2 REDUNDANT MEDIA TRANSMISSION Most TIW A Y I conformant devices support a redundant media scheme which provides active access to a device over one of two independent media channels. Should access to a device fail on one channel, communications can be automatically or manually swi[...]
-
Seite 83
THE TIW A Y I NETWORK PORTS UNILINK HOST ADAPTER 4–9 USER MANUAL 4.3 TIW A Y I HDLC NETWORK PROTOCOL The TIW A Y I network uses the HDLC protocol in the unbalanced, normal response mode (UNRM) for transmission of commands and responses. In this mode a single Network Manager (primary) controls the flow of messages between secondary devices. Inform[...]
-
Seite 84
THE TIW A Y I NETWORK PORTS UNILINK HOST AD APTER 4-10 USER MANU AL 4.4 SETTING THE NETWORK PORTS P ARAMETERS The network ports must be explicitly enabled with the CONFIGURE HIU and CONFIGURE NETWORK MANAGER commands. The syntax for these commands is given in Chapter 5. The network parameters specified explicitly in these commands overrides the def[...]
-
Seite 85
THE TIW A Y I NETWORK PORTS UNILINK HOST ADAPTER 4–1 1 USER MANUAL 1 2 3 4567 8 9 1 0 U P DIPSWITCH 1 HOST COMMAND TIW A Y I BA UD RA TE MSB LSB UP = SYNCHRONOUS DOWN = ASYNCHRONOUS UP = FULL DUPLEX DOWN = HALF DUPLEX UP = NRZI DOWN = NRZ UP = NITP TIW A Y I TIW A Y I TIW A Y I TIMEOUT Figure 4–7 Network Port Dipswitch Settings NOTE The Local L[...]
-
Seite 86
UNILINK HOST ADAPTER 5–1 USER MANUAL CHAPTER 5 HOST COMMAND SET REFERENCE 5.1 INTRODUCTION This chapter presents the syntax for each command. The command syntax descriptions begin in Paragraph 5.2 and are listed in numerical order (starting at 00 to FE hexadecimal). The command syntax conventions are defined in Paragraph 5.1.1. Certain network ad[...]
-
Seite 87
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–2 USER MANUAL D All codes and parameters are separated by spaces. D Optional parameters are surrounded by parentheses, like (aa bb). D Parameter sequences that may be repeated are surrounded by brackets, like [aa bb]. D Certain letters designate a specific parameter type used throughout the comman[...]
-
Seite 88
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–3 USER MANUAL 5.1.2 Usage Description A usage description is included with each command reference to give an indication of when the command should be used. The meaning of the usage descriptors are CONFIGURA TION This command is used to configure the adapter for operation. This command can only be [...]
-
Seite 89
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–4 USER MANUAL The cycle at power -up or reset is shown in Figure 5–2. Configuration Initiation Operation Performance T ermination Figure 5–2 Command Usage Cycle 5.1.3 Secondary Addr esses Secondary addresses are one byte in length and range from 1 to 254. The addresses 0 and 255 are reserved f[...]
-
Seite 90
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–5 USER MANUAL T able 5–1 Secondary Addresses Decimal Address 0 1–254 255 Hexadecimal Address 00 01–FE FF Usage Reserved for special functions, refer to individual commands. A vailable for secondary device addresses. Reserved for special functions, normally used to indicate all secondary devi[...]
-
Seite 91
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–6 USER MANUAL 5.2 ERROR RESPONSE An ERROR RESPONSE, rather than the normal command response, will be returned when the host request is invalid. Response: 00 dddd (aa) Parameters: dddd Error codes. All error codes and corrective actions are given in Chapter 6. aa The secondary address associated wi[...]
-
Seite 92
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–7 USER MANUAL 5.3 BASE HIU COMMANDS The Base HIU commands are backward compatible with the original commands for the TIW A Y I Host Adapter . These commands cause a direct network request to be issued to connect and disconnect secondaries, send data to and from secondaries, and read secondary stat[...]
-
Seite 93
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–8 USER MANUAL 5.3.1 Send Network Data — 01 The SEND NETWORK DA T A command sends a specified host Primitive to a network secondary via the Network Manager . Once the Primitive has been received by the secondary , the Network Manager polls the secondary for the Primitive response and returns it t[...]
-
Seite 94
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–9 USER MANUAL 5.3.2 Br oadcast Network Data T ransfer — 02 The BROADCAST NETWORK DA T A TRANSFER command sends the Primitive data to all online secondary devices. The secondary device log contains only those secondary devices in the network that are online. However , this type of information tra[...]
-
Seite 95
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–10 USER MANUAL CAUTION Y ou should not issue the BROADCAST NETWORK DA T A TRANSFER command if your network contains Intelligent T ank T ransmitters (ITT s) as secondary devices, or you could lose responses. Also, sending a BROADCAST NETWORK DA T A TRANSFER command when your adapter is configured a[...]
-
Seite 96
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–1 1 USER MANUAL 5.3.3 Poll Secondary — 03 The POLL SECONDAR Y command is issued to collect the responses to the broadcast command or a SEND NETWORK DA T A command that timed out in the Network Manager (NM). This command is only valid for an adapter configured as an MHIU in EHA mode. Command: 03 [...]
-
Seite 97
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–12 USER MANUAL 5.3.4 Connect Secondaries — 04 The CONNECT SECONDARIES command logically connects one or more secondaries to the network. Each host computer must issue this command for the secondary devices that it will be communicating with. T rying to connect many secondary devices at the same [...]
-
Seite 98
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–13 USER MANUAL 5.3.5 Disconnect Secondaries — 05 The DISCONNECT SECONDARIES command removes the specified secondaries from the secondary log and automatically disables associated macros, setting their MRSWs to the appropriate T ermination Code. If the HIU processing this command was given permis[...]
-
Seite 99
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–14 USER MANUAL 5.3.6 Read Secondary Log — 06 The READ SECONDAR Y LOG command returns the list of secondaries that are logically connected to the HIU. Command: 06 Response: 06 [aa] Usage: OPERA TION Modes: MHIU/EHA, HIU/EHA, MHIU, HIU Parameters: aa The secondary addresses currently connected to [...]
-
Seite 100
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–15 USER MANUAL 5.3.7 Read Secondary Diagnostics — 07 The READ SECONDAR Y DIAGNOSTICS command returns statistics for the specified secondary device. Only counts related to the issuing HIU are returned. W ith the exception of the number of I–Frames transmitted to and from the secondary , these c[...]
-
Seite 101
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–16 USER MANUAL hhhh This value will always be zero. iiii The number of times the secondary has been initialized as a direct request by the HIU.[...]
-
Seite 102
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–17 USER MANUAL 5.3.8 Read Adapter Diagnostics — 08 The READ ADAPTER DIAGNOSTICS command returns statistics for the entire network related to the issuing HIU. W ith the exception of the number of I–Frames transmitted to and from the secondaries and the number of various commands issued to the H[...]
-
Seite 103
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–18 USER MANUAL jjjj The number of valid RESET ADAPTER commands processed. kkkk The number of polls transmitted to secondaries. llll The number of TIW A Y I HDLC I–Frames transmitted to secondaries. mmmm The number of network errors including CRC errors, timeouts, aborts, and the loss of RS–232[...]
-
Seite 104
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–19 USER MANUAL 5.4 THE EXTENDED HIU COMMANDS The Extended HIU commands enhance the original TIW A Y I Host Adapter command set by providing improved performance and operation. Some of the functions provided by these commands are the definition and operation of macros, HIU bandwidth adjustment, and[...]
-
Seite 105
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–20 USER MANUAL 5.4.1 Allocate Sour ce Id — 10 The ALLOCA TE SOURCE ID command establishes a source identification number that maintains the independence of task resources. This number is the link between the host applications task and the associated macro resources. This command can be issued at[...]
-
Seite 106
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–21 USER MANUAL 5.4.2 Configure HIU Command — 11 The CONFIGURE HIU command enables the HIU function/TIW A Y I network interface. It also configures the TIW A Y I network parameters. This command can only be issued once, after the adapter is reset or powered–up and the mode configured, and must [...]
-
Seite 107
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–22 USER MANUAL 0 0 = Asynchronous, 1 = Synchronous 0 = Half Duplex, 1 = Full Duplex 1 0 = NRZ, 1 = NRZI 2 Not Used 3 Baud Rate (Bit 4 is MSB) 4 56 78 Not Used 9 1 01 21 31 41 5 MSB LSB Figure 5–4 CONFIGURE HIU Command — Option 01 Bit Map T able 5–2 Baud Rates Network 0 0 0 0 0 0 0 0 1 1 00 0[...]
-
Seite 108
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–23 USER MANUAL Option–02 = The maximum allowable delay between the assertion of the RTS signal and the activation of the CTS signal by the network modem. The delay is specified in milliseconds ranging from 0 to 1000 (0000 hex to 03E8 hex) in increments of 1 ms. This parameter is only used for RS[...]
-
Seite 109
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–24 USER MANUAL 5.4.3 Report HIU Configuration — 12 The REPORT HIU CONFIGURA TION command reports the values for the HIU options specified with the CONFIGURE HIU command. Command: 12 Response: 12 dddddddd ff 01 vvvv 02 vvvv 03 vvvv Usage: CONFIGURA TION Modes: MHIU, HIU Parameters: dddd The curre[...]
-
Seite 110
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–25 USER MANUAL 5.4.4 Allocate Macr o Storage Buf fers — 13 The ALLOCA TE MACRO STORAGE BUFFERS command allocates buffers for macro storage. This command can be repeatedly issued, and the HIU will continue to add buffers until the HIU memory is either used or a total of 254 macro buffers have bee[...]
-
Seite 111
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–26 USER MANUAL In addition to the bytes specified, 22 bytes will be added for header information. If this total count is an odd number of bytes, one byte will be added to make the count even, so that all macro buffers begin and end on word boundaries. bb The buffer number assigned by the adapter t[...]
-
Seite 112
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–27 USER MANUAL 5.4.5 Define Macr o — 14 The DEFINE MACRO command defines or redefines a macro command in the specified macro buffer . Macros must be disabled and unlinked before they can be redefined. The macro command can be redefined by reissuing this command, and the new macro will replace th[...]
-
Seite 113
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–28 USER MANUAL 02 = Connect Secondary . This macro type performs the CONNECT SECONDARY function for the single secondary device in the background mode. When the connect attempt is complete, the MRSW will be set to 8004 hex and the exception flag will be set. The MRSW can be retrieved with the GA T[...]
-
Seite 114
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–29 USER MANUAL oo The macro options byte, which is bit mapped as follows: 0 1 = Automatically Enable For Execution 1 = Repetitive Macro 1 1 = Freeze Macro and Response On Exception 2 0 = Set Exception Flag On First Response 3 Bits 4–7 Are Unused 4 56 7 MSB LSB 0 = Leave Macro Disabled 0 = Non–[...]
-
Seite 115
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–30 USER MANUAL Bit 2 when set to one enables the freeze feature. This option is only valid for repetitive macros. When an exception is found, the HIU will disable the macro. Bit 3 when set to one will disable the exception flag test on the first macro response. This option is only valid for repeti[...]
-
Seite 116
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–31 USER MANUAL 5.4.6 Gather Macr o Response — 15 The GA THER MACRO RESPONSE command returns one or more macro responses to the host computer . Y ou can choose to retrieve the entire macro response buffer data along with the MRSW or just the MRSW . Y ou can also choose to retrieve all the buffers[...]
-
Seite 117
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–32 USER MANUAL T able 5–3 MRSW V alues MRSW V alues (hex) Description This macro has not been executed since the last time it was The number of times a repetitive macro response has been updated. T ermination Code – the macro is disabled due to either an error , an exception, or an explicit di[...]
-
Seite 118
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–33 USER MANUAL 5.4.7 Enable/Disable Macr o Execution — 16 The ENABLE/DISABLE MACRO EXECUTION command processes a list of macro buffer numbers to either enable or disable the specific macros for execution. The exception flag is cleared for each valid macro buffer number regardless of whether the [...]
-
Seite 119
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–34 USER MANUAL 05 = the macro buffer specified has not been defined yet. Issue the DEFINE MACRO command and then reissue this request. 06 = the macro buffer specified is the trigger macro in a link macro pair which cannot be explicitly enabled at this time because the action macro response has not[...]
-
Seite 120
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–35 USER MANUAL Example: Byte 1, Command Code – ENABLE/ 16 Byte 2, Source Identification Number 0F Bytes 3–4, Enable Buf fer #03 03 Bytes 5–6, Disable Buf fer #C3 01 C3 00 3E 01 Bytes 7 & 8, Enable Buf fer #3E DISABLE MACRO EXECUTION Example 5-1 ENABLE/DISABLE MACRO EXECUTION Command Byte[...]
-
Seite 121
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–36 USER MANUAL 5.4.8 Initialize Macr o Response Buf fer — 17 The INITIALIZE MACRO RESPONSE BUFFER command sets the MRSW to the value specified. This will cause the exception flag to be set only when the response differs from this defined response. The macro must be disabled and the exception fla[...]
-
Seite 122
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–37 USER MANUAL 5.4.9 Report Memory Usage — 18 The REPORT MEMOR Y USAGE command returns the number of bytes of memory available for macro storage, the number of unused macro buffers, the number of Source Id numbers remaining of the 32 limit, and a list of the active Source Id numbers. This comman[...]
-
Seite 123
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–38 USER MANUAL 5.4.10 Allocate HIU Bandwidth — 19 The ALLOCA TE HIU BANDWIDTH command allows an adapter configured as an HIU to control how the NM buffers allocated for its use will be used. The Network Manager allocates a fixed number of NM buffers for the HIU’ s use, which is the HIU’ s ba[...]
-
Seite 124
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–39 USER MANUAL 5.4.11 Report HIU Bandwidth Allocation — 1A The REPORT HIU BANDWIDTH ALLOCA TION command returns the HIU bandwidth allocation defined in the ALLOCA TE HIU BANDWIDTH command. It also returns the number of I–Frame pairs and the number of data bytes sent and received by each type o[...]
-
Seite 125
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–40 USER MANUAL 5.4.12 Report HIU Status — 1B The REPORT HIU ST A TUS command returns the status of the HIU and statistics on network performance. The statistics for the HIU are those associated with the Network Manager to HIU communication. The counters are not incremented after reaching their m[...]
-
Seite 126
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–41 USER MANUAL ffff The number of times the HIU has been issued a SNRM by the Network Manager . gggg The number of times the HIU has been issued a DISC by the Network Manager . hh When set to 01, this parameter indicates that the Network Manager has reinitialized the HIU with a different configura[...]
-
Seite 127
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–42 USER MANUAL 5.4.13 Link Macr o — 1C The LINK MACRO command links two macros together to form an “unconditional store and forward” command sequence that enables host initiated secondary-to-secondary communications. The first macro reads data from a secondary device and stores it in the sec[...]
-
Seite 128
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–43 USER MANUAL will be set, disabling the trigger macro. Once the action macro has successfully completed, the trigger macro behaves as any non-linked macro. If the trigger macro is repetitive or the freeze option detected no change, it will be enabled. The trigger macro’ s exception flag will b[...]
-
Seite 129
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–44 USER MANUAL Macro Linking Procedure 1. Allocate two macro buffers. The trigger response buffer will be at least eight bytes in length for Primitive 20 and at least ten bytes for Primitive A0. The action macro command buffer must be greater than or equal to the size of the trigger macro response[...]
-
Seite 130
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–45 USER MANUAL Define macro 01 as a repetitive send Primitive 20 to read a block of data from secondary 05 — Command: 14 21 01 05 01 50 03E8 0006 20 01 0008 0001 Define macro 02 as send Primitive 30 to write the block of data to secondary 06 — Command: 14 21 02 06 01 00 0000 0006 30 01 0008 00[...]
-
Seite 131
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–46 USER MANUAL 5.5 ADAPTER CONFIGURA TION COMMANDS The following commands explicitly define the adapter ’ s operating mode and will report the configuration status back to the host computer . Configure Adapter Report Adapter Configuration[...]
-
Seite 132
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–47 USER MANUAL 5.5.1 Configur e Adapter — 20 The CONFIGURE ADAPTER command defines the operating mode and specifies the initial configuration parameters for the UNILINK Host Adapter . This command may be issued only once after the adapter is reset or powered up. Notice that you must include Opti[...]
-
Seite 133
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–48 USER MANUAL should be unique. HIUs function like other secondary devices and will use one of the available addresses as assigned. Address 00 is only valid for the default for an MHIU and cannot be specified. Option–03 = This parameter defines the maximum secondary address for the network, off[...]
-
Seite 134
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–49 USER MANUAL 5.5.2 Report Adapter Configuration — 21 The REPORT ADAPTER CONFIGURA TION command returns the values specified in the CONFIGURE ADAPTER command. All parameters will be returned, even the defaults. Command: 21 Response: 21 dddddddd ff 01 vvvv 02 vvvv 03 vvvv 04 vvvv Usage: PERFORMA[...]
-
Seite 135
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–50 USER MANUAL 5.6 NETWORK MANAGER COMMANDS The Network Manager commands define and operate the Network Manager function of an MHIU or a Network Manager . Additional commands return statistical data as a diagnostic aid. Configure Network Manager Report Network Manager Configuration Rep[...]
-
Seite 136
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–51 USER MANUAL 5.6.1 Configur e Network Manager — 30 The CONFIGURE NETWORK MANAGER command configures the network parameters and enables the Network Manager for operation. This command can only be issued once. Command: 30 [(oo vvvv)] Response: 30 Usage: CONFIGURA TION Modes: NM Parameters: oo Th[...]
-
Seite 137
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–52 USER MANUAL The adapter will automatically recognize which media type is installed. The parameters are bit mapped as shown in T able 5–4 with the baud rate selections given in T able 5–5. T able 5–4 Option Code 01 Bit Map Channel B Baud Rate 0 1 2 34 56 7 8 9 10 1 1 12 13 14 15 (Bit 12 is[...]
-
Seite 138
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–53 USER MANUAL T able 5–5 Baud Rates 0 0 0 0 0 0 0 0 1 1 00 0 MSB LSB 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 11 0 150 300 600 1200 2400 4800 9600 19200 38400 Baud Rate 1 1 0 0 1 1 0 1 57600 1 15200 * * * Not available on host port. Option–02 = This parameter defines the Channel [...]
-
Seite 139
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–54 USER MANUAL Option–04 = The number of milliseconds to delay transmission over Channel A (Port 1) after the CTS signal becomes active. This parameter is required for transmission over some radio links. The delay is specified in milliseconds ranging from 0 to 1000 (0000 hex to 03E8 hex) in incr[...]
-
Seite 140
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–55 USER MANUAL Option–09 = This parameter defines the number of Network Manager buffers to allocate to an HIU that is brought online after being detected by the background monitor feature. Bits 1 to 15 represent the binary value for the number of Network Manager buffers to allocate as shown in F[...]
-
Seite 141
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–56 USER MANUAL Option–0B = This parameter defines the Poll period or the minimum delay between polls for a Primitive response. The delay is used to space out polls after the initial delayed poll specified by the poll delay option. The value is in milliseconds and ranges from 0 to 5,000 (0000 hex[...]
-
Seite 142
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–57 USER MANUAL 5.6.2 Report Network Manager Configuration — 31 The REPORT NETWORK MANAGER CONFIGURA TION command returns the values for all the options specified in the CONFIGURE NETWORK MANAGER command, including default values. Command: 31 Response: 31 dddddddd ff [oo vvvv] Usage: PERFORMANCE [...]
-
Seite 143
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–58 USER MANUAL 5.6.3 Report Secondary Link Status — 32 The REPORT SECONDAR Y LINK ST A TUS command returns the communications link status and connect status for all secondary device addresses up to the maximum secondary address specified during the adapter configuration. Command: 32 Response: 32[...]
-
Seite 144
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–59 USER MANUAL 0 1 2 34 56 7 Not used 1 = HIU Allocated NM Buf fers 1 = Secondary Is An HIU 1 = Secondary Has Been Identified 0 = Secondary Has Not Been Identified 1 = Secondary Is On–Line 1 = Current Channel Is B 1 = Channel B Available 1 = Channel A Available 0 = HIU Has Not Been Alocated NM B[...]
-
Seite 145
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–60 USER MANUAL 5.6.4 Switch Channel — 33 The SWITCH CHANNEL command explicitly specifies the channel to be used for communicating with each secondary when redundant media is used. One, several, or all secondaries may be switched to the alternate media channel at any time. This command can be use[...]
-
Seite 146
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–61 USER MANUAL 5.6.5 Allocate Network Manager Buf fers — 34 The ALLOCA TE NETWORK MANAGER BUFFERS command specifies the number of Network Manager buffers to allocate to a specific HIU when the HIU is brought online. This command can be issued for any HIU at any time if the number of Network Mana[...]
-
Seite 147
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–62 USER MANUAL 5.6.6 Report Network Manager Buf fers A vailable — 35 The REPORT NETWORK MANAGER BUFFERS A V AILABLE command returns the total number of Network Manager buffers and the number of buffers available for allocation to HIUs. Command: 35 Response: 35 bbbb cccc Usage: PERFORMANCE Modes:[...]
-
Seite 148
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–63 USER MANUAL 5.6.7 Report Network Bandwidth Allocation — 36 The REPORT NETWORK BANDWIDTH ALLOCA TION command returns the relative amount of network bandwidth being used by a specific HIU. The counters stop incrementing when they reach their maximum value and must be explicitly reset. The first[...]
-
Seite 149
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–64 USER MANUAL 5.6.8 Report Network Manager Secondary Statistics — 37 The REPORT NETWORK MANAGER SECONDAR Y ST A TISTICS command returns statistical information for a specified secondary device. The statistics reflect the network activity between the secondary and the Network Manager , which inc[...]
-
Seite 150
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–65 USER MANUAL 5.6.9 Report Network Manager Network Statistics — 38 The REPORT NETWORK MANAGER NETWORK ST A TISTICS command returns statistics for the entire network. The statistics reflect the network activity between the Network Manager and all secondary addresses. The counters are not increme[...]
-
Seite 151
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–66 USER MANUAL eeee The number of TIW A Y I HDLC errors, including command rejects (FRMR), invalid HDLC responses, and sequence errors. This number may reflect errors logged because a BROADCAST NETWORK DA T A TRANSFER command was issued. These errors are logged because the POLL command is not avai[...]
-
Seite 152
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–67 USER MANUAL 5.7 MODE INDEPENDENT COMMANDS The following commands may be issued at any time to a UNILINK Host Adapter configured in any of the operating modes, except the Standalone Network Manager mode. These commands control miscellaneous aspects of the adapter operation. Modify External O[...]
-
Seite 153
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–68 USER MANUAL 5.7.1 Modify External Output Status — FC The MODIFY EXTERNAL OUTPUT ST A TUS command controls the external output point provided by the UNILINK Adapter . Command: FC cc Response: FC Parameters: cc Output status action: 00 = T urn the output off. 01 = T urn the output on.[...]
-
Seite 154
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–69 USER MANUAL 5.7.2 Report Exter nal Input Status — FD The REPORT EXTERNAL INPUT ST A TUS command reads the status of the external input point provided by the UNILINK Adapter . Several options are available for reading and resetting the input latch. Command: FD cc Response: FD ss Parameters: cc[...]
-
Seite 155
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–70 USER MANUAL 5.7.3 Soft Reset Command — FE The SOFT RESET COMMAND command forces the UNILINK Host Adapter to execute a software reset. All TIW A Y I communications will be aborted, all macros cleared, and the adapter will branch to the beginning of normal operating routines. The power -up diag[...]
-
Seite 156
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–71 USER MANUAL 5.7.4 Reset Adapter — FF The RESET ADAPTER command forces the UNILINK Host Adapter to execute a hardware reset. The reset will begin within one second after the response has been returned to the host computer . Y our applications software should allow a minimum of 2–3 seconds fo[...]
-
Seite 157
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–72 USER MANUAL 5.8 COMMAND SYNT AX QUICK REFERENCE ERROR RESPONSE Response: 00 dddd (aa) BASE HIU COMMANDS Send Network Data Command: 01 aa pppp... Response: 01 aa pppp... Broadcast Network Data T ransfer Command: 02 pppp... Response: 02 Poll Secondary Command: 03 aa Response: 03 aa pppp... Connec[...]
-
Seite 158
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–73 USER MANUAL THE EXTENDED HIU COMMANDS Allocate Source Id Command: 10 ss oo Response: 10 ss oo Configure HIU Command Command: 1 1 ([oo vvvv]) Response: 1 1 Report HIU Configuration Command: 12 Response: 12 dddddddd ff 01 vvvv 02 vvvv 03 vvvv Allocate Macro Storage Buffers Command: 13 ss [xxxx rr[...]
-
Seite 159
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–74 USER MANUAL Report HIU Bandwidth Allocation Command: 1A (rr) Response: 1A (hh ll nn [iiiiiiii ssssssss rrrrrrrr]) Report HIU Status Command: 1B (rr) Response: 1B (jj kk bbbbbbbb cccccccc dddd eeee ffff gggg hh ii) Link Macro Command: 1C ss b1 b2 oo (vvvv ...) Response: 1C ss b1 b2 ADAPTER CONFI[...]
-
Seite 160
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–75 USER MANUAL Report Network Manager Secondary Statistics Command: 37 aa (rr) Response: 37 aa (bbbb cccc dddd eeee ff) Report Network Manager Network Statistics Command: 38 cc (rr) Response: 38 cc ([bbbbbbbb cccccccc dddddddd eeeeeeee ffff]) MODE INDEPENDENT COMMANDS Modify External Output Status[...]
-
Seite 161
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–76 USER MANUAL 5.9 COMMAND CODES REFERENCE (NUMERICAL ORDER) Command Code Description 00 Error Response 01 Send Network Data 02 Broadcast Network Data T ransfer 03 Poll Secondary 04 Connect Secondaries 05 Disconnect Secondaries 06 Read Secondary Log 07 Read Secondary Diagnostics 08 Read Adapter Di[...]
-
Seite 162
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–77 USER MANUAL 5.10 COMMAND CODES REFERENCE (BY FUNCTION) Configuration and Reset Commands 1 1 Configure HIU 12 Report HIU Configuration 20 Configure Adapter 21 Report Adapter Configuration 30 Configure Network Manager 31 Report Network Manager Configuration FE Soft Reset FF Reset Adapter Secondar[...]
-
Seite 163
HOST COMMAND SET REFERENCE UNILINK HOST ADAPTER 5–78 USER MANUAL 36 Report Network Bandwidth Allocation 37 Report Network Manager Secondary Statistics 38 Report Network Manager Network Statistics Input Point/Output Point Commands FC Modify External Output Status FD Report External Input Status[...]
-
Seite 164
UNILINK HOST ADAPTER 6–1 USER MANUAL CHAPTER 6 ERROR CODES AND DIAGNOSTICS 6.1 ERROR RESPONSE CODES The following lists the possible error codes that will be returned with the ERROR RESPONSE when an error occurs. Macro response errors are listed in Paragraph 6.3. CODE DESCRIPTION AND SOLUTION 0001 The command was timed out by the HIU function. Th[...]
-
Seite 165
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–2 USER MANUAL 000E An uneven number of bytes was received from the secondary . 0010 Lost Data Carrier Detect (DCD) from the TIW A Y I interface port(s). 001 1 Lost Clear T o Send (CTS) from the TIW A Y I interface port(s). 0084 The command processor found an unrecognized command code in the comma[...]
-
Seite 166
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–3 USER MANUAL 008D One of the ASCII characters between the beginning and ending delimiters was not in the NITP character set. V alid NITP characters are the ASCII values 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F . Retry the message at least three times. If this same error returns all thr[...]
-
Seite 167
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–4 USER MANUAL 2009 The device addressed in the command string was not an HIU. 200A There is not enough memory for the number of secondary devices specified with the maximum secondary address parameter . The maximum secondary address defaults to 254. If you will not be using this many devices, you[...]
-
Seite 168
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–5 USER MANUAL 2019 The exception flag was set on this macro. 201A T oo much data was requested in the GA THER MACRO RESPONSE command. 201B The action macro is enabled. 201C The action macro Primitive must be either Primitive 30 or Primitive B0. 201D The data types in the trigger macro do not matc[...]
-
Seite 169
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–6 USER MANUAL 6.2 PRIMITIVE ERRORS The HIU function will respond to the 02, 03, and 04 TIW A Y I Primitives, just like Network Interface Modules (NIMs). The following Primitive response errors will be returned to any device sending an invalid Primitive. The responses to valid Primitives are defin[...]
-
Seite 170
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–7 USER MANUAL 6.3 MRSW TERMINA TION CODES The following lists the Macro Response Status W ord (MRSW) termination codes that will be set when a macro has completed execution either successfully or by an exception. The adapter will optionally return the MRSW when you issue the GA THER MACRO RESPONS[...]
-
Seite 171
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–8 USER MANUAL 8017 This macro is disabled because the host issued a disconnect to its HIU and an exception occurred prior to the disconnect. 8020 The macro response was too large to fit into the buffer . 8021 The wrong secondary address was in the macro response. 8023 Received the wrong TIW A Y I[...]
-
Seite 172
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–9 USER MANUAL 6.4 DIAGNOSTIC TESTS The UNILINK Host Adapter provides both selectable and continuous diagnostic tests to insure proper operation. The pattern shown on the six LEDs, shown in Figure 6–1, will indicate whether the adapter is operating normally or if an error has occurred. LEDs Rese[...]
-
Seite 173
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–10 USER MANUAL 6.4.1 The LEDs Only the Adapter Good LED is visible through the door during normal operation. The Adapter Good LED will remain lit when the adapter is operating properly . The remaining LEDs assume the meanings shown in Figure 6–2 during normal operation. At any given time, the O[...]
-
Seite 174
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–1 1 USER MANUAL 1 2 3 4567 8 9 1 0 U P UP = TEST MODE DOWN = RUN MODE UP = HIU/EHA–IO LOOP TES DOWN = MHIU/EHA Figure 6–3 T est Mode Dipswitch When Position 10 of Dipswitch 2 is up, the test mode is selected. The test mode performs all of the diagnostic tests performed in the run mode test an[...]
-
Seite 175
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–12 USER MANUAL 6.4.3 LED Err or Codes Figure 6–4 shows the pattern that can be displayed on the LEDs when you run any of the diagnostic tests. If an error does occur , the Adapter Good LED will flash two times each second and one of the error codes shown below will be displayed. The external lo[...]
-
Seite 176
ERROR CODES AND DIAGNOSTICS UNILINK HOST ADAPTER 6–13 USER MANUAL 6.4.4 External I/O Loopback T est There is a special diagnostic test for the Input/Output Points. This test is active when Positions 9 and 10 of Dipswitch 2 are up. T o run this test, perform the following steps. 1. Install a 20.0 to 30.0 VDC power supply to the output power termin[...]
-
Seite 177
UNILINK HOST ADAPTER A–1 USER MANUAL APPENDIX A USING THE NON-INTELLIGENT TERMINAL PROTOCOL A.1 CHARACTERISTICS OF THE NON–INTELLIGENT TERMINAL PROTOCOL The Non-Intelligent T erminal Protocol (NITP) is a simple, character-oriented method of data link communications using standard 7-bit ASCII codes. Both command and response messages consist of [...]
-
Seite 178
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST AD APTER A-2 USER MANU AL T able A–1 NITP Character Set 30 31 32 33 34 35 36 37 38 39 3A 3B 41 42 43 44 45 46 0 1 2 3 4 5 6 7 8 9 : ; A B C D E F 7–bit ASCII Code Displayed Character NOTE ASCII characters other than those in the NITP character set, such as a carriage return or line feed,[...]
-
Seite 179
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST ADAPTER A–3 USER MANUAL A.1.2 Message Delimiters A colon ( : ) marks the beginning of a message and a semicolon ( ; ) marks the end of a message. Any characters between a colon and the next semicolon are interpreted as a valid message, while any characters between a semicolon and the next [...]
-
Seite 180
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST AD APTER A-4 USER MANU AL A.1.5 Error -Checking Code Following the message body is an ASCII four -character error-checking code (ECC) in the form of a 16-bit hexadecimal number that is included at the end of the message just before the semicolon terminator . The ECC is a checksum computed by[...]
-
Seite 181
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST ADAPTER A–5 USER MANUAL Then insert the character count at the beginning of the message body as “00182001000202000E”. The ECC is given by: T wo’ s complement of (0018 + 2001 + 0002 + 0200 + 0E00) = CFE5 (ECC) Fill Characters so that the complete message is the character string: :0018[...]
-
Seite 182
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST AD APTER A-6 USER MANU AL Figure A–2 illustrates how a TIW A Y I Primitive is enclosed in the adapter command string which is enclosed in the NITP message structure. Length Primitive Code Descriptor Field(s) Data Unit Field(s) Command Code Secondary Address Network Data TIW A Y I Primitive[...]
-
Seite 183
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST ADAPTER A–7 USER MANUAL A.2 NITP Protocol Operation Setting Position 1 of Dipswitch 1 up selects NITP as the communication protocol between the host computer and the adapter . Messages in the form of adapter commands are composed and framed by the host computer and transmitted to the adapt[...]
-
Seite 184
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST AD APTER A-8 USER MANU AL A.2.1 Err ors and Err or Recovery The following ERROR RESPONSE codes from Chapter 6 relate to NITP data link errors: 0086 HOST FRAME TOO LONG — the frame exceeded 590 bytes in total length. Remember that the message body is composed of two ASCII characters for eac[...]
-
Seite 185
USING THE NON-INTELLIGENT TERMINAL PROT OCOL UNILINK HOST ADAPTER A–9 USER MANUAL A.2.2 Response T imeouts The adapter will respond with ERROR RESPONSE 0001 if the network response has not returned within the Host Command T imeout period set on Dipswitch 1. The secondary device failed to return the data either because it has gone offline or it co[...]
-
Seite 186
UNILINK HOST ADAPTER B–1 USER MANUAL APPENDIX B USING THE BDLC PROTOCOL The BDLC protocol is a subset of the ANSI X3.66–1979 Advanced Data Communication Control Procedure (ADCCP). BDLC provides a data link between the host computer and one or more UNILINK Host Adapters. The data link is responsible for establishing and terminating logical conne[...]
-
Seite 187
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–2 USER MANUAL B.1 BDLC CONFIGURA TION BDLC is an unbalanced configuration meaning that there is one primary station (the host computer) and one or more secondary stations (UNILINK Host Adapters) as illustrated in Figure B–1. The primary is responsible for setting each secondary to the normal respon[...]
-
Seite 188
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–3 USER MANUAL B.2 BDLC PROTOCOL FRAME STRUCTURE Information is transferred in single frames without any blocking. Each frame includes the destination address, the BDLC control field, the information, and the block checksum as shown in Figure B–2. Rather than using ASCII codes to indicate where one [...]
-
Seite 189
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–4 USER MANUAL B.2.2 Address Field The address field is eight bits in length and specifies the address of the UNILINK Host Adapter which is to receive the message. Up to 32 adapters may be multidropped on the same host network as discussed in Paragraph 3.2.3. The address is a unique value ranging from[...]
-
Seite 190
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–5 USER MANUAL B.2.5 Block Checksum Field This two-byte field is the Block Checksum (BCS) calculated by the transmitter and checked by the receiver to detect transmission errors. The calculation is a 16-bit one’ s complement Fletcher Checksum. The BCS is calculated using all bytes in the transmitted[...]
-
Seite 191
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–6 USER MANUAL B.3 BDLC PROTOCOL CONTROL FIELD STRUCTURES P/F N(S) 0 N(R) P/F 1 N(R) P/F 1 N 01 2345 67 MSB LSB 0 1 S M I–Frame Format Supervisoty Frame Unnumbered Frame Format Format First bit transmitted Where: N(S) is the transmitting station send sequence number . N(R) is the transmitting statio[...]
-
Seite 192
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–7 USER MANUAL The Unnumbered frame format is used to extend the number of supervisory control functions. Frames transmitted using this format do not increment the sequence counts at either the transmitting or receiving stations. Commands/Responses of this type may or may not contain an Information fi[...]
-
Seite 193
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–8 USER MANUAL B.4 COMMANDS AND RESPONSES The following subset of the ANSI X3.66 standard is supported by the UNILINK Host Adapter: SNRM — The Set Normal Response Mode command is issued by the host computer to logically activate the adapter ’ s host interface and/or to reset the send and recei[...]
-
Seite 194
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–9 USER MANUAL D RNR — The Receive Not Ready command is used by the adapter to indicate that its input buffer is full and the host should stop transmitting I-Frames and poll with RRs until the adapter responds with an RR or an I-Frame. D REJ — The Reject response is used by the adapter to indicate[...]
-
Seite 195
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–10 USER MANUAL B.5 ERRORS AND ERROR RECOVERY BDLCs design includes methods for detecting and correcting transmission errors so that message integrity is assured. Methods are provided for busy condition, N(S) and N(R) sequence errors, BCS errors, invalid commands, and timeouts. B.5.1 Busy Condition Wh[...]
-
Seite 196
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–1 1 USER MANUAL B.5.4 BCS Err or When the Block Checksum calculated by the receiver does not match the BCS in the I-Frame, the receiving station completely ignores the message. This is because with an incorrect checksum, there is no guarantee that the address field contains the correct address. Recov[...]
-
Seite 197
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–12 USER MANUAL B.5.7 FRMR Recovery The FRMR response is returned by the adapter when it receives a frame with an invalid command, a frame of excessive length, or when the N(R) does not match. This response includes a three-byte information field in the format shown in Figure B–5, with Byte 0 transm[...]
-
Seite 198
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–13 USER MANUAL B.6 ILLUSTRA TIVE BDLC SEQUENCES Example B–1 illustrates an error -free BDLC sequence between the host computer and the adapter . This sequence shows how information is efficiently transferred, since acknowledgements are part of the control subfield and does not require a separate tr[...]
-
Seite 199
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–14 USER MANUAL (1) The host computer issues a SNRM to initialize the adapter and the adapter responds with a UA. (2) The host computer then sends an I-Frame. The sequence counts are both zero since the SNRM was issued previously . The adapter does not have any information to return, so it responds wi[...]
-
Seite 200
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–15 USER MANUAL The next example, Example B–2, illustrates errors in sequence counts, invalid commands, and timeouts. Example B–2 BDLC Error Sequences Host Computer (1) I–Frame, N(S)=1, N(R)=0, P REJ, N(R)=2, F SNRM UA I–Frame, N(S)=0, N(R)=0, P RR, N(R)=1, F (2) FRMR FRMR (3) I–Frame, N(S)=[...]
-
Seite 201
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–16 USER MANUAL B.7 BLOCK CHECKSUM GENERA TION AND CHECKING To calculate the BCS: 1. Zero both BCS field bytes. 2. Begin with the address field byte. 3. Add the byte to the most significant BCS byte including any carry bit generated. (Use only eight bit arithmetic in these steps). 4. Add the most sign[...]
-
Seite 202
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–17 USER MANUAL Example B–3 Block Checksum T ransmitter Calculation DLE–STX Address Control Information BCS DLE–ETX 1002 01 93 1003 “SNRM” (Note: All values are in hexadecimal notation.) BCS 0 1 2 3 4 5 6 7 8 9 10 12 13 14 15 MSB LSB Bit Frame Byte BCS MSB BCS LSB 01 00 01 00 01 93 94 2A 95 [...]
-
Seite 203
USING THE BDLC PROTOCOL UNILINK HOST ADAPTER B–18 USER MANUAL The receiver checks the BCS by adding all the received frame bytes excluding the starting and ending flags, and any inserted DLEs. The procedure is: 1. Zero the two calculation registers. 2. Begin with the address field byte. 3. Add the byte to the most significant register including a[...]
-
Seite 204
19 Appendices C and D not available in electronic form.[...]
-
Seite 205
UNILINK HOST ADAPTER E–1 USER MANUAL APPENDIX E CONFIGURA TION WORKSHEET Network Name Location Cable Diagram Reference Adapter Configuration Parameters Adapter Mode MHIU MHIU/EHA NM HIU HIU/EHA SANM HIU Address Maximum Secondary Address Macro Memory Requirements 16 kbytes 24 kbytes As much as possible[...]
-
Seite 206
CONFIGURA TION WORKSHEET UNILINK HOST ADAPTER E–2 USER MANUAL Host Computer Port Parameters Baud Rate 11 0 150 300 600 1200 2400 4800 9600 19,200 38,400 Synchronous Asynchronous Full Duplex Half Duplex Parity Enabled Disabled Protocol BDLC NITP BDLC Address Network Ports Parameters Baud 11 0 150 300 600 1200 2400 4800 9600 19,200 38,400 57,600 1 [...]
-
Seite 207
UNILINK HOST ADAPTER F–1 USER MANUAL APPENDIX F MACRO DEFINITIONS FORM T able F–1 is a worksheet for planning macro buffer requirements. The labels at the top match the macro definitions with the particular network and adapter . They are: Network Enter the name used to describe the network with this Name adapter . Location Enter the location of[...]
-
Seite 208
MACRO DEFINITIONS FORM UNILINK HOST ADAPTER F–2 USER MANUAL Freeze Check this box if the data causing the exception is to be frozen. No Check this box if the first exception is to be bypassed. Execp. Minimum Enter the time in milliseconds to wait before reissuing a Reissue repetitive macro. Delay Link Enter the macro buffer number for the macro t[...]