Home
Schneider Electric 890USE17700 User's Manual
Contents
1. Description The illustration shows the six LEDs used by the Advantys STB NIP 2212 lt A M AN Ij o o 30 890USE17700 April 2004 The STB NIP 2212 NIM Ethernet Communications LEDs Advantys STB Communications LEDs The 10T ACT and the STATUS indicate the conditions described in the following table Label Pattern Meaning on The network is alive and healthy 10T ACT green i 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 LAN ST green blink 4 Duplicate IP address detected blink 5 Obtaining IP address See The IP Address Assignment Process p 63 blink 6 Using the default IP address See Deriving an IP Address from a Media Access Control MAC Address p 61 The table that follows describes the island bus condition s communicated by the LEDs and the colors and blink patterns used to indicate each condition RUN ERR red TEST Meaning green yellow blink 2 blink 2 blink 2 The island is powering up self test in progress off off off The island is initializing it is not started blink 1 off off The island has been put in the pre operational state by the RST button it is not started blink 3
2. NIM STB PDT 3100 24 VDC power distribution module STB DDI 3230 24 VDC two channel digital input module STB DDO 3200 24 VDC two channel digital output module STB DDI 3420 24 VDC four channel digital input module STB DDO 3410 24 VDC four channel digital output module STB DDI 3610 24 VDC six channel digital input module STB DDO 3600 24 VDC six channel digital output module STB AVI 1270 10 VDC two channel analog input module 10 STB AVO 1250 10 VDC two channel analog output module 11 STB XMP 1100 island bus termination plate ON DO Oi F WO NM The NIM would auto address it as follows Note that the PDM and the termination plate do not consume island bus addresses Module Physical Location Island Bus Address NIM 1 127 STB PDT 3100 PDM not addressed does not exchange data STB DDI 3230 input 1 STB DDO 3200 output STB DDI 3420 input STB DDO 3410 output STB DDI 3610 input STB DDO 3600 output oo o c AJ OIN STB AVI 1270 input On OD a BR OIN STB AVO 1250 output o 890USE17700 April 2004 47 Configuring the Island Bus Associating the Module Type with the Island Bus Location 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 t
3. Topic Page What Is a Network Interface Module 12 What Is Advantys STB 15 STB NIP 2212 Product Overview 19 Ethernet Communications and Connectivity 21 890USE17700 April 2004 11 Introduction What Is a Network Interface Module Purpose The Fieldbus Network Communications Roles 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 An island bus is a node of distributed I O on an open fieldbus network and the NIM is the island s interface to that network The NIM supports data transfers over the fieldbus network between the island and the fieldbus master The physical design of the NIM makes it compatible with both an Advantys STB island and your specific fieldbus master Whereas the fieldbus connector on each NIM type may differ the location on the module front panel is essentially the same Other NIM connectors such as the power supply interface and the CFG interface See The CFG Interface p 33 are identical for all NIM types Communications capabilities provided on a standard NM include Function Role data exchange The NIM manages the
4. Initialization complete 890USE17700 April 2004 63 IP Parameters IP Address Software Priorities Frame Format 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 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 72 3 MAC based default IP address See Deriving an IP Address from a Media Access Control MAC Adaress p 61 The STB NIP 2212 supports communications in the Ethernet Il and 802 3 frame formats Ethernet II is the default When communicating with a BootP server the STB NIP 2212 first makes three requests using the Ethernet Il frame format then it makes three requests using the 802 3 frame format The interval between each request is one second When communicating with a DHCP server the STB NIP 2212 makes eight requests using the Ethernet II frame format then it makes eight requests using the 802 3 frame format 64 890USE17700 April 2004 STB NIP 2212 Web Server At a Glance Introduction The STB NIP 2212 includes an embedded web server that is described in this chapter What s in this This chapter contains the following sections Chapter Section Topic Page 5
5. What Is Advantys STB Introduction Island Bus I O The Primary Segment 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 This integrated concept is known as mechatronics An Advantys STB island can support as many as 32 I O modules These modules may be Advantys STB I O modules preferred modules and standard CANopen devices STB I O modules on an island may be interconnected in groups called segments Every island has at least one segment called the primary segment it is always the first segment on the island bus The NIM is the first module in the primary segment The primary segment must contain at least one Advantys STB I O module and can support an I O load of up to 1 2 A The segment also contains one or more power distribution modules PDMs which distribute field power to the I O modules 890USE17700 April 2004 15 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
6. 890USE17700 April 2004 19 Introduction Conformance to NIM Standards Ethernet Host 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 PLCs and personal computers PCs configured with the Modbus protocol are suitable upstream Ethernet hosts to islands using the STB NIP 2212 as their gateway The Ethernet host can be local or remote 20 890USE17700 April 2004 Introduction Ethernet Communications and Connectivity Introduction Conformance Transmission Rate Frame Format Modbus over TCP IP Connection Management 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 interconnec tivity of all levels of manufacturing operations from the plant s office to the sensors and actuators on its floor The STB NIP 2212 is located on a 10Base T LAN The 10Base T standard is defined by the IEEE 802 3 Ethernet specification Contention for 10Base T networks is resolved by using Carrier Sense Mu
7. The format feature allows you to select whether the content of the NIM registers is displayed in decimal or hexadecimal notation 94 890USE17700 April 2004 STB NIP 2212 Web Server Sample NIM A sample NIM Registers web page appears in the following figure Registers Web Page STB NIP 2212 STANDARD Role Name STEN 010 IP 205 217 193 95 Home Help Properties Configuration Support Security Schneider Electric Inc 1998 2003 10 character variable name Modbus register number current value for Modbus register 30090 is 0 checkbox Add and Delete buttons format preference decimal or hexadecimal o0 5 WO NM Clicking on the Save button overwrites the designated single space in Flash memory with the content of this web page 890USE17700 April 2004 95 STB NIP 2212 Web Server I O Data Values Web Page Summary Page Design 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 46 and auto configuration See Auto Configuration p 49 processes The I O Data Values web page is design
8. Trap A trap is an exception report from an agent notifying the SNMP manager of an event or parameter change Used by SNMP managers listening for traps to determine with which community the trap is associated If a network device has a configurable SNMP manger the manger can be set up to receive specific traps based on the community string Security Trap Enabled Authentication failure trap Schneider Electric recommends that you always enable the trap 890USE17700 April 2004 105 STB NIP 2212 Web Server Sample A sample Configure SNMP web page is shown in the following figure Configure SNMP Web Page GL STB NIP 2212 STANDARD Role Name No Rolename IP 139 13 Home Help Properties Support Security Diagnostics Configure SNMP System Description TF Ethernet HIM standard System Hame STB HIP 2212 Manager 1 Set pire oo Manager 2 E Get ive o Location 0E n7a reap pa contact misty Trap Enable M Save Reset 106 890USE17700 April 2004 STB NIP 2212 Web Server About the Schneider Private MIBs Introduction Management Information Base MIB Schneider Private MIB 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 The Management Information Base MIB is an internatio
9. Use the following procedure to set up your web access user name and password web Access Step Action Result Login 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 e If your language preference is English click on the Enter button To select a different language click on its name e g Deutsche Then click on the Enter button 3 Type USER using all uppercase letters in the user name field and then again in the password field 4 Click on the OK button The STB NIP 2212 Properties web page See Sample Properties Web Page p 69 is displayed Click on the Security tab The Security menu is displayed Select the Change Web Access Password option The Change Web Access Password page is displayed 7 Type the new user name The user name can have a maximum of eight alphanumeric characters You can also use an underscore The characters are case sensitive 8 Type the user name again as the value for the Confirm New User Name field 9 In the New Password field type your web access password The password can have a maximum of eight alphanumeric characters You can also use an underscore The characters are case sensitive 10 Type the password again in the Confirm New Password field 11 Click on the Sa
10. 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 If selected the master configurator feature is disabled However devices normally capable of configuring the island will perform as designed reservation 0 120000 ms The amount of time in ms allocated to a master for writing time with a 1 ms configuration data to the STB NIP 2212 Other masters resolution time attempting to configure the island during this time will receive an error message The default reservation time is 60 000 ms 1 min Reservation time is self renewing Use the following procedure to configure a master configurator for an Advantys STB island Step Action 1 Click on the Configuration tab to display the Configuration menu Select the Master Configurator option To identify the master configurator do one of the following Click on the radio button next to the IP option and type in the IP address for the master configurator communicating via the fieldbus Ethernet port See STB NIP 2212 Network Interface p 26 e g 139 158 2 38 See Sample Master Configurator Web Page p 81 e Fora master configurator attached to the STB NIP 2212 s
11. Island Configuration Web Page 98 Island Parameters Web Page 99 Error Log Web Page 100 890USE17700 April 2004 91 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 The Diagnostics menu appears in the following figure Menu Li Telemecanique STB NIP 2212 STANDARD Home Help Properties Configuration Support Security Ethernet Statistics Network Interface Module Registers I O Data Values Island Configuration Island Parameters s Error Log Schneider Electric Inc 1998 2003 Accessing the Use step 1 in the following procedure to access the Diagnostics menu Then use Diagnostics step 2 to navigate to the web page for a specific diagnostics option Menu Step Action Result 1 Click on the Diagnostics tab The Diagnostics menu is displayed 2 Click on the option that you want to use The web page for the option that you e g NIM Registers See STB NIP 2212 selected is displayed Registers Web Page p 94 92 890USE17700 April 2004 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 Ethern
12. 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 Note BootP and the DHCP applications also use UDP as their transport layer when communicating with the STB NIP 2212 The SNMP network management model uses the following terminology and definitions e manager the client application program running on the master e agent the server application running on a network device in this case the STB NIP 2212 The SNMP manager initiates communications with the agent An SNMP manager can query read data from and write data to other host devices An SNMP manager uses UDP to establish communications with an agent device via an open Ethernet interface When the STB NIP 2212 is successfully configured with SNMP the STB NIP 2212 agent and the SNMP manager devices can recognize one another on the network The SNMP manager can then transmit data to and retrieve data from the STB NIP 2212 SNMP software allows an SNMP manager remote PC to monitor and control the STB NIP 2212 Specifically SNMP services are used to monitor and manage e performance e faults e configuration e security 890USE17700 April 2004 103 STB NIP 2212 Web Server SNMP Protocol Data Units PDUs SNMP PDU Structure Version amp Community Identifiers Protocol Data Units PDUs within SNMP carry requests and responses
13. 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 164 and a removable memory card containing a valid island bus configuration is inserted in the NIM the configuration data on the card overwrites the configuration data in Flash memory and is adopted when the island starts up If the island is in protected mode the island ignores the presence of a removable memory card The removable memory card is an optional Advantys STB feature Note Network configuration data such as the fieldbus baud setting cannot be saved to the card The card measures 25 1 mm 0 99 in wide x 15 mm 0 59 in high x 0 76 mm 0 30 in thick It is shipped as a punch out on a credit card sized plastic card which measures 85 6 mm 3 37 in wide x 53 98 mm 2 13 in high Note Keep the card free of contaminants and dirt CAUTION LOSS OF CONFIGURATION MEMORY CARD DAMAGE OR CONTAMINATION The card s performance can be degraded by dirt or grease on its circuitry Contamination or damage may create an invalid configuration e Use care when handling the card e Inspect for contamination physical damage and scratches before installing the card in the NIM drawer e Ifthe card does get dirty clean it with a so
14. or Subindex Words per Code 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 1 9488 9999 8 21 get clear Ethernet statistics See 0 53 N A Ethernet Statistics p 136 16 write multiple registers 4x 1 5120 and 100 9488 9999 22 mask write registers 4x 1 5120 and 1 9488 9999 23 read write multiple registers 4x 1 5120 and 100 write 9488 9999 1 9999 125 read read 890USE17700 April 2004 135 Data Exchange Ethernet Ethernet statistics comprise status information and errors related to data Statistics 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 The following table lists the Ethernet statistics used by the Advantys STB system Word No in Buffer Description Comment 00 02 MAC address cannot be cleared 03 board status 04 05 rx interrupt 06 07 tx interrupt 08 jabber failure count 09 total collisions 10 11 rx missed packet errors 12 13 memory errors in state RAM 14 15 chip restart count 16 17 framing errors 18 19 overflow errors 20 21 CRC errors 24 25 rx buffer errors 26 27
15. ranging from 0 3 m 1 ft to 14 0 m 45 9 ft 16 890USE17700 April 2004 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 A preferred module can connect to an island bus segment via an STB XBE 1000 EOS module and a length of STB XCA 100x bus extension cable Each preferred module has two IEEE 1394 style cable connectors one to receive the island bus signals and the other to transmit them to the next module in the series Preferred modules are also equipped with termination which must be enabled if a preferred module is the last device on the island bus and must be disabled if other modules follow the preferred device on the island bus Preferred modules can be chained to one another in a series or they can connect to Advantys STB segments As shown in the following figure a preferred module passes the island bus communications signal from the primary segment to an extension segment of Advantys STB I O modules ii primary segment NIM STB XBE 1000 EOS bus
16. 1 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 91 5 5 SNMP Services 102 890USE17700 April 2004 65 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 What s in this This section contains the following topics ion Section Topic Page About the Embedded Web Server 67 Properties Web Page 69 66 890USE17700 April 2004 STB NIP 2212 Web Server About the Embedded Web Server Introduction Initialization of the HTTP Server Browser Requirements Security Web Page Help 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 At the end of the IP parameterization process See Determining the IP Adaress p 63 the STB NIP 2212 is initialized as an HTTP server and its web pages are available to view and or edit Either the Netscape Navigator browser version 4 0 or greater or the Internet Explorer browser version 4 0 or greater must be used with the STB NIP 2212 web pages The STB NIP 2212 web site has three layers of security e Theinitial security is provi
17. 3600 status 15 14 13 12 11 10 9 8 7 e 3 2 1 o LE presence absence of PDM or output short in group 2 presence absence of PDM or output short in group 3 presence absence of PDM or output short in group 1 register 45404 always 0 STB AVI 1270 channel 1 data 1514 13 ie 11 10 9 8 7 6 514 ESITATE ignored 11 bit analog value sign bit register 45405 STB AVI 1270 channel 1 status 15 ha 85 2 03 16 9 8 7 e 5 4 s 2 0 global status __ presence absence of a PDM short over voltage warning ignored 11 bit analog value all Os over voltage error under voltage warning under voltage error register 45406 STB AVI 1270 channel 2 data 15 14 i9 12 11 to 9 e 6 5 4 3 2 1 0 sign bit 890USE17700 April 2004 123 Data Exchange register 45407 STB AVI 1270 channel 2 status 15 14 13 h2 i 10 9 E 7 e s 4 3 2 0 all Os register 45408 global status __ presence absence of a PDM short L over voltage warning L over vo
18. 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 The extension modules are e the STB XBE 1000 EOS module which is the last module in a segment if the island bus is extended e the STB XBE 1200 BOS module which is the first module in an extension segment The BOS module has a built in 24 to 5 VDC power supply similar to the NIM The BOS power supply also provides 1 2 A of logic power to the STB I O modules in an extension segment Extension modules are connected by lengths of STB XCA 100x cable that extend the island communication bus from the previous segment to the next BOS module t primary segment NIM STB XBE 1000 EOS bus extension module 1 m length STB XCA 1002 bus extension cable first extension segment STB XBE 1200 BOS bus extension module for the first extension segment another STB XBE 1000 EOS extension module 4 5 m length STB XCA 1003 bus extension cable second extension segment o o0 5h WN 10 STB XBE 1200 BOS bus extension module for the second extension segment 11 STB XMP 1100 termination plate Bus extension cables are available in various lengths
19. HMI to PLC data must not exceed the maximum value shown 512 words The network transmits data to the HMI as output by writing it to the output data table in the process image This table is shared with data for all output modules on the island bus When the reserved size PLC to HMI is selected the range of available data sizes in words is displayed Space that you reserve for the PLC to HMI data must not exceed the maximum value shown 512 words 890USE17700 April 2004 151 Advanced Configuration Features Reserving Data Sizes CANopen Device Node IDs Assigning the 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 3 Double click in the Value column next to the The value is highlighted Reserved Size Words of HMI to PLC table 4 Type a value for the data size to be reserved The value plus the data size of your for data sent from the HMI panel to the PLC island cannot exceed the maximum value If you acceptthe default value 0 no space will be reserved in the HMI table in the process image 5 Repeat steps 2 4 to select a value for the Reserved Siz
20. NIP 2212 Properties See Properties Web Page p 69 page is displayed To navigate to a different web page click on its tab For example for information about how to contact the STB NIP 2212 product support team click on the Support tab The Support web page See Product Support Web Page p 68 is displayed STB NIP 2212 St Web Site ER 1 2 3 4 Product Support Web Page Information about how to contact Schneider Electric about your STB NIP 2212 product is available from the Support web page A sample Support page appears in the following figure DYrsemecsnique STB NIP 2212 STANDARD Role Name No Rolename IP 139 158 13 113 Home Help Properties Configuration Security Diagnostics Contacting Schneider Electric Merlin Gerin Technical Information Click here to go to the Schneider Electric Automation a Gente Click here to contact Schneider Electric in your country Schneider Electric Inc 1998 2003 68 890USE17700 April 2004 STB NIP 2212 Web Server Properties Web Page Introduction Sample Properties Web Page EJimemecariave O 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 The Properties page is displayed automatically after the HTTP server authenticates the user name and web access passw
21. RST button for two seconds or longer causes Flash memory to be overwritten resulting in a new configuration for the island CAUTION UNINTENDED EQUIPMENT OPERATION CONFIGURATION OVERWRITTEN RST BUTTON Do not attempt to restart the island by pushing the RST button Pushing the RST button will cause the island bus to reconfigure itself with factory default operating parameters Failure to follow this precaution can result in injury or equipment damage Engaging the To engage the RST button it is recommended that you use a small screwdriver with RST Button a flat blade no wider than 2 5 mm 10 in Do not use a sharp object that might damage the RST button nor a soft item like a pencil that might break off and jam the button 890USE17700 April 2004 55 Configuring the Island Bus RST Functionality Introduction RST Configuration Scenarios The RST function allows you to reconfigure the operating parameters and values of anisland 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 The RST button is enabled only in edit mode In protected mode See Protecting Configuration Data p 164 the RST button is disabled
22. See Configuring Mandatory Modules p 153 configuration error process image error auto configuration configuration See Auto Configuration p 49 error island bus management error receive transmit queue software overrun error on off off The island bus is operational on blink 3 off At least one standard module does not match the island bus is operational with a configuration mismatch on blink 2 off Serious configuration mismatch when a module is pulled from a running island the island bus is now in pre operational mode because of one or more mismatched mandatory modules blink 4 off off The island bus is stopped when a module is pulled from a running island no further communications with the island are possible off on off Fatal error internal failure any any on Test mode is enabled the configuration software or an HMI panel can set outputs See 2 1 The TEST LED is on temporarily during the Flash overwrite process 2 The TEST LED is on steadily while the device connected to the CFG port is in control 32 890USE17700 April 2004 The STB NIP 2212 NIM The CFG Interface Purpose Physical Description Port Parameters The CFG port is the connection point to the island bus for either a computer running the Advantys configuration software or an HMI panel The CFG i
23. The NIM is reading the contents of the removable memory card See Using the STB XMP 4440 Optional Removable Memory Card to Configure the Island Bus p 53 on The NIM is overwriting its Flash memory with the card s configuration data See 1 off blink 8 off The contents of the removable memory card is invalid blinking off off The NIM is configuring See Configuring the Island steady Bus p 45 or auto configuring See Auto Configuration p 49 the island bus the bus is not started blinking off on Auto configuration data is being written to Flash memory See 1 off blink 6 off The NIM detects no I O modules on the island bus 890USE17700 April 2004 31 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 blink 5 off Assignment error the NIM has detected a module assignment error the island bus is not started Internal triggering protocol error off blinking steady off Fatal error Because of the severity of the error no further communications with the island bus are possible and the NIM stops the island The following are fatal errors e significant internal error e module ID error e auto addressing See Auto Adaressing p 46 failure e mandatory module
24. between the manager and the STB NIP 2212 agent The following PDUs are used e 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 e SetRequest An SNMP manager uses the Set PDU to write a value to one or more objects resident on the STB NIP 2212 agent These PDUs are used in conjunction with MIB objects to get and set information contained in an Object Identifier OID An SNMP message is the innermost part of a typical network transmission frame as shown in the following illustration local IP local MAG network UDE SNMR message network header header header trailer Version Community GetRequest or SetRequest PDU The STB NIP 2212 is configured with SNMP Version 1 0 When setting up the SNMP agent function for your STB NIP 2212 See Configure SNMP Web Page p 105 you should configure private community name s for GetRequest and SetRequest Note If you do not configure private community names for GetRequest and SetRequest any SNMP manager can read the MIB objects for your STB NIP 2212 The community name is an identifier that you assign to your SNMP network when you set up the SNMP manager Community names for the SNMP manager and agent must agree before SNMP processing can occur 104 890USE17700 April 2004 S
25. complies with the information in the following table Pin Description 1 tx tx X reserved reserved rx reserved o 4 oO al A CN reserved 26 890USE17700 April 2004 The STB NIP 2212 NIM Communications The required communications cable is either shielded STP or unshielded UTP Cable and electrical twisted pair CAT5 cable The cable used with the STB NIP 2212 must Connector 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 length application data rate connector to the fieldbus interface 10Base T 24 gauge 100 m 328 ft data 10 Mbits s eight pin male twisted pair transmission Note There are many 8 pin male connectors that are compatible with the RJ 45 fieldbus interface on the STB NIP 2212 Refer to the Transparent Factory Network Design and Cabling Guide 490 USE 134 00 for a list of approved connectors Note The technical specifications for CAT5 cable are defined by FCC Part 68 EIA TIA 568 TIA TSB 36 and TIA TSB 40 About STP UTP Select STP or UTP cable according to the noise level in your environment Cabling e Use STP cabling in high electrical noise environments e UTP cabling is acceptable in low electrical noise environments 890USE17700 Apr
26. default mode you can select either of two fallback values e O0 default e some value in acceptable range The permissible values for fallback parameters in the predefined value mode for discrete and analog modules and reflex functions appear in the following table Module Type Fallback Parameter Values discrete O off default 1 on analog O default not 0 in range of acceptable analog values Note In an auto configured system default fallback parameters and values are always used 162 890USE17700 April 2004 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 How to Save a The following procedure describes the general steps to use to save a configuration Configuration data file to either Flash memory directly or to a removable memory card For more detailed procedural information use the configuration software s online help feature Step Action 1 Connect the device running the Advantys configuration software to t
27. e 5 4 3 2 0 ON OFF conditions of inputs 1 4 always 0 register 45397 STB DDI 3420 status 15 a 18 12 v to 9 8 z e 5 4 3 2 0 presence absence of PDM short always 0 890USE17700 April 2004 121 Data Exchange register 45398 STB DDO 3410 echo output data 15 14 13 i2 n 1o o e 7 e 5 4 3 2 0 echoes module output data always 0 register 45399 STB DDO 3410 status i 1a is r2 1 0 9 8 7 e 5 BAE 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 STB DDI 3610 data 15 14 13 12 06 9 8 7 6 s 4 s 2 0 ON OFF conditions of inputs 1 6 always 0 register 45401 STB DDI 3610 status 15 ia i5 o 14 to o e 7 e 5 afa 2 o presence absence of PDM short always 0 register 45402 STB DDO 3600 echo output data 15 14 13 i2 ni 10 9 f8 7 e s5 4 alaf 0 echoes module output data always 0 122 890USE17700 April 2004 Data Exchange register 45403 STB DDO
28. extension module 1 m length STB XCA 1002 bus extension cable preferred module 1 m length STB XCA 1002 bus extension cable extension segment of Advantys STB I O modules STB XBE 1200 BOS bus extension module for the extension segment o Oo OT 5 WO ND STB XMP 1100 termination plate 890USE17700 April 2004 17 Introduction Standard CANopen Devices Length of the 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 Note If you want to include standard CANopen devices in your island you need to configure the island using the Advantys configuration software and you need to configure the island to operate at 500 kbaud Because standard CANopen devices cannot be auto addressed on the island bus they must be addressed using physical addressing mechanisms on the devices The standard CANopen devices together with the CANopen extension module form a sub network on the island bus that needs to be separately terminated at the beginning and end A terminator resistor is included in the STB XBE 2100 CANopen extension module for one end of the extension sub network the last device on the CANopen extension must also be terminated with 120 Q The re
29. modules up to six of which may be standard CANopen devices An Advantys STB module that distributes sensor power to the input modules and actuator power to the output modules over two separate power buses on the island The bus provides a maximum of 4 A to the input modules and 8 A to the output modules A standard PDM requires a 5 A fuse to protect the input modules and an 8 A fuse to protect the outputs 186 890USE17700 April 2004 Glossary STD P stepper motor subnet surge suppression 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 A specialized DC motor that allows discrete positioning without feedback A part of a network that shares a network address with the other parts of a network A subnet may be physically and or logically independent of the rest of the network A part of an internet address called a subnet number which is ignored in IP routing distinguishes the subnet The process of absorbing and clipping voltage transients on an incoming AC line or control circuit Metal oxide varistors and specially designed RC networks are frequently used as surge suppressi
30. 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 A customer configured IP address is set up on the Configured IP web page A sample Configured IP web page appears in the following figure STB NIP 2212 STANDARD Role Name No Rolename IP 139 113 Home Help ecurity Diagno Configured IP IP Address 3315813333 Subnet Mask 5525500 Gateway 391589123313 Frame Type Ethemetll E Seve Reset Defaut Schneider Electric Inc 1998 2003 72 890USE17700 April 2004 STB NIP 2212 Web Server IP Parameters Using the Command Buttons 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 When the subnet mask is applied to the source and destination addresses it determines if the target host is on the local subnet or on a remote network gateway The default gateway typically a router is where the host sends fra
31. number of registers in the HMI to fieldbus master block The NIM manages the transfer of the HMI data in these registers as part of the overall input data transfer it converts the 16 bit register data to a fieldbus specific data format and transfers it together with the standard input data and I O status process image to the fieldbus The fieldbus master sees and responds to HMI data as if it were standard input data 170 890USE17700 April 2004 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 e display indicators e buttons or screen images that change color or shape e 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 166 and specify the number of registers in this block that you want to use You need to use the Advantys configuration software to make these adjustments to your configuration The fieldbus master to HMI block can comprise up to 512 registers ranging from register 44097 to 44608 This block follows immediately after the standard output data process image See Output Data Process Image p 168 block registers 40001 through 44096 in the island s data image The fieldbus master writes output update data in native field
32. or role name setting reboot will apply the most recent internal settings to the NIM Reboot now E h Schneider Electric Inc 1998 2003 Home Help 76 890USE17700 April 2004 STB NIP 2212 Web Server Configuring Master Controllers Introduction Understanding Processing Mastery Fields on the Master Controller Web Page 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 If one of these assigned controllers is connected it will take mastery over any unassigned controllers even if an unassigned controller has connected to the island first To assign one or more master controllers use the Master Controller web page A controller that has mastery over an island has the ability to write to the island s output process image and to change operating parameters on the island nodes Typically the first controller to request write access is granted mastery If another master attempts to write to the island while the first controller has mastery the NIM sends an error message and access is denied If a master controller has been configured on the Master Controller web page See Sample Master Controller Web Page p 78 a write request from it will pre empt processing mastery fr
33. resides This network architecture enables communications with a wide range of Ethernet TCP IP control products such as Programmable Logic Controllers PLCs industrial computers motion controllers host computers and operator control stations The STB NIP 2212 NIM has a Transparent Ready implementation classification of B20 The STB NIP 2212 includes an embedded web server See STB NIP 2212 Web Server p 65 which is a web browser enabled application It allows authorized users worldwide to view configuration and diagnostic data for the STB NIP 2212 See Web Access Password Protection p 86 Users with additional authorization See Configuration Password Protection p 89 can write data to the STB NIP 2212 The STB NIP 2212 is configured for the following Internet applications e HTTP embedded web server Port 80 service access point SAP browser based IP configuration and troubleshooting e SNMP allows remote network management of the STB NIP 2212 Port 161 SAP enables remote network management NMT of the STB NIP 2212 An open implementation of the proprietary Modbus protocol runs over TCP IP on the Ethernet LAN on which the STB NIP 2212 resides The fieldbus Ethernet port See STB NIP 2212 Network Interface p 26 on the STB NIP 2212 is configured for Port 502 SAP functionality Port 502 is the well known port for Modbus over TCP that was assigned to Schneider Electric by the Internet Authority IANA
34. segment of up to 12 Advantys STB I O modules A basic NIM does not support the Advantys configuration software reflex actions island bus extensions nor the use of an HMI panel A low cost Advantys STB PDM that distributes sensor power and actuator power over a single field power bus on the island The bus provides a maximum of 4 A total power A basic PDM requires one 5 A fuse to protect the I O bootstrap protocol UDP IP protocol that allows an internet node to obtain its IP parameters based on its MAC address beginning of segment When more than one segment of I O modules is used in an island an STB XBE 1200 BOS module is installed in the first position in each extension segment Its job is to carry island bus communications to and generate logic power for the modules in the extension segment A master on a Fipio network 174 890USE17700 April 2004 Glossary CAN CANopen protocol CI CiA COB COMS configuration CRC 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 An open industry s
35. that allows you to selectively identify digital input modules to be scanned more frequently during a the NIM s logic scan 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 890USE17700 April 2004 183 Glossary process image producer consumer model 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 In networks that observe the producer consumer model data packets are identified according to their data content rather than by their physical location All nodes listen on the network and consume those data packets that have appropriate identifiers Profibus DP Profibus Decentralized Peripheral An open bus system that uses an electrical network based on a shielded two wire line or an optical network based on a fiber optic cable DP transmission allows for high speed cyclic exchange of data between the controller CPU and the distributed I O devices R reflex action repeater reverse polarity protection rms role name RTD
36. the Advantys configuration software can also exchange data with an island via the CFG port See The CFG Interface p 33 on the STB NIP 2212 890USE17700 April 2004 125 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 Each bit in the high byte bits 15 through 8 indicates the presence or absence of a specific error condition Register 45357 high byte low byte 15 14 13 12 11 10 e 8 7 e 5 4 3 2 1 o see 23 see 22 0 0 0 00000 seeli St 01000000 see2 som 01100000 see3 see 20 01100001 see4 see 19 0110001 0 see5 see 18 0110001 1 see6 01100100 see7 SER E 10000000 see8 see 16 10000001 see9 1000001 0 see10 1000001 1 seeli 10100000 see 12 10100001 see13 10100041 0 see14 11000000 see15 1 The island is initializing 2 The island has been set to pre operational mode for example by the reset function 3 The STB NIP 2212 is configuring or auto configuring communication to all modules is reset 4 The STB NIP 2212 is configuring or auto configuring checking for any modules that are not auto addressed 5 The STB NIP 2212 is configuring or auto configuring Advantys STB and preferre
37. the STB NIP 2212 Configurable Step Action Comment Parameters 1 Double click on the STB NIP 2212 in The module editor window appears the island editor 2 Select the Parameters tab Configurable parameters are located under this tab 3 Inthe Parameter name column The configurable parameters are expand the Additional Info Store List by displayed clicking on the plus sign 150 890USE17700 April 2004 Advanced Configuration Features Selecting the Display Format Reserved Sizes HMI to PLC Reserved Sizes PLC to HMI 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 Action Comment 1 Double click the NIM in the island The module editor window appears editor Select the Parameters tab Click on the checkbox in front of The values for the configurable Hexadecimal at the top right of the parameters will display in hexadecimal module editor window notation Note To use decimal notation again click on this checkbox to disable hexadecimal notation The network interprets data from the HMI as input and reads it from the input data table in the process image This table is shared with data from all input modules on the island bus When the reserved size HMI to PLC is selected the range of available data sizes in words is displayed Space that you reserve for
38. the data for channel 2 e the fourth register to report status for channel 2 The analog output module uses two contiguous registers e the first register to report status for channel 1 e the second register to report status for channel 2 120 890USE17700 April 2004 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 STB DDI 3230 data 15 14 i8 i2 11 10 9 a 7 6 5 4 3 2 E 0 ON OFF conditions of inputs 1 and 2 always 0 register 45393 STB DDI 3230 status 15 14 13 12 11 DOE 7 e s 4 E 0 presence absence of PDM short always 0 register 45394 STB DDO 3200 echo output data 15 ia 13 12 nfo 9 8 7 6 5 4 3 2 1 0 echoes module output data always 0 register 45395 STB DDO 3200 status i 14 ro i2 to 9 8 7 5 4 E 0 presence absence of PDM or output short on output 1 L presence absence of PDM or output short on output 2 always 0 register 45396 STB DDI 3420 data 15 14 13 12 fn 10 9 SE
39. you want to combine a counter block and a compare block in a nested reflex action You want the result of the counter to be the operational input to the compare block The compare block will then produce a Boolean as its result first nested action enable falling edge counter operational input a counter preset result 1 counter direction action module STB DDO 3410 reset channel none second nested action enable less than threshold compare p result 2 operational input as threshold A B result 1 action module STB DDO 3410 channel 4 Result 2 from the compare block is the result that the nested reflex action will send to an actual output Because the result of a compare block needs to be mapped to a digital action module result 2 is mapped to channel 4 on an STB DDO 3410 digital output module Result 1 is used only inside the module it provides the 16 bit operational input to the compare block It is mapped to the same STB DDO 3410 digital output module that is the action module for the compare block Instead of specifying a physical channel on the action module for result 1 the channel is set to none In effect you are sending result 1 to an internal reflex buffer where it is stored temporarily until it is used as the operational input to the second block You are not really sending an analog value to a digital outp
40. 004 Advanced Configuration Features Output Data Read Write Capabilities Input Data and I O Status Process Image 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 The input data and I O status block registers 45392 through 49487 handles the input data and I O status process image Every I O module on the island bus has information that needs to be stored in this block e Each digital input module reports data the on off status of its input channels in one register of input data and I O status block then reports its status e g the presence or absence of errors in the next register e Each analog input module uses four registers in the input data and I O status block It represents the analog data for each channel in separate registers and the status of each channel in separate registers Analog data is usually represented with 11 or 12 bit resolution in the IEC format status in an analog input channel is usually represented by a series of status bits that report the presence or absence of an out of range value in a channel e Each digital output module reports an echo of its output data to a re
41. 02 Messaging 2 l O Scanning 3 Global Data 4 Web 5 Address Server 6 Equipment Profiles 7 108 890USE17700 April 2004 STB NIP 2212 Web Server Transparent Factory Ethernet TFE MIB Subtree Introduction Transparent Factory Ethernet TFE MIB Subtree 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 The TFE MIB provides data to manage the main TFE communications services for the communication components that are part of the TFE architecture The TFE MIB does not define specific management applications and policies The Transparent Factory Ethernet 1 defines groups that support TFE services and devices Service Description Port 502 Messaging 2 subtree that defines objects for managing explicit client server communications web 5 subtree that defines objects for managing embedded web Server activity equipment profiles 7 subtree that identifies objects for each type of device in the TFE product portfolio Note Numbers such as 1 2 5 and 7 are OIDs 890USE17700 April 2004 109 STB NIP 2212 Web Server Port502 Messaging Subtree Introduction Port502 services support TFE services Po
42. 104 105 107 109 SNMP agent 103 SNMP manager 104 source power supply considerations 40 logic power 13 39 recommendations 41 SELV rated 35 37 39 40 two receptacle wiring connector 35 specifications CFG port 33 Ethernet transmission 21 27 MIB Il 107 109 STB NIP 2212 21 42 STB XCA 4002 programming cable 34 standard I O modules 153 STB XCA 4002 programming cable 34 STB XTS 1120 screw type power connector 36 STB XTS 2120 spring clamp field wiring connector 36 STB NIP 2212 and the Internet 19 configuration mastery of 80 configuring for IP 29 60 63 71 72 73 Ethernet LAN 21 fieldbus Ethernet port 26 27 LEDs 30 limitations 42 master controller s 78 physical features 24 power supply interface 35 specifications 21 42 troubleshooting 92 93 100 133 STB NIP 2212 diagnostics 107 STB NIP 2212 web site 67 69 82 87 90 STB XMP 4440 removable memory card and reset 33 installing 51 physical description 50 removing 52 storing configuration data 53 storing configuration data and reset 57 in Flash memory 49 153 163 to a removable memory card 50 53 153 163 STP shielded twisted pair cable 27 42 T termination plate 14 47 118 143 test mode 31 troubleshooting emergency messages 131 error log 100 global bits errors 128 island bus 96 129 130 132 Modbus registers 94 192 890USE17700 April 2004 Index STB NIP 2212 92 93 100 107 109 133 usi
43. 11 OHE 7 5 4 s 2 0 ON OFF conditions of outputs 1 and 2 always 0 register 40002 STB DDO 3410 data 15 14 13 i i 0 9 e v e 5 4 s e 1 o ON OFF conditions of outputs 1 4 not used always 0 register 40003 STB DDO 3600 data 15 14 is 12 41 io 9 8 7 6 5 4 3 2 1 0 ON OFF conditions of outputs 1 6 always 0 register 40004 STB AVO 1250 channel 1 data 15 ta 13 2 11 10 9 8 7 e 5 JE 2 o ignored 11 bit analog value see 1 L sign bit see 1 STB AVO 1250 channel 2 data register 40005 15 a 13 fre 11 to 9 8 7 o a 4 a T2 e ignored 11 bit analog value see 2 L sign bit see 2 1 The value represented in register 40004 is in the range 10 to 10 V with 11 bit resolution plus a sign bit in bit 15 2 The value represented in register 40005 is in the range 10 to 10 V with 11 bit resolution plus a sign bit in bit 15 The digital modules use the LSBs to hold and display their output data The analog module uses the MSBs to hold and display its output data 890USE17700 April 2004 119 Data Excha
44. 5400 N5 data STB DDI 3610 data 45401 N5 status STB DDI 3610 status 45402 N6 echo STB DDI 3600 feedback 45403 N6 status STB DDI 3600 status 45404 N7channel 1 data AVI 1270 channel 1data 45405 N7 channel 1 status AVI 1270 channel 1 status 45406 N7channel 2 data AVI 1270 channel 2 data 144 890USE17700 April 2004 Connection Example Output Process Image Modbus 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Register 45407 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 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 The following table shows how these registers are organized Modbus 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Register 40001 empty set to 0 N2 data STB DDI 3230 data 40002 empty set to 0 N4 data STB DDO 3420 data 40003 empty set to 0 N6 data STB DDO 3600 data 40004 N8 channel 1 data STB AVO 1250 channel 1 data 40005 N8 channel 2 data STB AVO 1250 channel 2 data 890USE17700 April 2004 145 Connection Example Modbus Functions Supported by the STB NIP 2212 Introduction The ST
45. 64 73 75 MAC address 61 62 64 75 role name 83 setting 28 60 63 74 software priorities 64 IP address field 72 74 IP parameters 63 72 73 75 island bus communications 12 configuration data 50 53 57 79 98 164 extending 16 38 fallback 161 IP address 60 71 72 82 LEDs 31 maximum length 18 operational mode 31 53 56 overview 14 15 status 30 126 termination 14 17 island bus example 47 118 142 190 890USE17700 April 2004 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 MAC address 61 62 64 75 mandatory I O modules 153 mandatory module hot swapping 154 MIB Il 107 109 Modbus function codes 135 148 Modbus protocol 33 34 116 134 143 165 168 170 Modbus over TCP IP and master controllers 77 connection example 140 146 data formats 64 134 143 fieldbus interface 26 fieldbus master 116 117 input data image 120 output data image 119 Port 502 SAP 19 42 protocol 20 troubleshooting 126 N nested reflex actions 159 network architecture 141 network considerations 12 19 26 28 31 54 60 number of
46. 7700 April 2004 Connection Example At a Glance Introduction What s in this Chapter 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 This chapter contains the following topics Topic Page Introduction 140 Network Architecture 141 Sample Configuration 142 Modbus Functions Supported by the STB NIP 2212 146 890USE17700 April 2004 139 Connection Example Introduction Overview Assumptions 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 The connection example is based on the following assumptions e You have read the rest of this Guide e You have configured your STB NIP 2212 with an IP address that you either know or can locate See Summary of Features p 24 e You have a basic knowledge of Modbus See Modbus Commands Supported by the STB NIP 2212 p 134 over TCP IP 140 890USE17700 April 2004 Connection Example Network Architecture Architectural The physical network shown in the following figure is representative of how Diagram Advantys STB islands can have various Ethernet hosts and how the islan
47. 90USE17700 April 2004 189 Index E 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 F factory default settings 33 49 53 57 fallback state 153 161 fallback value 153 162 fieldbus master and the output data image 169 communicating the island s status to 133 configuring 77 105 fieldbus to HMI block 171 HMI to fieldbus block 170 setting up communications with the island bus 77 105 Flash memory Advantys configuration software 163 and reset 55 57 overwriting 53 57 164 saving configuration data 49 frame type default 21 Ethernet Il 21 64 73 134 IEEE 802 3 21 64 73 134 H HE 13 connector 34 heartbeat message 161 HMI panel data exchange 12 20 150 152 167 170 171 functionality 170 process image blocks 170 hot swapping mandatory modules 154 hot swapping modules 48 153 HTTP server 19 67 68 69 86 116 initial configuration 53 54 inputs to a reflex block 157 Internet 19 28 60 72 Internet browser 67 IP address BootP 29 change 73 83 84 94 default 61 62
48. A simple logical command function configured locally on an island bus I O module Reflex actions are executed by island bus modules on data from various island locations like input and output modules or the NIM Examples of reflex actions include compare and copy operations An interconnection device that extends the permissible length of a bus Use of a diode in a circuit to protect against damage and unintended operation in the event that the polarity of the applied power is accidentally reversed root mean square The effective value of an alternating current corresponding to the DC value that produces the same heating effect The rms value is computed as the square root of the average of the squares of the instantaneous amplitude for one complete cycle For a sine wave the rms value is 0 707 times the peak value A customer driven unique logical personal identifier for an Ethernet Modbus TCP IP NIM A role name is created either as a combination of a numeric rotary switch setting and the STB NIP 2212 part number or by modifying text on the Configure Role Name web page After the STB NIP 2212 is configured with a valid role name the DHCP server will use it to identify the island at power up resistive temperature detect An RTD device is a temperature transducer composed of conductive wire elements typically made of platinum nickel copper or nickel iron An RTD device provides a variable resistance across a specified temperature rang
49. Advantys STB Standard Ethernet Modbus TCP IP Network Interface Module Applications Guide 890USE17700 Version 2 0 31003688 01 indo Schneid i ds Telemecanique 890USE17700 April 2004 Table of Contents Safety Information 0000 e eee eee eee 7 About the Books o yy Mewar eA eel aed wae ie 9 Chapter 1 Introduction 2 62 6 022 000 sa sei eee RR rax 11 Ava GlanCe ox tend e Deretens etw en eed ee bi outs Mua 11 What Is a Network Interface Module 0 eee eee 12 What Is Advantys STB 0 0 ects 15 STB NIP 2212 Product Overview 0 0 c cece eee eee 19 Ethernet Communications and Connectivity 0 0 0 e eee eee 21 Chapter2 The STB NIP 2212 NIM 0 00 cece eee eee eee eee 23 At Glance iuo A ARRIVE aay See ee ae 23 External Features of the STB NIP 2212 0 eee 24 STB NIP 2212 Network Interface 0 0 0 eect tees 26 Rotary SWwIIChes z osse Stade ty mede Ee E athe EAR ales quate Baty Satay etn 28 LED Iridicators eer eather eee aes hed Mia bie aa Sees 30 The GFG Interface ox ceto cen cooks ainda ees ag Anke beau eed ee 33 The Power Supply Interface 0 0c eect eee 35 LOGIG POWChi scu prO uhr Pueuestete dert l A Re DERE ee er 37 Selecting a Source Power Supply for the Island s Logic Power Bus 39 Module Specifications isle eh 42 Chapter 3 Configuring the Island Bus llesslslses 45 Ata Glance nm ESO sed
50. B 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 A Modbus over TCP IP fieldbus master can read and write to the Modbus registers Summary in the STB NIP 2212 Communications from the Modbus master to the STB NIP 2212 include e Modbus function code e the size of the data being transmitted in words e number of first Modbus register to be used 146 890USE17700 April 2004 Connection Example Request and The following example uses the data from channel 1 and channel 2 in the Response STB AVO 1250 module node 8 in the sample Advantys STB island bus See Example 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 The format and addressing may vary according to your particular software and controls Request The request determines the starting address and the number of registers to be read In this case two registers 40004 and 40005 should be read Description Field Example command Modbus function code 0x003 register c
51. CFG port See The CFG Interface p 33 click on the radio button next to the Serial option e Todisablethis feature click on the radio button nextto the Disabled default option Type a value for the reservation time 0 120000 ms This is the amount of time allocated to the master configurator for writing configuration data to the island The default setting is 60000 ms 1 min Click on the Save button to store the information about the master configurator in the STB NIP 2212 s Flash memory and in RAM 80 890USE17700 April 2004 STB NIP 2212 Web Server Sample Master A sample Master Configurator web page is shown in the following figure Configurator Web Page E reemecsniaus STB NIP 2212 STANDARD Role Name STBNI 291 IP 139 113 Home Help Properties Support Security Diagnostics Master Configurator cr Ei Serial Disabled Reservation Time 60000 ms valid Range is 0 120000 REM Schneider Automation Inc 1998 2003 890USE17700 April 2004 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 ro
52. Cs 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 messages are embedded within the frame or packet structure of the network in use A Modbus over TCP IP network uses both the Ethernet Il and IEEE 802 3 data formats For communications with the STB NIP 2212 Modbus messages can be embedded in either frame type Ethernet Il is the default data format Modbus The Modbus protocol uses a 16 bit word A Modbus message begins with a header Message A Modbus message uses a Modbus function code See List of Supported Structure Commands p 135 as the first byte Following is a description of the structure of a Modbus message header Invoke Identifier Protocol Type Command Destination Modbus Length ID Message two byte field that two byte field two byte field one byte n byte field associates a value for Modbus value is the size of first byte is the request with a is always 0 the rest of the Modbus response message function code 134 890USE17700 April 2004 Data Exchange Listof Supported The following table lists the Modbus commands that the STB NIP 2212 supports Commands Modbus Subfunction Command Valid Range Max No of Function
53. P HTTP e Port 161 SAP SNMP Note An HMI panel or a device running the Advantys configuration software can also exchange data with an island via the CFG port See The CFG Interface p 33 on the STB NIP 2212 Master devices use Modbus messaging See List of Supported Commands p 135 to read and write data to specific registers in the process image The Modbus protocol is understood regardless of the network type The Modbus protocol uses a 16 bit word data format Data stored in the process image is exchanged between the STB NIP 2212 and the Ethernet network via Modbus over TCP IP First data from the Ethernet host is written to the output data image area See The Output Data Process Image p 119 in the NIM s process image Then status echo output and input data information from the I O modules on the island are placed in the input data image area See The Input Data and I O Status Process Image p 120 In this location the Modbus master can access them over the TCP IP network or over the CFG port Data within the output and the input areas of the process image is organized in the order that the I O modules are assembled See A Data Exchange Example p 118 on the island bus 116 890USE17700 April 2004 Data Exchange Data and Status Data exchange between the island and the fieldbus master involves three object Objects types e data objects which are operating values that the master either rea
54. PANE WC E Tae eT 115 Data Exchange with the STB NIP 2212 0 2 eee esee 116 Reading Diagnostic Data llle 125 Modbus Commands Supported by the STB NIP 2212 Lsuusus 134 Modb s Error Codes re oe RS LEE ane usd RITE nds eoe os 137 Chapter7 Connection Example eeeeeee eese 139 At a Glance inert oe oa cese ves i eei ere eee gh eee 139 Introduction sx ee ee ee Ung c HR Rem EP E UR Eo eh ee eae ee E 140 Network Architecture 22 0 ee ee ee 141 Sample Configuration 0 0 0 0 eee 142 Modbus Functions Supported by the STB NIP 2212 04 146 Chapter 8 Advanced Configuration Features 149 At a Glance oce io bee pedis PC Le eaten Maren d 149 STB NIP 2212 Configurable Parameters ssesleeessese 150 Configuring Mandatory Modules 0 0 00 eee eee eee eee 153 Prioritizing a Modul oa osos Rr RR eed ee ER ERE 155 What Is a Reflex Action 2 0 0 0 cect teens 156 Island Fallback ScenarioS 2 0 0 cette eee 161 Saving Configuration Data 0 kee 163 Protecting Configuration Data 0 0 0 cee cee 164 A Modbus View of the Island s Data Image e eee eee eee 165 The Island s Process Image Blocks 0 cece eee eee eee 168 The HMI Blocks in the Island Datalmage 0 eee eee eee 170 Glossary tented dresa od hm atin deci NE UA E VOR DERE Rudi a aliens 173 Idex ede wi wwe a ae
55. Reflex Actions Behave 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 A typical reflex action comprises one or two function blocks that perform e Boolean AND or exclusive OR operations e comparisons of an analog input value to user specified threshold values e up or down counter operations e timer operations e the triggering of a latch to hold a digital value high or low e the triggering of a latch to hold an analog value at a specific value The island bus optimizes reflex response time by assigning the highest transmission priority to its reflex actions Reflex actions take some of the processing workload off the fieldbus master and they offer a faster more efficient use of system bandwidth Reflex actions are designed to control outputs independently of the fieldbus master controller They may continue to turn outputs on and off even when power is removed from the fieldbus master Use prudent design practices when you use reflex actions in your application WARNING UNEXPECTED OUTPUT OPERATION For outputs that are configured to respond to reflex actions the output state represented in the island s network interface module NIM may not represent the actual states of the outputs e Turn off field power before
56. Register 45367 15 14 r8 12 11 10 9 8 7 6 5 4 3 2 1 0 module in 164 module in 1 module in 15 module in 2 module in 14 L module in 3 module in 13 L module in 4 module in 12 module in 5 module in 11 module in 6 module in 10 module in 7 module in 9 module in 8 Register 45368 15 14 13 12 11 10 9 8 7 6 5 a 3 2 1 0 module in 32 L module in 17 module in 31 module in 18 module in 30 L module in 19 module in 29 module in 20 module in 28 module in 21 module in 27 L module in 22 module in 26 module in 23 module in 25 module in 24 130 890USE17700 April 2004 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 e A value of 1 in a given bit indicates that a new emergency message has been queued for the associated module e Avalue of 0 in a given bit indicates that no new emergency messages have been received for the associated module since the last time the diagnostic buffer was read The first two registers shown below provide the 32 bits that represent the module locati
57. TB 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 The parameters and the settings for the SNMP agent are described in the following Configure SNMP table Web Page Purpose Field Name Description Agent Location 100 character case sensitive alohanumeric string describing the location of this STB NIP 2212 agent device Contact 100 character case sensitive alphanumeric string identifying the contact person for this STB NIP 2212 Community Set 100 character case sensitive alphanumeric community string used to wite the value of a point of information A SetRequest is used by an SNMP manager to write to the STB NIP 2212 The default community name for the STB NIP 2212 is public Note If you enable an Authentication Failure Trap assign a private community string for SetRequest Get 100 character case sensitive alphanumeric community string assigned by the user and used by the master to read the value of a point of information provided by the STB NIP 2212 The default community name for the STB NIP 2212 is public Note If you enable an Authentication Failure Trap assign a private community string for a Get Request If you do not assign a private community string for this field any SNMP manager can read the MIB objects for your STB NIP 2212
58. a RR Aa ex ee EA ocala RAT Rn 189 890USE17700 April 2004 5 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 The addition of this symbol to a Danger or Warning safety label indicates A that an electrical hazard exists which will result in personal injury if the instructions are not followed This is the safety alert symbol It is used to alert you to potential personal A injury hazards Obey all safety messages that follow this symbol to avoid possible injury or death A DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death serious injury or equipment damage A WARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death serious injury or equipment damage A CAUTION CAUTION indicates a potentially hazardous situation which if not avoided can result in injury or equipment damage 890USE17700 April 2004 Safety Information PLEASE NOTE Electrical equipment should be serviced only by qualified personnel No re
59. a The NIM stops the island bus The island enters fallback mandatory module mode I O modules and preferred devices assume their fallback values You are hot swapping a standard When power is restored the NIM attempts to address the I O module that resides to the left island modules but must stop at the empty slot where the of a mandatory module on the standard module used to reside Because the NIM is now island bus and the island loses unable to address the mandatory module it generates a power mandatory mismatch error and the island fails to restart 890USE17700 April 2004 153 Advanced Configuration Features Recovering from a Mandatory Stop Hot Swapping a Mandatory Module 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 e Do not attempt to restart the island by pushing the RST button e f a module is unhealthy replace it with the same module type Failure to follow this precaution can result in death serious injury or equipment damage If the NIM has stopped island bus ope
60. a specific automation function such as speed control A function block comprises configuration data and a set of operating parameters 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 A 16 bit integer that uniquely identifies a device s location on a network A global ID is a symbolic address that is universally recognized by all other devices on the network GSD generic slave data file A device description file supplied by the device s manufacturer that defines a device s functionality on a Profibus DP network H HMI human machine interface An operator interface usually graphical for industrial equipment HMI human machine interface An operator interface usually graphical for industrial hot swapping HTTP equipment Replacing a component with a like component while the system remains operational When the replacement component is installed it begins to function automatically hypertext transfer protocol The protocol that a web server and a client browser use to communicate with one another 178 890USE17700 April 2004 Glossary I O base I O module I O scanning IEC IEC type 1 input IEC type 2 input IEC type 3 input IEEE A mounting device de
61. al switching devices such as relay contacts push buttons in normal to moderate environmental conditions three wire proximity switches and two wire proximity switches that have e a voltage drop of no more than 8 V e aminimum operating current capability less than or equal to 2 5 mA e amaximum off state current less than or equal to 1 5 mA Institute of Electrical and Electronics Engineers Inc The international standards and conformity assessment body for all fields of electrotechnology including electricity and electronics 890USE17700 April 2004 179 Glossary industrial I O input filtering input polarity input response time 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 The amount of time that a sensor must hold its signal on or off before the input module detects the change of state An input channel s polarity determines when the input module sends a 1 and when it sends a 0 to the master controller If the polarity is normal an input channel will send a 1 to the controller when its field sensor turns on If the polarity is reverse an input channel will send a 0 to the controller when its field se
62. 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 33 on the STB NIP 2212 Note The master configurator of an Advantys STB island must be set up on the Master Configurator web page The configuration master of an Advantys STB island can be a e local host that resides on the same Ethernet LAN as the island e remote host that communicates with the Ethernet LAN on which the island resides e device connecting to the STB NIP 2212 serially via the CFG port The master configurator is identified on the Master Configurator web page as follows e A master configurator running over the network is identified by its IP address e A configuration master connecting to the CFG port is specified as serial See Fields on the Master Configurator Web Page p 80 A master configurator will pre empt configuration mastery for the Advantys STB island from any other configurator during its reservation time 890USE17700 April 2004 79 STB NIP 2212 Web Server Fields on the Master Configurator Web Page Configuring a Master Configurator for the Island The fields on the Master Configurator web page are described in the following table
63. alue under normal conditions or under single fault conditions subscriber identification module Originally intended for authenticating users of mobile communications SIMs now have multiple applications In Advantys STB configuration data created or modified with the Advantys configuration software can be stored on a SIM and then written to the NIM s Flash memory An analog input design technique whereby a wire from each signal source is connected to the data acquisition interface and the difference between the signal and ground is measured Two conditions are imperative to the success of this design technique the signal source must be grounded and the signal ground and data acquisition interface ground the PDM lead must have the same potential An output that when turned on receives DC current from its load 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 890USE17700 April 2004 185 Glossary size 2 base size 3 base slice I O SM MPS SNMP snubber source load standard I O standard network interface standard power distribution module 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 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 m
64. ation 3 location 13 location 4 location 12 location 5 location 11 L location 6 location 10 location 7 location 9 location 8 Register 45360 15 4 t3 12 11 10 9 8 7 6 5 4 3 2 1 0 location 32 L location 17 location 31 location 18 location 30 __ location 19 location 29 location 20 location 28 location 21 location 27 L location 22 location 26 4 location 23 location 25 location 24 890USE17700 April 2004 129 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 e A value of 1 in a given bit indicates that the configured module is not present e Avalue of 0 indicates that the correct module is present in its configured location or that the location has not been configured The first two registers shown below provide the 32 bits that represent the module locations available in a typical island configuration The remaining six registers 45369 through 45374 are available to support the island s expansion capabilities
65. awer A plastic drawer in which a removable memory card See Installing the STB XMP 4440 Optional Removable Memory Card p 50 can be seated and then inserted into the NIM CFG port cover A hinged flap on the NIM s front panel that covers the CFG interface See The CFG Interface p 33 and the RST button See The RST Button p 55 890USE17700 April 2004 25 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 Note Because the Ethernet port is configured for Modbus over TCP IP services SAP 502 the Advantys configuration software can run over the fieldbus interface on the STB NIP 2212 Fieldbus The interface for 10Base T connections is located on the front of the STB NIP 2212 Ethernet Port NIM toward the top eight pin connector The RJ 45 connector is an eight pin female connector The eight pins connect horizontally along the top Pin 8 has the leftmost position and pin 1 is the rightmost The pin out for the RJ 45
66. b index 21 0x08 get clear Ethernet statistics See Ethernet Statistics p 136 16 0x10 write multiple output registers 4x 22 0x16 mask write registers 4x 23 0x17 read write multiple registers 4x Modbus over The following table describes the general process used by Modbus over TCP IP TCP IP Data masters to exchange data with the STB NIP 2212 Exchange Stage Action 1 Execute a function specify the function code and the register address of the selected input or output channel 2 The Modbus master i e PC PLC sends a request to the STB NIP 2212 If no exception is returned the STB NIP 2212 responds to the master by sending the data that was requested If a request contains an error the STB NIP 2212 returns an exception code to the master List of Exception The following table describes the exception codes that Modbus over TCP IP uses to Codes indicate an error condition Code in Hexadecimal Description 0x01 illegal function 0x02 illegal data address 0x03 illegal data value 0x04 slave device failure 148 890USE17700 April 2004 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 What s in this This chapter contains the following topics Chapter Topic Page STB NIP 2212 Configu
67. ble 512 registers available Block 3 reserved 512 registers available Block 4 128 register block reserved for future read write use Block 5 54 register block reserved for future read write use Block 6 54 register block reserved for future read only use Block 7 35 predefined island bus status registers Block 8 input data status process image 4096 registers available Block 9 HMI to fieldbus master input table 512 registers available Each block has a fixed number of registers reserved for its use Whether or not all the registers reserved for that block are used in an application the number of registers allocated to that block remains constant This permits you to know at all times where to begin looking for the type of data of interest to you For example to monitor the status of the I O modules in the process image look at the data in block 8 beginning at register 45392 166 890USE17700 April 2004 Advanced Configuration Features Reading Register Data Writing 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 Some registers usually some configured number of registers in block 9 registers 49488 through 49999 of the data image may be written to by an HMI panel Se
68. ble 13 additional stack statistics optional 110 890USE17700 April 2004 STB NIP 2212 Web Server Web MIB Subtree Introduction The Web MIB subtree OID 5 defines objects for managing embedded web server activity Web MIB Subtree The following table describes the objects in the Web subtree that support Ethernet services used by the Advantys STB system Service Indication Available Values webStatus 1 global status of the web service 1 idle 2 operational webPassword 2 switch to enable disable use of web 1 disabled see table passwords note 2 enabled webSuccessfulAccess 3 total number of successful accesses to the STB NIP 2212 web site webFailedAttempts 4 total number of unsuccessful attempts to access the STB NIP 2212 web site Note Disabling the webPassword service will disable the default HTTP password See Default User Name and Password p 86 for the STB NIP 2212 embedded web server 890USE17700 April 2004 111 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 The following table describes the objects contained in the Equipment Profiles MIB Profiles MIB subtree group that are common to all TFE products Subtree Service Description Comment profile Product Nam
69. ble 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 communications protocol Modbus either RTU or ASCII mode cable length 2 m 6 23 ft cable connectors eight receptacle HE 13 female nine receptacle SUB D female cable type multiconductor 34 890USE17700 April 2004 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 Physical Power from the external 24 VDC supply comes in to the NIM via a two pin connector Description located at the bottom left of the module 1 connector 1 24 VDC 2 connector 2 common voltage 890USE17700 April 2004 35 The STB NIP 2212 NIM Connectors Use either e ascrew type power connector available in a kit of 10 model STB XTS 1120 e aspring clamp power connector available in a kit of 10 model STB XTS 2120 The following illustrations show two views of each power connector type A front and back view of the STB XTS 1120 screw type connector is shown on the left and a front and back view of the STB XTS 2120
70. bus format to the HMI data block concurrent with writing this data to the output data process image area The output data is placed in the fieldbus master to HMI block Upon request by the HMI via a Modbus read command the role of the NIM is to receive this output data convert it to16 bit Modbus format and send it over the Modbus connection at the CFG port to the HMI panel Note The read command enables all Modbus registers to be read not just those in the block reserved for fieldbus master to HMI data exchange 890USE17700 April 2004 171 Advanced Configuration Features 172 890USE17700 April 2004 Glossary 10Base T 802 3 frame 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 A frame format specified in the IEEE 802 3 Ethernet standard in which the header specifies the data packet length A agent analog input analog output application object 1 SNMP the SNMP application that runs on a network device 2 Fipio a slave device on a network A module that contains circuits that convert analog DC input signals to digital values that can be manipulated by the processor By implication these analog inputs are usually direct i e a
71. configure arole name from the Role Name web page See Configuring a Role Name p 82 3 Click on the Logout button to end write The Logout button toggles to Login privileges on your web site Write protection for your web site is restored 890USE17700 April 2004 89 STB NIP 2212 Web Server Sample Login Prompt Synchronizing the Web and Advantys Software Configuration Passwords 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 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 If your island already has a configuration password via the Advantys configuration Software you must use it as the configuration password for your STB NIP 2212 web site and vice versa 90 890USE17700 April 2004 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 What s in this This section contains the following topics Section Topic Page Diagnostics Web Page 92 Ethernet Statistics 93 STB NIP 2212 Registers Web Page 94 I O Data Values Web Page 96
72. ct like a pencil eraser 52 890USE17700 April 2004 Configuring the Island Bus Using the STB XMP 4440 Optional Removable Memory Card to Configure the Island Bus Introduction Configuration Scenarios Edit Mode 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 The following discussion describes several island configuration scenarios that use the removable memory card The scenarios assume that a removable memory card is already installed in the NIM e initial island bus configuration e replace the current configuration data in Flash memory in order to e apply custom configuration data to your island e temporarily implement an alternative configuration for example to replace an island configuration used daily with one used to fulfill a special order e copying configuration data from one NIM to another including from a failed NIM to its replacement the NIMs must run the same fieldbus protocol e configuring multiple islands with the same configuration data Note Whereas writing configuration data from the removable memory card to the NIM does not require use of the optional Advantys configuration
73. d modules are being auto addressed 6 The STB NIP 2212 is configuring or auto configuring boot up is in progress 7 The process image is being set up 8 Initialization is complete the island bus is configured the configuration matches and the island bus is not started 9 Configuration mismatch non mandatory or unexpected modules in the configuration do not match and the island bus is not started 10 Configuration mismatch at least one mandatory module does not match and the island bus is not started 126 890USE17700 April 2004 Data Exchange 11 12 13 14 15 16 17 18 19 20 21 22 23 Serious configuration mismatch the island bus has been set to pre operational mode and initialization is aborted The configuration matches and the island bus is operational 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 Serious configuration mismatch the island bus was started but is now in pre operational mode because of one or more mismatched mandatory module s The island has been set to pre operational mode for example by the stop function A value of 1 in bit 8 is a fatal error It indicates a low priority receive queue software overrun error A value of 1 in bit 9 is a fatal error It indicates a NIM overrun error A value of 1 in bit 10 indicates an island bus off error A value o
74. d 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 The default name and password for the STB NIP 2212 web site are Name and e default user name USER Password e default password USER The user name and password are case sensitive Correct entry of the default user name and password authorizes read only access to your STB NIP 2212 web site The default HTTP password screen is shown in the following figure 86 890USE17700 April 2004 STB NIP 2212 Web Server What Is the Web The web access password is an eight character case sensitive user name and Access password that you assign Your values will replace the default protection for your Password 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 Li Teemecaniquel STB NIP 2212 STANDARD Role Name No Rolename IP 13 13 113 Home Help Properties Configuration Support Diagnostics Change Web Access Password Hew User Hame pee 890USE17700 April 2004 87 STB NIP 2212 Web Server Setting Up the
75. data table value directly reflects the analog signal value A module that contains circuits that transmit an analog DC signal proportional to a digital value input to the module from the processor By implication these analog outputs are usually direct i e a data table value directly controls the analog signal value In CAN based networks application objects represent device specific functionality such as the state of input or output data 890USE17700 April 2004 173 Glossary ARP auto baud auto addressing auto configuration address resolution protocol The IP network layer protocol which uses ARP to map an IP address to a MAC hardware address 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 The assignment of an address to each island bus I O module and preferred device The ability of island modules to operate with predefined default parameters A configuration of the island bus based completely on the actual assembly of I O modules basic I O basic network interface basic power distribution module BootP BOS bus arbitrator Low cost Advantys STB input output modules that use a fixed set of operating parameters A basic I O module cannot be reconfigured with the Advantys configuration software and cannot be used in reflex actions A low cost Advantys STB network interface module that supports a single
76. ded by the default HTTP password You should replace this password with your own web access password See Web Access Password Protection p 86 e Knowledge of your web access password allows read only access to your STB NIP 2212 web site e Knowledge of the configuration password See Configuration Password Protection p 89 allows read write access to your STB NIP 2212 web site Page level help is available for every STB NIP 2212 web page To display the help text for a page click on the word Help It is located at the top of the web page and to the right of the STB NIP 2212 banner 890USE17700 April 2004 67 STB NIP 2212 Web Server Accessing the Use the following steps to access the STB NIP 2212 web site Action Result Go to your url http configured IP address The STB NIP 2212 home page is displayed Enter your language preference English is the default language If your language preference is English click on the Enter button To select a different language click on its name e g Deutsche Then click on the Enter button The web access password dialog box is displayed Type the user name and the web access password for your STB NIP 2212 site Then click on the OK button to proceed Note The default user name and password are USER Both are case sensitive They should be changed See Web Access Password Protection p 86 for your STB NIP 2212 web site The STB
77. dividual STB I O modules in an island segment generally draw a current load of between 50 and 90 mA Consult the Advantys STB Hardware Components Reference Guide B90 USE 172 for a particular module s specifications If the current drawn by the I O modules totals more than 1 2 A additional STB power supplies need to be installed to support the load The NIM delivers the logic power signal to the primary segment only Special STB XBE 1200 beginning of segment BOS modules located in the first slot of each extension segment have their own built in power supplies which will provide logic power to the STB I O modules in the extension segments Each BOS module that you install requires 24 VDC from an external power supply 890USE17700 April 2004 18 Introduction Structural The following figure illustrates the multiple roles of the NIM The figure provides a Overview network view and a physical representation of the island bus e 1 fieldbus master external 24 VDC power supply the source for logic power on the island 3 external device connecting to the CFG port a computer running the Advantys configuration software or an HMI panel 4 power distribution module PDM 5 island node 6 island bus terminator plate 7 other nodes on the fieldbus network 8 fieldbus network terminator if required 14 890USE17700 April 2004 Introduction
78. ds can be configured as nodes on the Ethernet 2 3 4 PC Ethernet host switches PLC Ethernet host 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 connection between a PC crossover cable host with an Ethernet card and the STB NIP 2212 through a switch as recommended by Schneider Electric Network Interface p 26 shielded STP or unshielded UTP electrical twisted pair Category CAT5 cabling See STB NIP 2212 Note Compatible switch hub connector and cable selections are described in the Transparent Factory Network Design and Cabling Guide 490 USE 134 00 890USE17700 April 2004 141 Connection Example Sample Configuration Example A representative island bus assembly with an STB NIP 2212 gateway is shown in the following figure 1 STBNIP 2212 network interface module 2 24VDC power distribution module 3 STB DDI 3230 24 VDC two channel digital input module 2 bits data 2 bits status 4 STBDDO 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 modul
79. ds from the input modules or writes to the output modules e 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 e echo output data objects which the digital output modules send to the input process image these objects are usually a copy of the data objects but they can contain useful information if a digital output channel is configured to handle the result of a reflex action 890USE17700 April 2004 117 Data Exchange AData Exchange The example uses the sample island bus assembly as illustrated in the following Example figure The sample island comprises the STB NIP 2212 NIM eight Advantys STB I O modules a 24 VDC PDM and an STB XMP 1100 termination plate 9 o 400 PWN STB NIP 2212 network interface module 24 VDC power distribution module STB DDI 3230 24 VDC two channel digital input module STB DDO 3200 24 VDC two channel digital output module STB DDI 3420 24 VDC four channel digital input module STB DDO 3410 24 VDC four channel digital output module STB DDI 3610 24 VDC six channel digital input module STB DDO 3600 24 VDC six channel digital output module STB AVI 1270 10 VDC two channel analog input module 10 STB AVO 1250 10 VDC two channel analog output module 11 STB XMP 1100 island bus termination plate The I O
80. e 184 890USE17700 April 2004 Glossary Rx reception For example in a CAN based network a PDO is described as an RXPDO of the device that receives it SAP SCADA SDO segment SELV SIM single ended inputs sink load size 1 base 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 supervisory control and data acquisition Typically accomplished in industrial settings by means of microcomputers service data object In CAN based networks SDO messages are used by the fieldbus master to access read write the object directories of network nodes A group of interconnected I O and power modules on an island bus An island must have at least one segment and depending on the type of NIM used may have as many as seven segments The first leftmost module in a segment needs to provide logic power and island bus communications to the I O modules on its right In the primary or basic segment that function is filled by a NIM In an extension segment that function is filled by an STB XBE 1200 BOS module An island running with a basic NIM does not support extension segments safety extra low voltage secondary circuit designed and protected so that the voltage between any two accessible parts or between one accessible part and the PE terminal for Class 1 equipment does not exceed a specified v
81. e HMI Panel Configuration p 170 The Advantys configuration software may also be used to write data to the registers in block 1 registers 40001 through 44096 The configuration software must be the island bus master in order for it to write to the data image i e the island must be in test mode 890USE17700 April 2004 167 Advanced Configuration Features The Island s Process Image Blocks Summary Output Data Process Image 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 The registers in each block are used to report island bus device status and to dynamically exchange input or output data between the fieldbus master and the island s I O modules The output data block registers 40001 through 44096 handles the output data process image This process image is a Modbus representation of the control data that has just been written from the fieldbus master to the NIM Only data for the island s output modules is written to this block Output data is organized in 16 bit register format One or more registers are dedicated to the data for each output module on the island bus For example say you are using a two channel d
82. e 4 bits data 4 bits status 6 STB DDO 3410 24 VDC four channel digital output module 4 bits data 4 bits of echo output data 4 bits status 7 STB DDI 3610 24 VDC six channel digital input module 6 bits data 6 bits status 8 STB DDO 3600 24 VDC six channel digital output module 6 bits data 6 bits of echo output data 6 bits status 9 STB AVI 1270 10 VDC two channel analog input module 16 bits data channel 1 16 bits data channel 2 8 bits status channel 1 8 bits status channel 2 10 STB AVO 1250 10 VDC two channel analog output module 16 bits data channel 1 16 bits data channel 2 8 bits status channel 1 8 bits status channel 2 11 STB XMP 1100 island bus termination plate 142 890USE17700 April 2004 Connection Example Modbus over TCP IP View of the Sample Island Configuration The I O modules in the sample assembly have the following island bus addresses I O Model Module Type Module s Island Module s Island Bus Address Bus Address STB DDI 3230 two channel digital input 1 N1 STB DDO 3200 two channel digital output N2 STB DDI 3420 four channel digital input N3 STB DDO 3410 four channel digital output N4 STB DDO 3600 six channel digital output N6 STB AVI 1270 two channel analog input N7 2 3 4 STB DDI 3610 six channel digital input 5 N5 6 7 8 STB AVO 1250 two channel analog output N8 The PDM and the termination plate are not addressable See Addres
83. e Words of PLC to HMI table row 6 Click on the OK button to save your work Click on the Apply button to configure the NIM with these values From the Parameters tab you can set the maximum node ID of the last module on the island bus The last module may be a standard CANopen device Standard CANopen devices follow the last segment of STB I O modules CANopen modules are addressed by counting backwards from the value that you specify here The ideal node ID sequence is sequential For example if you have an island with five STB I O modules and three CANopen devices a maximum node ID of at least 8 5 3 is required This will result in node IDs of 1 through 5 for STB I O modules and 6 through 8 for standard CANopen devices Using the default ID of 32 the maximum number of modules the island can support will result in node IDs of 1 through 5 for STB I O modules and 30 through 32 for standard CANopen devices Unless required high addresses are not desirable if any of your standard CANopen devices has a limited address range To assign the highest node ID used by a CANopen device on the island bus Mox Noded Step Action Comment CANopen Devices 1 In the module editor window select the Configurable parameters are located Parameters tab under this tab 2 In the box next to Max node ID on the This node ID represents the last CANopen extension enter a node ID CANopen modu
84. e 1 displays the commercial e g STB NIP 2212 name of the communication product as a string profileVersion 2 displays software version e g Vx y or V1 1 of STB NIP 2212 profileCommunicationServices 3 displays list of e g Port502Messging Web communication services supported by the profile profileGlobalStatus 4 indicates global status of available values the STB NIP 2212 e 1 nok e 2 ok profileConfigMode 5 indicates the IP available values configuration mode ofthe e 1 local the IP STB NIP 2212 configuration is created locally e 2 DHCP served the IP configuration is created remotely by a DHCP server profileRoleName 6 indicates role name for if none value is no role IP address management name profileBandwidthMgt 7 indicates the status of value is always disabled bandwidth management profileBandwidthDistTable 8 not available profileLEDDisplayTable 9 displays atable givingthe refer to the STB NIP 2212 name and state of each LEDs discussion See LED module s LEDs Indicators p 30 112 890USE17700 April 2004 STB NIP 2212 Web Server Service Description Comment profileSlot 10 profileCPUTyper 1 1 profileTrapTableEntries Max 12 profileTrapTable 13 profileSpecified 14 profilelPAddress 15 value 127 Advantys STB managers not required value is 0 not used 255 IP address in use profileNetMask 16 subnet mask associated wit
85. ed to accommodate 16 Advantys STB I O modules or 256 Modbus registers See The Data Image p 166 The number of modules that can be accommodated will vary according to actual I O modules assembled on the island For example if there are multiple six channel digital I O modules STB DDI 3610s and or STB DDO 3600s STB AVI 1270s STB AVO 1250s and a specialty module like the STB ART 0200 fewer than 16 modules can be represented on the I O Data Values web page 96 890USE17700 April 2004 STB NIP 2212 Web Server Sample I O Data A sample I O Data Values web page appears in the following figure Values Web Page Properties Configuration Support Security STB AVI 1270 STB DDI 3610 STB DDI 3610 30098 30033 30100 30101 30102 30104 Schneider Electric Inc 1998 2003 module s island bus node address Advantys STB part number Modbus register location s for input and status data input values format preference decimal or hexadecimal Modbus register location s for output data output values on Oo O P WO NM middle light is lit indicating Modbus activity 890USE17700 April 2004 97 STB NIP 2212 Web Server Island Configuration Web Page Introduction Sample Island Configuration Web Page DTreecsniaud The Island Configuration web page describes the configuration and operational status See Fault Detection p 132 of every
86. ed 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 By default all I O modules are not mandatory You must use the Advantys configuration software to set this parameter The direction of control in a network that implements the master slave model is always from the master to the slave devices Modbus Modbus is an application layer messaging protocol Modbus provides client and server communications between devices connected on different types of buses or networks Modbus offers many services specified by function codes MOV metal oxide 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 MSB most significant bit most significant byte The part of a number address or field that is written as the leftmost single value in conventional hexadecimal or binary notation N N C contact normally closed contact A relay contact pair that is closed when the relay coil is de energized and open when the coil is energized N O contact normally open contact A relay contact pair that is open when the relay coil is de energized and closed when the coil is energized NEMA National Electrical Manufacturers Association n
87. er Controllers for Step Action the Island 1 Click on the Configuration tab to display the Configuration menu Select the Master Controller option 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 This is the amount of time allocated to any master controller The default setting is 60000 ms 1 min 5 Type a value in ms for the holdup time The default setting is 1000 ms 1 sec The valid values are e values in the range 300 120 000 ms e avalue of 0 ms signifiying indefinite hold up time Note You must enter the holdup value via the web page 6 Click on the Save button to store information about the master controller in the STB NIP 2212 s Flash memory and in RAM Sample Master A sample Master Controller web page is shown in the following figure Controller Web Page EJ Telemecanique STB NIP 2212 STANDARD R ame No ame IP 3 Home Help Properties Master1 IP Master2 IP 139 158 12 89 Master3 IP 139 158 12 30 Reservation Time go000 ms Valid Range is 0 120000 Holayy Time f 000 ms Valid Range is O indefinite 300 120000 Schneider Electric Inc 1998 2003 78 890USE17700 April 2004 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
88. ese blocks that data is accessible to the fieldbus master as inputs Data written by the fieldbus master as outputs is stored in a different reserved block of registers that the HMI panel can read Advantys STB supports the ability of an HMI panel to act as e an input device which writes data to the island s data image that is read by the fieldbus master e an output device which can read data written by the fieldbus master to the island s data image e acombined I O device Input data to the fieldbus master can be generated by the HMI panel Input controls on an HMI panel might be elements such as e push buttons e switches e a data entry keypad To use an HMI panel as an input device on the island you need to enable the HMI to fieldbus master block in the island s data image See The Data Image p 166 and specify the number of registers in this block that you want to use for HMI to fieldbus master data transfers You must use the Advantys configuration software to make these configuration adjustments The HMI to fieldbus master block can comprise up to 512 registers ranging from register 49488 to 49999 Your actual register limit will be dictated by your fieldbus This block follows immediately after the standard input data and I O status process image See Input Data and I O Status Process Image p 169 block registers 45392 through 49487 in the island s data image The HMI panel writes the input data to a specified
89. esu du U eene pu Peu LM ges Rar 45 Auto Addressing wi stands Sisal a cb ep PNEU a dea 46 Auto Configuration lsssseseseee eens 49 Installing the STB XMP 4440 Optional Removable Memory Card 50 Using the STB XMP 4440 Optional Removable Memory Card to Configure the Islatid BUS ix o ori eet tee aes foe as EE CR ROSE ne 53 The RST Button iene p v RD HRRPEUHEEERCE RE CERA 55 RST Functionally ya seart m xu a pu hp UR beat RR ante ER dots aca 56 890USE17700 April 2004 3 Chapter 4 Chapter 5 5 1 5 2 5 3 5 4 5 5 IP Parameters Louer aso ge e osa tu cd Te ua o RAD ee 59 Ata Glance 3 6 ecd E HEU bes ante d ant eu E hei x 59 How the STB NIP 2212 Obtains IP Parameters lille sese 60 The IP Address Assignment Process 000 0c eee eee eee 63 STB NIP 2212 Web Server 20 20c eee ee eee eens 65 Ata Glalice uoti delist eX ne Ne e petes py dede 65 Introduction to the Embedded Web Server 0 cece eee eens 66 At a Glancess sores soe rx EE vides I bei VES VER ETE 66 About the Embedded Web Server 000 ile ele eee 67 Properties Web Page nec deser ore oe aee Rcd ee es 69 Web Server Configuration Options 00 00 c eee 70 Ata Glace tette Leu feta yt base ai tea pts tecta 70 Configuration Web Page cece eet nn 71 Configuring an IP Address for the STB NIP 2212 sslsslsessus 72 Configuring Master Controllers llle 77 Master Config
90. et LAN Refresh Rate The statistics on this page are updated at the rate of one per second Sample Ethernet A sample Ethernet Statistics web page appears in the following figure Statistics Web Page pa reiemecanique STB NIP 2212 STANDARD Role Name STBNIP2212_010 f 205 217 193 953 Properties Configuration Support Security Home Help et Ethernet Statistics 2 00005410ed4d Transmit Speed 10 MB Receive Statistics Transmit Statistics Functioning Errors Receive fe Transmit 762 Missed Packet b Framing Error b Transmit Retry bo Collision Error bo Overflow Error po Lost Carrier bo Transmit Timeout bo CRC Error P Late Colision Memory Error E Receive Buffer Error NN Transmit Buffer Error RN Net Interface Restart Po Silo Underflow p me 1 unique role name for this STB NIP 2212 2 unique IP address for this STB NIP 2212 3 unique MAC address for this STB NIP 2212 4 Ethernet statistics click on the Help button to display a description for each Ethernet statistic 5 Reset button clicking on this button returns all of the counters to 0 890USE17700 April 2004 93 STB NIP 2212 Web Server STB NIP 2212 Registers Web Page Summary Page Design Customized and Common Views Using the Command Buttons Format Feature The NIM Registers web page will display information about specific Modbus registers in the STB NIP 2212 process image The registers to display are ide
91. etwork cycle time The time that a master requires to complete a single scan of all of the configured I O modules on a network device typically expressed in microseconds 890USE17700 April 2004 181 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 0 object dictionary open industrial communication network output filtering output polarity output response time aka object directory Part of the CANopen device model that provides a map to the internal structure of CANopen devices according to CANopen profile DS 401 A device s object dictionary is a lookup table that describes the data types communications objects and application objects the device uses By accessing a particular device s object dictionary through the CANopen fieldbus you can predict its network behavior and build a distributed application A distributed communication network for industrial environments based on open standards EN 50235 EN50254 and EN50170 and others that allows the exchange of data between devices from differe
92. exchange of input and output data between the island and the fieldbus master Input data stored in native island bus format is converted to a fieldbus specific format that can be read by the fieldbus master Output data written to the NIM by the master is sent across the island bus to update the output modules and is automatically reformatted configuration services Custom services can be performed by the Advantys configuration software These services include changing the operating parameters of the I O modules fine tuning island bus performance and configuring reflex actions The Advantys configuration software runs on a computer attached to the NIM s CFG port human machine interface An HMI panel can be configured as an input and or output HMI operations device on the island bus As an input device it can write data that can be received by the fieldbus master as an output device it can receive updated data from the fieldbus master The HMI can also monitor island status data and diagnostic information The HMI panel must be attached to the NIM s CFG port 12 890USE17700 April 2004 Introduction Integrated Power Supply 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 In
93. f 1 in bit 11 is a fatal error It indicates that the error counter in the NIM has reached the warning level and the error status bit has been set A value of 1 in bit 12 indicates that the NIM s error status bit has been reset A value of 1 in bit 13 is a fatal error It indicates a low priority transfer queue software overrun error A value of 1 in bit 14 is a fatal error It indicates a high priority receive queue software overrun error A value of 1 in bit 15 is a fatal error It indicates a high priority transfer queue software overrun error 890USE17700 April 2004 127 Data Exchange Error Reporting Each bit in register 45358 indicates a specific global error condition A value of 1 indicates an error Register 45358 ts 14 18 12 11 t0 9 e 7 6 5 4 3 2 1 0 reserved see 1 see 12 __ see 2 reserved see 3 see 11 see 4 see 10 see 5 seeQ see 6 see 8 see 7 1 Fatal error Because of the severity of the error no further communications are possible on the island bus 2 Module ID error A standard CANopen device is using a module ID reserved for the Advantys STB modules Auto addressing has failed 4 Mandatory module configuration error 5 Process image error either the process image configuration is inconsistent or it could not be set up during auto configuration 6 Auto configuration error a m
94. ft dry cloth Failure to follow this precaution can result in injury or equipment damage 50 890USE17700 April 2004 Configuring the Island Bus Installing the Card Use the following procedure to install the card Step Action 1 Punch out the removable memory card from the plastic card on which it is shipped amp removable memory card Make sure that the edges of the card are smooth after you punch it out 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 Align the chamfered edge the 45 corner of the removable memory card with the one in the mounting slot in the card drawer Hold the card so that the chamfer is in the upper left corner N Seat the card in the mounting slot applying slight pressure to the card until it snaps into place The back edge of the card must be flush with the back of the drawer Close the drawer 890USE17700 April 2004 51 Configuring the Island Bus Removing the Use the following procedure to remove the card from the card drawer As a handling Card precaution avoid touching the circuitry on the removable memory card during its removal Step Action 1 Open the card drawer Push the removable memory card out of the drawer through the round opening at the back Use a soft but firm obje
95. g a Role Name 82 70 890USE17700 April 2004 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 The Configuration menu appears in the following figure Configuration Options L Telemecanique STB NIP 2212 STANDARD Role Name No Rolename IP 139 158 13 Home Help Properties Support Security Diagnostics Configured IP Configure SNMP Master Controller Master Configurator Role Name Reboot Schneider Electric Inc 1998 2003 Accessing the Use step 1 in the following procedure to access the Configuration menu Then use Configuration step 2 to navigate to the specific web page for the configuration option Menu Step Action Result 1 Click on the Configuration tab The Configuration menu is displayed 2 Click on the option that you want to use The web page for the configuration e g Master Configurator See Master option that you selected is displayed Configurator Web Page p 79 890USE17700 April 2004 71 STB NIP 2212 Web Server Configuring an IP Address for the STB NIP 2212 Introduction Sample Configured IP Web Page DTrsemecanique Properties To communicate as a node on the Internet the fieldbus Ethernet port on the STB NIP 2212
96. gic Boolean value digital output integer compare Boolean value digital output counter 16 bit word first block in a nested reflex action timer Boolean value digital output digital latch Boolean value digital output analog latch 16 bit word analog output The result from a block is usually mapped to an individual channel on an output module Depending on the type of result that the block produces this action module may be an analog channel or a digital channel When the result is mapped to a digital or analog output channel that channel becomes dedicated to the reflex action and can no longer use data from the fieldbus master to update its field device The exception is when a reflex block is the first of two actions in a nested reflex action 158 890USE17700 April 2004 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 This may mean that in some cases you will need to choose an action module for the first result that does not seem to be appropriate according to the table above For example say
97. gister in the input data and I O status block Echo output data registers are essentially copies of the register values that appear in the output data process image This data is usually not of much interest but it can be useful in the event that a digital output channel has been configured for a reflex action In this case the fieldbus master can see the bit value in the echo output data register even though the output channel is being updated inside the island bus e Each analog output module uses two registers in the input data and I O status block to report status Status in an analog output channel is usually represented by a series of status bits that report the presence or absence of an out of range value in a channel Analog output modules do not report data in this block A detailed view of how the registers in the input data and I O status block are implemented is shown in the process image example 890USE17700 April 2004 169 Advanced Configuration Features The HMI Blocks in the Island Data Image Summary HMI Panel Configuration HMI Input Data Exchange 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 When an HMI panel writes to one of th
98. guration data in Flash memory after you add an I O module to a previously auto configured island bus Because this procedure will overwrite the configuration data you may want to save your existing island configuration data to a removable memory card before pushing the RST button Step Action 1 If you have a removable memory card installed remove it See Removing the Card p 52 Ensure that your island is in edit mode Hold the RST button See The RST Button p 55 down for at least two seconds The NIM reconfigures the island bus with default parameters as follows Stage Description 1 The NIM auto addresses See Auto Adaressing p 46 the I O modules on the island and derives their factory default configuration values 2 The NIM overwrites the current configuration in Flash memory with configuration data that uses the factory default values for the I O modules 3 It resets the communication parameters on its CFG port to their factory default values See Port Parameters p 33 4 It re initializes the island bus and brings it into operational mode 890USE17700 April 2004 57 Configuring the Island Bus 58 890USE17700 April 2004 IP Parameters At a Glance Introduction What s in this Chapter The information in this chapter describes how IP parameters are assigned to the STB NIP 2212 This chapter contains the following to
99. h SNMP agent s IP address profilelPGateway 17 default gateway IP address for the SNMP agent profileMacAddress 18 Ethernet media dependent address ofthe SNMP agent 890USE17700 April 2004 113 STB NIP 2212 Web Server 114 890USE17700 April 2004 Data Exchange 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 What s in this This chapter contains the following topics 2 Chapter Topic Page Data Exchange with the STB NIP 2212 116 Reading Diagnostic Data 125 Modbus Commands Supported by the STB NIP 2212 134 Modbus Error Codes 137 890USE17700 April 2004 115 Data Exchange Data Exchange with the STB NIP 2212 Introduction Master Devices Modbus over TCP IP Communications Data Exchange Process 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 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 The Ethernet port on the STB NIP 2212 is configured as follows e Port 502 SAP Modbus over TCP IP e Port 80 SA
100. he CFG port See The CFG Interface p 33 on the NIM and launch the software 2 Download the configuration data that you want to save from the configuration software to the NIM Then use one of the following commands from the configuration software s Online menu Tosave to the NIM s Flash memory use the store to Flash command To save to a removable memory card first install the card See Installing the Card p 51 in the host NIM then use the store to removable memory card command 890USE17700 April 2004 163 Advanced Configuration Features Protecting Configuration Data Introduction Protection Feature Password Characteristics 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 If a configuration is protected access to it is restricted in the following ways e Anunauthorized user is unable to overwrite the current configuration data in Flash memory e The presence of a removable memory card See nstalling the STB XMP 4440 Optional Removable Memory Card p 50 is ignored The configuration data currently stored in Flash cannot be overwritten by data on the card e The RST button See T
101. he RST Button p 55 is disabled and pushing it has no effect on island bus operations The island runs normally when it is in protected mode All users have the ability to monitor read the activity on the island bus A password must meet the following criteria e t must be between 0 and 6 characters in length e Only alphanumeric ASCII characters are permitted e The password is case sensitive If password protection is enabled your password is saved to Flash memory or to a removable memory card when you save the configuration data Note A protected configuration is inaccessible to anyone who does not know the password Your system administrator is responsible for keeping track of the password and the list of authorized users If the assigned password is lost or forgotten you will be unable to change the island s configuration If the password is lost and you need to reconfigure the island you will need to perform a destructive reflash of the NIM This procedure is described on the Advantys STB product Web site at www schneiderautomation com 164 890USE17700 April 2004 Advanced Configuration Features A Modbus View of the Island s Data Image Summary Modbus Registers and Their Bit Structure 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 o
102. he same type 48 890USE17700 April 2004 Configuring the Island Bus Auto Configuration Introduction About Auto Configuration Customizing a Configuration 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 Note A valid island configuration does not require the intervention of the optional Advantys configuration software Auto configuration occurs when e You power up an island for the first time e You push the RST button See The RST Button p 55 As part of the auto configuration process the NIM checks each module and confirms that it has been properly connected to the island bus The NIM stores the default operating parameters for each module in Flash memory You can customize the operating parameters of the I O modules create reflex actions add preferred modules and or CANopen standard devices to the island bus and customize other island capabilities 890USE17700 April 2004 49 Configuring the Island Bus Installing the STB XMP 4440 Optional Removable Memory Card Introduction Physical Description
103. he same voltage group Ww watchdog timer A timer that monitors a cyclical process and is cleared at the conclusion of each cycle If the watchdog runs past its programmed time period it generates a fault 188 890USE17700 April 2004 Index Numerics 10Base T 26 802 3 standard 21 27 42 A ABL7 RE2403 Telefast 24 VDC power supply 41 action module 158 addressable module 17 46 47 118 143 Advantys configuration software 20 33 79 90 116 135 148 150 153 155 157 159 163 164 167 169 auto addressing 17 46 57 auto configuration and reset 49 56 57 defined 49 initial configuration 49 baud CFG port 33 56 fieldbus interface 56 BootP server 29 60 62 64 C Category 5 CAT5 cabling 27 42 CFG port devices connecting to 12 33 34 master configurator 79 parameters 33 57 physical description 33 community names 104 105 configurable parameters 150 configuration data restoring default settings 33 53 57 saving 53 57 Configuration menu 71 configuration password 67 89 90 connection management for Modbus clients 21 custom configuration 49 50 53 56 153 163 164 customer support 68 D data exchange 12 31 46 93 116 117 148 170 171 data image 117 166 168 170 data size 152 default IP address 61 62 64 73 75 DHCP server 29 60 62 64 diagnostics block in the process image 125 island communications 126 Diagnostics menu 92 8
104. ications with the PLC are lost e loss of island bus communications There is an internal island bus communications error indicated by a missing heartbeat message from either the NIM or a module e change of operating state The NIM may command the island I O modules to switch from a running to a non running stopped or reset state e missing or failed mandatory module The NIM detects the absence or failure of a mandatory island module Note If a mandatory or any other module fails it needs to be replaced The module itself does not go into its fallback state In all of these fallback scenarios the NIM disables the heartbeat message Heartbeat The Advantys STB system relies on a heartbeat message to ensure the integrity and Message continuity of communications between the NIM and the island modules The health of island modules and the overall integrity of the Advantys STB system are monitored through the transmission and reception of these periodic island bus messages Because island I O modules are configured to monitor the NIM s heartbeat message output modules will go into their fallback states if they do not receive a heartbeat message from the NIM within the defined interval 890USE17700 April 2004 161 Advanced Configuration Features Fallback States for Reflex Functions Configured Fallback Fallback Parameters Only an output module channel to which the result of a reflex action See What I
105. igital output module as the first output module on your island bus Output 1 is on and output 2 is off This information would be reported in the first register in the output data process image and it would look like this register 40001 output data 15 14 13 12 1 to e 8 7 6 4 s 2 o where e Normally a value of 1 in bit O indicates that output 1 is on e Normally a value of 0 in bit 1 indicates that output 2 is off e The remaining bits in the register are not used Some output modules such as the one in the example above utilize a single data register Others may require multiple registers An analog output module for example would use separate registers to represent the values for each channel and might use the 11 or 12 most significant bits to display analog values in IEC format Registers are allocated to output modules in the output data block according to their addresses on the island bus Register 40001 always contains the data for the first output module on the island the output module closest to the NIM ol L 1 0 always 0 Note The requirements of each output module in the Advantys STB family are described in the Advantys STB Hardware Components Reference Guide 890 USE 172 A detailed view of how the registers are implemented in the output data block is shown in the process image example 168 890USE17700 April 2
106. il 2004 27 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 The two rotary switches are positioned one above the other on the front of the Description STB NIP 2212 The upper switch represents the tens digit and the lower switch represents the ones digit ROLE NAME 15 0 4 2 3 28 890USE17700 April 2004 The STB NIP 2212 NIM Summary of Each rotary switch position that you can use to set a valid IP address is marked on Valid IP Address the STB NIP 2212 housing See Physical Description p 28 The following Settings information summarizes the valid address settings e For a switch set role name select a numeric value from 00 to 159 You can use both switches e On the upper switch tens digit the available settings are 0 to 15 e Onthe lower switch ones digit the available settings are O to 9 The numeric setting is appended to the STB NIP 2212 part number e g STBNIP2212 123 and a DHCP server assigns it an IP address e For a BootP served IP address See Server Assigned IP Addresses p 62 select either of the two BOOTP positions on the bottom switch e f you set the bottom switch to either of the two INTERNAL positions the IP address will be a
107. ions are located 24 890USE17700 April 2004 The STB NIP 2212 NIM The physical features of the STB NIP 2212 are described briefly in the following table 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 MAC ID 48 bit unique network ID hard coded in the STB NIP 2212 when manufactured upper rotary switch lower rotary switch The rotary switches See Physical Description p 28 used together specify a role name for the STB NIP 2212 Alternatively the lower rotary switch can be used to direct the STB NIP 2212 to use its MAC based default IP address See Summary of Valid IP Address Settings p 29 or to obtain its IP parameters from a BootP server or from the STB NIP 2212 web site See About the Embedded Web Server p 67 space provided to record IP address Write the IP address that you assign to this STB NIP 2212 here power supply interface A two pin connector used to connect an external 24 VDC power supply See Selecting a Source Power Supply for the Island s Logic Power Bus p 39 to the NIM LED array Colored LEDs See LED Indicators p 30 use various patterns to visually indicate the operational status of the island bus activity on the NIM and the status of communications to the island over the Ethernet LAN removable memory card dr
108. le name is assigned the IP address for the STB NIP 2212 is always associated with it You will not be able to assign a configured IP See Customer Configured IP Adaress p 62 or the default IP address See Deriving an IP Adaress from a Media Access Control MAC Adaress p 61 unless you remove the role name first Sample A sample Role Name web page is shown below Role Name Web Page Li Teemecanique STB NIP 2212 STANDARD Role Name STBNIP2212 010 IP 205 217 193 95 Home Help Properties Support Security Diagnostics Role Name Role Name STBNIP2212_010 Save Reset Schneider Eleciric Inc 1998 2003 82 890USE17700 April 2004 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 Action Comment 1 Setthe lower rotary switch to an INTERNAL position See Physical Description p 28 and power cycle the STB NIP 2212 Open the STB NIP 2212 web site 3 Click on the Configuration tab to display the Configuration menu Select the Role Name option Type or overtype the numeric part ofthe The default role name is role name with three numeric values You STBNIP2212 000 can use any numbers in the range 00 to 159 that are not already in use on the same Ethernet LAN 6 Clickon the Save button to save your role The role name will appear in the banner name to the Flash memory a
109. le on the island bus 152 890USE17700 April 2004 Advanced Configuration Features Configuring Mandatory Modules Summary Specifying Mandatory Modules Effects on Island Bus Operations 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 Note The Advantys configuration software is required if you want to designate an I O module or a preferred device as a mandatory module By default the Advantys STB I O modules are in a non mandatory standard state Mandatory status is enabled by clicking on the mandatory checkbox on a module or preferred device s parameters property sheet Depending on your application any number of modules that your island will support can be designated as mandatory modules The following table describes the conditions under which mandatory modules affect island bus operations and the NIM s response Condition Response A mandatory module fails during The NIM stops the island bus The island enters fallback normal island bus operations mode See sland Fallback Scenarios p 161 O modules and preferred devices assume their fallback values You attempt to hot swap
110. lect the Configured IP option 6 In the IP address field type the IP address that you want to use in dotted decimal format 7 Click onthe Save button to save the address If the address is valid it will appear in to Flash memory and in RAM the banner at the top of each STB NIP 2212 web page Note The LAN ST LED See Ethernet Communications LEDs p 31 on the NIM blinks four times if the IP address is a duplicate 8 Clickonthe Configuration tab to return to the Configuration menu 9 Select the Reboot option See About the Reboot Option p 76 10 Atthe Reboot now prompt click on the OK button 11 Click on the OK button at the confirmation Your STB NIP 2212 restarts The prompt Are you sure IP address that you set up on the web is the active IP address for the island 74 890USE17700 April 2004 STB NIP 2212 Web Server Restoring Use the following procedure to reconfigure the STB NIP 2212 with its default Default IP parameters See Deriving an IP Address from a Media Access Control MAC Parameters from Address p 61 from the web Note Your STB NIP 2212 cannot have a role name Ange 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 The Configured IP web page See Sample Configured IP Web Page p 72 opens 4 Click on the Default button The IP address parameters are re
111. lock with three inputs enable timer trigger time unit x terminal count result reset The trigger input starts the timer at 0 and accumulates time units of 1 10 100 or 1000 ms for a specified number of counts The reset input causes the timer accumulator to be reset An input to a block may be a Boolean value a word value or a constant depending on the type of reflex action it is performing The enable input is either a Boolean or a constant always enabled value The operational input to an block such as a digital latch must always be a Boolean whereas the operational input to an analog latch must always be a 16 bit word You will need to configure a source for the block s input values An input value may come from an I O module on the island or from the fieldbus master via a virtual module in the NIM Note All inputs to a reflex block are sent on a change of state basis After a change of state event has occurred the system imposes a 10 ms delay before it accepts another change of state input update This feature is provided to minimize jitter in the system 890USE17700 April 2004 157 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 Generally the result is mapped to an action module as shown in the following table Reflex Action Result Action Module Type Boolean lo
112. lt in injury or equipment damage 890USE17700 April 2004 37 The STB NIP 2212 NIM Logic Power Flow Island Bus Loads The figure below shows how the NIM s integrated power supply generates logic power and sends it across the primary segment 24 VDC The figure below shows how the 24 VDC signal is distributed to an extension segment across the island 24 VDC The logic power signal is terminated in the STB XBE 1000 module at the end of the segment EOS The built in power supply produces 1 2 A of current for the island bus Individual STB 1 O modules generally draw a current load of between 50 and 90 mA Consult the Advantys STB Hardware Components Reference Guide B90 USE 172 00 fora particular module s specifications If the current drawn by the I O modules totals more than 1 2 A additional STB power supplies need to be installed to support the load 38 890USE17700 April 2004 The STB NIP 2212 NIM Selecting a Source Power Supply for the Island s Logic Power Bus Logic Power Requirements Characteristics of the External Power Supply 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 p
113. ltage error L under voltage warning under voltage error STB AVO 1250 channel 1 status 15 14 18 12 11 fro 9 8 JODE 3 2 o all Os register 45409 global status __ presence absence of a PDM short L over voltage warning over voltage error __ under voltage warning under voltage error STB AVO 1250 channel 2 status 15 jia ss 2 03 fio 9 8 7 e 5 4 3 2 0 all Os global status _ presence absence of a PDM short over voltage warning over voltage error under voltage warning L under voltage error 124 890USE17700 April 2004 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 135 to read and write diagnostic data to specific registers in the diagnostic block of the process image Note An HMI panel or a device running
114. ltiple Access with Collision Detect CSMA CD An STB NIP 2212 island node resides on a baseband network with a transmission rate of 10 Mbit s The STB NIP 2212 supports both Ethernet Il and IEEE 802 3 frame formats Ethernet II is the default frame type The STB NIP 2212 limits the number of Modbus client connections to 32 If a request for a new connection is received and the number of existing connections is at the limit the oldest unused connection is closed 890USE17700 April 2004 21 Introduction 22 890USE17700 April 2004 The STB NIP 2212 NIM 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 What s in this This chapter contains the following topics Chapter Topic Page External Features of the STB NIP 2212 24 STB NIP 2212 Network Interface 26 Rotary Switches 28 LED Indicators 30 The CFG Interface 33 The Power Supply Interface 35 Logic Power 37 Selecting a Source Power Supply for the Island s Logic Power Bus 39 Module Specifications 42 890USE17700 April 2004 23 The STB NIP 2212 NIM External Features of the STB NIP 2212 Summary of The following figure indicates where the physical features critical to STB NIP 2212 Features NIM operat
115. ly the most recent internal settings to the NIM Schneider Electric Inc 1998 2003 Deleting a Role You must delete a role name before you can assign a configured IP address or the Name 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 Open the STB NIP 2212 web site Click on the Configuration tab to display the Configuration menu Select the Role Name option Highlight the role name to select it Then press the Delete key on your keyboard Click on the Save button Note The role name is deleted from Flash memory O a HR oO rm 84 890USE17700 April 2004 STB NIP 2212 Web Server 5 3 Web Server Security At a Glance Introduction What s in this Section 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 This section contains the following topics Topic Page Web Access Password Protection 86 Configuration Password Protection 89 890USE17700 April 2004 85 STB NIP 2212 Web Server Web Access Password Protection Summary Default User The STB NIP 2212 web site is password protected Initially security for the STB NIP 2212 web site is provide
116. m 4 941 in depth 70 mm 2 756 in interface and connectors to the Ethernet LAN RJ 45 female connector CAT5 STP UTP twisted pair electrical cable s RS 232 See Physical Description p 33 port for device running the Advantys configuration software or an HMI panel See The HMI Blocks in the Island Data Image p 170 eight pin connector HE 13 to the external 24 VDC power supply two pin connector See The Power Supply Interface p 35 built in power supply input voltage 24 VDC nominal input power range 19 2 30 VDC internal current supply 400 mA 24 VDC consumptive output voltage to the island bus 5 VDC nominal 2 variation due to temperature drift intolerance or line regulation 1 load regulation lt 50 mQ output impedance up to 100 kHz output current rating 1 2 A 5 VDC isolation no internal isolation Isolation must be provided by an external 24 VDC source power supply which must be SELV rated addressable modules supported per segment 16 maximum per island 32 maximum 42 890USE17700 April 2004 The STB NIP 2212 NIM General Specifications segments primary required one supported extension optional six maximum standards Ethernet conformance IEEE 802 3 Transparent Ready B20 implementation classification HTTP Port 80 SAP SNMP Port 161 SAP Modbu
117. m wide and 128 25 mm high An I O module design that combines a small number of channels usually between two and six in a small package The idea is to allow a system developer to purchase just the right amount of I O and to be able to distribute it around the machine in an efficient mechatronics way state management message periodic services The applications and network management services used for process control data exchange error reporting and device status notification on a Fipio network simple network management protocol The UDP IP standard protocol used to manage nodes on an IP network A circuit generally used to suppress inductive loads it consists of a resistor in series with a capacitor in the case of an RC snubber and or a metal oxide varistor placed across the AC load A load with a current directed into its input must be driven by a current source Any of a subset of Advantys STB input output modules designed at a moderate cost to operate with user configurable parameters A standard I O module may be reconfigured with the Advantys configuration software and in most cases may be used in reflex actions An Advantys STB network interface module designed at moderate cost to support the configuration capabilities multi segment design and throughput capacity suitable for most standard applications on the island bus An island run by a standard NIM can support up to 32 addressable Advantys STB and or preferred I O
118. 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 All rights reserved Copyright 2004 All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to assure compliance with documented system data only the manufacturer should perform repairs to components When controllers are used for applications with technical safety requirements please follow the relevant instructions Failure to use Schneider Electric software or approved software with our hardware products may result in injury harm or improper operating results Failure to observe this product related warning can result in injury or equipment damage We welcome your comments about this document You can reach us by e mail at TECHCOMM modicon com 10 890USE17700 April 2004 Introduction At a Glance Introduction What s in this Chapter 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 This chapter contains the following topics
119. mes that are bound for remote networks after the subnet mask compare frame type Data format used by a protocol For example the STB NIP 2212 can use either the Ethernet Il or the IEEE 802 3 frame format Ethernet II is the default Note The IP address for the STB NIP 2212 is written in dotted decimal format Thefollowing table describes how to use the command buttons on the Configured IP web page To Click on Display the IP address stored in Flash memory Reset Display the MAC based derived default IP address Default Save the IP address displayed on the Configured IP web page Save Configure the STB NIP 2212 with the IP address displayed on the Reboot Configured IP web page 890USE17700 April 2004 73 STB NIP 2212 Web Server Assigning a Use the following procedure to configure an IP address for the STB NIP 2212 Note Configured Your STB NIP 2212 cannot have a role name IP Address to the STB NIP 2212 Step Action Comment 1 Setthe 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 page See Configuring a Role Name p 82 Open the STB NIP 2212 web site 4 Click on the Configuration tab to display the Configuration menu Se
120. module currently assembled on the island bus The modules are listed in order of their assembly starting with the STB NIP 2212 A sample Island Configuration web page appears in the following figure STB NIP 2212 STANDARD Role Name No Rolename IP 17 19 Properties Configuration Support Security Island Configuration STB NIP 2212 STB NIP 2212 STANDARD Running STB DDI 3420 24VDC IN 4pt sink 3wire 1ms cfg SCP perational STB DDO 3600 24VDC OUT Bpt source 54 perational STB DDI 3610 24VDC IN Bpt sink 2wire 1ms fixed Operational STB DDO 3600 24VDC OUT Bpt source 54 Operational STB DDI 3610 24VDC IN Bpt sink 2wire 1ms fixed perational STB DDO 3600 24VDC OUT 6pt source 54 Operational STB DDI 3610 24VDC IN Bpt sink 2wire 1ms fixed perational STB DDI 3610 24VDC IN Bpt sink 2wire 1ms fixed Operational STB DDI 3610 24VDC IN 6pt sink 2wire 1ms fixed Operational STB DDI 3610 24VDC IN Bpt sink 2wire 1ms fixed perational Schneider Electric Inc 61998 2003 Home Help 98 890USE17700 April 2004 STB NIP 2212 Web Server Island Parameters Web Page Sample Island Parameters Web Page CTrenecsnique The Island Parameters web page displays a read only list of the island s parameters and their current values A sample web page appears in the following figure STB NIP 2212 STANDARD Role Name No Rolename IP 139 Properties Configuration Suppo
121. module is not operating either because it has a fault or because it has not been configured The first two registers shown below provide the 32 bits that represent the module locations available in a typical island configuration The remaining six registers 45385 through 45390 are available to support the island s expansion capabilities Register 45383 15 14 13 12 11 10 9 8 6 5 4 3 2 1 0 module 16 L module 1 module 15 module 2 module 14 __ module 3 module 18 module 4 module 12 module 5 module 11 module 6 module 10 module 7 module 9 module 8 Register 45384 15 14 13 12 11 10 9 8 6 5 4 3 2 1 0 module 32 L module 17 module 31 module 18 module 30 L module 19 module 29 module 20 module 28 module 21 module 27 L module 22 module 26 module 23 module 25 module 24 132 890USE17700 April 2004 Data Exchange STB NIP 2212 Status Register 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 The low byte is reserved for the particular use of each specific NIM Registe
122. modules have the following island bus addresses 1 0 Model Module Type Module s Island Bus Address STB DDI 3230 two channel digital input N1 STB DDO 3200 two channel digital output N2 STB DDI 3420 four channel digital input N3 STB DDO 3410 four channel digital output N4 STB DDI 3610 six channel digital input N5 STB DDO 3600 six channel digital output N6 STB AVI 1270 two channel analog input N7 STB AVO 1250 two channel analog output N8 The PDM and the termination plate are not addressable See Addressable Modules p 46 so they exchange neither data objects nor status objects with the fieldbus master 118 890USE17700 April 2004 Data Exchange The Output Data The output data process image contains the data written to the island from the Process Image 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 Therefore a total of five registers registers 40001 through 40005 are needed to accommodate the four output modules in the sample island bus assembly register 40001 STB DDO 3200 data 15 14 io i2
123. nal communications database in which each object that SNMP accesses is listed with a unique name and its definition Both SNMP manager and agent applications access the MIB Each MIB contains a finite number of objects A management station PC running an SNMP application uses sets See Fields on the Configure SNMP Web Page p 105 and gets See Fields on the Configure SNMP Web Page p 105 to set system variables and to retrieve system information Schneider Electric has a private MIB Groupe_Schneider 3833 3833 is a private enterprise number PEN assigned to Groupe_Schneider by the Internet Assigned Numbers Authority IANA The number represents a unique object identifier OID for Groupe_Schneider The OID for the root of the Groupe Schneider subtree is 1 3 6 1 4 1 3833 This OID represents a path to the TFE subtree as follows ISO 1 Org 3 DOD 6 Internet 1 Private 4 Enterprise 1 Groupe Schneider 3833 Transparent Factory Ethernet 1 890USE17700 April 2004 107 STB NIP 2212 Web Server Transparent Under the Groupe Schneider MIB is a Transparent Factory Ethernet TFE private Factory Ethernet MIB that is controlled by the TFE SNMP embedded component All SNMP TFE Subtree managers that communicate with an Advantys STB island via an SNMP agent use the object names and definitions exactly as they appear in the TFE private MIB Groupe Schneider 3833 Transparent Factory Ethernet 1 Switch 1 Port5
124. nd in RAM at the top of each STB NIP 2212 web page Note Saving the role name however does not configure the STB NIP 2212 with it You must reboot the STB NIP 2212 see step 8 to configure it with a role name and to have a DHCP server assign an IP address See Server Assigned IP Addresses p 62 7 Click on the Configuration tab to return to the Configuration menu 8 Select the Reboot option See About the Reboot Option p 84 9 Atthe Reboot now prompt click on the OK button 10 Click on the OK button at the confirmation Your STB NIP 2212 restarts It is prompt Are you sure configured with the role name and an IP address 890USE17700 April 2004 83 STB NIP 2212 Web Server About the The reboot operation will configure the STB NIP 2212 with a role name assigned on Reboot Option the web Information about the reboot operation appears in the following figure Li Telemecanique STB NIP 2212 STANDARD Role Name No me IP 139 15 113 Home Help Properties Support Security D Reboot Reboot causes the STBNIP2212 NIM to become non operational temporarily during the reboot process Reboot does not read the rotary switch settings It assumes that the settings that were applied at initial power up are still valid and applies these settings to the STBNIP2212 Network Interface Module If the rotary switches were set to look at an internal IP or role name setting reboot will app
125. ng 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 web pages access 71 92 Change Configuration Password 89 Change Web Access Password 87 Configure SNMP 105 106 Configured IP 62 72 74 Error Log 100 Ethernet Statistics 93 I O Data Values 97 Island Configuration 98 Island Parameters 99 login 89 90 Master Configurator 80 81 Master Controller 77 78 navigation 71 92 NIM Registers 95 Properties 69 Reboot 76 84 Role Name 62 82 890USE17700 April 2004 193 Index 194 890USE17700 April 2004
126. nge 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 A digital I O module uses two contiguous registers e Digital input modules use one register to report data and the next to report status e Digital output modules use one register to report echo output data and the next to report status Note The value in an echo output data register is basically a copy of the value written to the corresponding register in the output data process image area See The Output Data Process Image p 119 Generally the fieldbus master writes this value to the NIM and the echo is of not much interest If an output channel is configured to perform a reflex action See What Is a Reflex Action p 156 however the echo register provides a location where the fieldbus master can view the current value of the output The analog input module uses four contiguous registers e the first register to report the data for channel 1 e the second register to report status for channel 1 e the third register to report
127. nsor turns on The time it takes for an input channel to receive a signal from the field sensor and put it on the island bus INTERBUS The INTERBUS fieldbus protocol observes a master slave network model with an protocol active ring topology having all devices integrated in a closed transmission path IP internet protocol That part of the TCP IP protocol family that tracks the internet addresses of nodes routes outgoing messages and recognizes incoming messages L LAN local area network A short distance data communications network light industrial An Advantys STB I O module designed at a low cost for less rigorous e g yo intermittent low duty cycle operating environments Modules of this type operate in lower temperature ranges with lower qualification and agency requirements and limited on board protection they usually have limited or no user configuration options linearity A measure of how closely a characteristic follows a straight line function LSB least significant bit least significant byte The part of a number address or field that is written as the rightmost single value in conventional hexadecimal or binary notation 180 890USE17700 April 2004 Glossary MAC address mandatory module master slave model 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 When an Advantys STB I O module is configur
128. nt manufacturers The amount that it takes an output channel to send change of state information to an actuator after the output module has received updated data from the NIM An output channel s polarity determines when the output module turns its field actuator on and when it turns the actuator off If the polarity is normal an output channel will turn its actuator on when the master controller sends it a 1 If the polarity is reverse an output channel will turn its actuator on when the master controller sends it a 0 The time it takes for an output module to take an output signal from the island bus and send it to its field actuator parameterize To supply the required value for an attribute of a device at run time 182 890USE17700 April 2004 Glossary PDM PDO PE peer to peer communications PLC preferred module premium network interface prioritization process I O power distribution module 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 process data object In CAN based networks PDOs are transmitted as unconfirmed broadcast messages or sent from a producer device to a consumer device The transmit PDO from
129. nterface is a front accessible RS 232 interface located behind a hinged flap on the bottom front of the NIM gt A The port uses a male eight pin HE 13 connector The CFG port supports the set of communication parameters listed in the following table If you want to apply any settings other than the factory default values you must use the Advantys configuration software Parameter Valid Values Factory Default Settings bit rate baud 2400 4800 9600 19200 9600 38400 57600 data bits 7 8 8 stop bits 1 2 1 parity none odd even even Modbus communications mode RTU ASCII RTU Note To restore all of the CFG port s communication parameters to their factory default settings push the RST button See The RST Button p 55 on the NIM Be aware however that this action will overwrite all of the island s current configuration values with factory default values You can also password protect a configuration thereby putting the island in protected mode See Protecting Configuration Data p 164 If you do this however the RST button will be disabled and you will not be able to use it to reset the port parameters 890USE17700 April 2004 33 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 ta
130. ntified by their Modbus register addresses 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 The NIM Registers web page is designed to provide a customized but common view of the STB NIP 2212 process image to everyone viewing the web page e Custom view By supplying a personal variable name maximum 10 characters and an actual Modbus register location See The Data Image p 166 you can customize this page to show the data that is most important to you e Common view However only one view of the NIM Registers can be saved to Flash memory After the display on the NIM Registers web page is written to Flash memory by clicking on the Save button on the page the display on this web page is fixed providing a common view The following table describes how to use the command buttons on the NIM Registers web page To Click on the add a row to the display Add button delete one or more row s from the display checkbox in front of each row that you want to delete then click on the Delete button save the NIM registers information from the web page to Flash memory Note This operation will overwrite the save space in Flash memory with the NIM registers data displayed on the web page Save button
131. odule is not in its configured location and the NIM cannot complete auto configuration 7 An island bus management error was detected by the NIM 8 Assignment error the initialization process in the NIM has detected a module assignment error 9 Internal triggering protocol error 10 Module data length error 11 Module configuration error 12 Timeout error 128 890USE17700 April 2004 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 e A value of 1 in a bit indicates that a module has been configured for the associated location e A value of 0 in a bit indicates that a module has not been configured for the associated location The first two registers shown below provide the 32 bits that represent the module locations available in a typical island configuration The remaining six registers 45361 through 45366 are available to support the island s expansion capabilities Register 45359 15 14 13 t2 1110 9 8 7 e 5 4 ajeji 0 location 16 L location 1 location 15 __ location 2 location 14 L loc
132. om any other device during its reservation time To pre assign one or more up to three master controllers for the STB NIP 2212 identify them by their IP addresses Field Name Description Master x ID The unique IP address See How the STB NIP 2212 Obtains IP Parameters p 60 for a master controller reservation The amount of time in ms allocated to a master controller for writing to the time STB NIP 2212 Other controllers attempting to write to the STB NIP 2212 while the master is connected will receive an error message The default reservation time is 60 000 1 min Each time the master writes to the NIM the reservation time is reset to 60 000 holdup time The amount of time in ms that output modules will hold their current state without an update by a Modbus write command See List of Supported Commands p 135 When the module hold up time out expires the outputs will be driven to their defined fallback states See sland Fallback Scenarios p 161 Note The holdup time must be defined via the Master Controller web page Holdup time out parameters and values are stored in nonvolatile Flash memory f you do not enter an IP address then write access to the NIM will be obtained by the first master that writes to it 890USE17700 April 2004 77 STB NIP 2212 Web Server Setting Up Use the following procedure to configure a master controller for the STB NIP 2212 Mast
133. on About the Island 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 An island bus address is a unique integer value in the range 0 through 127 that Bus Address identifies the physical location of each addressable module on the island Addresses 0 124 125 and 126 are reserved Address 127 is always the NIM s address Addresses 1 through 123 are available for I O modules and other island devices During initialization the NIM detects the order in which modules are installed and addresses them sequentially from left to right starting with the first addressable module after the NIM No user action is required to address these modules Addressable The following module types require island bus addresses Modules e Advantys STB I O modules e preferred devices e standard CANopen devices Because they do not exchange data on the island bus the following are not addressed e bus extension modules e PDMs such as the STB PDT 3100 and STB PDT 2100 e empty bases e termination plate 46 890USE17700 April 2004 Configuring the Island Bus An Example For example if you have an island bus with eight I O modules pm peg
134. on mechanisms TC TCP telegram TFE Tx thermocouple A TC device is a bimetallic temperature transducer that provides a temperature value by measuring the voltage differential caused by joining together two different metals at different temperatures transmission control protocol A connection oriented transport layer protocol that provides reliable full duplex data transmission TCP is part of the TCP IP suite of protocols A data packet used in serial communication transparent factory Ethernet Schneider Electric s open automation framework based on TCP IP transmission For example in a CAN based network a PDO is described as a TxPDO of the device that transmits it 890USE17700 April 2004 187 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 voltage group A grouping of Advantys STB I O modules all with the same voltage requirement installed directly to the right of the appropriate power distribution module PDM and separated from modules with different voltage requirements Never mix modules with different voltage requirements in t
135. ons available in a typical island configuration The remaining six registers 45377 through 45382 are available to support the island s expansion capabilities Register 45375 15 14 1 12 11 10 9 8 7 6 5 4 3 2 1 o module 16 error module 1 error module 15 error module 2 error module 14 error __ module 3 error module 13 error L module 4 error module 12 error L module 5 error module 11 error L module 6 error module 10 error L module 7 error module 9 error module 8 error Register 45376 15 14 13 12 11 10 9 8 7 6 5 4 s 2 1 0 module 32 error L module 17 error module 31 error L module 18 error module 30 error 1 L module 19 error module 29 error L module 20 error module 28 error L module 21 error module 27 error L module 22 error module 26 error module 23 error module 25 error module 24 error 890USE17700 April 2004 131 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 e A value of 1 in a bit indicates that the associated module is operating and that no faults were detected e A value of 0 in a bit indicates that the associated
136. ord A sample Properties page is shown in the following figure STB NIP 2212 STANDARD ORO Role Name No Rolename IP 135 113 Configuration Support Security Diagnostics Kernel Version Exec Version Web Site HTTP DHCP BootP Modbus Serial THREE Modbus TCP N 1 Schneider Electric Inc 1998 2003 6 1 STB NIP 2212 banner The role name if configured and the IP address in current use display in the web banner 2 Click on the word Home to return to the STB NIP 2212 home page Click on the word Help to display the help text for this web page The network activity icon indicates which communications protocols are active The top light represents HTTP the middle light Modbus and the bottom light FTP If a protocol is active the light representing it is lit For more information drag the mouse over the light Navigation tabs 6 Schneider Electric copyright information 890USE17700 April 2004 69 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 What s in this This section contains the following topics Section Topic Page Configuration Web Page 71 Configuring an IP Address for the STB NIP 2212 72 Configuring Master Controllers 77 Master Configurator Web Page 79 Configurin
137. os STB NIP 2212 specific features including its global connectivity capabilities how to configure an STB NIP 2212 with IP parameters how to connect the STB NIP 2212 to an Ethernet network STB NIP 2212 web based configuration and troubleshooting features e SNMP management services Who Should Use This Manual This manual is intended to support the customer who has installed the Advantys STB island bus on an Ethernet LAN and needs to understand the STB NIP 2212 s local and remote communications capabilities This manual assumes familiarity with the Modbus protocol 890USE17700 April 2004 About the Book Validity Note Related Documents Product Related Warnings User Comments 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 Title of Documentation Reference Number Advantys STB System Planning and Installation Guide 890USE17100 Advantys STB Hardware Components Reference Guide 890USE17200 Advantys STB Configuration Software Quick Start Guide 890USE18000 Advantys STB Reflex Actions Reference Guide 890USE18300 Transparent Factory Network Design and Cabling Guide 490USE13400 Schneider Electric assumes no responsibility for any errors that
138. ount word count 0x002 starting point starting register 0x40004 Response The response is the reply from the device It contains the contents of the registers in which the requested data is located In this case register 40004 contains data 1234 and register 40005 contains data 6789 Description Field Example command Modbus function code 0x003 register count word count 0x002 returned value value of register 40004 0x1234 returned value value of register 40005 0x6789 Reference The x s following the leading character 3 4 represent a four digit Modbus register Descriptions address e 3XXxx Read input registers A 3x reference register contains a 16 bit number received from an external source e g an analog signal 4xxxx Read write output or holding registers A 4x reference register is used to store 16 bits of numerical data binary or decimal or to send the data from the CPU to an output channel 890USE17700 April 2004 147 Connection Example Listof Supported The following table lists the function codes that can be used by Modbus over TCP Function Codes IP masters that communicate with the STB NIP 2212 and Their Modbus Subfunction Hexadecimal Description Descriptions p Function or Subindex Code 3 0x03 read output holding registers 4x 4 0x04 read input registers 3x 6 0x06 write single register 4x 8 su
139. pics Topic Page How the STB NIP 2212 Obtains IP Parameters 60 The IP Address Assignment Process 63 890USE17700 April 2004 59 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 e the MAC based default IP address e assigned by an Internet server e 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 63 for information about how the STB NIP 2212 prioritizes IP address assignment options 890USE17700 April 2004 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 A MAC address is stored in hexadecimal format The numbers in the MAC address must be converted from hexadecimal to decimal notation to derive the default IP address Use the following steps Step Action 1 A MAC address com
140. pio Flash memory FRD P FSD P full scale A safe state to which an Advantys STB I O module can return in the event that its communication connection fails The value that a device assumes during fallback Typically the fallback value is either configurable or the last stored value for the device Fipio extended device profile On a Fipio network the standard device profile type for agents whose data length is more than eight words and equal to or less than thirty two words Fieldbus Interface Protocol FIP An open fieldbus standard and protocol that conforms to the FIP World FIP standard Fipio is designed to provide low level configuration parameterization data exchange and diagnostic services Flash memory is nonvolatile memory that can be overwritten It is stored on a special EEPROM that can be erased and reprogrammed Fipio reduced device profile On a Fipio network the standard device profile type for agents whose data length is two words or less 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 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 890USE17700 April 2004 177 Glossary function block function code A function block performs
141. pressing it has no effect Note Network settings such as the fieldbus baud and the fieldbus node ID remain unaffected CAUTION UNINTENDED EQUIPMENT OPERATION CONFIGURATION DATA OVERWRITTEN RST BUTTON Do not attempt to restart the island by pushing the RST button Pushing the RST button See The RST Button p 55 causes the island bus to reconfigure itself with factory default operating parameters Failure to follow this precaution can result in injury or equipment damage The following scenarios describe some of the ways that you can use the RST function to configure your island e Restore factory default parameters and values to an island including to the I O modules and the CFG port See Port Parameters p 33 e Add a new I O module to a previously auto configured See Auto Configuration p 49 island If a new I O module is added to the island pressing the RST button will force the auto configuration process The updated island configuration data is automatically written to Flash memory 56 890USE17700 April 2004 Configuring the Island Bus Overwriting Flash Memory with Factory Default Values The Role of the NIM in this Process 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 confi
142. prises six pairs of hex values e g 00 00 54 10 01 02 Ignore the first two pairs 00 00 Identify a pair e g 54 Multiply the first number 5 by 16 5 x 16 80 Add the second number 4 80 4 84 Note There are many resources for converting hex numbers to decimal numbers We recommend using the Windows calculator in scientific mode Note If you set the lower rotary switch to either INTERNAL position See Rotary Switches p 28 and no IP parameters have been assigned from the STB NIP 2212 web site the STB NIP 2212 is configured with its derived default address when it is powered on 890USE17700 April 2004 61 IP Parameters MAC Based IP Address Example Server Assigned IP Addresses Role Name Customer Configured IP Address 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 17 so this becomes the default IP address for the example STB NIP 2212 Hex Pair Decimal Conversion 5x 16 80 4 84 10 1x16 16 0 16 2D 2x162324 13 245 D 13 in hex 11 1x16 164 1 17 A server assigned IP address may be obtained from either a BootP or a DHCP server A BootP server must be invoked using either BOOTP position on the lower rotary switch See Physical Description p 28 A DHCP served IP address is associated wi
143. r 45391 high byte all Advantys STB NIMs low byte STB NIP 2212 specific 15 14 13 12 11 10 9 8 7 6 5 4 a 2 1 o see i reserved see 5 A OO N sea reserved see 2 see 3 see 4 Module failure bit 8 is set to 1 if any module on the island bus fails A value of 1 in bit 9 indicates an internal failure at least one global bit was set A bit value of 1 in bit 10 indicates an external failure the problem is on the fieldbus A value of 1 in bit 11 indicates that the configuration is protected the RST button is disabled and the island configuration requires a password to write to it a bit value of 0 indicates that the island configuration is unprotected the RST button is enabled and the configuration is not password protected A value of 1 in bit 12 indicates that the configuration on the removable memory card is invalid Island bus output data master a value of 0 in bit 15 indicates that the fieldbus master device is controlling the output data of the island s process image a bit value of 1 indicates that the Advantys configuration software is controlling the output data of the island s process image 890USE17700 April 2004 133 Data Exchange Modbus Commands Supported by the STB NIP 2212 Introduction Modbus Message Data Frame Modbus is the protocol used by Modicon PL
144. r blocks each dedicated to a specific purpose Registers are16 bit constructs The most significant bit MSB is bit 15 which is displayed as the leftmost bit in the register The least significant bit LSB is bit 0 displayed as the rightmost bit in the register MSB LSB 15 iio io vo 9 8 7 6 s s o o The bits can be used to display operating data or device system status Each register has a unique reference number starting at 40001 The content of each register represented by its 0 1 bit pattern may be dynamic but the register reference and its assignment in the control logic program remain constant 890USE17700 April 2004 165 Advanced Configuration Features The Data Image The 9999 contiguous registers in the Modbus data image start at register 40001 The illustration below shows a graphical representation of the data image and how it is subdivided into nine distinct blocks 40001 AAAH A Block 1 4096 registers 44096 Y 44097 A Block 2 512 registers 44608 UY 44609 p Block 3 512 registers 45120 H y 45121 Block 4 128 registers 45302 Block 5 54 registers 45303 45356 Block 6 l t 54 registers 45357 A 45391 Block 7 3 registers 45392 A Block 8 4096 registers 49487 HHE Y 49488 l Block 9 512 registers 49999 Block 1 output data process image 4096 registers available Block 2 fieldbus master to HMI output ta
145. r equipment damage 890USE17700 April 2004 39 The STB NIP 2212 NIM Calculating the Wattage Requirement 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 For example a system with one NIM in the primary segment and one BOS module in an extension segment would require 26 W of power For example the figure below shows an extended island 24 VDC source power Supe NIM PDM primary segment I O modules BOS module first extension segment I O modules second extension segment I O modules island bus terminator plate ON Da PWD 40 890USE17700 April 2004 The STB NIP 2212 NIM Suggested Devices The extended island bus contains three built in power supplies e the supply built into the NIM which resides in the leftmost location of the primary segment e 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
146. rable Parameters 150 Configuring Mandatory Modules 153 Prioritizing a Module 155 What Is a Reflex Action 156 Island Fallback Scenarios 161 Saving Configuration Data 163 Protecting Configuration Data 164 A Modbus View of the Island s Data Image 165 The Island s Process Image Blocks 168 The HMI Blocks in the Island Data Image 170 890USE17700 April 2004 149 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 The following operating parameters are user configurable e data size in words of PLC output data transmitted to the HMI panel and HMI input data sent to the PLC e maximum node ID for the last module assembled on the island bus including CANopen devices General For general information about the NIM module model name version number Information vendor code etc do the following Step Action Comment 1 Open your island configuration with the The STB NIP 2212 is the leftmost module Advantys configuration software in your island bus assembly 2 Double click on the NIM in the island The module editor window appears editor 3 Select the General tab General information about the STB NIP 2212 is available from this tab Accessing To access the configurable parameters for
147. rations because it cannot detect a healthy mandatory module you can recover island bus operations by installing a healthy module of the same type The NIM automatically configures the replacement module to match the removed module Assuming that other modules and devices on the island bus are correctly configured and conform to their configuration data as written to Flash memory the NIM will start restart normal island bus operations Note When hot swapping a mandatory module with a Fipio NIM present the hardware configuration fault bit x5 in the standard channel status is set Replacing the module does not clear the bit To restore normal operations in accordance with Fipio standards reset the NIM with a reset command from the fieldbus or cycle NIM power 154 890USE17700 April 2004 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 You can prioritize only 10 modules for a given island 890USE17700 April 2004 155 Advanced Configuration Features What Is a Reflex Action Summary How
148. reflex blocks on an island 160 O outputs from a reflex block 158 P parameterization 49 PDM 38 41 46 47 118 143 PLC 19 20 134 151 preferred module 17 primary segment 13 15 38 40 prioritization 155 private MIB 107 108 109 110 112 process image analog input and output module data 120 169 and reflex actions 120 connection example 147 custom view 95 diagnostic block 126 digital input and output module data 120 169 echo output data 120 embedded web server 116 fieldbus to HMI block 171 graphical representation 166 HMI blocks 170 HMI to fieldbus block 170 I O status image 120 165 169 170 input data image 96 120 169 170 output data image 96 119 168 171 overview 165 protected mode 33 50 53 54 56 67 86 90 164 890USE17700 April 2004 191 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 104 105 web access password 87 web site 86 89 90 Simple Network Management Protocol SNMP 19 103
149. ress based on a role name host name to a network node A type of input design where two wires and are run from each signal source to the data acquisition interface The voltage between the input and the interface ground are measured by two high impedance amplifiers and the outputs from the two amplifiers are subtracted by a third amplifier to yield the difference between the and inputs Voltage common to both wires is thereby removed Differential design solves the problem of ground differences found in single ended connections and it also reduces the cross channel noise problem digital I O An input or output that has an individual circuit connection at the module corresponding directly to a data table bit or word that stores the value of the signal at that I O circuit It allows the control logic to have discrete access to the I O values DIN Deutsche industrial norms A German agency that sets engineering and dimensional standards and now has worldwide recognition E economy A special type of STB I O segment created when an STB NCO 1113 economy segment CANopen NIM is used in the first location In this implementation the NIM acts as a simple gateway between the I O modules in the segment and a CANopen master Each I O module in an economy segment acts as a independent node on the CANopen network An economy segment cannot be extended to other STB I O segments preferred modules or standard CANopen devices EDS electronic da
150. rovides 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 Special STB XBE 1200 beginning of segment BOS modules located in the first slot of each extension segment have their own built in power supplies which will provide logic power to the STB I O modules in the extension segments Each BOS module that you install requires 24 VDC from an external power supply The external power supply needs to deliver 24 VDC source power to the island The supply that you select can have a low range limit of 19 2 VDC and a high range limit of 30 VDC The external supply must be rated safety extra low voltage SELV rated The SELV rating means that SELV isolation is provided between the power supply s inputs and outputs the power bus and the devices connected to the island bus Under normal or single fault conditions the voltage between any two accessible parts or between an accessible part and the protective earth PE terminal for Class 1 equipment will not exceed a safe value 60 VDC max CAUTION IMPROPER GALVANIC ISOLATION The power components are not galvanically isolated They are intended for use only in systems designed to provide SELV isolation between the supply inputs or outputs and the load devices or system power bus You must use SELV rated supplies to provide 24 VDC source power to the NIM Failure to follow this precaution can result in injury o
151. rt Security Island Parameters Island State Humber of Digital I 0 Modules Humber of Analog I 0 Modules Humber of Other Modules Memory Card Status Configuration Port Status Configuration Port Speed Configuration Port Protocol Configuration Port Char Length Configuration Port Parity Configuration Port Stop Bits RUNNING B NorPRESENT SS NONE o Bon 0 RTU E paneve p Schneider Electric Inc 61998 2003 Home Help 890USE17700 April 2004 99 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 Sample Error A sample Error Log web page appears in the following figure Log Web Page L Telemecanique STB NIP 2212 STANDARD Role Name STBNIP2212 010 IP 205 217 193 95 Home Help Properties Configuration Support Security Error Log Time 915151302 Task LchLateEth File configuration dhepClient cpp Line 704 Waring DHCP No response for requ Fietesh Delete Schneider Electric Inc 1998 2003 100 890USE17700 April 2004 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 Comment Display the Error Log web page Click on the Diagnostics tab to di
152. rt502 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 The Port502 Messaging subtree OID 5 provides connection management and Subtree data flow services to the STB NIP 2212 The following table includes the port502 objects and OIDs used by a TFE service Service Indication for Port 502 Available Values port502Status 1 status of the service idle operational port502 SupportedProtocol 2 supported protocols 2 port502IPSecurity 3 status of IP security disabled default enabled port502MaxConn 4 max no of TCP connections supported 33 port502LocalConn 5 no of local TCP connections currently always 0 active ports02RemConn 6 no of rport502 connections that are 0 32 currently active port502 IPSecurityTable 7 table containing the total no of unsuccessful TCP connection attempts by a remote device port502ConnTable 8 table containing Port 502 specific MsgIn information MsgOut port502Msgln 9 total number of Port 502 messages received from the network port502MsgOut 10 total number of Port 502 messages sent to the network port502MsgOutErr 11 total number of error messages sent to the network from Port 502 port502AddStackStat 12 support of additional stack statistics disabled enabled port502AddStackStatTa
153. s 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 In most cases an output module that has one of its channels dedicated to a reflex action will go to its configured fallback state if the module loses communication with the fieldbus master The only exception is a two channel digital output module that has both of its channels dedicated to reflex actions In this case the module may continue to solve logic after a loss of fieldbus communication For more information about reflex actions refer to the Reflex Actions Reference Guide 890 USE 183 To define a customized fallback strategy for individual modules you are required to use the Advantys configuration software Configuration is done channel by channel You can configure a single module s multiple channels with different fallback parameters Configured fallback parameters implemented only during a communications failure are part of the configuration file stored in the NIM s non volatile Flash memory You can select either of two fallback modes when configuring output channels with the Advantys configuration software e hold last value ln this mode outputs retain the last values they were assigned before the failure e predefined value tn this
154. s not used and the island bus will stop If the configuration data was unprotected the island bus remains in edit mode If the configuration data on the card was password protected See Protecting Configuration Data p 164 your island bus enters protected mode at the end of the configuration process Note If you are using this procedure to reconfigure an island bus and your island is in protected mode you can use the configuration software to change the island s operational mode to edit You can use a removable memory card to make a copy of your configuration data then use the card to configure multiple island buses This capability is particularly advantageous in a distributed manufacturing environment or for an OEM original Same Data equipment manufacturer Note The island buses may be either new or previously configured but the NIMs must all run the same fieldbus protocol 54 890USE17700 April 2004 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 The RST button is located immediately above the CFG port See Physical Description Description p 33 and behind the same hinged cover RST button Holding down the
155. s over TCP IP Port 502 SAP MTBF 200 000 hours GB ground benign electromagnetic compatibility EMC IEC 1131 890USE17700 April 2004 43 The STB NIP 2212 NIM 44 890USE17700 April 2004 Configuring the Island Bus At a Glance Introduction What s in this Chapter The information in this chapter describes the auto addressing and auto configuration 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 The card is an Advantys STB option for storing configuration data offline Factory default settings can be restored to the island bus I O modules and the CFG port by engaging the RST button The NIM is the physical and logical location of all island bus configuration data and functionality This chapter contains the following topics Topic Page Auto Addressing 46 Auto Configuration 49 Installing the STB XMP 4440 Optional Removable Memory Card 50 Using the STB XMP 4440 Optional Removable Memory Card to Configure the 53 Island Bus The RST Button 55 RST Functionality 56 890USE17700 April 2004 45 Configuring the Island Bus Auto Addressing Introducti
156. sable Modules p 46 The order in which the Advantys STB I O modules in the sample island See Example p 142 are physically assembled determines the order in which data will appear in the input and output data image areas See The Island s Process Image Blocks p 168 of the process image e input data includes all of the I O modules on an Advantys STB island bus that contain status data and or echo output data e output data contains only data No bit packing is used Standard Modbus 4x and 3x message formats are the addressing mechanism 890USE17700 April 2004 143 Connection Example Input Process The I O modules in the sample island See Example p 142 require 18 Modbus Image registers in the input data image area See The Input Data and I O Status Process Image p 120 The following table shows how these registers are organized Modbus 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Register 45392 empty set to 0 N1 data STB DDI 3230 data 45393 empty set to 0 N1 status STB DDI 3230 status 45394 empty set to 0 N2 echo STB DDO 3200 feedback 45395 empty set to 0 N2 status STB DDO 3200 status 45396 empty set to 0 N3 data STB DDI 3420 data 45397 empty set to 0 N3 status STB DDI 3420 status 45398 N4 echo STB DDO 3410 feedback 45399 N4 status STB DDO 3410 status 4
157. signed 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 In a programmable controller system an I O module interfaces directly to the sensors and actuators of the machine process This module is the component that mounts in an I O base and provides electrical connections between the controller and the field devices Normal I O module capacities are offered in a variety of signal levels and capacities The continuous polling of the Advantys STB I O modules performed by the COMS to collect data bits status error and diagnostics information International Electrotechnical Commission Carrier Founded in 1884 to focus on advancing the theory and practice of electrical electronics and computer engineering and computer science IEC 1131 is the specification that deals with industrial automation equipment Type 1 digital inputs support sensor signals from mechanical switching devices such as relay contacts and push buttons operating in normal environmental conditions Type 2 digital inputs support sensor signals from solid state devices or mechanical contact switching devices such as relay contacts push buttons in normal or harsh environmental conditions and two or three wire proximity switches Type 3 digital inputs support sensor signals from mechanic
158. software you must use this software to save write configuration data to the removable memory card in the first place Your island bus must be in edit mode to be configured In edit mode the island bus can be written to as well as monitored Edit mode is the default operational mode for the Advantys STB island e Anew island is in edit mode e Edit mode is the default mode for a configuration downloaded from the Advantys configuration software to the configuration memory area in the NIM 890USE17700 April 2004 53 Configuring the Island Bus Initial Configuration and Reconfigu ration Scenarios Configuring Multiple Island Buses with the 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 Step Action Result 1 Install See Installing the STB XMP 4440 Optional Removable Memory Card p 50 the removable memory card in its drawer in the NIM Power on the new island bus The configuration data on the card is checked If the data is valid it is written to Flash memory The system restarts automatically and the island is configured with this data If the configuration data is invalid it i
159. splay the Diagnostics menu See Diagnostics Web Page p 92 Then select the Error Log option Update the display Click on the Refresh button The error log is not updated automatically It can only be updated manually Delete the log Caution Deleting the error log on the web page removes it from Flash memory Click on the Delete button You must have read write authorization See Configuration Password Protection p 89 to delete the error log 890USE17700 April 2004 101 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 What s in this This section contains the following topics Section Topic Page SNMP Device Management 103 Configure SNMP Web Page 105 About the Schneider Private MIBs 107 Transparent Factory Ethernet TFE MIB Subtree 109 Port502 Messaging Subtree 110 Web MIB Subtree 111 Equipment Profiles Subtree 112 102 890USE17700 April 2004 STB NIP 2212 Web Server SNMP Device Management Introduction User Datagram Protocol UDP SNMP Agents and Managers Network Management Application 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 On the STB NIP 2212
160. sponsi bility is assumed by Schneider Electric for any consequences arising out of the use ofthis material This document is not intended as an instruction manual for untrained persons 2004 Schneider Electric All Rights Reserved 890USE17700 April 2004 About the Book At a Glance Document Scope 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 The Modbus protocol allows devices that can connect only to the RS 232 port on other Advantys STB NIMs to connect to the STB NIP 2212 s fieldbus port too The following information appears in this guide e the role of the standard NIM as the gateway between Ethernet TCP IP and the Advantys STB island e the NIM s integrated power supply and its role in the distribution of logic power across the island bus e common external interfaces e the two pin connector to an external SELV rated power supply e RS 232 interface to optional devices including the Advantys configuration software and an HMI panel the optional removable memory card advanced configuration features such as island fallback scenari
161. spring clamp connector is shown on the right 2 3 4 5 STB XTS 1120 screw type power connector STB XTS 2120 spring clamp power connector wire entry slot screw clamp access spring clamp actuation button Each entry slot accepts a wire in the range 0 14 to 1 5 mm 28 to 16 AWG Each connector has a 3 8 mm 0 15 in pitch between the entry slots 36 890USE17700 April 2004 The STB NIP 2212 NIM Logic Power Introduction External Source Power 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 Input from an external 24 VDC power supply See Characteristics of the External Power Supply p 39 is needed as the source power for the NIM s built in power supply The NIM s built in power supply converts the incoming 24 V to 5 V of logic power The external supply must be rated safety extra low voltage SELV rated CAUTION IMPROPER GALVANIC ISOLATION The power components are not galvanically isolated They are intended for use only in systems designed to provide SELV isolation between the supply inputs or outputs and the load devices or system power bus You must use SELV rated supplies to provide 24 VDC source power to the NIM Failure to follow this precaution can resu
162. ssigned by one of the following methods e ifthe STB NIP 2212 is direct from the factory it has no software set IP parameters and will use a MAC based IP address See Deriving an IP Address from a Media Access Control MAC Address p 61 e afixed IP address using the STB NIP 2212 web configuration pages See Web Based Configuration Options p 71 e a web configured role name See Configuring a Role Name p 82 in association with a DHCP server Note For information about how the STB NIP 2212 prioritizes IP addressing options refer to the IP parameterization flow chart See Determining the IP Adaress p 63 Note The STB NIP 2212 requires a valid IP address to communicate on the Ethernet network and with a host You must power cycle the STB NIP 2212 to configure the STB NIP 2212 with an IP address set with these rotary switches 890USE17700 April 2004 29 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 e LED 10T ACT See Ethernet Communications LEDs p 31 indicates whether the Ethernet LAN and the Ethernet port are healthy and alive e LEDLAN ST See Ethernet Communications LEDs p 31 indicates events on the Ethernet LAN e LEDs RUN PWR ERR and TEST indicate activity on the island and or events on the NIM
163. st of the island bus needs to be terminated after the CANopen extension module with an STB XMP 1100 termination plate E AJ primary segment NIM STB XBE 1000 EOS bus extension module 1 m length STB XCA 1002 bus extension cable extension segment STB XBE 2100 CANopen extension module STB XMP 1100 termination plate typical CANopen cable 0 HO 0c RON standard CANopen device with 120 termination The maximum length of an island bus the maximum distance between the NIM and Island Bus the last device on the island is 15 m 49 2 ft This length must take into account the extension cables between segments extension cables between preferred modules and the space consumed by the devices themselves 18 890USE17700 April 2004 Introduction STB NIP 2212 Product Overview Introduction Ethernet and Internet Connectivity Embedded Web Server Internet Applications Open Modbus 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 TCP IP is the transport layer for the Ethernet LAN on which the STB NIP 2212 Advantys STB island
164. stored to their default values The address is based on the 48 bit MAC address that was programmed into the STB NIP 2212 when it was manufactured 5 Click on the Save button to save the Note The LAN ST LED See Ethernet address to Flash memory and in RAM Communications LEDs p 31 on the NIM blinks six times if the STB NIP 2212 default address is in use If the address is a duplicate the LAN ST LED blinks four times 6 Click on the Configuration tab to return to the Configuration menu 7 Select the Reboot option See About the Reboot Option p 76 8 Atthe Reboot now prompt click on the OK button 9 Click on the OK button at the confirmation prompt Are you sure 890USE17700 April 2004 75 STB NIP 2212 Web Server About the Reboot Option Lj Telemecanique Properties The reboot operation will configure the STB NIP 2212 with IP parameters assigned on the web Information about the reboot operation appears in the following figure STB NIP 2212 STANDARD Role Name me IP 139 158 Support Security Diagnostics Reboot Reboot causes the STBNIP2212 NIM to become non operational temporarily during the reboot process Reboot does not read the rotary switch settings It assumes that the settings that were applied at initial power up are still valid and applies these settings to the STBNIP2212 Network Interface Module If the rotary switches were set to look at an internal IP
165. ta sheet The EDS is a standardized ASCII file that contains information about a network device s communications functionality and the contents of its object dictionary The EDS also defines device specific and manufacturer specific objects EIA Electronic Industries Association An organization that establishes electrical electronic and data communication standards 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 176 890USE17700 April 2004 Glossary EOS Ethernet Ethernet Il 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 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 0 A frame format in which the header specifies the packet type Ethernet Il is the default frame format for STB NIP 2212 communications fallback state fallback value FED P Fi
166. tandard protocol used on the internal communication bus The protocol allows the connection of any standard CANopen device to the island bus command interface CAN in Automation CiA is a non profit group of manufacturers and users dedicated to developing and supporting CAN based higher layer protocols communication object communication object is a unit of transportation a message in a CAN based network Communication objects indicate a particular functionality in a device They are specified in the CANopen communication profile island bus scanner The arrangement and interconnection of hardware components within a system and the hardware and software selections that determine the operating characteristics of the system cyclic redundancy check Messages that implement this error checking mechanism have a CRC field that is calculated by the transmitter according to the message s content Receiving nodes recalculate the field Disagreement in the two codes indicates a difference between the transmitted message and the one received 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 890USE17700 April 2004 175 Glossary DHCP differential input dynamic host configuration protocol A TCP IP protocol that allows a server to assign an IP add
167. th a role name A role name is a combination of the Ethernet NIM part number STBNIP2212 and a numeric value e g STBNIP2212 123 A role name may be assigned in one of two ways e using the numeric settings 00 to 159 on the rotary switches See Physical Description p 28 e setting the lower rotary switch to an INTERNAL position powering on the STB NIP 2212 and completing the Role Name web page See Sample Role Name Web Page p 82 If your STB NIP 2212 does not have a role name you can configure an IP address directly on the Configured IP web page See Sample Configured IP Web Page p 72 Set the lower rotary switch to an INTERNAL position power on the STB NIP 2212 and complete the web page 62 890USE17700 April 2004 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 STOP invalid position no connection allowed wite position NOT USED switch position BootP request receive IP parameters position yes INTERNAL role name configured in no memory yes no yes DHCP request using switch set role name DHCP request using role name in memory IP parameters are IP parameters valid IP parameters present default IP address constructed from MAC
168. the extension segments for a total of 39 W Note If the 24 VDC source power supply also supplies field voltage to a power distribution module PDM you must add the field load to your wattage calculation For 24 VDC loads the calculation is simply amps x volts watts The external power supply is generally enclosed in the same cabinet as the island Usually the external power supply is a DIN rail mountable unit For installations that require 72 W or less from a 24 VDC source power supply we recommend a device such as the ABL7 RE2403 Phaseo power supply from Telemecanique distributed in the United States by Square D This supply is DIN rail mountable and has a form factor similar to that of the island modules If you have room in your cabinet and your 24 VDC power requirements are greater than 72 W summable power supply options such as Schneider s Premium TSX SUP 1011 26 W TSX SUP 1021 B3 W TSX SUP 1051 120 W or TSX SUP 1101 240 W can be considered These modules are also available from Telemecanique and in the United States from Square D 890USE17700 April 2004 41 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 width 40 5 mm 1 594 in height 130 m
169. the producer device has a specific identifier that corresponds to the receive PDO of the consumer devices protective earth A return line across the bus for fault currents generated at a sensor or actuator device in the control system In peer to peer communications there is no master slave or client server relationship Messages are exchanged between entities of comparable or equivalent levels of functionality without having to go through a third party like a master device programmable logic controller The PLC is the brain of an industrial manufacturing process It automates a process as opposed to relay control systems PLCs are computers suited to survive the harsh conditions of the industrial environment An I O module that functions as an auto addressable node on an Advantys STB island but is not in the same form factor as a standard Advantys STB I O module and therefore does not fit in an I O base A preferred device connects to the island bus via an STB XBE 1000 EOS module and a length of STB XCA 100x bus extension cable It can be extended to another preferred module or back into a standard island segment If it is the last device on the island it must be terminated with a 120 Q terminator An Advantys STB network interface module designed at a relatively high cost to support high module densities high transport data capacity e g for web servers and more diagnostics on the island bus An optional feature on a standard NIM
170. tx buffer errors 28 29 silo underflow 30 31 late collision 32 33 lost carrier 34 35 collision tx failure 36 37 IP address cannot be cleared 38 53 reserved always 0 136 890USE17700 April 2004 Data Exchange Modbus Error Codes Introduction General Error Codes 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 OxFF In the PL7 programming tool the default value for the field unit ID when adding an I O scanner connection is 255 OxFF Be aware that the NIM drops packets with this unit ID Error Code Error Type Description 0x01 Illegal function This error code is returned when the Advantys configuration software attempts to modify the configuration of the STB NIP 2212 when the software does not have control 0x03 Illegal Modbus This error code may indicate any of the following data value conditions e the function code contains incorrect data e arequest is being issued while the NIM is in the wrong operating mode for example COMM state protected you have entered the wrong password 890USE17700 April 2004 137 Data Exchange 138 890USE1
171. urator Web Page 0 cece eese 79 Configuring a Role Name 00 eects 82 Web Server Security leise e 85 Ata Glance s accesos ror ep PE cecal CR WM PET VI or datu 85 Web Access Password Protection 000s cece eese 86 Configuration Password Protection liess 89 Web Server Diagnostic Options lees ee 91 Ata Glafice 1 5 hak nubis ub ast o Ros DDR enh qo ERR ERE 91 Diagnostics Web Page 0 eee eee RR I 92 Ethernet Statistics osea et eI Re Micah edet eicere nost t 93 STB NIP 2212 Registers Web Page 0 cece eee eee 94 I O Data Values Web Page 0 2 cc eects 96 Island Configuration Web Page 0 cece ett 98 Island Parameters Web Page 0 ec cece eee ees 99 Error Log Web Page verso y BO PEE ena oe HE EUR ed hE 100 SNMP SeIvVICES cum xx edt km Pa a ead see Ae ne Ale oe Ae eee eet 102 At a Glalice oos ht etse Rose bes luu etel due Bean YR eele 2G 102 SNMP Device Management 0 000 cece eet 103 Configure SNMP Web Page 0 0 0 cece eee eee eee eee 105 About the Schneider Private MIBS 1 0 0 0 0 0 cece eee eee 107 Transparent Factory Ethernet TFE MIB Subtree 005 109 Port502 Messaging Subtree 0 0 ete 110 Web MIB Subtree 0 0 ee n 111 Equipment Profiles Subtree 2 eee 112 890USE17700 April 2004 Chapter6 Data Exchange 00 cece e eee eee eee eee 115
172. ut channel 890USE17700 April 2004 159 Advanced Configuration Features Number of Reflex Blocks on an Island 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 Processing resources are consumed quickly when a reflex block receives its inputs from multiple sources different I O modules on the island and or virtual modules in the NIM The best way to preserve processing resources is to e use the always enabled constant as the enable input whenever possible e use the same module to send multiple inputs to a block whenever possible 160 890USE17700 April 2004 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 Fallback There are several scenarios in which Advantys STB output modules go into their Scenarios fallback states e loss of fieldbus communications Commun
173. ve button The web access user name and password take effect immediately 88 890USE17700 April 2004 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 Use the following procedure to set up a configuration password for your Configuration STB NIP 2212 web site Password Step Action Result Procedure 1 Click on the Security tab The Security menu is displayed 2 Click on the Change Configuration Password The Change Configuration option Password page is displayed 3 In the New Password field type your configuration password The password must have six alphanumeric characters The characters are case sensitive 4 Type the password again in the Confirm New Password field 5 Click on the Save button The configuration password takes effect immediately Logging In and If you set up a configuration password the following login procedure takes effect Out Step Action Result 1 Type the configuration password for your The Login button toggles to Logout web site next to the Logout button See Your entire STB NIP 2212 web Sample Login Prompt p 90 session is now write enabled Note The password is case sensitive 2 Perform the write operation e g
174. you service any equipment connected to the island e For digital outputs view the echo register for the module in the process image to see the actual output state e For analog outputs there is no echo register in the process image To view an actual analog output value connect the analog output channel to an analog input channel Failure to follow this precaution can result in death serious injury or equipment damage 156 890USE17700 April 2004 Advanced Configuration Features Configuring a Each block in a reflex action must be configured using the Advantys configuration Reflex Action 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 toa Reflex The inputs to a reflex block include an enable input and one or more operational Action inputs The inputs may be constants or they may come from other I O modules on the island from virtual modules or outputs from another reflex block For example an XOR block requires three inputs the enable and two digital inputs that contain the Boolean values to be XORed enable operational input 1 BN fasult operational input 2 EL Some blocks such as the timers require reset and or trigger inputs to control the reflex action The following example shows a timer b
Download Pdf Manuals
Related Search
Related Contents
3 - Firmware Center Descargar Le diabète : une pandémie silencieuse モニタリング計画書 取扱説明書 Raadpleeg uw dealer voor de max. massa die uw wagen mag fondamentale, Palééééeographie Télécharger ce fichier Operating instructions for emergency stop switch ES Copyright © All rights reserved.
Failed to retrieve file