Advantys STB INTERBUS Basic Network Interface Module Applications Guide 31005789 00 31005789 00 890USE19600 Version 1.
Table of Contents Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Chapter 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 What Is Advantys STB? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 What Is a Network Interface Module? . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5 Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Sample Island Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Network Configuration Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Using SyCon to Configure an STB Island on INTERBUS . . . . . . . . . . . . . . . . . . 46 Using CMD to Configure an STB Island on INTERBUS . . . . . . . . . . . . . . . . . . . 50 4 Glossary .
Safety Information § Important Information NOTICE Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.
Safety Information PLEASE NOTE 6 Electrical equipment should be serviced only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. This document is not intended as an instruction manual for untrained persons. © 2004 Schneider Electric. All Rights Reserved.
About the Book At a Glance Document Scope This guide describes the specific functionality of the STB NIB 1010, the Advantys STB basic network interface module to an INTERBUS network. To assist you with setting up your Advantys STB island on an INTERBUS network, extensive, realworld INTERBUS application examples are included. These instructions assume the reader has a working familiarity with the INTERBUS fieldbus protocol.
About the Book Product Related Warnings Schneider Electric assumes no responsibility for any errors that may appear in this document. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric.
Introduction 1 At a Glance Summary This chapter describes the Advantys STB NIB 1010 basic INTERBUS network interface module and its role in making the island a node on an INTERBUS open fieldbus network.
Introduction What Is Advantys STB? Introduction Advantys STB is an assembly of distributed I/O, power, and other modules that function together as an island node on an open fieldbus network. Advantys STB delivers a highly modular and versatile slice I/O solution for the manufacturing industry, with a migration path to the process industry. Island Bus I/O A basic Advantys STB island can support up to 12 Advantys STB I/O modules.
Introduction What Is a Network Interface Module? Purpose An island of STB I/O modules requires a network interface module (NIM) in the leftmost location of the basic island. Physically, the NIM is the first (leftmost) module on the island bus. Functionally, it is the gateway to the island bus—all communications to and from the island bus pass through the NIM. The NIM also has an integrated power supply that provides logic power to the island modules.
Introduction Structural Overview 12 The following figure illustrates the multiple roles of the NIM.
Introduction About INTERBUS Introduction INTERBUS implements a master/slave network model. It can communicate with up to 512 nodes over a distance of 12.8 km, and can read 1024 inputs and write 1024 outputs in 4 ms. Each network slave has an in connector for receiving data and an out connector for transmitting data on the ring. The last device automatically closes and terminates the network ring; sometimes this last device has no out connector.
Introduction Physical Layer The physical layer contains a single twisted pair of shielded wires. The STB NIB 1010 INTERBUS implements the SUPI 3 (serial universal peripheral interface) ASIC from Phoenix Contact. Network Topology The INTERBUS network observes a master/slave model with active ring topology, having all devices integrated in a closed transmission path.
Introduction Node Addressing The INTERBUS master device is self-configuring because INTERBUS slave devices are auto-addressed according to their sequence in a serial ring structure. The master identifies read/write data in terms of a node’s relative position in the ring, not by a fixed address. The sequential location of slaves corresponds to the order of input and output data in the master's buffer. The ring structure uses a distributed shift register.
Introduction 16 890USE19600 April 2004
The STB NIB 1010 Basic NIM Module 2 At a Glance Introduction This chapter describes the external features, connections, power requirements and product specifications of the basic INTERBUS NIM.
The STB NIB 1010 Basic NIM Module External Features of the STB NIB 1010 NIM Hardware Features The physical features critical to STB NIB 1010 INTERBUS NIM operations are called out in the illustration below: Feature Function 1 fieldbus interface (in) Nine-pin SUB-D (male) connector used for the incoming INTERBUS fieldbus network cable. 2 fieldbus interface (out) Nine-pin SUB-D (female) connector used for the outgoing INTERBUS fieldbus network cable.
The STB NIB 1010 Basic NIM Module Housing Shape 890USE19600 April 2004 The L-shaped external housing of the NIM is designed to accommodate the attachment of the in and out INTERBUS network connectors without raising the depth profile of the island: 1 space reserved for the network connectors 2 NIM housing 19
The STB NIB 1010 Basic NIM Module STB NIB 1010 Fieldbus Interface Summary The fieldbus interface on the STB NIB 1010 is the point of connection between an Advantys STB island bus and the INTERBUS network. Like every INTERBUS node, the NIM has two nine-pin SUB-D connectors for data reception (in) and transmission (out). The connectors are located on the face of the NIM.
The STB NIB 1010 Basic NIM Module The pin-out for both the in (upper) and out (lower) connectors should be according to the table below (pin numbers correspond to callouts in the figure above): Pin Signal (in) Signal (out) 1 DO1 DO2 2 DI1 DI2 3 GND1 GND 4 unused unused 5 unused +5 V 6 /DO1 /DO2 7 /DI1 /DI2 8 unused unused 9 unused RBST (see note below) Note: The RBST pin detects the presence of a subsequent node on the ring.
The STB NIB 1010 Basic NIM Module LED Physical Description Overview The six LEDs implemented in the STB NIB 1010 INTERBUS NIM are visual indications of the operating status of the island bus on an INTERBUS network. The LED array is located at the top of the NIM front bezel.
The STB NIB 1010 Basic NIM Module INTERBUS Data Exchange LEDs The following table describes the indicated condition(s) and the colors and blink patterns that the RC, BA and RD LEDs use to show normal operations and error conditions for the NIM on an INTERBUS fieldbus. Label Pattern Meaning BA (green) on The module is transmitting data messages on the network. off The module is not transmitting data messages on the network.
The STB NIB 1010 Basic NIM Module Power Supply Interface Introduction The NIM’s built-in power supply requires 24 VDC from an external SELV-rated power source. The connection between the 24 VDC source and the Advantys STB island is the two-receptacle connector illustrated below.
The STB NIB 1010 Basic NIM Module Connectors Use either: l a screw type power connector, available in a kit of 10 (model STB XTS 1120) l a spring clamp power connector, available in a kit of 10 (model STB XTS 2120) The following illustrations show two views of each power connector type.
The STB NIB 1010 Basic NIM Module Logic Power Introduction Logic power is a 5 VDC power signal on the island bus that the I/O modules require for internal processing. The NIM has a built-in power supply that provides logic power. The NIM sends the 5 V logic power signal across the island bus to support the modules in the basic segment. External Source Power Input from an external 24 VDC power supply is needed as the source power for the NIM’s built-in power supply.
The STB NIB 1010 Basic NIM Module Selecting a Source Power Supply for the Island’s Logic Power Bus Logic Power Requirements An external 24 VDC power supply is needed as the source for logic power to the island bus. The external power supply connects to the island’s NIM. This external supply provides the 24 V input to the built-in 5 V power supply in the NIM. Characteristics of the External Power Supply The external power supply needs to deliver 24 VDC source power to the island.
The STB NIB 1010 Basic NIM Module STB NIB 1010 Module Specifications Table of Technical Specifications dimensions interface connectors built-in power supply width 40.5 mm (1.59 in) height 130 mm (5.12 in) depth 70 mm (3.
Configuring the Island Bus 3 At a Glance Introduction The information in this chapter describes the auto-addressing and autoconfiguration processes. This data is saved to Flash memory automatically.
Configuring the Island Bus Auto-Addressing Introduction Each time that the island is powered up or reset, the NIM automatically assigns a unique island bus address to each module on the island that will engage in data exchange. All Advantys STB I/O modules engage in data exchange. About the Island Bus Address An island bus address is a unique integer value in the range 0 through 127 that identifies the physical location of each addressable module on the island. Address 127 is always the NIM’s address.
Configuring the Island Bus An Example For example, if you have an island bus with eight I/O modules: 1 NIM 2 STB PDT 3100 24 VDC power distribution module 3 STB DDI 3230 24 VDC two-channel digital input module 4 STB DDO 3200 24 VDC two-channel digital output module 5 STB DDI 3425 24 VDC four-channel digital input module 6 STB DDO 3415 24 VDC four-channel digital output module 7 STB DDI 3615 24 VDC six-channel digital input module 8 STB DDO 3605 24 VDC six-channel digital output module 9
Configuring the Island Bus Auto-Configuration Introduction All Advantys STB I/O modules are shipped with a set of predefined parameters that allow an island to be operational as soon as it is initialized. This ability of island modules to operate with default parameters is known as auto-configuration. Once an island bus has been installed, you can begin using it as a node on that network. About AutoConfiguration Auto-configuration occurs when: l You power up an island for the first time.
Configuring the Island Bus The RST Button Summary Use the RST function to reconfigure your island after you have added a new I/O module to a previously auto-configured island. If a new I/O module is added to the island, pressing the RST button forces the auto-configuration process. The updated island configuration data is automatically saved. RST works only after the island has been successfully configured at least once.
Configuring the Island Bus Island Fallback Scenarios Introduction In the event of a communications failure on the island or between the island and the fieldbus, output data is put into a predefined fallback state so that the module’s values are known when the system recovers from the failure. When you use a basic NIM, you cannot change the fallback parameters of any modules in the segment. All output channels on the modules go to a predefined fallback value of 0.
Fieldbus Communications Support 4 At a Glance Introduction This chapter describes how the INTERBUS master sets up communications with an Advantys STB island and the network parameterization, configuration and diagnostics services performed to configure the island as an INTERBUS node. To communicate with an Advantys STB island, the INTERBUS master sends output data across its network to the STB NIB 1010 basic NIM. The NIM transfers this output data across the island bus to the destination output modules.
Fieldbus Communications Support The INTERBUS ID Code Introduction The ID cycle is part of the INTERBUS network’s initialization process. After determining the length of its own data during network initialization, every network device reports its functionality and byte length in the two-byte ID code. The INTERBUS ID code is a 16-bit word that describes the data type, data length and module type (digital/analog, input/output/mixed) of network devices.
Fieldbus Communications Support Data Length The following table shows the relationship between the actual data length of the island and the length of the code on INTERBUS. The actual data length (anywhere from 0 to 16 words) represents the greater of the input or output data length.
Fieldbus Communications Support Data Exchange Introduction Process image data is exchanged between the STB NIB 1010 NIM and an INTERBUS fieldbus master in a bit-packed format. Note: In this discussion, data and words described as input and output are defined relative to the master. For example, the master receives input data and transmits output data.
Fieldbus Communications Support The Internal Process Image The STB NIB 1010’s process image contains memory areas (buffers) for the temporary storage of input and output data. The internal process image is part of the NIM’s island bus scanner area. The island bus manages data exchange in both directions: l input data from the island bus—The island bus scanner operates continuously, gathering data as well as status and confirmation bits and putting them into the process image’s input buffer.
Fieldbus Communications Support Input and Output Data Exchange The application of the INTERBUS bit packing rules to the sample island assembly results in four words of output data and five words of input data. The tables that follow show how digital data is bit packed for optimization, and how data, status, and echo output data (from outputs) appear in the PLC as the same data type (digital input data). In these tables, N refers to the island node number.
Application Example 5 At a Glance Introduction This chapter presents two examples for configuring the Advantys STB island on an INTERBUS network. Each example implements the same sample island assembly with an Advantys STB NIB 1010 basic NIM.
Application Example Sample Island Assembly Introduction The configuration example(s) in this chapter use a particular Advantys STB island assembly, described below. Your island assembly is independent of the network’s master scanner because the island is represented by the NIM as a single node on the fieldbus network. Sample Island Assembly The sample I/O system used in this chapter’s application example(s) implements a variety of analog and digital modules.
Application Example The I/O modules have the following island bus addresses: I/O Model Module Type Island Bus Address STB DDI 3230 two-channel digital input 1 STB DDO 3200 two-channel digital output 2 STB DDI 3425 four-channel digital input 3 STB DDO 3415 four-channel digital output 4 STB DDI 3615 six-channel digital input 5 STB DDO 3605 six-channel digital output 6 STB AVI 1275 two-channel analog input 7 STB AVO 1255 two-channel analog output 8 The NIM, the PDM, and the terminat
Application Example Network Configuration Considerations Introduction This topic covers items to consider before you configure your INTERBUS network for use with an Advantys STB island.
Application Example Before You Begin Before attempting to use the application examples in this chapter, make sure: l your Advantys STB modules are assembled, installed, and powered according to your particular system, application, and network requirements l you know the input and output process data lengths for your specific configuration (the sample island assembly’s input length is 80 bits and the output length is 64 bits) You should have a working familiarity with both the INTERBUS fieldbus protocol an
Application Example Using SyCon to Configure an STB Island on INTERBUS Introduction To add any master device and an Advantys STB island slave to your configuration with SyCon: Stage Add a Master 1 Add a master to your network configuration. 2 Add the NIM to your network configuration. 3 Create an EDS for the Advantys STB island. 4 Save and download the configuration Use the following procedure to add an INTERBUS master to your configuration. In this case, the Hilscher CIF30 PCMCIA card is used.
Application Example Add the NIM You must import the NIM’s EDS before you configure the island as a network device. To add the NIM to the network configuration: Step Configuring in the SyCon Workspace 890USE19600 April 2004 Action Comment 1 From SyCon’s Insert menu, select Remote Bus Device or the insert remote device icon. The Advantys STB island can only be used as a remote node on INTERBUS. 2 Decide where you want to insert the NIM device.
Application Example Create an EDS You can create an EDS using SyCon's EDS Generator by following these instructions: Step Action Comment 1 From SyCon’s Tools menu, select EDS Generator. The EDS Generator dialogue box appears. 2 In the Created by text field, enter the creator’s name. Use your own name. 3 In the Device text field, enter the device name and manufacturer. The device will use the name you enter here when it appears in the configuration workspace.
Application Example After you customize the SyCon EDS Generator screen, it will resemble this: Saving and Downloading the Configuration 890USE19600 April 2004 You can save your configuration with the standard Windows commands in the File menu. The Online menu provides options for downloading and debugging your configuration.
Application Example Using CMD to Configure an STB Island on INTERBUS Introduction Use these directions to add an Advantys STB island slave to your INTERBUS network using Phoenix Contact’s CMD software. The employed master device is a controller board that you select. In this example, we will use a PC with an IBS/4K controller board.
Application Example Add the Controller Board Use the following instructions to add a master device (the selected controller board) to your configuration project. Step Action Comment 1 To create a new project, choose New from the File menu. A new project window appears. Default project components are already in the project view. 2 In the project window, select (left-click) the Controller Board icon. A selection box appears around the Controller Board icon.
Application Example 52 890USE19600 April 2004
Glossary ! 10Base-T An adaptation of the IEEE 802.3 (Ethernet) standard, the 10Base-T standard uses twisted-pair wiring with a maximum segment length of 100 m (328 ft) and terminates with an RJ-45 connector. A 10Base-T network is a baseband network capable of transmitting data at a maximum speed of 10 Mbit/s. 802.3 frame A frame format, specified in the IEEE 802.3 (Ethernet) standard, in which the header specifies the data packet length. A agent 1.
Glossary ARP address resolution protocol. The IP network layer protocol, which uses ARP to map an IP address to a MAC (hardware) address. auto baud The automatic assignment and detection of a common baud rate as well as the ability of a device on a network to adapt to that rate. auto-addressing The assignment of an address to each island bus I/O module and preferred device. autoconfiguration The ability of island modules to operate with predefined default parameters.
Glossary C CAN controller area network. The CAN protocol (ISO 11898) for serial bus networks is designed for the interconnection of smart devices (from multiple manufacturers) in smart systems for real-time industrial applications. CAN multi-master systems ensure high data integrity through the implementation of broadcast messaging and advanced error mechanisms. Originally developed for use in automobiles, CAN is now used in a variety of industrial automation control environments.
Glossary D DeviceNet protocol DeviceNet is a low-level, connection-based network that is based on CAN, a serial bus system without a defined application layer. DeviceNet, therefore, defines a layer for the industrial application of CAN. DHCP dynamic host configuration protocol. A TCP/IP protocol that allows a server to assign an IP address based on a role name (host name) to a network node.
Glossary EMC electromagnetic compatibility. Devices that meet EMC requirements can operate within a system’s expected electromagnetic limits without error. EMI electromagnetic interference. EMI can cause an interruption, malfunction, or disturbance in the performance of electronic equipment. It occurs when a source electronically transmits a signal that interferes with other equipment. EOS end of segment.
Glossary FSD_P Fipio standard device profile. On a Fipio network, the standard device profile type for agents whose data length is more than two words and equal to or less than eight words. full scale The maximum level in a specific range—e.g., in an analog input circuit the maximum allowable voltage or current level is at full scale when any increase beyond that level is over-range. function block A function block performs a specific automation function, such as speed control.
Glossary I I/O base A mounting device, designed to seat an Advantys STB I/O module, hang it on a DIN rail, and connect it to the island bus. It provides the connection point where the module can receive either 24 VDC or 115/230 VAC from the input or output power bus distributed by a PDM. I/O module In a programmable controller system, an I/O module interfaces directly to the sensors and actuators of the machine/process.
Glossary industrial I/O An Advantys STB I/O module designed at a moderate cost for typical continuous, high-duty-cycle applications. Modules of this type often feature standard IEC threshold ratings, usually providing user-configurable parameter options, on-board protection, good resolution, and field wiring options. They are designed to operate in moderate-to-high temperature ranges.
Glossary M MAC address media access control address. A 48-bit number, unique on a network, that is programmed into each network card or device when it is manufactured. mandatory module When an Advantys STB I/O module is configured to be mandatory, it must be present and healthy in the island configuration for the island to be operational. If a mandatory module fails or is removed from its location on the island bus, the island will go into a pre-operational state.
Glossary NIM network interface module. This module is the interface between an island bus and the fieldbus network of which the island is a part. A NIM enables all the I/O on the island to be treated as a single node on the fieldbus. The NIM also provides 5 V of logic power to the Advantys STB I/O modules in the same segment as the NIM. NMT network management. NMT protocols provide services for network initialization, error control, and device status control.
Glossary P parameterize To supply the required value for an attribute of a device at run-time. PDM power distribution module. A module that distributes either AC or DC field power to a cluster of I/O modules directly to its right on the island bus. A PDM delivers field power to the input modules and the output modules. It is important that all the I/O clustered directly to the right of a PDM be in the same voltage group—either 24 VDC, 115 VAC, or 230 VAC. PDO process data object.
Glossary process I/O An Advantys STB I/O module designed for operation at extended temperature ranges in conformance with IEC type 2 thresholds. Modules of this type often feature high levels of on-board diagnostics, high resolution, user-configurable parameter options, and higher levels of agency approval. process image A part of the NIM firmware that serves as a real-time data area for the data exchange process.
Glossary RTD resistive temperature detect. An RTD device is a temperature transducer composed of conductive wire elements typically made of platinum, nickel, copper, or nickeliron. An RTD device provides a variable resistance across a specified temperature range. Rx reception. For example, in a CAN-based network, a PDO is described as an RxPDO of the device that receives it. S SAP service access point.
Glossary sink load An output that, when turned on, receives DC current from its load. size 1 base A mounting device, designed to seat an STB module, hang it on a DIN rail, and connect it to the island bus. It is 13.9 mm wide and 128.25 mm high. size 2 base A mounting device, designed to seat an STB module, hang it on a DIN rail, and connect it to the island bus. It is 18.4 mm wide and 128.25 mm high.
Glossary STD_P standard profile. On a Fipio network, a standard profile is a fixed set of configuration and operating parameters for an agent device, based on the number of modules that the device contains and the device’s total data length. Three types of standard profiles are available—Fipio reduced device profile (FRD_P), Fipio standard device profile (FSD_P), and the Fipio extended device profile (FED_P). stepper motor A specialized DC motor that allows discrete positioning without feedback.
Glossary U UDP user datagram protocol. A connectionless mode protocol in which messages are delivered in a datagram to a destination computer. The UDP protocol is typically bundled with the Internet Protocol (UPD/IP). V varistor A two-electrode semiconductor device with a voltage-dependant nonlinear resistance that drops markedly as the applied voltage is increased. It is used to suppress transient voltage surges.
B AC Index A D ABL7 RE2403 Telefast 24 VDC power supply, 27 addressable module, 30, 31 agency approvals, 28 auto-addressing, 30, 33 auto-configuration, 32 and reset, 32, 33 initial configuration, 32 data exchange, 11, 23, 30, 38 data length, 37 data type, 36 ID code, 36 data length, 37 data objects, 38 data type, 36 B basic segment, 10, 11, 26, 27 baud CFG port, 33 fieldbus interface, 33 bit packing, 39 C configuration INTERBUS master, 46, 50 E edit mode, 33 EDS, 15 external features, 18 F factory
Index H L heartbeat message, 34 housing, 19 LED physical description, 22 LEDs and COMS states, 23 and reset, 23 BA, 23 ERR, 23 island bus, 23 PWR/UL, 22 RC, 23 RUN, 23 TEST, 23 logic power considerations, 11, 26, 27 integrated power supply, 11, 26, 27 signal, 26 source power supply, 11, 27 I ID code, 36 INTERBUS bit packing, 39 cables, 21 connectors, 21 data exchange, 38 fieldbus interface, 20, 21 ID code, 36 inputs, 13 last device, 13, 21 network components, 13 network interface, 18 network length, 13
Index S sample island assembly, 42 source power supply considerations, 27 logic power, 11, 27 recommendations, 27 SELV-rated, 24, 26, 27 two-receptacle wiring connector, 24 specifications, 28 STB NIB 1010, 28 status objects, 38 STB XTS 1120 screw type power connector, 25 STB XTS 2120 spring clamp field wiring connector, 25 storing configuration data in Flash memory, 32 T termination plate, 12, 31 test mode, 23 troubleshooting LEDs, 23 using the Advantys LEDs, 23 TSX SUP 1011 Premium 24 VDC power supply, 2