Siemens TI505 User Manual
Siemens TI505 User Manual

Siemens TI505 User Manual

Network interface module
Hide thumbs Also See for TI505:
Table of Contents

Advertisement

Quick Links

SIMATIC TIWAY 1
TI505 Network Interface Module
User Manual
Order Number: PPX:TIWAY–8124–2
Manual Assembly Number: 2587871–0053
Second Edition

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TI505 and is the answer not in the manual?

Questions and answers

Summary of Contents for Siemens TI505

  • Page 1 SIMATIC TIWAY 1 TI505 Network Interface Module User Manual Order Number: PPX:TIWAY–8124–2 Manual Assembly Number: 2587871–0053 Second Edition...
  • Page 2 Technical data is subject to change. contents is not permitted without express consent of Siemens Industrial Automation, Inc. All rights, including rights We check the contents of every manual for accuracy at the created by patent grant or registration of a utility model or time it is approved for printing;...
  • Page 3 MANUAL PUBLICATION HISTORY TIWAY I TI505 Network Interface Module User Manual Order Manual Number: TIWAY–8124–2 Refer to this history in all correspondence and/or discussion about this manual. Event Date Description Original Issue 8/88 Original Issue (2601210–0001) Second Edition 3/94 Second Edition (2601210–0002)
  • Page 4 LIST OF EFFECTIVE PAGES Pages Description Pages Description Cover/Copyright Second History/Effective Pages Second iii — vii Second viii — ix Second 1-1 — 1-6 Second 2-1 — 2-20 Second 3-1 — 3-21 Second 4-1 — 4-44 Second A-1 — A-3 Second B-1 —...
  • Page 5: Table Of Contents

    ........... . TIWAY 1 TI505 NIM User Manual...
  • Page 6 4-17 TI505 NIM PRIMITIVE DESCRIPTIONS ......... .
  • Page 7 ......... TIWAY 1 TI505 NIM User Manual...
  • Page 8 List of Figures TIWAY I System Block Diagram ..........NIM Simplified Block Diagram .
  • Page 9 ....... . . 4-43 TIWAY 1 TI505 NIM User Manual Contents...
  • Page 10: Preface

    This manual is organized as follows: CHAPTER 1 — TIWAY I OVERVIEW contains an overview of the TIWAY I network and an explanation of how the TI505 NIM operates within this network. CHAPTER 2 — NETWORK DESIGN CONSIDERATIONS describes possible network design configurations, and the use of modems with TIWAY I.
  • Page 11: Related Publications

    RELATED PUBLICATIONS The following publications contain additional information on TIWAY I and TIWAY I compatible products. To order these publications, contact your Siemens Industrial Automation, Inc. distributor or sales office. If you need assistance in contacting your distributor or sales office in the United States, call 1–800–964–4114.
  • Page 12: Chapter 1 Tiway I Overview

    TIWAY I is an industrial Local Area Network (LAN) designed to satisfy today’s factory and plant requirements for data acquisition and control of manufacturing processes. It is a significant enhancement of the Siemens “Local Line,” which supports the PM550 Programmable Controllers (P/Cs) and DS 990 computer products.
  • Page 13: Tiway I Options

    System components include: Host System Interfaces (including Host Adapters, Gateways, and Network Control Modules) Siemens Programmable Controller Network Interface Modules (NIMs) UNILINK Secondary Adapters for interfacing non-Siemens products to the TIWAY I Network TIWAY 1 Overview TIWAY 1 TI505 NIM User Manual...
  • Page 14: Tiway I Universal Command Language, Ucl

    Host to complete the transaction. See Figure 1. Host Systems Command Initiators Host System Interfaces Network Media Secondary Adapters Siemens Non–Siemens Programmable devices Controllers Responders Figure 1 TIWAY I System Block Diagram TIWAY 1 TI505 NIM User Manual TIWAY 1 Overview...
  • Page 15: The Ti505 Nim

    THE TI505 NIM The TI505 NIM is the TIWAY I Network Interface Module for the SIMATIC TI505 Programmable Controllers. See Chapter 3 for a specific listing of controllers supported by the TI505 NIM. The TI505 NIM provides several features which ensure maximum network signal integrity.
  • Page 16 The TI505 NIM provides redundant TIWAY I communication ports. Each of the following models supports a specific type of network communication media. The RS-232-C/423 media interface is configured as Data Terminal Equipment (DTE) and is used to connect the NIM to Data Communication Equipment (DCE) for operation with modems.
  • Page 17: Nim Simplified Block Diagram

    Figure 2 is a simplified block diagram of the TI505 NIM. The media interface blocks are intentionally left unlabeled because the type of media interface depends on which NIM model you are using. The blocks are described as follows. Special Function Interface Controller (SFIC) — delivers and receives P/C com- munications.
  • Page 18: Chapter 2 Network Design Considerations

    (the “spine”) and dropline cables. The network can connect up to 254 secondaries (e.g., TI505 P/Cs) to a host computer. The TI505 NIM provides the interface to the network host, enabling the host and the P/C to communicate with each other.
  • Page 19: Communication Media

    RS-232-C/423 dedicated lease-line modem interface in which no dial-up is necessary, providing extended (cross-continental) geographic coverage. RF or short-haul modem link-ups (cross-plant or cross-town coverage). Siemens Local Line (up to 25,000 feet). NOTE TIWAY I does not directly support dial-up modems which require Modem Control Commands for communication switchover.
  • Page 20: Media Redundancy

    (network trunk lines, tap housings, drop lines, and modems). For example, if you need Local Line cable redundancy, you will need one PPX:505–7339 TI505 NIM, two separate twisted pair trunk (spine) cables, and a T-Tap and dropline for each port on the NIM.
  • Page 21: Rs-232-C Cable Installation

    AB – Signal Ground CF – Received Line Signal Detector/ Data Carrier Detect (RLSD/DCD) DB – Transmitter Signal Element Timing DD – Receiver Signal Element Timing 108/2 CD – Data Terminal Ready (DTR) Network Design Considerations TIWAY 1 TI505 NIM User Manual...
  • Page 22: Rs-232-C Timing Considerations

    2.2.2 RS-232-C Timing Considerations If you use the TI505 NIM with a dedicated short-haul RF modem, the NIM has a one-sec- ond time-out between the transmission of its RS-232-C Request to Send (RTS) and the RS-232-C Clear to Send (CTS) response.
  • Page 23: Local Line Cable Installation

    124 ohms. Taps and 9-pin connectors are supplied with the Local Line, but extras may be necessary for cable splicing. Suggested cable routing procedures are provided later in this chapter. Network Design Considerations TIWAY 1 TI505 NIM User Manual...
  • Page 24: Pin Assignments For Local Line Connectors

    Table 4 Pin Assignments for Local Line Connectors Name Description No connection No connection Shield Cable shield and signal common No connection No connection LLM+ Positive biased signal line No connection No connection LLM– Negative biased signal line TIWAY 1 Ti505 NIM User Manual Network Design Considerations...
  • Page 25: Local Line Cable

    Number of secondaries Maximum baud rates Siemens recommends Belden 9860 twisted pair cabling, or its equivalent, for use as the Local Line network spine. Belden 9271, or its equivalent, should be used for the dropline. Brands other than those listed here will be specified by Siemens on request.
  • Page 26: Number Of Local Line Secondaries Versus Cable Length

    75 stations can be attached to a network operating at 38K bps and having a spine length of 20,000 feet. At 115.2K bps, the maximum length of a Local Line network having 254 stations is 10,000 feet. TIWAY 1 Ti505 NIM User Manual Network Design Considerations...
  • Page 27: Local Line Tap Housings

    2.3.3 Local Line Tap Housings The tap housing, shown in Figure 2, is made by Siemens specifically for its Local Line network. The tap housing can be mounted rigidly to a NEMA panel or other enclosure. It can also be used to splice cables in a cable tray without being rigidly mounted. The tap...
  • Page 28 Pin 3 of the Local Line connector and to terminal “G” inside the tap housing. NOTE All Siemens tap housings contain factory-installed termination resistors. If the tap housing is not used to terminate the Local Line, the terminating resistors must be removed when the output cable is attached.
  • Page 29: Planning Considerations

    No limit is placed on the number of NIMs that can be daisy-chained to form a drop line off the main trunk as long as the resulting drop length is no greater than 100 feet. Figure 3 illustrates three typical examples of tap spacing. 2-12 Network Design Considerations TIWAY 1 TI505 NIM User Manual...
  • Page 30: Tap Spacing Examples

    Figure 3 Tap Spacing Examples TIWAY 1 Ti505 NIM User Manual Network Design Considerations 2-13...
  • Page 31: Cable Routing

    For in-ceiling routing, network cables are usually supported in troughs or with hooks and clamps every 10 or 15 feet. In-ceiling installations provide flexibility, usually cost less, and provide easy access. 2-14 Network Design Considerations TIWAY 1 TI505 NIM User Manual...
  • Page 32: Obstructions

    Power lines carrying 440 volts or greater Generators Electric motors Transformers Electric welders Induction furnaces and heaters Rectifiers All sources of microwave radiation Fluorescent lighting Teletypes TIWAY 1 Ti505 NIM User Manual Network Design Considerations 2-15...
  • Page 33: Local Line Biasing

    2.4.1 Biasing Configurations It is very likely that you will have a mixture of TI505, SIMATIC TI500, and PM550 P/Cs on your network. Three different Local Line media biasing combinations exist, based on the number and type of interface devices used with the P/Cs. Possible combinations are Installations consisting solely of self-biased devices.
  • Page 34: Networks With Only Self-Biased Devices

    This configuration exists when only one TIWAY I Device on the Local Line has the Bias Switch, and all other devices are self-biasing. The position of the switch-biased device on the line does not matter, but its Bias Switch must be on. TIWAY 1 Ti505 NIM User Manual Network Design Considerations 2-17...
  • Page 35: Networks With Two Or More Switch-Biased Devices

    END OF LOCAL LINE BIAS SWITCH OFF ON ALL OTHER SECONDARY DEVICES SWITCH–BIASED SWITCH–BIASED BIAS SWITCH ON BIAS SWITCH ON Figure 4 Local Line with Two or More Switch-biased NIMs 2-18 Network Design Considerations TIWAY 1 TI505 NIM User Manual...
  • Page 36: Terminating The Local Line

    Figure 5) are left in place in the tap housing which is to be used to terminate the Local Line. 2. If the termination resistors are used and the attached TIWAY I device has a Bias Switch, the Bias Switch should be set to the ON position. TIWAY 1 Ti505 NIM User Manual Network Design Considerations 2-19...
  • Page 37: Terminating The Local Line

    Figure 5 Terminating the Local Line NOTE All Siemens tap housings contain factory-installed terminating resis- tors. If the tap housing is not used to terminate the Local Line, the termi- nating resistors must be removed when the output cable is attached.
  • Page 38: Chapter 3 Installation

    Chapter 3 Installation GENERAL REQUIREMENTS The following requirements must be met in order to install and use a TI505 NIM: 1. The appropriate NIM should be selected. PPX:505–7339 (Redundant Local Line) PPX:505–7340 (Redundant RS-232-C) 2. The TI505 NIM must be used with a model SIMATIC TI525...
  • Page 39: Ti505 Component Power Requirements

    Table 1 TI505 Component Power Requirements Power Available (in watts) +5 V –5 V PPX:505–6660 Power Supply 3.75 DC Power Required PPX: Description (in watts) Number +5 V –5 V PPX:505–6830 IOCC PPX:505–6840 Distributed Base Controller PPX:505–4008 24 VAC Input (8 point) —...
  • Page 40 Table 1 TI505 Component Power Requirements (Continued) DC Power Required PPX: Description (in watts) Number +5 V –5 V PPX:505–4508 24 VDC Output (8 point) — — PPX:505–4516 24 VDC Output (16 point) — PPX:505–4532 24 VDC Output (32 point) PPX:505–4608...
  • Page 41: Installing The Nim

    INSTALLING THE NIM To place a NIM into your TI505 system, you have to select the NIM communication parameters, install the NIM in the TI505 I/O base, connect the communication cables to the NIM, and initialize the system for operation. The Programmable Controller (P/C) and the programming device should be in place before you install a NIM.
  • Page 42: Setting The Dipswitches

    SETTING THE DIPSWITCHES As Figure 1 illustrates, there are two blocks of dipswitches on the TI505 NIM. The block of eight switches is the NIM Network Address Selection switch. The block of ten switches is the Network Configuration Parameters switch. Note that the switches are numbered from left to right (when the switches are facing you).
  • Page 43: Dipswitch Summary

    HDLC protocol X.25 protocol Half duplex Full duplex Asynchronous Synchronus Communication Data Transmission Rate See Table 3-3 Push down to select Position Selected Network Address Selection ON, CLOSED OFF, OPEN Figure 2 Dipswitch Summary Installation TIWAY 1 TI505 NIM User Manual...
  • Page 44: Network Address Selection

    The Network Configuration Parameters dipswitch is used to select the parameters that define the network communication environment. Several switches on the Network Configuration Parameters dipswitch are ignored during Local Line operation. These switches are noted in the following descriptions. TIWAY 1 Ti505 NIM User Manual Installation...
  • Page 45: Network Data Rate Switch Settings

    (See the paragraph on Synchronous/Asynchronous Selection.) Table 3 Network Data Rate Switch Settings SWITCH SETTINGS DATA RATE (BPS) 1200 2400 4800 9600 19,200 38,400 57,600 115,200 0 – closed = on 1 – open = off Installation TIWAY 1 TI505 NIM User Manual...
  • Page 46 Send (RTS) control signal. If full duplex operation is selected, the timing relationship between DCD and RTS will be ignored. When the Local Line communication media is used, this switch is ignored since no externally supplied communication control signals are supplied. TIWAY 1 Ti505 NIM User Manual Installation...
  • Page 47 RS-232-C communication. To select NRZI encoding, the switch should be open, or positioned towards the top of the dipswitch. To select NRZ encoding, the switch should be closed, or positioned towards the bottom of the dipswitch. 3-10 Installation TIWAY 1 TI505 NIM User Manual...
  • Page 48 P/C as long as the 8th output is set. The TI505 P/Cs allow you to configure the specific I/O addresses. You have to con- figure the I/O before you can determine the lockout bit address. See your P/C manual for details on I/O configuration.
  • Page 49: Inserting The Module Into The Base

    4. Use a flat-head screwdriver to tighten the screws at the top and bottom of the bezel. The bezel screws ground the module to the base. Do not overtighten the screws. 5. Power-up the P/C system. 3-12 Installation TIWAY 1 TI505 NIM User Manual...
  • Page 50: Installing The Nim In The I/O Base

    Figure 3 Installing the NIM in the I/O Base TIWAY 1 Ti505 NIM User Manual Installation 3-13...
  • Page 51: Nim Switches

    NIM SWITCHES There are three switches located under the hinged switch cover. These switches, which are shown in Figure 3Figure 4, are labeled RESET, TEST and LOCAL/REMOTE. Figure 3Figure 4 NIM Switches 3-14 Installation TIWAY 1 TI505 NIM User Manual...
  • Page 52 LOCAL position. Make sure you disconnect all communication cables and install loopback connectors (part no. 2641307–0001) on any RS-232-C communication ports before running these diagnostics. See the paragraph on TI505 NIM Diagnostics for additional information. 3.5.3...
  • Page 53: Ti505 Nim Diagnostics

    Power-up diagnostics Run time diagnostics User-initiated diagnostics The TI505 NIM has six LED indicators that are used extensively during the diagnostics. The indicators, located above the switch cover, are shown in Figure 3Figure 5. NIM GOOD – base power PC GOOD – P/C / NIM...
  • Page 54 If the power-up diagnostics fail, the NIM will not respond to any communications attempts and the TEST LED will remain on. If the TI505 P/C does not respond, the PC GOOD LED will remain extinguished, and the NIM will issue an Exception Response with Error Code 1A (communication not established with attached device) to any Primary initiating a P/C interactive command to this NIM.
  • Page 55 The Operating System continuously performs a ROM integrity test as a back- ground operation. The NIM periodically verifies that it is capable of communicating with the TI505 P/C. A Watchdog Timer circuit in the NIM helps protect against software lockup.
  • Page 56 When the diagnostics are finished, the TEST LED will flash at a 2 HZ rate. If the NIM completes the tests without errors, the following LED indicators will be on. NIM GOOD PC GOOD TEST (flashing) TIWAY 1 Ti505 NIM User Manual Installation 3-19...
  • Page 57 If you need additional help, or information that is not included in this Technical Advisory, contact your Siemens Industrial Automation, Inc. distributor or sales agent. If you need assistance in contacting your distributor or sales office in the United States, call 800–964–4114.
  • Page 58: Module Login Verification

    Network cabling should already be in place before NIM installation is begun. There are two communication ports on the TI505 NIM. The top port is port A, and the bottom port is port B. Plug the network interface cables into one of these two ports. For media redundancy, use both ports.
  • Page 59: Chapter 4 Nim Primitives

    Primitives reduce total system loading. This is possible because the NIMs can memorize data locations that are repeatedly accessed. Block and Record Gather Primitives make it possible to access a block of data previously defined and stored in the NIM. TIWAY 1 Ti505 NIM User Manual NIM Primitives...
  • Page 60: Purpose

    Before you make changes in memory, be certain that the changes which result in the controlled process will not endan- ger any personnel or equipment. NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 61: Basic Primitive Structure

    Status, and Data Unit fields. In both formats, the 273 bytes exclude the protocol control fields. The actual length supported is dependent on the attached device type and must be ascertained with the Format Configuration Primitive 04. TIWAY 1 Ti505 NIM User Manual NIM Primitives...
  • Page 62: Normal Operation And Exceptions

    Primitive Code for the attached device, and the correct Length Field value, then the Secondary will return a response Primitive of the proper format. NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 63: Exception When Reading

    Primitive may have been executed prior to the failure. The station sending the Primitive should examine the exception reason, take appropriate corrective measures, and try to send the Primitive again. TIWAY 1 Ti505 NIM User Manual NIM Primitives...
  • Page 64: Logical Groups

    30 — 3F B0 — BF Program Modification Aids 40 — 4F C0 — CF Data Acquisition Primitives 50 — 6F D0 — EF Undefined 70 — 7E F0 — FE Expansion NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 65 With extended addresses, the AAAA field is expanded from sixteen bits to 32 bits (AAAAAAAA). This allows you to access data element locations beyond the non-ex- tended limit of 65,535. With extended addresses, you can access up to 4,294,967,296 loca- tions. TIWAY 1 Ti505 NIM User Manual NIM Primitives...
  • Page 66: Field Definitions

    Request Format Length Primitive Code Descriptor(s) Data Unit(s) Response Format Length Primitive Code Data Unit(s) Error Response Format Length Exception Code Primitive Code Data Unit(s) Figure 3 Primitive Request and Response Field Format NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 67: Field Symbols

    NIM. It is also initialized by the NIM in transmissions to the Prima- ry. (Example: the Length Field for a Primitive 02 request would have a value of 1.) TIWAY 1 Ti505 NIM User Manual NIM Primitives...
  • Page 68: Primitive Code Field - Pp

    (see Tables 4Table 4 and 4Table 5). If you are using packed discrete format, the data will be returned in groups of 8 bits. For example, if you request 10 data elements, 2 bytes will be returned. 4-10 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 69: Basic Data Unit - Dddd

    The definition of the Basic Data Unit Field is dependent upon the data element type spe- cified in both the Descriptor Field and the Primitive format definition. The Basic Data Unit is designated “DDDD” or “DD” in this manual. TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-11...
  • Page 70: Data Element Types And Formats

    Word Input (WX) Word Output (WY) XY Force CR Force Word Force Timer–Counter Preset (TCP) Timer–Counter Current (TCC) Drum Step Preset (DSP) Drum Step Current (DSC) Drum Count Preset (DCP) Secondary System Status 4-12 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 71: Discrete Data Element Format

    For example, if you request 10 packed discrete input values, the 6 least significant bits of the second byte of information will be set to zero. Figure 5 Packed Discrete Data Element Format TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-13...
  • Page 72: Forced Word Data Element Format

    TT = D = Word force (3 bytes) Figure 6 Forced Word Data Element Format 4-14 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 73: Forced Discrete And Cr Data Element Format

    = 0 P/C System in REMOTE mode = 1 P/C System in LOCAL mode – P undefined (default to 0) *This is a read–only data type Figure 8 Secondary System Status Data Element Format TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-15...
  • Page 74: Data Element Location Ranges

    The maximum data element locations (AAAA field) for each data element type / P/C com- bination are provided in Table 5. For all the ranges in the table, the first legal value is 1; not zero. Values of zero are not supported. 4-16 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 75: Data Element Location Ranges

    B. There are 16 steps for each event drum in a P/C. The DCP (TT=12) data ele- ment location must specify both the drum number (1 to the maximum listed in this table) and the step (1–16). Section 4.5.4 describes this format. TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-17...
  • Page 76: Data Field Length Restrictions

    21, 51, 52, 56, and 57) must be verified to contain a cumulative byte count of less than or equal to the byte counts in this table. Consult Table 4 for the number of bytes per data element, and Table 5 for data element locations. 4-18 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 77: Maximum Write Primitive Data Byte Length

    Normal addressing: N = 266 – C Extended addressing: N = 264 – C where: total number of records in this Primitive. TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-19...
  • Page 78 SERIES 505 NIM PRIMITIVE DESCRIPTIONS The following paragraphs describe the NIM Primitives used in the Series 505 NIM. Refer to Table 2 for a complete list of the Primitives supported. 4-20 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 79: Exception Primitive - Code 00

    Number of data bytes in the requested blocks or records exceeds the maximum number of bytes allowed by the primitive Primitive not allowed while NIM is in local mode TT not programmed in attached device TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-21...
  • Page 80 Number of locations to access equals zero (NNNN = 0) Number of data blocks defined in a data acquisition record exceeds the maximum supported 80DD Exception generated in the attached device is not identified Optional data element type 4-22 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 81: Native Primitive - Code 01

    Request: LLLL 01 DD. . .DD, where DDDD is the task code acceptable to the device be- ing accessed. Response: LLLL 01 HH DD. . .DD Symbol Value Definition Operational status (see Status Primitive) DDDD Defined by the attached device TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-23...
  • Page 82: Status Primitive - Code 02

    Attached device auxiliary power source (battery) status Auxiliary power source good Auxiliary power source status not available Auxiliary power source not good NIM operational status Operational Channel A is not functional Channel B is not functional 4-24 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 83: Configuration Primitive - Code 03

    Constant data type memory size (4 bytes in extended) IIII Local input/output memory size (4 bytes in extended) JJJJ Global input/output memory size (4 bytes in extended) KKKK ... Total memory size (excluding input and output) TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-25...
  • Page 84: Primitive Format Configuration - Code 04

    Primitive 0. Primitive values increment by 1 for each bit position. A one in a bit position indicates that the corresponding Primitive is supported. For example, if bit 3 is set to 1, then Primitive 02 is supported. 4-26 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 85: Packed Native Primitive - Code 05

    Response: LLLL 05 HH CC DD ... DD (repeated) Symbol Value Definition Attached device operational status Number of bytes in the task code field DD Task codes of the attached device TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-27...
  • Page 86: Change State Primitive - Code 10

    Enter non-execution of instruction data type and execution of loop states (PROGRAM mode) Enter non-execution of instruction data type and loop state (PROGRAM mode) Response: LLLL 10 HH Symbol Value Definition Attached device operational status 4-28 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 87: Read Block Primitive - Code 20

    Request: LLLL 20 TT NNNN AAAA Symbol Value Definition Data element type NNNN Number of locations AAAA Data element location Response: LLLL 20 HH DD ... DD Symbol Value Definition Attached device operational status Data TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-29...
  • Page 88: Read Random Block Primitive - Code 21

    Number of blocks not processed due to error Block numbers not processed due to error. This field only contains a value when the P/C is reporting a P/C error. Data requested 4-30 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 89: Write Block Primitive - Code 30

    Request: LLLL 30 TT AAAA DD ... DD Symbol Value Definition Data element type AAAA Data element location Data Response: LLLL 30 HH Symbol Value Definition Attached device operational status TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-31...
  • Page 90: Write Random Block Primitive - Code 31

    1. CAUTION Blocks in error (specified by BB) may have been partially written before a failure occurred. Valid blocks will complete without returning a Primi- tive error. 4-32 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 91: Block Data Acquisition Primitive Codes 50 51 52

    Symbol Value Definition Block number (1 – 20 hex) Data element type NNNN Number of locations AAAA Data element location Response: LLLL 50 HH Symbol Value Definition Attached device operational status TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-33...
  • Page 92 For example, if blocks 2, 4, and A were requested, the first data block in the response specifies data which is associated with block 2, the next data block specifies data which is associated with block 4, etc. 4-34 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 93 The response will return the data associated with the requested blocks, beginning with the lowest block number and increasing to the highest block number. A data block separator is not provided in the response. TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-35...
  • Page 94 2, the next data block specifies data which is associated with block 4, etc. This field can be set to zero if you want to perform a write function without reading a block. 4-36 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 95: Record Data Acquisition Primitive Codes 55 56 57

    The record definitions are destroyed in the event of a power loss or a hardware reset or HDLC DISC command. Any initialization or re-init- ialization procedures must use the Define Record Primitive (55) to re-de- fine the data acquisition records. TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-37...
  • Page 96 Primitive frame length. See the paragraphs on Data Element Types and Formats for the number of bytes in each data type. Response: LLLL 55 HH Symbol Value Definition Attached device operational status 4-38 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 97 Response: LLLL 56 HH XX CC DD ... DD (repeated) (repeated XX times) Symbol Value Definition Attached device operational status Number of records in error Record numbers in error Data records returned without errors TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-39...
  • Page 98 A data record or data type separator is not provided in the response. NOTE An exception will be returned if the write portion of this Primitive fails. No data will be returned for records in error or invalid read definitions. 4-40 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 99 Response: LLLL 57 HH XX CC DD ... DD (repeated XX times) (repeated) Symbol Value Definition Attached device operational status Number of records in error Record numbers in error Data records returned without errors TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-41...
  • Page 100: Summary Of Primitives

    LLLL 21 TT NNNN AAAA (repeated) Response LLLL 21 HH XX BB DD ... DD (repeated) (repeated XX times) Write Block Request LLLL 30 TT AAAA DD ... DD Response LLLL 30 HH 4-42 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 101 (repeated XX times) Write and Gather Request LLLL 57 XX CC TT AAAA DD ... DD Record (repeated XX times) Response LLLL 57 HH XX CC DD ... DD (repeated) (repeated XX times) TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-43...
  • Page 102 LLLL A1 TT NNNN AAAA AAAA (repeated) Response LLLL A1 HH XX BB DD ... DD (repeated) (repeated XX times) Write Block Request LLLL B0 TT AAAA AAAA DD ... DD Response LLLL B0 HH 4-44 NIM Primitives TIWAY 1 TI505 NIM User Manual...
  • Page 103 Write and Gather Request LLLL D7 XX CC TT AAAA AAAA DD ... DD Record (repeated XX times) Response LLLL D7 HH XX CC DD ... DD (repeated) (repeated XX times) TIWAY 1 Ti505 NIM User Manual NIM Primitives 4-45...
  • Page 104: Appendix A Pm550 Cim Requirements

    The CIM is provided with a jumper which allows selection of bias or no bias. The Siemens’ Local Line must be properly terminated at both ends of the trunk to prevent a possible impedance mismatch that could result in signal reflections back along the line.
  • Page 105: Networks With Switch-Biased Devices And Cims

    NOTE All Siemens tap housings contain factory-installed termination resistors. If the Tap Housing is not used to terminate the Local Line, the terminating resistors must be removed when the output cable is attached. A.3.1 Networks with Switch-biased Devices and CIMs...
  • Page 106: Local Line Bias And Termination

    T–TAP T–TAP T–TAP T–TAP JUMPERS JUMPERS INSTALLED INSTALLED NIM’s: BIAS OFF CIM’s: JUMPERS OFF PM550 PM550 BIAS BIAS SELECTED NOT SELECTED SELECTED NOT SELECTED Figure A-1 Local Line Bias and Termination TIWAY 1 TI505 NIM User Manual PM550 CIM Requirements...
  • Page 107: Appendix B Network Configuration Data Sheet

    Media type Network Baud Rate Sync/Asynch Full/Half Duplex Encoding Modem Type NETWORK NODE SPECIFICATIONS Node Name Network Address Controller Type Serial Number Software Release Interface Type Serial Number Software Release TIWAY 1 TI505 NIM User Manual Network Configuration Data Sheet...
  • Page 108 DATA DEFINITION TABLE Date Name Data Starting Number of Record Block Length or Identifier Type Address Elements Number Number (Bytes) Network Configuration Data Sheet TIWAY 1 TI505 NIM User Manual...
  • Page 109 TIWAY 1 TI505 NIM User Manual Network Configuration Data Sheet...
  • Page 110: Appendix C Network Evaluation Form

    If you would like Seimens Industrial Automation, Inc. to evaluate your network requirements, complete and submit the Network Evaluation Form. Seimens Industrial Automation, Inc.’s, Technical Services group will analyze your requirements and provide you with a network design plan and quote. TIWAY 1 TI505 NIM User Manual Network Evaluation Form...
  • Page 111 COMPLETE AND RETURN TO THE NETWORK PLANNING SERVICE FOR SITE SURVEY SUPPORT AND A QUOTE FOR A NETWORK DESIGN. SEND TO: Seimens Industrial Automaion, Inc. TECHNICAL SERVICES GROUP MS 3532 P.O. BOX 1255 JOHNSON CITY, TN 37605–1255 Network Evaluation Form TIWAY 1 TI505 User Manual...
  • Page 112: Appendix D Specifications

    Corrosion Protection All parts are of corrosion resistant material or are plated, or painted, as corrosion protection. Power requirements: PPX:505–7339: 8 watts, +5 VDC PPX:505–7340: 8 watts, +5 VDC; 0.125 watts, –5 VDC TIWAY 1 TI505 NIM User Manual Specifications...
  • Page 113 Shielded twisted pair cable for Local Line, or appropriate RS-232-C cable for RS-232-C models Undetected Bit Error Rate 6 x 10 – (calculated) with cable meeting TIWAY I recommended standards Certifications and approvals: UL Listed, CSA pending Specifications TIWAY 1 TI505 User Manual...
  • Page 114: Appendix E Primitive Examples

    Primitive Code = 20 HH (Status) = 00 (unit operational and executing logic) DDDD ... (values read from V memory) V0100 = 8464 V0101 = 8665 V0102 = A001 V0103 = 01F4 TIWAY 1 TI505 NIM User Manual Primitive Examples...
  • Page 115 Primitive Code = A0 (extended address format for Primitive 20) HH (Status) = 00 (unit operational and executing logic) DDDD ... (values read from V memory) V100 = 8464 V101 = 8665 V102 = A001 V103 = 01F4 Primitive Examples TIWAY 1 TI505 User Manual...
  • Page 116 SIMATIC is a trademark of Siemens AG. Series 505, TIWAY, UNILINK, TISOFT, PM550, PM551, and 5TI are trademarks of Siemens Industrial Automation, Inc. TI, TI500, TI505, TI520, TI520C, TI525, TI530, TI530C, TI535, TI540, TI550, TI560, TI565, are trademarks of Texas Instruments Incorporated.
  • Page 117: Customer Registration

    Would you be interested in giving us more detailed comments about our manuals? Yes! Please send me a questionnaire. No. Thanks anyway. Your Name: Title: Telephone Number: Company Name: Company Address: Manual Name: SIMATIC TWAY 1 TI505 Network Interface User Manual Edition: Second Manual Assembly Number: 2587871–0053 Date: 03/94 Order Number: PPX:TIWAY–8124–2...
  • Page 118 UNITED STATES BUSINESS REPLY MAIL PERMIT NO.3 FIRST CLASS JOHNSON CITY, TN POSTAGE WILL BE PAID BY ADDRESSEE ATTN: Technical Communications M/S 3519 SIEMENS INDUSTRIAL AUTOMATION INC. 3000 BILL GARLAND RD P O BOX 1255 JOHNSON CITY TN 37605–1255 FOLD...

Table of Contents