Siemens TIWAY I TI505 User Manual

Network interface module
Table of Contents

Advertisement

Quick Links

Siemens TIWAY I TI505 User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Siemens TIWAY I TI505

  • Page 1 (217) 352-9330 | Click HERE Find the Siemens TI505 at our website:...
  • Page 2 SIMATIC TIWAY 1 TI505 Network Interface Module User Manual Order Number: PPX:TIWAY–8124–2 Manual Assembly Number: 2587871–0053 Second Edition Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 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 4 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 5 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 6: Table Of Contents

    Contents PREFACE CHAPTER 1 TIWAY I OVERVIEW TIWAY I FEATURES ............TIWAY I OPTIONS .
  • Page 7 INSERTING THE MODULE INTO THE BASE ........3-12 NIM SWITCHES .
  • Page 8 APPENDIX A PM550 CIM REQUIREMENTS ........INTRODUCTION .
  • Page 9 List of Figures TIWAY I System Block Diagram ..........NIM Simplified Block Diagram .
  • Page 10 List of Tables RS-232-C Connections ............Pin Assignments for Local Line Connectors .
  • Page 11: Preface

    APPENDIX B — NETWORK CONFIGURATION DATA SHEET contains a form that will help you plan your network. APPENDIX C — NETWORK EVALUATION FORM contains a TIWAY network evaluation form. You can submit the completed form to Siemens for a network evaluation. TIWAY 1 TI505 NIM User Manual Preface Artisan Technology Group - Quality Instrumentation ...
  • Page 12 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 13: 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 14: 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 15: 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 Artisan Technology Group - Quality Instrumentation ...
  • Page 16: 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 17 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 18: 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 19: Chapter 2 Network Design Considerations

    Chapter 2 Network Design Considerations TIWAY I NETWORK CONFIGURATION TIWAY I is a multi-drop communication network which consists of a main trunk cable (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 20: 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 21: Media Redundancy

    The proper installation of your communication media requires careful planning and design. If you need assistance, a site survey is available from Siemens Industrial Automation, Inc. Simply fill out and return the enclosed “TIWAY I Network Evaluation Form”, (Appendix C).
  • Page 22: Rs-232-C Cable Installation

    RS-232-C CABLE INSTALLATION The physical layer in TIWAY I provides a modem interface for synchronous or asynchro- nous modems at data transmission rates up to 115.2K bits per second. 2.2.1 RS-232-C Connections The modem interface provides standard signals, as defined in Table 2Table 3 for control of two-way alternate data transmission using both half and full duplex modems.The mo- dem interface is a standard “Type E”...
  • Page 23: 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. This time-out value is set at one second to enable the RF device to switch from receive to transmit without losing access to the transmission media.
  • Page 24: Local Line Cable Installation

    LOCAL LINE CABLE INSTALLATION The following paragraphs describe Local Line characteristics and installation guide- lines. 2.3.1 Local Line Characteristics The TIWAY I Local Line is a physical signaling technique (baseband, differential current drive) which operates over shielded, twisted-pair cabling. The Local Line cable may be up to 25,000 feet long, depending on loading and baud rate selection.
  • Page 25: Pin Assignments For Local Line Connectors

    The interface cable should have a male, 9-pin D-type receptacle with pin assignments as shown in Table 4. 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...
  • Page 26: 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 27: Number Of Local Line Secondaries Versus Cable Length

    Figure 1 illustrates the relationship of cable distance to the number of secondaries for different baud rates for two types of twisted pair cable. Note that the cable distance (in thousands of feet) is shown vertically; the maximum number of units that may be at- tached is shown horizontally.
  • Page 28: 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 29 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 30: Planning Considerations

    2.3.4 Planning Considerations Some major points to consider during the planning phase of a Local Line network are as follows: From the start, allow for system growth. This means making provisions for the attachment of additional computing devices by routing cables through all probable areas of future plant expansion.
  • Page 31: Tap Spacing Examples

    Figure 3 Tap Spacing Examples TIWAY 1 Ti505 NIM User Manual Network Design Considerations 2-13 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 32: Cable Routing

    2.3.6 Cable Routing Cable routing should be planned as if the path between all stations on the network were free of obstructions. Next, modify the first routing to account for obstructions, then calcu- late the amount of cable needed. CAUTION All local and national electrical codes and fire codes should be observed when installing wiring.
  • Page 33: Obstructions

    In-ceiling cable networks are not always practical. In-ceiling installations can be diffi- cult and sometimes dangerous in areas without drop ceilings (or that have unusually high ceilings). Also, closed ceiling systems usually trap dust and other debris, which makes cable maintenance difficult. 2.3.6.3 Surface Duct Routing Surface ducting for network cabling is usually installed along the baseboards or is at-...
  • Page 34: Local Line Biasing

    LOCAL LINE BIASING In certain network configurations, the Local Line must be biased to raise its noise immu- nity and to prevent oscillations of receivers connected to the line. The need to apply a bias voltage to the Local Line depends on the interface configuration of your network.
  • Page 35: Networks With Only Self-Biased Devices

    2.4.2 Networks with only Self-biased Devices This configuration exists when all TIWAY I Devices on the network are self-biasing (i.e., they do not have a Bias Switch.) In this case, the position on the line of the interface de- vices does not matter. 2.4.3 Networks with a Single Switch-biased Device This configuration exists when only one TIWAY I Device on the Local Line has the Bias...
  • Page 36: Networks With Two Or More Switch-Biased Devices

    2.4.4 Networks with Two or More Switch-biased Devices This configuration exists when multiple switch-biased TIWAY I Devices are attached to the network, and they should be positioned as described in the following paragraphs. If two or more devices having the Bias Switch are attached, place one at each end of the Local Line, and turn on each Bias Switch.
  • Page 37: Terminating The Local Line

    2.4.5 Terminating the Local Line The TIWAY I Local Line is designed to operate with shielded, twisted-pair cable which has a characteristic impedance of 124 ohms. In all configurations, the Local Line must be properly terminated at both ends of the trunk to prevent an impedance mismatch which could result in signal reflections on the line.
  • Page 38: 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 39: Chapter 3 Installation

    Release 1.0 If you cannot determine whether your P/C release is compatible with the TI505 NIM, contact your Siemens Industrial Automation, Inc. distributor or sales of- fice for assistance. If you need assistance in contacting your distributor or sales office in the United States, call 1–800–964–4114.
  • Page 40: 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 41 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 110 VAC Output (8 point) —...
  • Page 42: 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 43: 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 44: Dipswitch Summary

    Figure 2 provides a summary of the dipswitch settings. The following paragraphs provide detailed information about the parameters selected by each switch. Network Configuration Parameters 0, CLOSED, ON 1, OPEN, OFF Transmit delay inactive Transmit delay active Lockout disabled Lockout enabled NRZ encoding NRZI encoding HDLC protocol...
  • Page 45: Network Address Selection

    3.3.1 Selecting the Network Address Each TIWAY I Network Secondary must have a unique binary network address. The range of valid addresses is 1 to 254 (0000 0001 to 1111 1110 on switches 1–8 of the Network Address Selection dipswitch). Selecting addresses 0 or 255 (0000 0000 or 1111 1111) on the Network Address Selection dipswitch will cause the NIM to initialize in a test mode, and the NIM will fail to operate properly.
  • Page 46: Network Data Rate Switch Settings

    3.3.2.1 Data Transmission Rate Network Configuration Parameter switches 1 through 4 select the data transmission rate. All devices on the network must be configured to communicate at the same data rate. The data rates corresponding to the switch settings are shown in Table 3. For synchronous operation in RS-232-C communication, the rate of data transmission is established by the modem.
  • Page 47 3.3.2.2 Synchronous / Asynchronous Selection Network Configuration Parameter switch 5 selects synchronous or asynchronous operation for modems. For synchronous modem communication, the NIM receives the transmit and receive timing signals from the modem via transmit signal timing element (DB), and receive signal timing element (DD).
  • Page 48 3.3.2.4 X.25 / HDLC Network Configuration Parameter switch 7 selects the communication protocol. The HDLC protocol is activated when the switch is closed, or positioned towards the top of the dipswitch. The X.25 protocol is only activated when this switch is set open, or positioned towards the bottom of the dipswitch.
  • Page 49 3.3.2.6 Lockout / Enable Network Configuration Parameter switch 9 enables the P/C to “lockout” the NIM during time-critical operations. This function is not needed normally. During lockout, the NIM will not communicate with the P/C. The actual mechanism is as follows: 1.
  • Page 50: Inserting The Module Into The Base

    INSERTING THE MODULE INTO THE BASE It is advisable to install the NIM in the slot adjacent to the CPU (Central Processing Unit). This provides the following advantages. Easier access to switches and connectors Better LED indicator visibility Reduced electrical noise susceptibility To avoid causing electrostatic damage to the Printed Circuit Board (PCB) components, do not touch the PCB while inserting the module into the base.
  • Page 51: 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 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 52: 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 Installation TIWAY 1 TI505 NIM User Manual 3-14 Artisan Technology Group - Quality Instrumentation ...
  • Page 53 3.5.1 Reset This switch is a momentary contact switch which resets the NIM and initiates the power-up diagnostics. This switch causes all indicators to be on for approximately 1 second. Then all indicators, with the exception of the TEST indicator, are extinguished for approximately 10 seconds.
  • Page 54: Ti505 Nim Diagnostics

    TI505 NIM DIAGNOSTICS There are three levels of TI505 NIM diagnostics available. 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 –...
  • Page 55 3.6.1 Power-Up Diagnostics The TI505 NIM executes the power-up diagnostics in the following cases: Immediately following the application of +5VDC from the I/O base (power-up) as part of its initialization Any time the Reset switch is pressed Following an HDLC DISC command from the Primary (A UNILINK Adapter can be configured to disallow the disconnect command.
  • Page 56 3.6.2 Run Time Diagnostics The TI505 NIM monitors itself continuously during normal operation, as follows: 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.
  • Page 57 3.6.3 User-Initiated Diagnostics You can initiate a complete test of the NIM hardware, including the communication ports. Complete the following steps to start the NIM diagnostics. CAUTION Since this test includes the communication ports, it is necessary that the NIM be disconnected from the TIWAY network.
  • Page 58 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 59: Module Login Verification

    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 60: Chapter 4 Nim Primitives

    Chapter 4 NIM Primitives OVERVIEW Primitives are high-level commands that allow a user to access like data types in all dif- ferent Secondaries in the same manner. For example, a host computer can access image register memory in several different models of TI P/Cs with the same command. The Primitives remove as many differences as possible between the P/Cs, so that applications programs at the Primary (host) level may treat all TIWAY I Secondaries in the same manner.
  • Page 61: Purpose

    PURPOSE Primitives serve as the command structure that a TIWAY I Primary uses to access (read or write) information in a TIWAY I Secondary. The Primitives defined in the following paragraphs serve these basic functional needs. Access and retrieve data Ascertain the status and configuration of attached devices Perform control operations on the attached device STRUCTURE AND OPERATION...
  • Page 62: Basic Primitive Structure

    Figure 1 illustrates the basic Primitive structure when HDLC operation is selected. There is a Request Format and a Response Format, as shown. The binary weight of the fields is detailed in Figure 2. All field lengths are multiples of 8 bits, which allows for octet testing of data link frames at the data link/media access control layer.
  • Page 63: Normal Operation And Exceptions

    First Transmitted Bit Least Significant Bit Most Significant Bit Figure 2 Binary Weight of the Fields 4.3.1 Normal Operation and Exceptions Normal Primitive operation consists of a request and response sequence without excep- tions. Exceptions are errors found in the interpretation or execution of a Primitive. The normal operation of a Primitive is for the initiating (Host) station to form a request Primitive and address it to a Secondary on the network.
  • Page 64: Exception When Reading

    An exception procedure is used when the addressed device finds fault with: The value of the Length field A Primitive format A data element type The execution of a Primitive If a fault is found with the Length field, Primitive format, data element type or in the execution of the Primitive, the exception reason is returned with the Exception Primi- tive, which is Primitive Code 00.
  • Page 65: Logical Groups

    LOGICAL GROUPS All Seimens’ TIWAY Primitives fall into logical groups according to their function, as shown in Table 1. The TIWAY I Primitive subset is taken from the categories listed in Table 1. Table 1 Logical Primitive Assignment Primitive Code (HEX) 16 Bit Extended Function...
  • Page 66 The subset of TIWAY I Primitives supported by the Series 505 NIM is given in Table 2. Future additions to this subset will be announced as they are implemented. Note that each of the following Primitives fits into the general categories listed in Table 1. Table 2 Series 505 NIM Primitive Subset Primitive Code (HEX) Non–extended...
  • Page 67: Field Definitions

    FIELD DEFINITIONS The basic Primitive Request and Response field formats are shown in Figure 3. Each of the basic field types shown is described in the following paragraphs. Primitive Fields Request Format Length Primitive Code Descriptor(s) Data Unit(s) Response Format Length Primitive Code Data Unit(s)
  • Page 68: Field Symbols

    4.5.1 Field Symbols The symbols used in the remainder of this section to denote the different types of Primi- tive fields are summarized in Table 3. The length of the field (in bytes) is represented by the number of characters in the field symbol.
  • Page 69: Primitive Code Field - Pp

    4.5.3 Primitive Code Field – PP The Primitive Code Field is eight bits long, which allows for 256 unique Primitives. The most significant bit of the Primitive field code designates whether extended addressing is in effect. If extended addressing is used, the data element location descriptor is a 32-bit field rather than the 16-bit field associated with non-extended addressing.
  • Page 70: Basic Data Unit - Dddd

    Data Element Location — Data element types are accessed by a location address, desig- nated by “AAAA” or “AAAA AAAA”. In the Series 505 NIM, the location descriptor is a 16-bit value (32 bits if extended addressing is used in the Primitive code field). The allow- able values for the data element location are from 1 to the maximum values shown in Table 5.
  • Page 71: Data Element Types And Lengths

    DATA ELEMENT TYPES AND FORMATS The data element types (TTs) and their length (in bytes) are defined in Table 4. Figure 4 through Figure 8 show the format of the data elements. Table 4 Data Element Types and Lengths Data Element Type Length (in bytes) Instruction Memory (L)
  • Page 72: Discrete Data Element Format

    TT = 3, 4, 5 = Discrete (1 byte) X value Bit Definition Figure 4 Discrete Data Element Format TT = 6, 7, 8 = Packed discrete (1 byte) Next sequential discrete bit accessed. First discrete bit number accessed. Value Bit Definition If the number of packed discrete bits requested is not an even multiple of eight, the unused positions are set to zero.
  • Page 73: Forced Word Data Element Format

    TT = D = Word force (3 bytes) Figure 6 Forced Word Data Element Format NIM Primitives TIWAY 1 TI505 NIM User Manual 4-14 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 74: Forced Discrete And Cr Data Element Format

    TT = B, Discrete Force (1 byte) C, CR Force (1 byte) Discrete DD Value Value Force State Unforced Unforced Force Force — Unforce* Used only in a Write Primitive, unforces a forced data element location, but does not change the value Figure 7 Forced Discrete and CR Data Element Format TT = 17 = Secondary System Status (2 words)* Word #1:...
  • Page 75: Data Element Location Ranges

    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. NIM Primitives TIWAY 1 TI505 NIM User Manual 4-16...
  • Page 76: Data Element Location Ranges

    Table 5 Data Element Location Ranges P/C Type PPX:525– PPX:525– PPX:525– PPX:525– PPX:535– PPX:535– NOTE 1102 1104 1208 1212 1204 1212 Data Type L Instruction TT = 00 2048 4096 4096 12000 8192 12000 V Variable TT = 01 1024 2048 4096 5120...
  • Page 77: Data Field Length Restrictions

    DATA FIELD LENGTH RESTRICTIONS Table 6 and Table 7 provide the maximum number of bytes that can be gathered or writ- ten for Read and Write Primitives. Table 6 Maximum Read Primitive Data Byte Length Read Primitive Maximum number of bytes read per Primitive request.
  • Page 78: Maximum Write Primitive Data Byte Length

    Table 7 Maximum Write Primitive Data Byte Length Write Primitive Maximum number of bytes that may be 265* 265** written per Primitive request. (When using extended 263* 263** address) Consult Table 4Table 4 for the number in each data element, and Table 4Table 5 for the maximum available data element address.
  • Page 79 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. NIM Primitives TIWAY 1 TI505 NIM User Manual 4-20 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 80: Exception Primitive - Code 00

    4.9.1 Exception Primitive – Code 00 Primitive 00 returns the error status from a Secondary. For example, if a Primary tries to read variable memory at location 0000 in a Series 505 NIM, a Primitive 00 response would indicate that the memory address was out of range with an exception field of 0002. Request: There is no request defined for this Primitive.
  • Page 81 Symbol Value Definition DDDD Attached device did not respond properly Resulting data element location formed by the starting address, plus the number of data element to access, is out of range specified by TT Communication has not been established with the attached device Store and forward buffer is full and the store and forward message was discarded...
  • Page 82: Native Primitive - Code 01

    4.9.2 Native Primitive – Code 01 The Native Primitive 01 allows access to an attached device by using a Task Code which is unique to the specific device addressed. By using Primitive 01, you can embed a P/C- unique Task Code and access anything in P/C memory, for example, that a VPU can ac- cess.
  • Page 83: Status Primitive - Code 02

    4.9.3 Status Primitive – Code 02 Primitive 02 is the Status Primitive. It reports the current operational state of the at- tached device and NIM in a common format for all types of attached devices. The NIM gets a status update from the attached device every 4 seconds. Request: LLLL 02 Response: LLLL 02 HH EE FF, where: Symbol...
  • Page 84: Configuration Primitive - Code 03

    4.9.4 Configuration Primitive – Code 03 Primitive 03 allows the Primary to identify the types of devices that exist on the network. For example, a Primitive 03 response from a TI525 P/C is different from a 5TI P/C re- sponse. Request: LLLL 03 Response: LLLL 03 HH DDDD EEEE FFFF GGGG IIII JJJJ KKKK KKKK Symbol...
  • Page 85: Primitive Format Configuration - Code 04

    4.9.5 Primitive Format Configuration – Code 04 Primitive 04 is the Format Primitive that allows you to ascertain the maximum length (in bytes) of the Primitive acceptable to the Network Interface Module. Request: LLLL 04 Response: LLLL 04 NNNN MM EE FF GG BB ... BB Symbol Value Definition...
  • Page 86: Packed Native Primitive - Code 05

    4.9.6 Packed Native Primitive – Code 05 Primitive 05 allows one or more device task codes to be executed. Execution is aborted and an exception response returned if an exception occurs during processing. If an excep- tion occurs during execution of any native task code, the error results are returned in the packed native response in the same position as in a normal response.
  • Page 87: Change State Primitive - Code 10

    4.9.7 Change State Primitive – Code 10 This Primitive allows you to change the operational state of the attached device. For ex- ample, you may enter the Run or Program modes with this Primitive. NOTE Issuing this command to enter the non-execution of instruction data type will cause specific attached devices to turn off or freeze their output systems, depending on the device.
  • Page 88: Read Block Primitive - Code 20

    4.9.8 Read Block Primitive – Code 20 Primitive 20 is a command to read a single contiguous block of data in the attached de- vice. Read Block will access contiguous data elements starting from a given data element location. Request: LLLL 20 TT NNNN AAAA Symbol Value Definition...
  • Page 89: Read Random Block Primitive - Code 21

    4.9.9 Read Random Block Primitive – Code 21 Primitive 21 is a command to read several random blocks of contiguous memory. NOTE Data will not be returned for the blocks that were in error. Request: LLLL 21 TT NNNN AAAA (repeated) Symbol Value...
  • Page 90: Write Block Primitive - Code 30

    4.9.10 Write Block Primitive – Code 30 Primitive 30 is the Write Block Primitive, which will replace a contiguous block of data starting from a given data element location with the data specified in the request. Request: LLLL 30 TT AAAA DD ... DD Symbol Value Definition...
  • Page 91: Write Random Block Primitive - Code 31

    4.9.11 Write Random Block Primitive – Code 31 Primitive 31 replaces several blocks of contiguous data with the data included in the re- quest. Request: LLLL 31 TT NNNN AAAA DD ... DD (repeated) Symbol Value Definition Data element type NNNN Number of locations AAAA...
  • Page 92: Block Data Acquisition Primitive Codes 50 51 52

    4.9.12 Block Data Acquisition Primitive Codes 50 51 52 The Block Data Acquisition Primitives allow predefined blocks of different data types to be accessed with a single Primitive without re-defining the blocks in each transaction. The Define Block Primitive (50) specifies the random blocks. The Gather Block Primitive (51) collects the data from specific blocks.
  • Page 93 4.9.12.2 Gather Block Primitive – Code 51 The Gather Block Primitive specifies which blocks (as defined by the Define Block Primi- tive 50) will be read. The blocks are specified through a 32-bit mask (EEEEEEEE). Each bit position in the bit mask corresponds to a block that was defined with Primitive 50, Define Block.
  • Page 94 4.9.12.3 Write and Gather Block Primitive – Code 52 The Write and Gather Block Primitive specifies which blocks (as defined with Define Block Primitive 50) will be read. It also allows a user to replace any contiguous data ele- ment locations. The blocks to gather are specified through a 32-bit mask (EEEEEEEE). In the bit mask position which corresponds to a block specified in the Define Block Primi- tive, a bit value of 1 indicates that the block is to be returned.
  • Page 95 Request: LLLL 52 EEEEEEEE TT AAAA DD ... DD (repeated) where EEEEEEEE is a 32 bit field defining the blocks to gather..Block Number 1 (hex) Block Number 20 (hex) Symbol Value Definition Data element type for the write operation AAAA Data element location for the write operation Data for the write operation...
  • Page 96: Record Data Acquisition Primitive Codes 55 56 57

    4.9.13 Record Data Acquisition Primitive Codes 55 56 57 The Record Data Acquisition Primitives allow repetitive collection of multiple prede- fined blocks of data. The Define Record Primitive (55) allows multiple blocks of data to be defined as a single record. The Gather Record Primitive (56) collects the data blocks for the requested records.
  • Page 97 4.9.13.1 Define Record Primitive – Code 55 The Define Record Primitive specifies up to 32 records with 32 blocks per record. The re- cords are referenced by number, ranging from 1 (hex) to 20 (hex). A record, once defined, can be re-defined. A record may be restored to the initial state of “undefined” by specify- ing the number of Data type Definitions (DD –...
  • Page 98 4.9.13.2 Gather Record Primitive – Code 56 The Gather Record Primitive specifies which records (as defined by the Define Record Primitive 55) will be read. The records are specified by record numbers from 1 (hex) to 20 (hex). The total number of bytes returned by the record(s) must not cause the response to exceed the maximum frame length.
  • Page 99 4.9.13.3 Write and Gather Record Primitive – Code 57 The Write and Gather Record Primitive specifies which records (as defined with Define Record Primitive 55) will be read. It also allows you to replace any contiguous data ele- ment locations. The Records are specified by record numbers from 1 to 20 (hex). The total number of bytes returned by the record(s) must not cause the response to exceed the max- imum frame length.
  • Page 100 Request: LLLL 57 XX CC TT AAAA DD ... DD (repeated XX times) Symbol Value Definition Number of records to gather Record numbers to gather Data element type to write AAAA Data element location to write Data to write. Maximum DD ranges may vary depending on the number of records specified for the read function.
  • Page 101: Summary Of Primitives

    4.9.14 Summary of Primitives Table 8 summarizes the Series 505 NIM Primitives. Table 8 Summary of Primitives Primitive Format Exception (None) Request LLLL 00 PP DDDD (TT) Response (Optional) Native Request LLLL 01 DD ... DD Response LLLL 01 HH DD ... DD Status Request LLLL 02...
  • Page 102 Table 8 Summary of Primitives (cont.) Primitive Format Write Random Block Request LLLL 31 TT NNNN AAAA DD ... DD (repeated) Response LLLL 31 HH XX BB (BB is repeated XX times) Request Define Block LLLL 50 CC TT NNNN AAAA (repeated) Response LLLL 50 HH...
  • Page 103 Table 9 summarizes the same Primitives listed in Table 8, but with extended addressing. Table 9 Summary of Primitives (extended addressing) Primitive Format Exception (None) Request LLLL 00 PP DDDD (TT) Response (Optional) Native Request LLLL 81 DD ... DD Response LLLL 81 HH DD ...
  • Page 104 Table 9 Summary of Primitives (cont.) Primitive Format Write Random Block Request LLLL B1 TT NNNN AAAA AAAA DD ... DD (repeated) Response LLLL B1 HH XX BB (BB is repeated XX times) Request Define Block LLLL D0 CC TT NNNN AAAA AAAA (repeated) Response LLLL D0 HH...
  • Page 105 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 106 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 107: Local Line Bias And Termination

    2. If more than one CIM is attached to a Local Line, place CIMs at the extreme ends of the Local Line trunk. Install the jumpers provided with the outermost CIMs in accordance with the instructions in the PM550 CIM User’s Manual, Manual Number PM550–1101154–4.
  • Page 108 Appendix B Network Congfiguration Data Sheet Network Name Location Cable Diagram Reference GENERAL SPECIFICATIONS 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...
  • Page 109 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 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 110 TIWAY 1 TI505 NIM User Manual Network Configuration Data Sheet Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 111 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 Artisan Technology Group - Quality Instrumentation ...
  • Page 112 TIWAY I NETWORK EVALUATION FORM *DATE OF REQUEST: ____/____/____ TI FSE: *CUSTOMER COMPANY: CONTACT NAME: ADDRESS: TELEPHONE: (_____) _________ – ______________________ *AED CONTACT NAME: ____________________________________________________________ PHONE: *ORIGINATOR OF REQUEST: *APPLICATION: *PROPOSED HOST COMPUTER: *PROGRAMMING LANGUAGE: *PLC MODELS INITIAL PLC QUALITY NUMBER OF WORDS XFRED * PM550–...
  • Page 113 Appendix D Specifications Environmental specifications: Operating Temperature to 60 C (32 to 140 Storage Temperature –40 to 85 C (–40 to 185 Relative Humidity 5% to 95% noncondensing Vibration Sinusoidal IEC 68–2–6, Test Fc; 0.15 mm peak–to–peak, 10–57 Hz; 1.0g, 57–150 Hz Random NAVMAT P–9492 or IEC 68–2–34, Test Fdc with 0.04g /Hz, 80–350 Hz and...
  • Page 114 Communications: Data Rates 110; 150; 300; 600; 1,200; 2,400; 4,800; 9,600; 19,200; 38,400; 57,600; 115,200 bits per second. RS–232–C/423 Ports Configured as Data Terminal Equipment (DTE), synchronous or asynchronous operation, full or half duplex operation, NRZ or NRZI encoding. Local Line Ports Local Line Ports default to asynchronous, half duplex, with NRZI encoding.
  • Page 115 Appendix E Primitive Examples The following TIWAY I Primitive example reads four words of variable memory from a Series 505 P/C, starting at memory location 100 (hex = 64). The format for the request follows: Request: LLLL 20 TT NNNN AAAA = 0006 20 01 0004 0064, where: LLLL (Length) = 0006 Primitive Code = 20 TT (Data Type) = 01 (V, variable memory)
  • Page 116 In this example, the same task is performed as in the above example, but with extended addressing. Command: LLLL A0 TT NNNN AAAA AAAA = 0008 A0 01 0004 0000 0064, where: LLLL (Length) = 0008 Primitive Code = A0 (extended address format for Primitive 20) TT (Data Type) = 01 (V, variable memory) NNNN (Number of locations) = 0004 AAAA AAAA (Address) = 0000 0064...
  • Page 117 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 118 Customer Registration We would like to know what you think about our user manuals so that we can serve you better. How would you rate the quality of our manuals? Excellent Good Fair Poor Accuracy Organization Clarity Completeness Overall design Size Index Would you be interested in giving us more detailed comments about our manuals?
  • Page 119 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 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...

Table of Contents