Advantys STB Standard Ethernet Modbus TCP/IP Network Interface Module Applications Guide 31003688 01 31003688 01 890USE17700 Version 2.
890USE17700 April 2004
Table of Contents Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Chapter 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What Is a Network Interface Module? . . . . . . . . . . . . . . . . . . . . . .
Chapter 4 IP Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 How the STB NIP 2212 Obtains IP Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 60 The IP Address Assignment Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Chapter 5 5.1 5.2 5.3 5.4 5.5 4 STB NIP 2212 Web Server . . . . . . . . . . . .
Chapter 6 Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Exchange with the STB NIP 2212 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reading Diagnostic Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Modbus Commands Supported by the STB NIP 2212 . . . . . . . . . . . . . . . . . . .
890USE17700 April 2004
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 8 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 890USE17700 April 2004 This Guide describes the hardware and software features of the Advantys STB NIP 2212, which enables an island of Advantys STB modules to function as a node on an Ethernet LAN. The Ethernet LAN on which an island resides uses Transport Control Protocol/ Internet Protocol as its transport layer. The Modbus protocol runs over the TCP/IP layer. This way, an Ethernet host device can control an island with Modbus commands.
About the Book Validity Note Related Documents The data and illustrations found in this book are not binding. We reserve the right to modify our products in line with our policy of continuous product development. The information in this document is subject to change without notice and should not be construed as a commitment by Schneider Electric.
Introduction 1 At a Glance Introduction This chapter provides a general overview of the Advantys STB standard network interface module and the Advantys STB island bus. The chapter concludes with an introduction to the specific features of the STB NIP 2212 NIM.
Introduction What Is a Network Interface Module? Purpose Every island requires a network interface module (NIM) in the leftmost location of the primary segment. 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 Integrated Power Supply 890USE17700 April 2004 The NIM’s built-in 24-to-5 VDC power supply provides logic power to the I/O modules on the primary segment of the island bus. The power supply requires a 24 VDC external power source. It converts the 24 VDC to 5 V of logic power, providing 1.2 A of current to the island. Individual STB I/O modules in an island segment generally draw a current load of between 50 and 90 mA.
Introduction Structural Overview 14 The following figure illustrates the multiple roles of the NIM.
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. Advantys STB lets you design an island of distributed I/O where the I/O modules can be installed as close as possible to the mechanical field devices that they control.
Introduction Extension Segments When you are using a standard NIM, Advantys STB I/O modules that do not reside in the primary segment can be installed in extension segments. Extension segments are optional segments that enable an island to be a truly distributed I/O system. The island bus can support as many as six extension segments. Special extension modules and extension cables are used to connect segments in a series.
Introduction Preferred Modules An island bus can also support those auto-addressable modules referred to as preferred modules. Preferred modules do not mount in segments, but they do count as part of the 32-module maximum system limit. Note: If you want to include preferred modules in your island, you need to configure the island using the Advantys configuration software.
Introduction Standard CANopen Devices You may also install one or more standard CANopen devices on an island. These devices are not auto-addressable, and they must be installed at the end of the island bus. If you want to install standard CANopen devices on an island, you need to use an STB XBE 2100 CANopen extension module as the last module in the last segment.
Introduction STB NIP 2212 Product Overview Introduction An Advantys STB island bus configured with an STB NIP 2212 standard NIM can function transparently as a node on an Ethernet local area network (LAN), or on the Internet. It can function, indirectly, as a node on a wide area network (WAN). The STB NIP 2212 can be a slave device to an Ethernet host manager. Ethernet and Internet Connectivity TCP/IP is the transport layer for the Ethernet LAN on which the STB NIP 2212 Advantys STB island resides.
Introduction Conformance to NIM Standards The STB NIP 2212 is designed to support all of the standard Advantys STB NIM features and functions (See What Is a Network Interface Module?, p. 12). Because an STB NIP 2212 runs Modbus as its fieldbus protocol, a device running the Advantys configuration software or a human-machine interface (HMI) can attach to either its fieldbus (Ethernet) port) (See STB NIP 2212 Network Interface, p. 26) or its CFG port (See The CFG Interface, p. 33).
Introduction Ethernet Communications and Connectivity Introduction The STB NIP 2212 allows the Advantys STB island to function as a node on an Ethernet local area network (LAN). Ethernet is an open local (communications) network that enables the interconnectivity of all levels of manufacturing operations from the plant’s office to the sensors and actuators on its floor. Conformance The STB NIP 2212 is located on a 10Base-T LAN. The 10Base-T standard is defined by the IEEE 802.3 Ethernet specification.
Introduction 22 890USE17700 April 2004
The STB NIP 2212 NIM 2 At a Glance Introduction This chapter describes the external features of the STB NIP 2212, including its Ethernet port, network cable requirements, and power requirements.
The STB NIP 2212 NIM External Features of the STB NIP 2212 Summary of Features 24 The following figure indicates where the physical features critical to STB NIP 2212 NIM operations are located: 890USE17700 April 2004
The STB NIP 2212 NIM The physical features of the STB NIP 2212 are described briefly in the following table: 890USE17700 April 2004 Feature Function 1 Ethernet interface An RJ-45 (See STB NIP 2212 Network Interface, p. 26) connector is used to connect the NIM and the island bus to an Ethernet LAN network. 2 MAC ID 48-bit, unique network ID hard-coded in the STB NIP 2212 when manufactured. 3 upper rotary switch 4 lower rotary switch The rotary switches (See Physical Description, p.
The STB NIP 2212 NIM STB NIP 2212 Network Interface Introduction The fieldbus interface on the STB NIP 2212 is the point of connection between an Advantys STB island and the Ethernet LAN on which the island resides. This fieldbus interface is also called the Ethernet port. The fieldbus interface is a 10Base-T port with an RJ-45 female connector. Category 5 (CAT5) twisted pair electrical wiring, either shielded or unshielded (STP/UTP), is used to connect the STB NIP 2212 to the Ethernet baseband.
The STB NIP 2212 NIM Communications Cable and Connector The required communications cable is either shielded (STP) or unshielded (UTP) electrical, twisted pair CAT5 cable. The cable used with the STB NIP 2212 must terminate with an eight-pin male connector. The CAT5 cable recommended for connecting the STB NIP 2212 to an Ethernet LAN has the following characteristics: standard description max.
The STB NIP 2212 NIM Rotary Switches Introduction The STB NIP 2212 is a single node on an Ethernet LAN and, in turn, the Internet. An STB NIP 2212 must have a unique IP address. The two rotary switches on the NIM provide a simple, easy way to assign an IP address to the STB NIP 2212. Physical Description The two rotary switches are positioned one above the other on the front of the STB NIP 2212.
The STB NIP 2212 NIM Summary of Valid IP Address Settings Each rotary switch position that you can use to set a valid IP address is marked on the STB NIP 2212 housing (See Physical Description, p. 28). The following information summarizes the valid address settings: z For a switch-set role name, select a numeric value from 00 to 159. You can use both switches: z On the upper switch (tens digit), the available settings are 0 to 15. z On the lower switch (ones digit), the available settings are 0 to 9.
The STB NIP 2212 NIM LED Indicators Introduction Six LEDs on the STB NIP 2212 NIM visually indicate the operational status of the island bus on an Ethernet LAN. The LED array is located toward the top of the NIM front bezel: z LED 10T ACT (See Ethernet Communications LEDs, p. 31) indicates whether the Ethernet LAN and the Ethernet port are healthy and alive. z LED LAN ST (See Ethernet Communications LEDs, p. 31) indicates events on the Ethernet LAN.
The STB NIP 2212 NIM Ethernet Communications LEDs The 10T ACT and the STATUS indicate the conditions described in the following table: Label 10T ACT (green) LAN ST (green) Advantys STB Communications LEDs 890USE17700 April 2004 Pattern Meaning on The network is alive and healthy. off The network is not alive and not healthy. steady on The Ethernet LAN is operational. steady off No MAC address found. blinking Initializing the Ethernet network. blink: 3 No link pulse detected.
The STB NIP 2212 NIM RUN (green) ERR (red) TEST (yellow) Meaning off blink: 2 off Configuration mismatch detected after power up—at least one mandatory module does not match; the island bus is not started. off blink: 2 off Assignment error—the NIM has detected a module assignment error; the island bus is not started. blink: 5 32 Internal triggering protocol error.
The STB NIP 2212 NIM The CFG Interface Purpose The CFG port is the connection point to the island bus for either a computer running the Advantys configuration software or an HMI panel. Physical Description The CFG interface is a front-accessible RS-232 interface located behind a hinged flap on the bottom front of the NIM: The port uses a male eight-pin HE-13 connector. Port Parameters The CFG port supports the set of communication parameters listed in the following table.
The STB NIP 2212 NIM Connections An STB XCA 4002 programming cable must be used to connect the computer running the Advantys configuration software or a Modbus-capable HMI panel to the NIM via the CFG port. The following table describes the specifications for the programming cable: Parameter Description model STB XCA 4002 function connection to device running Advantys configuration software connection to HMI panel 34 communications protocol Modbus (either RTU or ASCII mode) cable length 2 m (6.
The STB NIP 2212 NIM The 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 island is the male two-pin connector illustrated below.
The STB NIP 2212 NIM Connectors Use either: z a screw type power connector, available in a kit of 10 (model STB XTS 1120) z 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 NIP 2212 NIM 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 primary segment. External Source Power Input from an external 24 VDC power supply (See Characteristics of the External Power Supply, p.
The STB NIP 2212 NIM Logic Power Flow The figure below shows how the NIM’s integrated power supply generates logic power and sends it across the primary segment: 5V 24 V 24 VDC The figure below shows how the 24 VDC signal is distributed to an extension segment across the island: 5V 5V 24 V 24 V 24 VDC The logic power signal is terminated in the STB XBE 1000 module at the end of the segment (EOS). Island Bus Loads 38 The built-in power supply produces 1.2 A of current for the island bus.
The STB NIP 2212 NIM 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. The NIM delivers the logic power signal to the primary segment only.
The STB NIP 2212 NIM Calculating the Wattage Requirement 40 The amount of power (See Logic Power Flow, p. 38) that the external power supply must deliver is a function of the number of modules and the number of built-in power supplies installed on the island. The external supply needs to provide 13 W of power for the NIM and 13 W for each additional STB power supply (like an STB XBE 1200 BOS module).
The STB NIP 2212 NIM The extended island bus contains three built-in power supplies: z the supply built into the NIM, which resides in the leftmost location of the primary segment z a power supply built into each of the STB XBE 1200 BOS extension modules, which reside in the leftmost location of the two extension segments In the figure, the external supply would provide 13 W of power for the NIM plus 13 W for each of the two BOS modules in the extension segments (for a total of 39 W).
The STB NIP 2212 NIM Module Specifications Specifications Detail The general specifications for the STB NIP 2212, which is the Ethernet network interface module (NIM) for an Advantys STB island bus, appear in the following table: General Specifications dimensions interface and connectors width 40.5 mm (1.594 in) height 130 mm (4.941 in) depth 70 mm (2.
The STB NIP 2212 NIM General Specifications 890USE17700 April 2004 segments supported primary (required) one extension (optional) six maximum standards Ethernet conformance IEEE 802.
The STB NIP 2212 NIM 44 890USE17700 April 2004
Configuring the Island Bus 3 At a Glance Introduction The information in this chapter describes the auto-addressing and autoconfiguration processes. An Advantys STB system has an auto-configuration capability in which the current, actual assembly of I/O modules on the island bus is read every time that the island bus is either powered up or reset. This configuration data is saved to Flash memory automatically. The removable memory card is discussed in this chapter.
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 and preferred devices engage in data exchange and require island bus addresses.
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 3420 24 VDC four-channel digital input module 6 STB DDO 3410 24 VDC four-channel digital output module 7 STB DDI 3610 24 VDC six-channel digital input module 8 STB DDO 3600 24 VDC six-channel digital output module 9
Configuring the Island Bus Associating the Module Type with the Island Bus Location 48 As a result of the configuration process, the NIM automatically identifies physical locations on the island bus with specific I/O module types. This feature enables you to hot swap a failed module with a new module of the same type.
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, assembled, and successfully parameterized and configured for your fieldbus network, you can begin using it as a node on that network.
Configuring the Island Bus Installing the STB XMP 4440 Optional Removable Memory Card Introduction The STB XMP 4440 removable memory card is a 32-kbyte subscriber identification module (SIM) that lets you store (See Saving Configuration Data, p. 163), distribute, and reuse custom island bus configurations. If the island is in unprotected (edit) mode (See Protection Feature, p.
Configuring the Island Bus Installing the Card Use the following procedure to install the card: Step 1 Action Punch out the removable memory card from the plastic card on which it is shipped. removable memory card Make sure that the edges of the card are smooth after you punch it out. 890USE17700 April 2004 2 Open the card drawer on the front of the NIM. If it makes it easier for you to work, you may pull the drawer completely out from the NIM housing.
Configuring the Island Bus Removing the Card Use the following procedure to remove the card from the card drawer. As a handling precaution, avoid touching the circuitry on the removable memory card during its removal. Step 52 Action 1 Open the card drawer. 2 Push the removable memory card out of the drawer through the round opening at the back. Use a soft but firm object like a pencil eraser.
Configuring the Island Bus Using the STB XMP 4440 Optional Removable Memory Card to Configure the Island Bus Introduction A removable memory card is read when an island is powered on. If the configuration data on the card is valid, the current configuration data in Flash memory is overwritten. A removable memory card can be active only if an island is in edit mode. If an island is in protected mode (See Protecting Configuration Data, p. 164), the card and its data are ignored.
Configuring the Island Bus Initial Configuration and Reconfiguration Scenarios Use the following procedure to set up an island bus with configuration data that was previously saved (See Saving Configuration Data, p. 163) to a removable memory card. You can use this procedure to configure a new island or to overwrite an existing configuration. Note: Using this procedure will destroy your existing configuration data.
Configuring the Island Bus The RST Button Summary The RST function is basically a Flash memory overwriting operation. This means that RST is functional only after the island has been successfully configured at least once. All RST functionality is performed with the RST button, which is enabled only in edit mode. Physical Description The RST button is located immediately above the CFG port (See Physical Description, p.
Configuring the Island Bus RST Functionality Introduction The RST function allows you to reconfigure the operating parameters and values of an island by overwriting the current configuration in Flash memory. RST functionality affects the configuration values associated with the I/O modules on the island, the operational mode of the island, and the CFG port parameters. The RST function is performed by holding down the RST button (See The RST Button, p. 55) for at least two seconds.
Configuring the Island Bus Overwriting Flash Memory with Factory Default Values The following procedure describes how to use the RST function to write default configuration data to Flash memory. Follow this procedure if you want to restore default settings to an island. This is also the procedure to use to update the configuration data in Flash memory after you add an I/O module to a previously auto-configured island bus.
Configuring the Island Bus 58 890USE17700 April 2004
IP Parameters 4 At a Glance Introduction The information in this chapter describes how IP parameters are assigned to the STB NIP 2212.
IP Parameters How the STB NIP 2212 Obtains IP Parameters Summary As a node on a TCP/IP network, the STB NIP 2212 requires a valid 32-bit IP address. The IP address can be: z the MAC-based default IP address z assigned by an Internet server z customer-configured using the STB NIP 2212 web pages (See About the Embedded Web Server, p. 67) Note: Refer to the IP parameters flow chart (See The IP Address Assignment Process, p.
IP Parameters Deriving an IP Address from a Media Access Control (MAC) Address The 32-bit default IP address for the STB NIP 2212 is composed of the last four octets of its 48-bit Media Access Control (MAC) address. The MAC address, or Institute of Electrical and Electronics Engineers, Inc. (IEEE) global address is assigned at the factory. The MAC address for an STB NIP 2212 is located on the front bezel under the Ethernet port (See External Features of the STB NIP 2212, p. 24).
IP Parameters MAC-Based IP Address Example In the following example, the hex pairs in the example IEEE global address (MAC address) 54.10.2D.11 are converted into a decimal number in the derived IP address. The derived IP address is 84.16.45.
IP Parameters The IP Address Assignment Process Determining the IP Address As shown in the following flow chart, the STB NIP 2212 performs a sequence of checks to determine an IP address: switch position NOT USED STOP—invalid position no connection allowed yes no BootP request yes switch position BOOTP no switch position INTERNAL receive IP parameters yes no no read switch-set role name yes role name configured in memory yes yes DHCP request using switch-set role name yes no DHCP request
IP Parameters IP Address Software Priorities The IP addressing methods for the STB NIP 2212 are prioritized in the order listed in the following table. Note: The lower rotary switch must be set to either of the two INTERNAL positions (See Rotary Switches, p. 28): Priority Frame Format Priorities 64 IP Address Method 1 role name 2 configured IP parameters (set up on the Configured IP web page (See Sample Configured IP Web Page, p.
STB NIP 2212 Web Server 5 At a Glance Introduction The STB NIP 2212 includes an embedded web server that is described in this chapter. What's in this Chapter? This chapter contains the following sections: Section 5.1 890USE17700 April 2004 Topic Page Introduction to the Embedded Web Server 66 5.2 Web Server Configuration Options 70 5.3 Web Server Security 85 5.4 Web Server Diagnostic Options 5.
STB NIP 2212 Web Server 5.1 Introduction to the Embedded Web Server At a Glance Introduction This section introduces the STB NIP 2212 embedded web server.
STB NIP 2212 Web Server About the Embedded Web Server Introduction The STB NIP 2212 includes a Hypertext Transfer Protocol (HTTP) based embedded web server. Via a web browser (See Browser Requirements, p. 67), configuration and diagnostic data about the island node can be viewed and selectively edited. Initialization of the HTTP Server At the end of the IP parameterization process (See Determining the IP Address, p.
STB NIP 2212 Web Server Accessing the STB NIP 2212 Web Site Product Support Web Page 68 Use the following steps to access the STB NIP 2212 web site: Step Action Result 1 Go to your url: http://configured IP address The STB NIP 2212 home page is displayed. 2 Enter your language preference. English is the default language. z If your language preference is English, click on the Enter button. z To select a different language, click on its name, e.g., Deutsche. Then click on the Enter button.
STB NIP 2212 Web Server Properties Web Page Introduction The Properties web page displays STB NIP 2212 statistics, such as the version of the kernel and the executive, as well as the communications protocols for which the STB NIP 2212 is configured. Sample Properties Web Page The Properties page is displayed automatically after the HTTP server authenticates the user name and web access password.
STB NIP 2212 Web Server 5.2 Web Server Configuration Options At a Glance Introduction The information in this section describes the configuration options supported by the STB NIP 2212 embedded web server.
STB NIP 2212 Web Server Configuration Web Page Introduction The web-based resources that are available for configuring the STB NIP 2212 are listed as options on the Configuration menu. The specific web page for each feature is linked to a menu option. Web-Based Configuration Options The Configuration menu appears in the following figure: Accessing the Configuration Menu Use step 1 in the following procedure to access the Configuration menu.
STB NIP 2212 Web Server Configuring an IP Address for the STB NIP 2212 Introduction To communicate as a node on the Internet, the fieldbus (Ethernet) port on the STB NIP 2212 must be configured with a valid IP address. The IP address must be unique on the Ethernet LAN on which the STB NIP 2212 resides. One of the available IP address assignment methods (See How the STB NIP 2212 Obtains IP Parameters, p. 60) is to configure an IP address yourself.
STB NIP 2212 Web Server IP Parameters The IP address for the STB NIP 2212 has the four parameters, which are described in the following table: Parameter Description IP address Unique 32-bit address assigned to every node on the Internet. subnet mask The subnet mask is 32 bits assigned with the IP address of a host. The contiguous 1’s of the mask are used to separate the network portion from the host portion of the address.
STB NIP 2212 Web Server Assigning a Configured IP Address to the STB NIP 2212 74 Use the following procedure to configure an IP address for the STB NIP 2212. Note: Your STB NIP 2212 cannot have a role name. Step Action Comment 1 Set the lower rotary switch to an INTERNAL position (See Physical Description, p. 28), and power cycle the STB NIP 2212. 2 If your STB NIP 2212, has a role name, you If no role name is assigned, skip must remove it using the Role Name web step 2.
STB NIP 2212 Web Server Restoring Default Parameters from the Web 890USE17700 April 2004 Use the following procedure to reconfigure the STB NIP 2212 with its default IP parameters (See Deriving an IP Address from a Media Access Control (MAC) Address, p. 61) from the web. Note: Your STB NIP 2212 cannot have a role name. Step Action Comment 1 Open the STB NIP 2212 web site. 2 Click on the Configuration tab to display the Configuration menu. 3 Select the Configured IP option.
STB NIP 2212 Web Server About the Reboot Option 76 The reboot operation will configure the STB NIP 2212 with IP parameters assigned on the web.
STB NIP 2212 Web Server Configuring Master Controllers Introduction Any controller on the Ethernet network has the potential to become the master of an island on that network. Mastery can be obtained on a first-come/first-serve basis. The STB NIP 2212 allows you to pre-assign mastery to as many as three specific controllers on the network.
STB NIP 2212 Web Server Setting Up Master Controllers for the Island Sample Master Controller Web Page 78 Use the following procedure to configure a master controller for the STB NIP 2212: Step Action 1 Click on the Configuration tab to display the Configuration menu. 2 Select the Master Controller option. 3 Type the IP address for each master controller (up to three) that you want to set up. 4 Type a value for the reservation time (0 ... 120000 ms).
STB NIP 2212 Web Server Master Configurator Web Page What Is a Master Configurator? The master configurator of an Advantys STB island controls the configuration data for all of the I/O modules during its reservation time (See Fields on the Master Configurator Web Page, p. 80). The configuration master must run the Advantys configuration software. The configuration master can connect to either the fieldbus (Ethernet) interface (See Fieldbus (Ethernet) Port, p. 26) or the CFG port (See The CFG Interface, p.
STB NIP 2212 Web Server Fields on the Master Configurator Web Page The fields on the Master Configurator web page are described in the following table: Field Legal Values Description Protocol IP The IP address (See How the STB NIP 2212 Obtains IP Parameters, p. 60) of the master configurator on the Ethernet LAN. serial The master configurator is attached to the CFG port on the STB NIP 2212. disabled Disabled is the default setting for this feature.
STB NIP 2212 Web Server Sample Master Configurator Web Page 890USE17700 April 2004 A sample Master Configurator web page is shown in the following figure: 81
STB NIP 2212 Web Server Configuring a Role Name Introduction You can assign, edit, or delete a role name for an STB NIP 2212 on the Role Name web page. A role name comprises the STBNIP2212 part number, an underscore (_), and three numeric characters, e.g., STBNIP2212_002. A role name is the priority IP address assignment method used by the STB NIP 2212 (See The IP Address Assignment Process, p. 63). If a role name is assigned, the IP address for the STB NIP 2212 is always associated with it.
STB NIP 2212 Web Server Configuring a Role Name Use the following procedure to create or edit a role name for the STB NIP 2212: Step Comment 1 Set the lower rotary switch to an INTERNAL position (See Physical Description, p. 28), and power cycle the STB NIP 2212. 2 Open the STB NIP 2212 web site. 3 Click on the Configuration tab to display the Configuration menu. 4 Select the Role Name option.
STB NIP 2212 Web Server About the Reboot Option The reboot operation will configure the STB NIP 2212 with a role name assigned on the web. Information about the reboot operation appears in the following figure: Deleting a Role Name You must delete a role name before you can assign a configured IP address or the default IP parameters. Use the following steps: Step Action 1 Set the lower rotary switch to an INTERNAL position (See Physical Description, p. 28), and power cycle the STB NIP 2212.
STB NIP 2212 Web Server 5.3 Web Server Security At a Glance Introduction The information in this section describes how the HTTP default password, the web access password, and the configuration password are used to protect the STB NIP 2212 web site.
STB NIP 2212 Web Server Web Access Password Protection Summary The STB NIP 2212 web site is password-protected. Initially, security for the STB NIP 2212 web site is provided by a default user name and password. Any visitor to your STB NIP 2212 site can view all of your information using the default user name and password. You will want to set up your own user name and password to protect your STB NIP 2212 web site. Use the Change Web Access Password (See What Is the Web Access Password?, p. 87) option.
STB NIP 2212 Web Server What Is the Web Access Password? 890USE17700 April 2004 The web access password is an eight-character, case-sensitive user name and password that you assign. Your values will replace the default protection for your STB NIP 2212 web site. All visitors to your site must correctly complete the web access password dialog box, which is shown in the following figure. The web access dialog box displays immediately after the STB NIP 2212 home page.
STB NIP 2212 Web Server Setting Up the Web Access Login 88 Use the following procedure to set up your web access user name and password: Step Action Result 1 Navigate to your url: http://configured IP address. The STB NIP 2212 home page is displayed. 2 Enter your language preference. English is the The web access password dialog default language. box is displayed. z If your language preference is English, click on the Enter button. z To select a different language, click on its name, e.g., Deutsche.
STB NIP 2212 Web Server Configuration Password Protection Introduction The configuration password controls read/write access from the STB NIP 2212 web site to the physical module’s Flash memory. This password must be set up on the Change Configuration Password web page. Set Configuration Password Procedure Use the following procedure to set up a configuration password for your STB NIP 2212 web site: Logging In and Out 890USE17700 April 2004 Step Action Result 1 Click on the Security tab.
STB NIP 2212 Web Server Sample Login Prompt When active, the login prompt is displayed in the web banner (as shown in the following figure). The six-character configuration password must be entered to proceed: Synchronizing the Web and Advantys Software Configuration Passwords The same password is used to authorize write privileges on the STB NIP 2212 web pages and to configure an Advantys STB island bus with the Advantys configuration software (See Protecting Configuration Data, p. 164).
STB NIP 2212 Web Server 5.4 Web Server Diagnostic Options At a Glance Introduction The information in this section describes the diagnostics options supported by the STB NIP 2212 embedded web server.
STB NIP 2212 Web Server Diagnostics Web Page Introduction The web-based resources that are available for troubleshooting the STB NIP 2212 are listed as options on the Diagnostics menu. The web page for each feature is linked to a menu option. Diagnostics Menu The Diagnostics menu appears in the following figure: Accessing the Diagnostics Menu Use step 1 in the following procedure to access the Diagnostics menu. Then use step 2 to navigate to the web page for a specific diagnostics option.
STB NIP 2212 Web Server Ethernet Statistics Introduction The Ethernet Statistics web page reports status information and errors that are related to data transmissions to and from the STB NIP 2212 over the Ethernet LAN. Refresh Rate The statistics on this page are updated at the rate of one per second. Sample Ethernet Statistics Web Page A sample Ethernet Statistics web page appears in the following figure: 2 1 3 4 5 890USE17700 April 2004 1 unique role name for this STB NIP 2212.
STB NIP 2212 Web Server STB NIP 2212 Registers Web Page Summary The NIM Registers web page will display information about specific Modbus registers in the STB NIP 2212 process image. The registers to display are identified by their Modbus register addresses. Page Design The NIM Registers web page is designed to provide a shared view of the specified Modbus registers (See The Data Image, p. 166). There is no limit to the number of registers that can be displayed on this web page.
STB NIP 2212 Web Server Sample NIM Registers Web Page A sample NIM Registers web page appears in the following figure: 5 7 1 2 3 6 4 5 890USE17700 April 2004 1 10-character variable name 2 Modbus register number 3 current value for Modbus register 30090 is 0 4 checkbox 5 Add and Delete buttons 6 format preference—decimal or hexadecimal 7 Clicking on the Save button overwrites the designated (single) space in Flash memory with the content of this web page.
STB NIP 2212 Web Server I/O Data Values Web Page Summary The I/O Data Values web page will display the values stored in the process image output data area (See The Output Data Process Image, p. 119) and input data area (See The Input Data and I/O Status Process Image, p. 120) for the I/O modules currently assembled on the island bus. The order of information on this web page is the order of the I/O module assembly, as determined by the auto-addressing (See Auto-Addressing, p.
STB NIP 2212 Web Server Sample I/O Data Values Web Page A sample I/O Data Values web page appears in the following figure: 8 3 6 5 7 2 4 1 890USE17700 April 2004 1 module’s island bus node address 2 Advantys STB part number 3 Modbus register location(s) for input and status data 4 input values 5 format preference—decimal or hexadecimal 6 Modbus register location(s) for output data 7 output values 8 middle light is lit indicating Modbus activity 97
STB NIP 2212 Web Server Island Configuration Web Page Introduction The Island Configuration web page describes the configuration and operational status (See Fault Detection, p. 132) of every module currently assembled on the island bus. The modules are listed in order of their assembly starting with the STB NIP 2212.
STB NIP 2212 Web Server Island Parameters Web Page Sample Island Parameters Web Page 890USE17700 April 2004 The Island Parameters web page displays a read-only list of the island’s parameters and their current values.
STB NIP 2212 Web Server Error Log Web Page Introduction System-wide information collected while the Advantys STB island is operational is reported on the Error Log web page.
STB NIP 2212 Web Server Error Log Operations The operations associated with the Error Log web page are described in the following table: To ... Do ... Display the Error Log web page. Click on the Diagnostics tab to display the Diagnostics menu (See Diagnostics Web Page, p. 92). Then select the Error Log option. Update the display. Click on the Refresh button. Delete the log. Click on the Delete button. Caution: Deleting the error log on the web page removes it from Flash memory.
STB NIP 2212 Web Server 5.5 SNMP Services At a Glance Introduction The STB NIP 2212 contains a Simple Network Management Protocol (SNMP) agent, which is described in this section.
STB NIP 2212 Web Server SNMP Device Management Introduction The STB NIP 2212 contains a Simple Network Management Protocol (SNMP) Version 1.0 agent that is capable of supporting up to three concurrent SNMP connections. User Datagram Protocol (UDP) On the STB NIP 2212, SNMP services are delivered via the UDP/IP stack. UDP is the transport protocol used by the SNMP application in its communications with the STB NIP 2212.
STB NIP 2212 Web Server SNMP Protocol Data Units (PDUs) Protocol Data Units (PDUs) within SNMP carry requests and responses between the manager and the STB NIP 2212 agent. The following PDUs are used: z GetRequest—An SNMP manager uses the "Get" PDU to read the value of one or more management information base (MIB) (See Management Information Base (MIB), p. 107) objects from the STB NIP 2212 agent.
STB NIP 2212 Web Server Configure SNMP Web Page Introduction The Configure SNMP web page allows you to view the parameters used by the SNMP agent contained in the STB NIP 2212. Fields on the Configure SNMP Web Page The parameters and the settings for the SNMP agent are described in the following table: Purpose Field Name Description Agent Location 100-character, case-sensitive alphanumeric string describing the location of this STB NIP 2212 (agent device).
STB NIP 2212 Web Server Sample Configure SNMP Web Page 106 A sample Configure SNMP web page is shown in the following figure: 890USE17700 April 2004
STB NIP 2212 Web Server About the Schneider Private MIBs Introduction The following information describes the Schneider Electric private MIB, and the Transparent Factory Ethernet (TFE) and other subtrees that apply to the STB NIP 2212. The STB NIP 2212 uses the MIB II standard. Management Information Base (MIB) The Management Information Base (MIB) is an international communications database in which each object that SNMP accesses is listed with a unique name and its definition.
STB NIP 2212 Web Server Transparent Factory Ethernet (TFE) Subtree Under the Groupe_Schneider MIB is a Transparent_Factory_Ethernet (TFE) private MIB that is controlled by the TFE SNMP embedded component.
STB NIP 2212 Web Server Transparent Factory Ethernet (TFE) MIB Subtree Introduction The Transparent Factory Ethernet (TFE) private is a subtree of the Groupe_Schneider private MIB. The TFE SNMP component controls Groupe_Schneider’s private MIB function. Via its associated network communications services, the Groupe_Schneider private MIB manages and monitors all of the Advantys STB system components.
STB NIP 2212 Web Server Port502 Messaging Subtree Introduction Port502 services support TFE services. Port502 services manage explicit client/ server communications that support applications, e.g., HMI data communications. Every Port502 SAP is associated with a unique object in the Port502 MIB subtree. Port502 MIB Subtree The Port502_Messaging subtree (OID 5) provides connection management and data flow services to the STB NIP 2212.
STB NIP 2212 Web Server Web MIB Subtree Introduction The Web MIB subtree, OID 5, defines objects for managing embedded web server activity.
STB NIP 2212 Web Server Equipment Profiles Subtree Introduction The Equipment_Profiles subtree (OID 7) identifies objects for every device type in the TFE product portfolio. Equipment Profiles MIB Subtree The following table describes the objects contained in the Equipment Profiles MIB subtree (group) that are common to all TFE products: Service Description Comment profile Product Name(1) displays the commercial name of the communication product as a string e.g.
STB NIP 2212 Web Server Service Description profileSlot(10) value=127 profileCPUType(11) Advantys STB profileTrapTableEntries Max(12) managers not required; value is 0 profileTrapTable(13) not used profileSpecified(14) 255 profileIPAddress(15) 890USE17700 April 2004 Comment IP address in use profileNetMask(16) subnet mask associated with SNMP agent’s IP address profileIPGateway(17) default gateway IP address for the SNMP agent profileMacAddress(18) Ethernet media dependent address of th
STB NIP 2212 Web Server 114 890USE17700 April 2004
Data Exchange 6 At a Glance Introduction This chapter describes how data stored in the process image is exchanged between the STB NIP 2212 and the Ethernet network, via Modbus over TCP/IP.
Data Exchange Data Exchange with the STB NIP 2212 Introduction Data exchange between a Modbus over TCP/IP host or the HTTP embedded web server and the Advantys STB island bus is conducted over the Ethernet port on the STB NIP 2212. Master Devices The input and output data image areas (See The Island’s Process Image Blocks, p. 168) can be accessed and monitored over the Ethernet LAN by a Modbus over TCP/IP fieldbus master or the STB NIP 2212 HTTP embedded web server.
Data Exchange Data and Status Objects Data exchange between the island and the fieldbus master involves three object types: z data objects, which are operating values that the master either reads from the input modules or writes to the output modules z status objects, which are module health records sent to the input area of the process image by all of the I/O modules and read by the master z echo output data objects, which the digital output modules send to the input process image; these objects are usua
Data Exchange A Data Exchange Example The example uses the sample island bus assembly, as illustrated in the following figure.
Data Exchange The Output Data Process Image The output data process image contains the data written to the island from the Modbus over TCP/IP host. This data is used to update the output modules on the island bus. In the sample island bus assembly, there are four output modules—three digital output modules and one analog output module. Each digital output module uses one Modbus register for its data. The analog output module requires two registers, one for each output channel.
Data Exchange The Input Data and I/O Status Process Image Input data and I/O status information from the I/O modules are sent to the input process image area. The fieldbus master or another monitoring device, e.g., an HMI panel (See The HMI Blocks in the Island Data Image, p. 170), can view data in the input data image area. All eight I/O modules are represented in the input process image area. Their assigned registers start at register 45392 and continue in the order of their island bus addresses.
Data Exchange In total, the Modbus over TCP/IP sample island bus requires 18 registers (registers 45392 through 45409) to support our configuration: register 45392 15 14 13 12 11 10 STB DDI 3230 data 9 8 7 6 5 4 3 2 1 0 ON/OFF conditions of inputs 1 and 2 always 0 register 45393 15 14 13 12 11 10 STB DDI 3230 status 9 8 7 6 5 4 3 2 1 0 presence/absence of PDM short always 0 STB DDO 3200 echo output data register 45394 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 echoes module outp
Data Exchange register 45398 15 14 13 12 11 10 STB DDO 3410 echo output data 9 8 7 6 5 4 3 2 1 0 echoes module output data always 0 register 45399 15 14 13 12 11 10 STB DDO 3410 status 9 8 7 6 5 4 3 2 1 0 presence/absence of PDM or output short in group 1 presence/absence of PDM or output short in group 2 always 0 register 45400 15 14 13 12 11 10 STB DDI 3610 data 9 8 7 6 5 4 3 2 1 0 ON/OFF conditions of inputs 1 ...
Data Exchange register 45403 15 14 13 12 11 10 STB DDO 3600 status 9 8 7 6 5 4 3 2 1 0 presence/absence of PDM or output short in group 1 presence/absence of PDM or output short in group 2 presence/absence of PDM or output short in group 3 always 0 STB AVI 1270 channel 1 data register 45404 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ignored 11-bit analog value sign bit STB AVI 1270 channel 1 status register 45405 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 global status presence/abs
Data Exchange STB AVI 1270 channel 2 status register 45407 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 global status presence/absence of a PDM short over-voltage warning over-voltage error under-voltage warning all 0s under-voltage error STB AVO 1250 channel 1 status register 45408 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 global status presence/absence of a PDM short over-voltage warning over-voltage error under-voltage warning all 0s under-voltage error STB AVO 1250 channel 2 status re
Data Exchange Reading Diagnostic Data Summary Thirty-five contiguous registers (45357 through 45391) in the island bus data image (See The Data Image, p. 166) are reserved for diagnostic data about the Advantys STB system. The diagnostic registers have pre-defined meanings, which are described below. Master Devices The diagnostic registers can be monitored by a Modbus over TCP/IP host or the STB NIP 2212 embedded web server. The master devices use Modbus messaging (See List of Supported Commands, p.
Data Exchange Island Communications Status Status information about the state of communications across the island bus is stored in register 45357. The bits in the low byte (bits 7 through 0) use fifteen different patterns to indicate the island’s current communications’ state.
Data Exchange 11 Serious configuration mismatch—the island bus has been set to pre-operational mode, and initialization is aborted. 12 The configuration matches, and the island bus is operational. 13 The island is operational with a configuration mismatch. At least one standard module does not match, but all the mandatory modules are present and operating. 14 Serious configuration mismatch—the island bus was started but is now in pre-operational mode because of one or more mismatched mandatory module(s).
Data Exchange Error Reporting Each bit in register 45358 indicates a specific global error condition. A value of 1 indicates an error: Register 45358 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 see 1 reserved see 2 see 12 see 3 reserved see 4 see 11 see 5 see 10 see 9 see 8 see 6 see 7 1 Fatal error. Because of the severity of the error, no further communications are possible on the island bus.
Data Exchange Node Configuration The next eight contiguous registers (registers 45359 through 45366) display locations where modules have been configured on the island bus. This information is stored in Flash memory. At start up, the actual locations of the modules on the island are validated by comparing them to the configured locations stored in memory. Each bit represents one configured location: z A value of 1 in a bit indicates that a module has been configured for the associated location.
Data Exchange Node Assembly The next eight contiguous registers (registers 45367 through 45374) indicate the presence or absence of configured modules in locations on the island bus. This information is stored in Flash memory. At start up, the actual locations of the modules on the island are validated by comparing them to the configured locations stored in memory. Each bit represents a module: z A value of 1 in a given bit indicates that the configured module is not present.
Data Exchange Emergency Messages The next eight contiguous registers (registers 45375 through 45382) indicate the presence or absence of newly received emergency messages for individual modules on the island. Each bit represents a module: z A value of 1 in a given bit indicates that a new emergency message has been queued for the associated module.
Data Exchange Fault Detection The next eight contiguous registers (registers 45383 through 45390) indicate the presence or absence of operational faults detected on the island bus modules. Each bit represents a module: z A value of 1 in a bit indicates that the associated module is operating and that no faults were detected. z A value of 0 in a bit indicates that the associated module is not operating either because it has a fault or because it has not been configured.
Data Exchange Register 45391 contains a word of diagnostic data that is allocated to the status of the STB NIP 2212. The bits in the high byte have predefined meanings that are common to all of the NIMs used with the Advantys STB island.
Data Exchange Modbus Commands Supported by the STB NIP 2212 Introduction Modbus is the protocol used by Modicon PLCs. Modbus defines the message structure that the PLCs understand and use, regardless of network type. The Modbus protocol describes the process that a controller uses to access another device, how that device responds, and how errors are detected and reported. Modbus Message Data Frame Modbus messages are embedded within the frame or packet structure of the network in use.
Data Exchange List of Supported Commands The following table lists the Modbus commands that the STB NIP 2212 supports: Modbus Function Code Subfunction Command or Subindex Valid Range Max. No. of Words per Message 3 read holding registers (4x) 1–9999 125 4 read input registers (3x) 1–4697 125 6 write single register (4x) 1–5120 and 9488–9999 1 8 21 get/clear Ethernet statistics (See 0–53 Ethernet Statistics, p.
Data Exchange Ethernet Statistics 136 Ethernet statistics comprise status information and errors related to data transmissions to and from the STB NIP 2212 over the Ethernet LAN. Ethernet statistics are held in a buffer until the get Ethernet statistics command is issued, and the statistics are retrieved. The clear Ethernet statistics command clears all of the statistics currently held in the buffer except the MAC address and the IP address.
Data Exchange Modbus Error Codes Introduction During operations, you may encounter Modbus error codes that are returned by the STB NIP 2212 NIM to the Advantys configuration software. These error codes are displayed as byte codes in hexadecimal format. Note: Because the STB NIP 2212 NIM supports Modbus over a serial interface, the Ethernet-based Modbus server does not support Modbus requests with a unit ID of 255 (0xFF).
Data Exchange 138 890USE17700 April 2004
Connection Example 7 At a Glance Introduction The information in this chapter provides an example showing how to connect and commission an Advantys STB island with an STB NIP 2212 gateway on a Modbus over TCP/IP (Ethernet) network.
Connection Example Introduction Overview The connection example that follows describes how to connect and commission an Advantys STB island with an STB NIP 2212 Ethernet gateway module. The connection example does not use a specific Ethernet host because Modbus over TCP/IP is an open protocol. Assumptions The connection example is based on the following assumptions: z You have read the rest of this Guide.
Connection Example Network Architecture Architectural Diagram The physical network shown in the following figure is representative of how Advantys STB islands can have various Ethernet hosts and how the islands can be configured as nodes on the Ethernet: 1 PC Ethernet host 2 switches 3 PLC Ethernet host 4 Advantys STB islands with STB NIP 2212 gateways The following table describes the cabling guidelines for the network shown in the figure above: Type of Connection Cabling Guidelines direct con
Connection Example Sample Configuration Example A representative island bus assembly with an STB NIP 2212 gateway is shown in the following figure: 1 STB NIP 2212 network interface module 2 24 VDC power distribution module 3 STB DDI 3230 24 VDC two-channel digital input module (2 bits data, 2 bits status)‘ 4 STB DDO 3200 24 VDC two-channel digital output module (2 bits data, 2 bits of echo output data, 2 bits status) 5 STB DDI 3420 24 VDC four-channel digital input module (4 bits data, 4 bits st
Connection Example The I/O modules in the sample assembly have the following island bus addresses: I/O Model Module Type Module’s Island Bus Address Module’s Island Bus Address STB DDI 3230 two-channel digital input 1 N1 STB DDO 3200 two-channel digital output 2 N2 STB DDI 3420 four-channel digital input 3 N3 STB DDO 3410 four-channel digital output 4 N4 STB DDI 3610 six-channel digital input 5 N5 STB DDO 3600 six-channel digital output 6 N6 STB AVI 1270 two-channel analog inpu
Connection Example Input Process Image The I/O modules in the sample island (See Example, p. 142) require 18 Modbus registers in the input data image area (See The Input Data and I/O Status Process Image, p. 120).
Connection Example Modbus 15 Register 14 13 12 11 10 9 8 45407 7 6 5 4 3 2 1 0 N7 channel 2 status AVI 1270 channel 2 status 45408 N8 channel 1 status AVI 1250 channel 1 status 45409 N8 channel 2 status AVI 1250 channel 2 status Output Process Image The I/O modules in the sample island bus assembly require five Modbus registers in the output data image area (See The Output Data Process Image, p. 119).
Connection Example Modbus Functions Supported by the STB NIP 2212 Introduction The STB NIP 2212 supports the Modbus functionality that is described below. Note: The procedures required by your specific Modbus master and Modbus over TCP/IP application may differ from those described here. Be sure to read the documentation specific to your Modbus master and/or application. Operations Summary 146 A Modbus over TCP/IP fieldbus master can read and write to the Modbus registers in the STB NIP 2212.
Connection Example Request and Response Example The following example uses the data from channel 1 and channel 2 in the STB AVO 1250 module (node 8 in the sample Advantys STB island bus) (See Example, p. 142). In the example, Modbus register 40004 corresponds to channel 1 and Modbus register 40005 corresponds to channel 2. Note: The examples use hexadecimal notation (0x000) for their numerical format. Addressing begins in the output process image at register 40001.
Connection Example List of Supported Function Codes and Their Descriptions The following table lists the function codes that can be used by Modbus over TCP/ IP masters that communicate with the STB NIP 2212: Modbus Function Code List of Exception Codes 0x03 4 0x04 read input registers (3x) 6 0x06 write single register (4x) 0x08 get/clear Ethernet statistics (See Ethernet Statistics, p.
Advanced Configuration Features 8 At a Glance Introduction This chapter describes the advanced and/or optional configuration features that you can add to an Advantys STB island.
Advanced Configuration Features STB NIP 2212 Configurable Parameters Introduction The following information describes how to the configure parameters for the STB NIP 2212 using the Advantys configuration software.
Advanced Configuration Features Selecting the Display Format By default, the values for the configurable NIM parameters use decimal notation. You can change the display format to hexadecimal notation, and vice-versa: Step 1 Action Comment Double-click the NIM in the island editor. The module editor window appears. 2 Select the Parameters tab. 3 Click on the checkbox in front of Hexadecimal at the top right of the module editor window.
Advanced Configuration Features Reserving Data Sizes To transfer data to the PLC from a Modbus HMI panel attached to the CFG port, you must reserve space for that data. To reserve data sizes: Step Action Result 1 In the module editor window, select the Parameters tab. 2 In the Parameter name column, expand the The configurable NIM parameters Additional Info Store List by clicking on the plus are displayed. (+) sign.
Advanced Configuration Features Configuring Mandatory Modules Summary As part of a custom configuration, you can assign mandatory status to any I/O module or preferred device on an island. The mandatory designation indicates that you consider the module or device critical to your application. If the NIM does not detect a healthy mandatory module at its assigned address during normal operations, the NIM stops the entire island.
Advanced Configuration Features Recovering from a Mandatory Stop Pushing the RST button (See The RST Button, p. 55) while recovering from a mandatory stop will load the island’s default configuration data. WARNING UNINTENDED EQUIPMENT OPERATION/LOSS OF CONFIGURATION—RST BUTTON WHILE RECOVERING FROM MANDATORY STOP Pushing the RST button (See The RST Button, p. 55) causes the island bus to reconfigure itself with factory-default operating parameters, which do not support mandatory I/O status.
Advanced Configuration Features Prioritizing a Module Summary Using the Advantys configuration software, you can assign priority to digital input modules in your island assembly. Prioritization is a method of fine tuning the NIM’s I/O scan of the island bus. The NIM will scan modules with priority more frequently than other island modules. Limitations You can prioritize only modules with digital inputs. You cannot prioritize output modules or analog modules.
Advanced Configuration Features What Is a Reflex Action? Summary Reflex actions are small routines that perform dedicated logical functions directly on the Advantys island bus. They allow output modules on the island to act on data and drive field actuators directly, without requiring the intervention of the fieldbus master.
Advanced Configuration Features Configuring a Reflex Action Each block in a reflex action must be configured using the Advantys configuration software. Each block must be assigned a set of inputs and a result. Some blocks also require that you specify one or more user-preset values—a compare block, for example, requires that you preset threshold values and a delta value for hysteresis. Inputs to a Reflex Action The inputs to a reflex block include an enable input and one or more operational inputs.
Advanced Configuration Features Result of a Reflex Block Depending on the type of reflex block that you use, it will output either a Boolean or a word as its result.
Advanced Configuration Features Nesting The Advantys configuration software allows you to create nested reflex actions. One level of nesting is supported—i.e., two reflex blocks, where the result of the first block is an operational input to the second block. When you nest a pair of blocks, you need to map the results of both to the same action module. Choose the action module type that is appropriate for the result of the second block.
Advanced Configuration Features Number of Reflex Blocks on an Island 160 An island can support up to 10 reflex blocks. A nested reflex action consumes two blocks. An individual output module can support up to two reflex blocks. Supporting more than one block requires that you manage your processing resources efficiently. If you are not careful with your resources, you may be able to support only one block on an action module.
Advanced Configuration Features 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 safe fallback state. In this state, output data is replaced with pre-configured fallback values, ensuring that a module’s output data values are known when the system recovers from a communications failure.
Advanced Configuration Features Fallback States for Reflex Functions Only an output module channel to which the result of a reflex action (See What Is a Reflex Action?, p. 156) has been mapped can operate in the absence of the NIM’s heartbeat message. When modules that provide input for reflex functionality fail or are removed from the island, the channels that hold the result of those reflex actions go into their fallback states.
Advanced Configuration Features Saving Configuration Data Introduction The Advantys configuration software allows you to save configuration data created or modified with this software to the NIM’s Flash memory and/or to the removable memory card (See Physical Description, p. 50). Subsequently, this data can be read from Flash memory and used to configure your physical island. Note: If your configuration data is too large, you will receive a warning message when you attempt to save it.
Advanced Configuration Features Protecting Configuration Data Introduction As part of a custom configuration, you can password-protect an Advantys STB island. This protection restricts write privileges to authorized personnel and prevents unauthorized users from overwriting the configuration data currently stored in Flash memory. You must use the Advantys configuration software to password-protect an island’s configuration.
Advanced Configuration Features A Modbus View of the Island’s Data Image Summary A block of Modbus registers is reserved in the NIM to hold and maintain the island’s data image. Overall, the data image holds 9999 registers. The registers are divided into nine contiguous groups (or blocks), each dedicated to a specific purpose. Modbus Registers and Their Bit Structure Registers are16-bit constructs. The most significant bit (MSB) is bit 15, which is displayed as the leftmost bit in the register.
Advanced Configuration Features The Data Image The 9999 contiguous registers in the Modbus data image start at register 40001.
Advanced Configuration Features Reading Register Data All the registers in the data image can be read by an HMI panel connected to the island at the NIM’s CFG port (See The CFG Interface, p. 33). The Advantys configuration software reads all this data, and displays blocks 1, 2, 8 and 9 in the Modbus Image screen in its I/O Image Overview.
Advanced Configuration Features The Island’s Process Image Blocks Summary Two blocks of registers in the island’s data image (See The Data Image, p. 166) are the focus for this discussion. The first block is the output data process image, which starts at register 40001 and goes to register 44096. The other block is the input data and I/O status process image, which also consumes 4096 registers (45392 through 49487).
Advanced Configuration Features Output Data Read/Write Capabilities The registers in the output data process image are read/write-capable. You can read (i.e., monitor) the process image using an HMI panel or the Advantys configuration software. The data content that you see when you monitor the output data image registers is updated in near-real time. The island’s fieldbus master also writes updated control data to the output data process image.
Advanced Configuration Features The HMI Blocks in the Island Data Image Summary An HMI panel that communicates using the Modbus protocol can be connected to the CFG port (See The CFG Interface, p. 33) on the NIM. Using the Advantys configuration software, you can reserve one or two blocks of registers in the data image (See A Modbus View of the Island’s Data Image, p. 165) to support HMI data exchange.
Advanced Configuration Features HMI Output Data Exchange In turn, output data written by the fieldbus master can be used to update enunciator elements on the HMI panel. Enunciator elements might be: z display indicators z buttons or screen images that change color or shape z data display screens (for example, temperature read-outs) To use the HMI panel as an output device, you need to enable the fieldbus-to-HMI block in the island’s data image (See The Data Image, p.
Advanced Configuration Features 172 890USE17700 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 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. differential input A type of input design where two wires (+ and -) are run from each signal source to the data acquisition interface.
Glossary EOS end of segment. When more than one segment of I/O modules is used in an island, an STB XBE 1000 EOS module is installed in the last position in every segment that has an extension following it. The EOS module extends island bus communications to the next segment. Ethernet A LAN cabling and signaling specification used to connect devices within a defined area, e.g., a building. Ethernet uses a bus or a star topology to connect different nodes on a network.
Glossary function block A function block performs a specific automation function, such as speed control. A function block comprises configuration data and a set of operating parameters. function code A function code is an instruction set commanding one or more slave devices at a specified address(es) to perform a type of action, e.g., read a set of data registers and respond with the content. G gateway A program or /hardware that passes data between networks. global_ID global_identifier.
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 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 image A part of the NIM firmware that serves as a real-time data area for the data exchange process. The process image includes an input buffer that contains current data and status information from the island bus and an output buffer that contains the current outputs for the island bus, from the fieldbus master.
Glossary 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. The point at which the services of one communications layer, as defined by the ISO OSI reference model, is made available to the next layer. SCADA supervisory control and data acquisition. Typically accomplished in industrial settings by means of microcomputers. SDO service data object.
Glossary 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. size 3 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 28.1 mm wide and 128.25 mm high. slice I/O An I/O module design that combines a small number of channels (usually between two and six) in a small package.
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 Numerics C 10Base-T, 26 802.
Index E H edit mode, 50, 53, 54, 56 embedded web server access, 68 help, 67 managing, 111 navigation, 68 overview, 19 process image, 116 product support, 68 security, 67, 86 troubleshooting, 125 Ethernet host, 19, 20, 116, 140 port, 20, 26, 31, 73, 79, 116 specification, 21, 27 statistics, 93, 136 Ethernet LAN, 19, 21, 26, 28, 31, 72, 79, 116, 136 extension cable, 16, 38 extension module, 13, 16, 37, 38, 39, 40, 46 extension segment, 13, 16, 38, 39, 40 HE-13 connector, 34 heartbeat message, 161 HMI pane
Index island bus node address address range, 29 setting, 60, 72, 75 valid and invalid addresses, 29 island bus password, 164 L LEDs 10T ACT, 31 and COMS states, 31 and reset, 31 ERR, 31 island bus, 31 LAN ST, 31 overview, 30 RUN, 31 TEST, 31 logic power considerations, 13, 16, 37, 38, 40 integrated power supply, 12, 13, 37, 39, 40 signal, 38 source power supply, 13, 39 M MAC address, 61, 62, 64, 75 mandatory I/O modules, 153 mandatory module hot swapping, 154 MIB II, 107, 109 Modbus function codes, 135,
Index R reboot operation, 76, 84 reflex action and fallback, 162 and the echo output data image area, 117, 120, 169 overview, 156 reflex block types, 156 removable memory card, 50, 52, 53, 163 RJ-45 connector, 26, 27 role name, 62, 63, 64, 82, 83 rotary switches, 28, 62 RST button and auto-configuration, 57 and Flash memory, 55, 57 caution, 55, 56 disabled, 33, 164 functionality, 49, 55, 56 LED indications, 31 physical description, 55 S security configuration password, 89, 90 private community strings, 10
Index STB NIP 2212, 92, 93, 100, 107, 109, 133 using the Advantys STB LEDs, 31 using the Ethernet LAN LEDs, 31 web-based, 92, 93, 94, 96, 100 with the Advantys configuration software, 126 with the HMI panel, 126 TSX SUP 1011 Premium 24 VDC power supply, 41 TSX SUP 1021 Premium 24 VDC power supply, 41 TSX SUP 1051 Premium 24 VDC power supply, 41 TSX SUP 1101 Premium 24 VDC power supply, 41 U user datagram protocol (UDP), 103, 104 UTP (unshielded twisted pair) cable, 27, 42 W web access password, 67, 88 we
Index 194 890USE17700 April 2004