Home
Quantum NOE 771 ••
Contents
1. Hub Hub Hub Hub D wiih is ees eee Oooo aif o m0m Backplane o sae ale DEE 0 D Backplane Backplane Backplane Backplane 34 31001913 10 2009 Installing the Module 100 BASE T Cable Distances The 100 BASE T cabling allows for 2 hubs with a link maximum distance of 100 m 325 ft and a total network diameter of 205 m 665 ft The following table provides information about the maximum distance parameters with 100 BASE T Model Maximum Cable Length in Twisted Pair TX T2 T4 DTE DTE no repeater 100 m 325 ft 1 Class repeater 200 m 650 ft 1 Class Il repeater 200 m 650 ft 2 Class Il repeaters 205 m 665 ft 100 BASE FX Cable Distances The 100 BASE FX cabling allows for 2 hubs with a link maximum distance of 412 m 1 339 ft and a total network diameter of 205 m 665 ft The following table provides information about the maximum distance parameters with 100 BASE FX and 100 BASE TX FX Model Maximum Cable Length Maximum Cable Length Twisted Pair TX and Fiber FX Fiber FX DTE DTE no repeater n a 412 m 1339 ft 1 Class repeater 260 8 m 1 272 m 884 ft 1 Class Il repeater 308 8 m 1 320 m 1040 ft 2 Class II repeaters 216 2 m 2 228 m 741 ft 1 Mixed twisted pairs and
2. 31001913 10 2009 189 Hot Standby Hot Standby Switchover The following table describes the manner in which NOEs coordinate the Hot Standby switchover Going to Offline Step Action 1 NOE A is running in the primary CPU PLC and NOE B is in the secondary PLC ina hot standby configuration NOE A detects that its PLC has changed from primary CPU to offline mode NOE A changes its HSBY state from primary CPU to offline with the same Ethernet services running and starts its watchdog timer with 500 ms timeout setting It waits for a UDP request to swap IP addresses from NOE B NOE B detects that its PLC has changed state from secondary to primary CPU NOE B stops all its Ethernet services sends a UDP request to NOE A for the synchronization of the IP address swap starts its watchdog timer with 500 ms timeout setting and waits for an UDP response from NOE A Once NOE A receives the UDP request from NOE B or after its watchdog timer times out it stops all its Ethernet services If it has received a UDP request NOE B sends a UDP response to NOE A if its watchdog timer has timed out NOE B does not send a UDP response NOE A then swaps its IP address and starts secondary services NOE B swaps IP addresses and starts Ethernet services as primary CPU After NOE A senses that its local controller changes state from offline to standby it takes the secondary IP addre
3. Topic Page Selecting Your PLC 52 Setting the Number of NOEs 56 Accessing and Editing the I O Map 58 Configuring the Ethernet Address Parameters 62 31001913 10 2009 51 Configuring the Module with Concept Selecting Your PLC Initial Setup Selecting a CPU After you have installed the NOE 771 module see page 37 in a Quantum backplane you can configure it using Concept To begin configuring the NOE 771 first select your CPU PLC NOTE For detailed information about how to use Concept refer to the set of manuals shipped with that software Perform the following steps to select a CPU Step Action 1 Open Concept on your programming panel PC 2 Click File gt New project fiz Concept Project Opline Options New project Open Result A new project opens and the file name untitled appears over the menu bar Eis Concept untitled Eile Project Online Options cS Sf eT ES e 52 31001913 10 2009 Configuring the Module with Concept Step Action Click Project Configurator B2tcceal Online Options Window H Properties Configurator Result The PLC Configuration screen opens FE PLC Configuration EHE Type Available Logic Area Exec Id Extended Memory Memory Size Ranges Loadables Coils Number installed Discrete Inputs Input Registers Holding Reg
4. 31001913 10 2009 151 Embedded Web Pages Quantum PLC Data Monitor Page Overview The following figure shows the web page that allows you to display Quantum PLC data Quantum PLC Data Monitor lt new gt x Insert Rows Cut Rows Paste Row a Home Configured Local Rack Controller Status Ethernet Statistics RIO Status Copyright 1999 Schneider Automation Inc All Rights Reserved You can add delete and copy Quantum PLC data as follows e Click the Insert Rows button to insert additional rows of data e Click the Cut Rows button to delete specific rows of data e Click the Paste Rows button to copy rows of data PLC Data Monitor Page Links The following table describes the links on the Quantum PLC Data Monitor page Link Results Home Displays the Quantum Welcome Page Configured Local Rack Displays the Quantum Local Rack with NOE and CPU Controller Status Displays the CPU Configuration RIO Status Displays the Remote I O Communications Status Graphic Editor Displays the Graphic tool for creating input output user only 771 01 11 21 screens only with FactoryCast 152 31001913 10 2009 Embedded Web Pages Configure NOE Page Overview The following figure shows the Configure NOE page which provides links to the individual configuration pages for the NOE E Configure NOE Microsoft Internet Explorer iof x Eile Edit View Go Favorites
5. 244 31001913 10 2009 Ethernet Developers Guide Overview This chapter contains information to assist ethernet developers What s in this Chapter This chapter contains the following topics Topic Page Overview 246 Class Descriptions 247 The CSample_doc Class 248 The CSample_View Class 249 Timers and Transaction Processing 251 Transmit State Machine 252 Receive State Machine 254 Displaying on the Screen 256 31001913 10 2009 245 Ethernet Developers Guide Overview Introduction This appendix describes the design of the sample TCP IP application named Network Options Ethernet Tester NOET The NOET application is a multiple document interface windows application that verifies the installation of the Quantum Ethernet TCP IP module and also serves as a sample application for developers TCP UDP system port number 502 is used with ASA protocol_id of 0 References Inside Visual C Second Edition David J Kruglinski Window Sockets An Open Interface for Network Programming under Microsoft Windows Version 1 1 What the Sample Application Does The sample application performs the following e Calls the window socket function socket to create a socket Calls the window socket function setsockopt to set the socket attributes Calls the window socket function connect to establish a connection Calls the window socket function send to transmit the request to the
6. 0 0 cece cece eee 147 CPU Configuration Screen Page 0 0 e cece eee 148 Ethernet Module Statistics Page 0 0 cee eee eee 150 Remote I O Communication Status Page 0 00 eee eee 151 Quantum PLC Data Monitor Page 00 cece eee eee 152 31001913 10 2009 Configure NOE Page 0 cece eee tees 153 Configure SNMP Page 2 0 e eect teas 154 Configure Address Server Page 0c eee eee eee eae 156 Extended Web Diagnostics Pages 0 20 e eee eee eee 160 NOE Properties Page 0 0 cece eects 167 NOE Diagnostics Page 0 cece tee 168 Crash Log Diagnostics s cece ect eee 169 Contacting Schneider Automation Page 0 eee ee eee 170 Chapter 8 Address Server Configuration Faulty Device Replacement 00 0eeeeees 171 Address Server Configuration Faulty Device Replacement 172 Understanding Faulty Device Replacement 0 175 Configuring Faulty Device Replacement 0 0 eee eee 177 Chapter 9 Hot Standby 200 c eee eects 181 Quantum Hot Standby for Unity Pro 2 ee 182 Hot Standby Topology 0 cece eet eee eee 184 NOE Configuration and Hot Standby 0 000 eee eee eee 185 IP Address Assignment 00000 e eee eee 186 NOE Operating Modes and Modicon Quantum Hot Standby with Unity 188 Address Swap Times 0 0
7. Configured IP address 1 IP Address Restriction Do not use either broadcast IP address or broadcast IP address 2 to configure the module 186 31001913 10 2009 Hot Standby IP Address Transparency A WARNING UNINTENDED EQUIPMENT OPERATION For a Quantum Hot Standby configuration e Do not use the address IP 1 e Do not use consecutive IP addresses of the configured IP address e Do not configure the primary CPU address as nnn nnn nnn 254 This causes the standby CPU IP address to be nnn nnn nnn 255 The module would then return the diagnostic code Bad IP configuration Failure to follow these instructions can result in death serious injury or equipment damage When a switchover occurs a new primary CPU PLC takes the IP address of the old primary CPU PLC When the PLC that has stopped becomes operational again and rejoins the hot standby system it takes the IP address of the secondary PLC A new primary CPU NOE must have the same IP address as the former primary CPU NOE The IP address in the secondary NOE an NOE in the secondary state is IP address 1 The NOEs integrated into the Modicon Quantum Hot Standby with Unity configuration coordinate this swapping IP address with the management of Ethernet services used 31001913 10 2009 187 Hot Standby NOE Operating Modes and Modicon Quantum Hot Standby with Unity The NOE Modes The NOE module modes are Prima
8. NOE Diagnostics Displays links to Ethernet Statistics and the Crash Log File Diagnostics Support Provides you with contact information for technical assistance sales and feedback 31001913 10 2009 159 Embedded Web Pages Extended Web Diagnostics Pages Overview The 140 NOE 771 1 embedded Web server provides Web pages that you may use to diagnose Transparent Factory Real Time services These services are listed below e global data diagnostics e status of all global data services e status of all subscribed and published variables e publication subscription rate e I O scanning diagnostics e status of all I O scanning services e status of individual scanned devices e actual I O scanning rate e messaging diagnostic e diagnostic information for Modbus port 502 messaging e bandwidth monitoring e throughput measurement of NOE by service NOTE All these pages are protected by the general HTTP password 160 31001913 10 2009 Embedded Web Pages Accessing Web Diagnostics You access the diagnostic Web pages through the Web Server for Quantum screen a Welcome to Schneider Automation Web Server for Quantum Microsof__ jf Ea File Edit View Go Favorites Help http 47192 168 3 2 secure system index htm s Schneider r Electric Web Server for Quantum Home Co ed Local Rack Controller Status Ethernet Statistics RIO Status Data Montor Configure HOE NOE Proper
9. System Name 140 NOE 771 00 Module System Description Quantum Ethernet TCP IP Communications Module Managers IP Addresses Manager 205 217 193 179 Manager II 205 217 193 205 Agent Location SysLocation Processing Cell 3 Contact SysContact Joe MfgEngineer x117 Community Security Set Secret Get Public r Authentication Failure Trap Enabled Trap Secret Resetthe Form Update SNMP Show SNMP Configuration Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All Rights Reserved The following table shows how to enter the required information for configuring SNMP on your NOE 771 Step Action To display the current SNMP configuration Click Show SNMP Configuration To clear the fields Click Reset the Form To change the SNMP configuration Change the information on the page and click Update SNMP 154 31001913 10 2009 Embedded Web Pages SNMP Page Fields The following table describes the specific SNMP fields that you can modify Field Information To Be Supplied Manager IP address of first SNMP manager Manager II IP address of second SNMP manager Location SysLocation Location of the module Contact SysContact Name of the responsible systems engineer Set Designation of level of user who can set the configuration Get Designation of level of us
10. 31001913 10 2009 About the Book At a Glance Document Scope A WARNING UNINTENDED EQUIPMENT OPERATION Design your application so that unmonitored modules support communication only to non critical parts of the application Failure to follow these instructions can result in death serious injury or equipment damage This manual describes the functionality of the Quantum NOE 771 product line The following PLC modules are covered e 140 NOE 771 00 e 140 NOE 771 01 e 140 NOE 771 10 e 140 NOE 771 11 This manual provides you with the knowledge to begin using a Quantum PLC to communicate with devices over an Ethernet network This manual includes information about e hardware architecture of a Quantum Ethernet TCP IP module designed to fit into a single slot on the standard Quantum backplane e capabilities of the NOE 771 modules e installation of the NOE 771 modules on a Quantum backplane This manual describes the procedures for e configuring the modules from your programming panel using Concept software e setting up the modules to transfer data using one of three methods e communication blocks Use either the special MSTR instruction from the 984 ladder logic instruction set or instructions from the IEC logic functions e global data publish subscribe utility 31001913 10 2009 Validity Note Related Documents e I O Scanner The I O scanner modules NOE 771 00
11. aid 4i aia ae N Click Fill Down Result The data from the first row is copied into the selected cells ae Read Ref Read Ref Read Last Value r ms Master Slave Length Input 500 100 400100 400001 20 Hold Last 4 400100 400001 20 400100 400001 20 400100 400001 20 400100 400001 20 400100 400001 31001913 10 2009 131 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only Configuring the I O Scan List Using ProWORX NxT Overview This section discusses how to configure the NOE 771 module from your programming panel using ProWORX NxT program This process assumes you have switched to an Ethernet network so you can choose I O scanner You can now configure data blocks to be transferred between controllers on a TCP IP network Selecting Your PLC The following steps describe how to select a PLC Step Action 1 Open ProWORX NxT on your programming panel PC 2 Click File gt New T ProWORX NxT Controller Tools Help New Ctrl N Delete Result The New dialog box appears Type a file name in the File name field Select the drive from the Drives list Select the directory in the Folders field where you want to save the new database Click OK New HE File name Eolders c proworxinxt L Cancel yeu E proworx Ent L bmp _ demodb J 132 31001913 10 2009 Transferring
12. FD_OOB OnTcplpOob FD_CONNECT OnTcplpConnect FD_CLOSE OnTcplpClose Application Message Format TCP IP transmits a message as a stream There is no indication of the start of a message nor the end of the message The NOE option module adds a header to determine the message boundaries The message is a Modbus message The header contains the following fields e Invoke Identifier This 2 byte field associates a request with the response The client application picks the invoke identifier and server returns the same invoke identifier in the response e Protocol Type This 2 byte field identifies the protocol type Currently the only protocol supported is Modbus e Command Length This 2 byte field is the size of the rest of the message e Destination Identifier This 1 byte field is reserved for future use The Modbus message follows the header The message does not contain the address field instead the first byte is the Modbus function code The data structure for the header is declared in modbus h and the CSample_View encode_header function encodes the header The member functions are encode_clear_stats encode_read_stats encode 31001913 10 2009 Ethernet Developers Guide Timers and Transaction Processing Timers CSample_View periodically receives a timer message This message triggers the CSample_View to transmit a message Since window timers are a limited resource the window associated with CMainFrame cl
13. Home Configure NOE NOE Properties NOE Diagnostics Copyright 1999 Schneider Automation Inc All Rights Reserved 170 31001913 10 2009 Address Server Configuration Faulty Device Replacement 8 Overview This section covers the Address Server Configuration Faulty Device Replacement service available only on the NOE 771 01 and 11 Transparent Factory Real Time modules The Faulty Device Replacement service offers you a method of handling device replacement without disrupting the system nor interrupting service What s in this Chapter This chapter contains the following topics Topic Page Address Server Configuration Faulty Device Replacement 172 Understanding Faulty Device Replacement 175 Configuring Faulty Device Replacement 177 31001913 10 2009 171 Address Server Configuration Faulty Device Replacement Address Server Configuration Faulty Device Replacement Overview The address server provides 2 capabilities 1 Standard BootP server behavior Enter the MAC address and IP configuration The NOE BootP server will provide the IP configuration when the device sends a BootP request 2 Faulty Device Replacement FDR behavior Enter the role name or the MAC address of the device The device will send its role name or the MAC address with its DHCP request With the DHCP response from the NOE the device will receive its IP configuration plus the name and locati
14. Indicates the total number of successful accesses to the Web site webFailedAttempts 4 Indicates the total number of unsuccessful accesses to the Web site Address Server Subtree The Address_Server 6 subtree or group contains the objects related to the address server service The address server can be either a BootP server or a DHCP server Service Description addressServerStatus 1 Indicates the global status of the address server service 1 idle 2 operational 224 31001913 10 2009 SNMP Equipment Profile Subtree The Equipment_Profiles 7 subtree contains a set of common objects Service Description profileProductName 1 Displays the commercial name of the communication product in a string form for example 140 NOE 771 11 profileVersion 2 Displays the software version of the communication product in a string form for example Vx y or V1 1 profileCommunicationServices 3 Displays a list of the communication services supported by the profile Ports02Messaging I O scanning messaging global data Web and address server profileGlobalStatus 4 Indicates the global status of the communication module 1 nok 2 ok profileConfigMode 5 Indicates the IP configuration mode of the communication module 1 Local The IP configuration is created locally 2 dhcpServed The IP configuration is created by a remo
15. Waiting for Device to rejoin link This may take up to 60 seconds Successful The transfer operation completed SUCCESSFULLY 485376 Bytes Written Remaining Time Done 8876 Bytes sec 9 When the process is complete click Close 31001913 10 2009 237 Maintenance Downloading a New NOE Exec using FTP Exec Version Please check the current NOE Exec file version on the NOE Properties Web page Follow these links Web Server Diagnostics and Online Configuration gt NOE Properties Do not change a new version of the NOE Exec file Procedure CAUTION POTENTIAL SYSTEM CRASH Be sure you reboot the module after downloading a new NOE Exec using FTP An Exec update using FTP may cause a crash to the system Failure to follow these instructions can result in injury or equipment damage Follow the steps below to download a new NOE Exec using FTP An example follows the procedure Step Action 1 At the DOS prompt type FTP followed by the IP address and press Enter At the user prompt type USER and press Enter At the password prompt enter your FTP password and press Enter At the FTP prompt type cd wwwroot conf exec and press Enter 2 3 4 5 At the FTP prompt type put and press Enter Note Pay attention that the NOE771xx bin is the local path on your PC default path c At the local file prompt type NOE771xx bin and press Enter
16. 143 Embedded Web Pages Accessing the Web Utility Home Page Overview Each Quantum 140 NOE 771 10 100 Megabit Ethernet module contains an embedded Web server that allows you to access diagnostics and online configurations for the module and its associated controller Pages on the embedded Web site display the following information configurable menus of the address server BootP DHCP and SNMP Ethernet statistics for the node controller s configuration Controller Status on menu controllers register values remote I O status and configuration remote I O register values remote I O distributed values In addition to the pages listed above the 140 NOE 771 1 FactoryCast Real Time modules offer these additional pages e configuration and status for Global Data Publish Subscribe e bandwidth monitoring e I O Scanner status e Modbus messaging status The Web pages can be viewed with a browser using Netscape Navigator or Internet Explorer version 4 0 or later both of which support JDK 1 1 4 or later For information about the additional functionality provided by the FactoryCast system in the 140 NOE 771 1 modules see the FactoryCast User s Guide 31001229 144 31001913 10 2009 Embedded Web Pages Accessing the Module s Home Page Before you can access the module s home page you need its full IP address or URL from your system administrator Type the address or URL in the address or locat
17. Procedure for Responding to a Collision LED Error If the Collision LED fails to light use the following procedure Step Action 1 Make sure that the cable has been installed and is working properly 2 Verify that the Ethernet hub switch is working properly 31001913 10 2009 231 Maintenance Collision LED Normal Condition If the Coll LED is flashing the module is reporting collisions on the Ethernet network While such collisions are normal the frequency of the flashes is an indication of the volume of traffic on the network The flashes may be so frequent that the LED appears to be shining steadily Heavy traffic will slow communications If response time is important to your application we recommend you segment your network to reduce the frequency of collisions The following figure shows the Collision LED under normal conditions 140 NOE 771 ETHERNET TCP IP Active Ready Run Link Run LED The following table describes the action to be taken if the Run LED is flashing The action depends on the number of flashes in sequence Number of Flashes in Sequence Action 3 Check Ethernet connection 4 Change IP address 5 Provide IP address 6 Connect using default IP address and configure 7 Download NOE Executive Application LED If the module crashes it will note the reason in a log If the module is able to recover the Appl LED w
18. 00 01 11 and 21 only Step Action 4 Click TCP IP in the Config Extensions menu Result The details of the TCP IP configuration appear on the right side of the Configuration Extension screen Config Extensions Lge Card Number fi oF Head Number o Intemet Address 0 0 0 0 Sub Network Mask 0 0 0 0 Gateway Address 0 0 0 0 l l Framing Type Ethernet II lt Words Used 00101 01000 Descriptor OK Cancel 5 Click the up down arrows to enter the card number rack number in the Card Number field Card Number B 6 Complete the fields for each card number The Head Number field represents the rack in which the NOE 771 module is located Click OK 138 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Setting Up the I O Scanner At this point you are ready to set up the I O Scanner The I O Scanner provides data transfer between 2 or more NOE 771 00 and other Modbus or TCP IP devices It allows you to simultaneously configure up to 64 connections To configure the I O Scanner you need to set values for the following parameters e Specify the I O groups to be scanned e Configure the transaction parameters e Set the hardware clock for when the data is to be collected The following steps describe how to specify the I O groups to be scanned Step Action 1 In the Network Editor click Configuration
19. 01 11 only include configuration procedures for the I O scan list using either Concept ProWORX or Modsoft e using an embedded Web server to access diagnostics and online configurations for the module and its associate controller e using the FactoryCast Web server to customize your configuration via embedded Web pages 140 NOE 771 10 11 e using the NOE in a Hot Standby solution that provides fault tolerance for the remote I O and communications e using the NOET with a Windows based PC to monitor the network Nomenclature The following table describes the naming scheme 140 NOE 771 Model Numbers ee refers to 00 01 10 11 0 refers to 00 10 1 refers to 01 11 Oe refers to 00 01 te refers to 10 11 Who should use this manual This manual is intended to support anyone using a Quantum PLC that needs to communicate with devices over an Ethernet network You should have some knowledge about the use of PLC systems and a working knowledge of either the Concept ProWORX NxT or Modsoft programming tools You also must understand the use of an Ethernet network and TCP IP 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
20. Although this can generate more traffic the application receives the message sooner than if the Nagel algorithm is enabled The member function tcpip_setsocket_options sets the socket attributes The window socket interface provides the WSAAsyncSelect function which notifies the window of network events The member function tcpip_setsocket_options calls WSAAsyncSelect function The following tables describes the different events Event Description FD_READ A socket can read data FD_WRITE A socket can write data FD_OOB A socket can read out of band data FD_CONNECT A connect response has been received FD_CLOSE The connection has been closed 31001913 10 2009 249 Ethernet Developers Guide One of the parameters to the WSAAsyncSelect is a user defined message the window socket DLL sends to the window The sample application user message is WM_TCPIP_EVENT and is defined in the file wn_msh h MFC architectural framework calls the CSample_View tcpip_event member function to process this message As with all functions that process messages tcpip_event parameters are a word and a long word The word parameter is the socket and the long word parameter contains the network event and an error code Tcpip_event examines the network event and calls the member function indicated in the following table Network Eventt Member Function FD_READ OnTcplpRead FD_WRITE OnTcplpWrite
21. At the remote file prompt type NOE771xx bin and press Enter After the transfer is complete you must reboot the NOE to allow the new EXEC to become operational Note The file name is case sensitive and must be entered with the name in uppercase and the extension in lowercase as shown in the figure below Example NOE771xx bin 238 31001913 10 2009 Maintenance Sample FTP Session The following FTP session was used to download an NOE Exec a3 Command Prompt ftp 205 217 193 173 C noe77100 gt ftp 205 217 193 173 331 Password required Password 230 User logged in ftp gt cd wwwroot conf exec 250 Changed directory to FLASHOAvwwroot conf exec ftp gt put local file NOE77100 bin remote file NOE77100 bin 200 Port set okay 150 Opening BINARY mode data connection 226 Transfer complete 485376 bytes sent in 3 06 seconds 158 41 Kbytes sec ftp gt dir 200 Port set okay 150 Opening BINARY mode data connection wx A 1 user 2 kerVer rwx A 1 user 485376 NOE77100 bin 226 Transfer complete 86 bytes received in 0 01 seconds 8 60 Kbytes sec ftp gt Connected to 205 217 193 173 220 VxWorks FTP server VxWorks 5 3 1 ready User 205 217 193 173 none USER NOTE The NOE Kernel can not be downloaded using FTP 31001913 10 2009 239 Maintenance Downloading a New NOE Kernel Overview Version 2 00 of the NOE Exec adds a new feature to allow the updating of
22. Authority Schneider Electric s well known system port number is 502 The Internet Authority assigned the system port number 502 to asa appl proto with Dennis Dub as the company point of contact This port number allows Schneider Electric to transport various application protocols over with TCP or UDP The particular protocol is indicated by the value of the proto_id parameter in the mbap_pdu Currently the only assignment is 0 meaning MBAP 264 31001913 10 2009 Ethernet TCP IP Modbus Application Protocol Reference Documents Overview Following is a list of related documentation ANSI IEEE Std 802 3 1985 ISO DIS 8802 3 ISBN 0 471 82749 5 May 1988 ANSI IEEE Std 802 2 1985 ISO DIS 8802 2 ISBN 0 471 82748 7 Feb 1988 RFC793 TCP Transmission Control Protocol DARPA Internet Program Protocol Specification Sep 1981 RFC 791 IP Internet Protocol DARPA Internet Protocol Specification Sep 1981 RFC826 An Ethernet Address Resolution Protocol ARP David Plummer NIC Sep 1982 RFC1042 A Standard for the Transmission of IP Datagrams over IEEE 802 2 Networks Postel amp Reynolds ISI Feb 1988 RFC 792 ICMP Internet Control Message Protocol DARPA Internet C Control Message Protocol Specification Jon Postel Sep 1981 RFC951 BOOTSTRAP PROTOCOL BOOTP Bill Croft and John Gilmore September 1985 RFC783 The Trivial File Transfer Protocol TFTP rev 2 K R Solons MIT June 1981 31001913 10 2009 265
23. Config Extensions The Configurations Extensions dialog box appears In the Config Extensions tree right click Config Extensions gt Add Extension Select Ethernet I O Scanner The parameters for the CDE appear in the details area In the Health Block field type a 1xxxxx or 3xxxxx address Note All 1xxxxx addresses are based on a 16 bit boundary Example 100001 100017 100033 etc Configuring the Transaction Parameters The following steps describe how to configure the transaction parameters Step Action 1 e Double click an empty transaction to add a new transaction or e Double click an existing transaction to edit it The Transaction dialog box appears Configure the transaction parameters 31001913 10 2009 139 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only I O Scanner Response Times Remote Input to Remote Output Measurement Setup The set of curves below illustrates Quantum PLC response times when a signal is sent from a remote input module to a remote output module through a Quantum PLC A Response Time The signal is 1 triggered by a Momentum input module with a response time of 2 ms 2 scanned into the Quantum PLC at a repetitive rate of 0 ms 3 copied to another internal variable within the PLC 4 written to a Momentum output module with a response time of 2 ms 140
24. Responding to an Active LED Error Indicator If the Active LED fails to light the NOE 771 module is not communicating with the backplane The following procedure describes the steps to perform to respond to an Active LED error Step Action 1 Make sure the NOE 771 module and the controller are installed properly 2 Verify that the controller is working if it is not replace it If neither the new controller nor the NOE 771 module functions replace the backplane 4 Make sure that no more than 2 network option modules including NOE NOM NOP and CRP 811 modules have been installed in the backplane with a 140 CPU 113 or 213 not more than 6 network option modules with a 140 CPU 424 or 534 5 Check the version of the controller executive You must have version 2 0 or later to support the Ethernet module Earlier versions do not recognize the module 6 If steps 4 and 5 above check out okay replace the NOE 771 module Responding to a Ready LED Error Indicator If the Ready LED fails to light the NOE 771 module has failed internal diagnostic tests The following procedure describes the steps to perform Step Action 1 Make sure that power has been applied to the backplane 2 If step 1 checks out okay replace the NOE 771 module Responding to a Link LED Error Indicator If the Link LED fails to light the NOE 771 module is not communicating with the Ethernet hub switch The follow
25. The NOET is an option that allows you to test data There are 3 methods of testing e Use the same data written to all registers e Use increasing data written uniquely to each register e Use random data written uniquely to each register The test writes the data then reads the data A pass fail counter is used to display the number of times the data written is read correctly Test Function and Options Click Messages Test Data to access the test option or Click the Test toolbar icon T Result The Test Data dialog box opens Test Data x lt Polling Interval fr o Cancel Starting 4X Register 1 E Increment Write Data Number of registers to read Using Same Data 1 C Using Increasing Data C Using Random Data 208 31001913 10 2009 Using the Network Options Ethernet Tester In the Test Data dialog box type values in the following 3 fields e Polling Interval e Starting 4X Register e Number of registers to read Select the Increment Write Data check box if you want the data you have entered to increase by 1 with each transaction If you select the Increment Write Data check box you must choose 1 of 3 options for incrementing write data Click the appropriate button e Using Same Data Each register receives the same data For example Register 1 receives the value 1 Register 2 receives the value 1 e Using Increasing Data Each register receives unique data For example Reg
26. comp protocols snmp and FAQ e A list of print books about SNMP appears in the SNMP FAQs In addition a search of most online retail book sites will yield a substantial list of titles 214 31001913 10 2009 SNMP ASN 1 Naming Scheme Overview Abstract Syntax Notation One ASN 1 is a formal language for abstractly describing messages to be exchanged between distributed computer systems Example Objects in an MIB are defined with the ASN 1 naming scheme The naming scheme assigns each object a long prefix which guarantees that the name will be unique Example An integer which counts the number of IP datagrams that a device has received is named iso org dod internet mgmt mib ip ipinReceives The following figure depicts the ASN 1 naming scheme example T iso 1 org 3 dod 6 internet 1 directory 1 mgmt 2 experimental 3 system mib 2 1 interfaces 2 address translation 3 ip 4 ipForwarding 1 ipDefaultTTL 2 ipinReceives 3 31001913 10 2009 215 SNMP This object name is represented in an SNMP message by assigning each part an integer So the above message would appear as 1 3 6 1 2 2 4 3 Each integer has the following meaning e 1 ISO 3 identified organization 1 of the branches under the ISO root 6 U S Department of Defense DOD 1 of the children under branch1 3 1 the Internet subtree under 1 3 6 2 the mgm branch 1 of 7 of
27. e will stay offline to avoid a network disruption It will display a pattern of 4 flashes to indicate a duplicate IP address detection Automatic ARP If there are no replies to its requests the NOE 771 will send automatic ARP 3 times at 2 second intervals to announce its presence on the network 42 31001913 10 2009 Installing the Module Establishing the FTP Password Establishing the FTP Password The FTP password is established using the embedded Web server This topic contains information about initially accessing the Web server Initially the system administrator must change the FTP password which restricts access for the system administrator only See Embedded Web Pages page 143 for detailed information Accessing the Web Server Each Quantum 140 NOE 771 module contains an embedded Web server which allows you to access diagnostics and online configurations for the module and its associated controller The Web pages can be viewed only across the World Wide Web using version 4 0 or later of either Netscape Navigator or Internet Explorer both of which support JDK 1 1 4 or higher For information about the additional functionality provided by the FactoryCast system in the 140 NOE 771 1 modules see the FactoryCast User s Guide 31001229 Accessing the Module s Home Page Before you can access the module s home page you must enter the full IP address or URL in the Address or Location field in the
28. scan execution PLC 261 security 36 FTP password 44 HTTP password 44 47 service classes MBAP 261 setrequest SNMP 217 SNMP 212 217 community strings 49 configuring via web server 154 SNMP manager 213 states transmit state machine 252 statistics Ethernet tester 203 local MSTR 77 78 remote MSTR 79 statistics remote MSTR 80 subtree address server 224 equipment profile 225 global data 223 O_scanning 223 port502_messaging 222 TFE private MIB 221 web 224 support 29 switches ConneXium 117 syscontact 218 syslocation 218 system maintenance 227 system requirements 29 T TCP_IP_ADDR 102 TCP IP 249 broadcast addressing 264 TCP IP Ethernet control block 107 error codes 71 routing register 107 technical support 29 TFE private MIB 279 TFTP servers 194 timers 257 top node 70 control block 70 traffic reducing multicast filtering 117 traffic cop configuring I O scan list 134 transaction processing 251 transferring data communication blocks 65 transmit state machine 252 transparent factory 217 212 219 trap 226 SNMP 218 U unit ID I O scan list 125 288 31001913 10 2009 Index W Web server 146 accessing 43 accessing the home page 144 configure BootP 156 configure NOE 153 configure SNMP 154 configured local rack page 147 CPU configuration 148 crash log diagnostics 169 customer support 170 Ethernet module statistics 750
29. 1 compliant manager If you do not currently use a SNMP manager in your organization and are evaluating them for purchase we recommend that you consider the HiVision with the ConnexView Add On developed for use with Schneider Automation PLCs Please contact your Schneider Electric sales office see page 29 for availability and pricing of HiVision and ConnexView Using an SNMP Manager Follow the steps below to obtain a SNMP manager Step Action 1 Get Schneider mib file from the NOE Web page You will find the mib file as a packed file under Awwwroot SchneiderTFE zip on your NOE module Compile mib file in the compiler Load the compiled mib file to the SNMP manager When you are done you will see the Schneider private MIB manager in your manager 31001913 10 2009 213 SNMP The process is simple Compile file Load file into your manager More SNMP Information SNMP and related subjects are well documented on Web sites and in many books e As of this writing a useful description appears on Microsoft s Technet pages Browse to http Awww microsoft com technet Search for the words Network Management for Microsoft Networks Using SNMP e Use an Internet search engine to search for an SNMP introduction tutorial or other topics on SNMP e The SNMP FAQ from the news group comp protocols snmp appear on many com and org Web pages Search for the combination of
30. 10 2009 Transferring Data Using Communication Blocks 4 2 Using IEC Logic Communication Blocks Overview This section contains information on the IEC logic communication blocks used for transferring data What s in this Section This section contains the following topics Topic Page CREAD_REG 90 CWRITE_REG 93 READ_REG 96 WRITE_REG 99 TCP_IP_ADDR 102 MBP_MSTR 104 31001913 10 2009 89 Transferring Data Using Communication Blocks CREAD_REG Function Description Representation The CREAD_REG block reads register data continuously from an addressed node via TCP IP Ethernet EN and ENO can be projected as additional parameters NOTE About this function block e When programming this function you must be familiar with the routing procedures used by your network e For technical reasons this function block does not allow the use of ST and IL programming languages Block representation DINT INT WordArrs AddrFld CREAD REG SLAVEREG NO_REG REG READ WORD STATUS WORD Parameter Description Description of parameters Parameter Data Type Meaning SLAVEREG DINT offset address of the first MW word 4x register in the slave to be read from NO_REG INT number of registers to be read from slave AddrFld WordArr5 data structure describing the TCI IP address REG_READ WORD first MW word 4x registe
31. 2009 Installing the Module Establishing the HTTP Password Overview The following information describes how to set the HTTP password for the NOE 771 Oe only Modifying the HTTP Password Follow the steps below to link to the correct Web page to modify the HTTP password Step Action 1 Enter the URL Example http hostname secure embedded http_passwd_config htm Enter a user name and password in the Enter Network Password dialog box Click OK Note The default user name is USER and the default password is USER You should change both when you install the module Enter Network Password zix Please enter your authentication information Cancel Resource NOE_security User name Password M Save this password in your password list 31001913 10 2009 47 Installing the Module Step Action Enter a new user name and password in the respective fields in the Modify Web Server User Name and Password dialog box Click Submit Password Change Schneider ap Electric Modify Web Server User Name and Password New User Name New Password J Reset Form Submit Password Change Delete Password File Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved The following dialog box appears Schneider ap Electric Ethernet Configuration Successfully chang
32. A delete successful message is displayed Click Configure NOE to return to Configure NOE screen Click Configure BootP Click Refresh BootP Database Table to view revised Database file Resetting the Form To clear the fields on the BootP Node Configuration screen click the Reset the Form button You will then be able to fill in the Database File entries information to be added changed or deleted 158 31001913 10 2009 Embedded Web Pages Displaying the BootP Database File The following figure shows a sample current BootP Database File To display the current BootP Database File click the Show BootP Database button Schneider Ev Electric BootP Configuration ENT1 1921 10 01 000054101005 ENT2 192 1 10 02 25 55 0 192 1 10 250 000054101006 ENT4 2 1 10 04 2 5 255 0 192 1 10 250 000054101008 ENT3 2 1 10 03 5 255 0 192 1 19 250 000054101097 Refresh BootP Database Table Configure BootP Entry Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All Rights Reserved Configure BootP Page Links The following table describes the links on the BootP Node Configuration screen Link Results Home Returns you to the Quantum Welcome page Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration page NOE Properties Provides information about NOE properties
33. Configuration Page provides a configuration screen to determine which and how many application variables are exchanged with this service After configuration the exchanges between all stations belonging to the same distribution group are done automatically The global data service uses the 4x register space for global data exchanges Key Features of Global Data The main features for global data are one publisher and many subscribers A device can publish one network variable of up to 512 registers A device can subscribe to several network variables of up to 2048 4x registers A device subscribes to the complete network variable one distribution group per network IP address application defined publication rate Up to 64 global data network variables numbered from 1 to 64 can be part of the data distribution group e An NOE has only one multicast address consequently it can only publish and subscribe inside the group e Adevice can participate in several distribution groups by using multiple NOEs in the rack Global data has an advantage over client server services when more than one subscriber is receiving the same data since only one transaction is necessary for all subscribers to receive the data This advantage offers two benefits e reduce overall network traffic e ensure tighter synchronization of multiple subscribers 31001913 10 2009 25 Product Description Bandwidth Monitoring Overview Available Serv
34. Ethernet TCP IP Modbus Application Protocol 266 31001913 10 2009 NOE 771 00 01 and 11 Modules I O Scanner D Performance Statistics 140 NOE 771 00 01 and 11 I O Scanner Performance Overview The following information describes the performance of the 140 NOE 771 00 01 and 11 I O scanner with various Quantum CPUs Quantum 113 CPU The following figure shows the performance of the 140 NOE 771 00 01 and 11 I O scanner with a Quantum 113 CPU 1 2 3 4 5 6 7 8 9 10 15 20 25 30 35 40 45 50 55 60 64 Min CPU Scan 10 mSec CPU Scan 20 mSec CPU Scan 4 40 mSec CPU Scan 60 mSec CPU Scan 80mSec CPU Scan 100 mSec CPU Scan 31001913 10 2009 267 I O Scanner Performance Statistics Quantum 213 CPU MB Transactions per Seconc The following figure shows the performance of the 140 NOE 771 00 01 and 11 I O scanner with a Quantum 213 CPU 4 000 3 500 3 000 2 500 2 000 1 500 1 000 500 e Mn CPU Scan m 10 mSec CPU Scan r 20 mSec CPU Scan 40 mSec CPU Scan g 60 mSec CPU Scan x 80 mSec CPU Scan g 100 mSec CPU Scan Quantum 424 CPU 5 000 The following figure shows the performance of the 140 NOE 771 00 01 and 11 I O scanner with a Quantum 424 CPU 4 500 4 000 3 500 3 000 2 50
35. Extension Table MSTR Operation 82 Write CTE Config Extension Table MSTR Operation 84 TCP IP Ethernet Statistics 86 66 31001913 10 2009 Transferring Data Using Communication Blocks MSTR Description Overview MSTR Operations All NOE 771 0 Quantum Ethernet TCP IP modules allow the user to transfer data to and from nodes on a TCP IP network through the use of an MSTR All PLCs that support networking communication capabilities over Modbus Plus and Ethernet can use the MSTR ladder logic instruction to read or write controller information The following table lists each of the 12 possible MSTR network communications operations and indicates whether a TCP IP Ethernet network supports it A specific code designates each operation MSTR Operation Operation Type TCP IP Ethernet Support Write data 1 supported Read Data 2 supported Get local statistics 3 supported Clear local statistics 4 supported Write global database 5 not supported Read global database 6 not supported Get remote statistics 7 supported Clear remote statistics 8 supported Reset Option Module 10 supported Read CTE config extension 11 supported Write CTE config extension 12 supported Number of MSTR Instructions Allowed Up to16 MSTR instructions can be simultaneously serviced in a ladder logic program per NOE More than 16 MSTRs may be programmed for logic flow activation In this case when 1
36. FDR Faulty Device Replacement server information e global data publish subscribe The HTTP server s HTML pages allow you to configure the module s BootP DHCP FDR server and SNMP agent The HTTP server is protected with a default name and password The default name and password are both USER and both are case sensitive They can both be changed using the configuration page see page 47 on the NOE 771 Oe s Web embedded pages For the NOE 771 1 modules they can be changed using the FactoryCast configurator The NOE 771 supports a maximum of 32 HTTP simultaneous connections NOTE Browsers may open multiple connections 32 HTTP connections do not indicate 32 simultaneous users NOTE The NOE 771 0 module does not support user downloaded Web pages You will need to purchase the 140 NOE 771 1 or 21 module to support that requirement 22 31001913 10 2009 Product Description Address Server Overview BOOTP Server The following information describes the services provided by the address servers e BootP server e DHCP server NOTE The BootP server is available on the 140 NOE 771 00 and 10 models The Bootstrap Protocol BOOTP software compliant with RFC 951 is used to assign IP addresses to nodes on an Ethernet network Devices hosts on the network issue BootP requests during their initialization sequence A BootP server receives the request and extracts the required IP address information
37. Help Address hitp 192 168 3 2 secure embedded e_config Links Schneider ap Electric Configure NOE Configure SNMP Configure Address Server Configure Global Data Home NOE Diagnostics NOE Properties Support ner IT Vijece gt SS 1 NOE Configuration Page Links The following table describes the links on the Configure NOE page Link Results Home Returns you to the Quantum Welcome Page Configure SNMP Provides the ability to configure the SNMP Agent in the NOE Configure Address Server Provides the ability to configure the BOOTP IP assignments including showing the BOOTP and DHCP database Configure Global Data Displays the Global Data Configuration page and provides information about the Group Address Multicast filtering Distribution period Health Time Out Health Bits and Data Zones The Global Data Configuration page also displays a Variable Table NOE Properties Provides information about NOE properties NOE Diagnostics Displays links to Ethernet Statistics and the Crash Log File Diagnostics Support Provides you with contact information for technical assistance sales and feedback 31001913 10 2009 153 Embedded Web Pages Configure SNMP Page Overview SNMP may already be configured on your NOE 771 e If not complete the SNMP Configuration form which is shown in the following figure Schneider Electric SNMP Configuration
38. Length parameters Write Ref Write Ref Master Slave 400050 400020 You may include both the read and write commands in the same row Read and Write Description You can type a brief description up to 32 characters of the transaction in the Description column 31001913 10 2009 127 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only Configuring the Health Block The Health Block is located at a block of 3x registers or 1x coils For 1x coils it must start on a 16 bit boundary Each device that is configured has a corresponding health bit in the Health Block If the health bit is 1 the remote device is healthy It the health bit is 0 the remote device is unhealthy As shown in the following tables each row that is configured is mapped to a bit position Word 1 Bit Positions 1 2 3 4 5 e gt N o 10 11 12 13 14 15 16 Word 2 Bit Positions 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Word 3 Bit Positions 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Word 4 Bit Positions 49 150 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Starting Location of Health Block As shown in the following figure to specify the starting 1x 3x location
39. NOE diagnostics 168 NOE properties 167 PLC data monitor 152 remote I O communications 151 web subtree 224 window timers 251 write I O scan list 127 middle node 70 WRITE_REG 99 31001913 10 2009 289 Index 290 31001913 10 2009
40. Parameters Overview Introduction The following information describes how to configure Ethernet address parameters for the NOE 771 with Concept 4 CAUTION UNINTENTIONAL OPERATION DUPLICATE IP ADDRESS Two devices with the same IP address can cause unpredictable operation of your network e Ensure that this device will receive a unique IP address e Always obtain your IP addresses from your system administrator to avoid the possibility of duplicate addresses Failure to follow these instructions can result in injury or equipment damage The NOE 771 module s Ethernet address parameters consisting of Internet Subnet mask and Gateway addresses are accessible from the Ethernet I O Scanner dialog box Prior to performing the following procedure consult your system administrator to determine if you must configure new Ethernet address parameters or whether the module will obtain them from the BootP server NOTE The state must be offline to configure the NOE 771 e module with Concept 62 31001913 10 2009 Configuring the Module with Concept Configuring Ethernet Address Parameters Follow the steps below to configure the Ethernet address parameters Step Action 1 Click Configure Ethernet I O Scanner Project Online BLC type Memory partitions ASCII Setup Modbus port setting Specials Ethernet O Scanner Result The Ethernet I O
41. SNMP Available HTTP Server Available DHCP Unavailable NOTE Only the 140 NOE 771 01 or 140 NOE 771 11 TCP IP Ethernet modules support a Modicon Quantum Hot Standby with Unity V2 0 system 183 Hot Standby Hot Standby Topology Hot Standby Interconnection The following diagram shows a Hot Standby system and the relationship between the 2 redundant systems Two 140 CPU 671 60 controllers are connected via a link created with fiber optic cable The RIOs are connected both to each other through the fiber optic cable and to the RIO drops CUO NO N O Fiber Optic T Connector Ethernet Switch NOTE The following three items are required 1 Two identical systems 2 identical order of modules in each rack 3 identical software revisions The NOEs are connected to the same switch Connecting to the same switch is recommended because the NOEs communicate with each other in order to swap the IP address There are two reasons to connect to the same switch e f a failure to communicate between the NOEs occurs the time to swap increases e To minimize the probability of a failure connect the two NOEs to the same switch The other requirement for the switches is that they are on the same sub network 184 31001913 10 2009 Hot Standby NOE Configuration and Hot Standby TCP IP Configuration When an NOE goes into service the first time the NOE attempts
42. Scanner dialog box opens Click the Specify IP Address button Type the new IP Subnet Mask and Gateway addresses in the respective fields Select the correct Internet frame type from the Frame Type list oa AJOJN If the module s BootP server will assign Ethernet address parameters click the Use BootP Server button Note If you click this button the address parameter fields will not be available and will not display the addresses How the Module Derives Its IP Address During initialization the NOE 771 module attempts to read the address parameter information from the PLC and determines its IP Address in the following fashion e Ifthe PLC has the IP Address and the BooiP server is not selected the module will use the configured IP address that you assigned in Step 2 of the above procedure e f the BootP server was selected in Step 5 of the above procedure the module will send BootP requests to receive its IP Address e f no Configuration Extension exists the NOE sends out BootP requests If the module does not receive its IP Address from the BootP server after 2 minutes it will use the IP Address derived from its MAC address NOTE The MAC address is assigned at the factory and is recorded on a front panel label above the cable connector This is a unique 48 bit global assigned address which is set in PROM The Ethernet address is recorded on the label in hexadecimal in the form 00 00 54 xx xx
43. These statistics also may be obtained from the MSTR block Refer to the Ladder Logic Block Library User Guide 840 USE 101 for details 204 31001913 10 2009 Using the Network Options Ethernet Tester Reading Registers Reading Registers The following procedure describes how to read registers from the Ethernet adapter using your NOET Step Action 1 Establish a connection with the Ethernet adapter 2 e Click Messages Read Register or e Click the Read Register toolbar icon CSM Window Read Register In the Polling Interval field type the number of seconds between transactions Read Registers x Polling Interval a Starting 4X Register 1 Cancel di Number of registered to read 1 In the Starting 4x Register field type the register number of the first 4x register When typing the 4x register number omit the leading 40 or 400 In the Number of registers to read field type in the number of registers to read Click OK Result The register values display in the window for this connection Five values will be listed in each row with the number of the first register at the beginning of the row 31001913 10 2009 205 Using the Network Options Ethernet Tester Writing Registers Writing Registers The following procedure describes how to write registers from the Ethernet module using your NOET Step Action 1 Establ
44. Title of Documentation Reference Number Concept User Manual 840 USE 503 BooTP Lite Ethernet IP Address Download Utility Instructions 31002087 FactoryCast User Guide 31001229 Hot Standby Planning and Installation Guide 840 USE 106 10 31001913 10 2009 Ladder Logic Block Library User Guide 840 USE 101 MODBUS Protocol Reference Guide 31002841 Open MODBUS Specification www modicon com openmbus ProWORX NxT User Guide 372 SPU 680 01 ProWORX 32 User Guide 372 SPU 780 01 Remote I O Cable System Planning and Installation Guide 890 USE 101 You can download these technical publications and other technical information from our website at www schneider electric com Product Related Information User Comments The information provided in this documentation contains general descriptions and or technical characteristics of the performance of the products contained herein This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications It is the duty of any such user or integrator to perform the appropriate and complete risk analysis evaluation and testing of the products with respect to the relevant specific application or use thereof Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein If you have
45. a 100BASE FX Ethernet network at any given time but not both at the same time The following are switches which Schneider Electric sells Hub or Switch Description 499NEH10410 Hub with 4 ports 10BASE T 499NOH10510 Hub with 3 ports 10BASE T and 2 ports 10BASE FL 499NTR10010 Transceiver 10BASE T 10BASE FL 499NEH14100 Hub with 4 ports 100BASE TX 499NTR10100 Transceiver 100BASE TX 499NES18100 Switch with 8 ports 10 100BASE TX 499NES17100 Managed Switch with 7 ports 10 100BASE TX 499NOS17100 Managed Switch with 5 ports 10 100BASE TX and 2 ports 100BASE FX The following are Schneider Electric cables that support multicast filtering Cable Description 490NTWO000 02 05 12 40 80 U StraightThru cable 490NTC000 05 15 40 80 U Crossover cable Fiber Optic Remove the protective cap from the module s MT RJ connector port and the protective cap from the tip of the black connector on the MT RJ fiber optic cable Note the plug only fits to the socket in 1 way It should snap into place The following figure shows MT RJ fiber optic cable eaat an ne genet te _ ee 31001913 10 2009 39 Installing the Module Assigning Ethernet Address Parameters Overview CAUTION DUPLICATE ADDRESS HAZARD Be sure that your NOE 771 0 module receives a unique IP address Two or more devices with the same IP address can cause unpredictable network operation Failure to follow these instructions can result in injury or e
46. and Cabling Overview The following information describes the 10 100 BASE T and 100 BASE FX connectors 10 100 BASE T Twisted Pair Connector The NOE 771 e modules 10 100 BASE T connector is a standard RJ 45 twisted pair socket The following figure shows the 10 100 BASE T connector 8 i lt lt a zh Schneider Electric recommends that you use Category 5 STP cabling which is rated to 100 Mbps with an RJ 45 connector The eight pins are arranged vertically and numbered in order from the bottom to the top The RJ 45 pinout used by this module is e Receive Data 3 e Receive Data 6 e Transmit Data 1 e Transmit Data 2 100 BASE FX The NOE 771 modules 100 BASE FX connector is an MT RJ socket or a mating fiber optic cable connector See the figure in Front View see page 16 For the NOE 771 you may need an MT RJ to SC duplex multimode fiber optic cable assembly 62 5 125mm Schneider Electric recommends cable number 490NOC00005 to connect to fiber hubs switches NOTE The NOE 771 is a 1 channel device It is capable of communicating over either a 10 100BASE T or a 100BASE FX Ethernet network at any given time but not over both at the same time 31001913 10 2009 19 Product Description 1 0 Scanner 140 NOE 771 00 01 11 Overview Refer to the I O Scanner see page 120 section in this manual 20 31001913 10 2009 Product Description Modb
47. 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 pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to help ensure compliance with documented system data only the manufacturer should perform repairs to components When devices are used for applications with technical safety requirements the relevant instructions must be followed 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 information can result in injury or equipment damage We welcome your comments about this document You can reach us by e mail at techcomm schneider electric com 31001913 10 2009 11 12 31001913 10 2009 Product Description Introduction This chapter provides product overviews of the Quantum modules for Ethernet communication It covers the 140 NOE 771 e modules and the built in Ethernet port of the 140 CPU 6 modules What s in this Chapter This chapter contains the following topics Topic Page NOE 771 e Module Overview 14 LED
48. as offset within that area In 4x registers the leading 4 must be omitted For example 59 contents of the variables or value of the literal 40059 The parameter can be specified as direct address located variable unlocated variable or literal Number of registers to be read from the addressed slave 1 100 The NO_REG parameter can be specified as direct address located variable unlocated variable or literal Transition to ON state for one program cycle signifies receipt of new data ready to be processed The NDR parameter can be specified as direct address located variable or unlocated variable Transition to ON state for one program cycle signifies detection of a new error The ERROR parameter can be specified as direct address located variable or unlocated variable This word parameter addresses the first register in a series of NO_REG registers lying in series used as destination data area The REG_READ parameter must be entered as a direct address or located variable Error code see Runtime errors The STATUS parameter can be specified as direct address located variable or unlocated variable 98 31001913 10 2009 Transferring Data Using Communication Blocks WRITE_REG Function Description Upon request the WRITE_REG block writes a register area once rising edge of the REQ input It transfers data from the PLC via TCP IP Ethernet to an addressed slave EN and ENO can be config
49. body of the loop transmit message calls the window socket DLL send function The following list describes the outcomes of the send function and the actions taken e The message was sent successfully TransmitMessage changes the transmit state to TX_DONE and exits the loop e Only part of the message was sent TransmitMessage reenters the loop e Send function returns an error indicating there is no buffer space within the transport system TransmitMessage changes the transmit state to BLOCKED and exists the loop e Send function returns some other error TransmitMessage closes the connection changes the transmit state to IDLE and exits the loop When buffer space within the transport system becomes available to transmit messages the window socket DLL generates a FD_WRITE event CSample_View OnTcpWrite function processes the FD_WRITE function by calling TransmitMessage The receive state machine see page 254 processes the response to a request When the receive state machine has completed receiving the response it changes the transmit state machine from the TX_DONE state to the WAIT_TO_TX state Recall that the TransmitUserRequest saves the time CSample_View OnPolllnterval uses this saved time to determine if a new request needs to be transmitted OnPolllnterval is called by MFC architectural framework to process the WM_POLL_INTERVAL sent when CMainFrame class processes the window timer message WM_TIMER OnPolllnterval examines the t
50. cc cece tee eens 191 Network Effects of Modicon Quantum Hot Standby with Unity Solution 192 Chapter 10 Using the Network Options Ethernet Tester 195 Installing the Network Options Ethernet Tester 196 Establishing a Connection with an Ethernet Module 197 Getting and Clearing Statistics 0 2 0 0c 200 StatiStics vorre i ee Ea chy Wa ete E ee isd ae Saas 203 Reading Registers 0 cece tees 205 Writing Registers 20 0 eee eee 206 Using the Test Button r crena kesir eee 208 Chapter 11 SNMP esa cc60 noes ves ee cee aie ar Siok See aha eee 211 ON cece E a mele ae cesta aie ess E tet Sent ca Sonia BN 212 ASN 1 Naming Scheme 0 000 c cece eee 215 Configuring a NOE with SNMP 0002 anaana 217 Configuring an NOE with TFE Private MIB 0 0000 219 Chapter 12 Maintenance 00 cece ee eee eens 227 ReSponding to Errors seriei bake as bd eevee eR as dar bat ecko tena ag 228 Reading and Clearing the Crash Log cee eee eee eee 233 Downloading a New NOE Exec 0 0 0 e cece eee 234 The Concept EXECLoader 1 0 00 eects 235 Downloading a New NOE Exec using FTP 0000e eee 238 Downloading a New NOE Kernel 0 00 e cece eee eee 240 31001913 10 2009 5 Appendices 663 020 odes heehee ee eee pte tates os erek 241 Appendix A Specifications 0 00sec eee eee 24
51. change the NOE through the Ethernet Configuration screen NOE Diagnostics Displays links to Ethernet Statistics and the Crash Log File Diagnostics Support Provides you with contact information for technical assistance sales and feedback 31001913 10 2009 167 Embedded Web Pages NOE Diagnostics Page Overview The following information describes the NOE Diagnostics page NOE Diagnostics Page Links The following table describes the links on the NOE Diagnostics page Link Results Home Returns you to the Quantum Welcome page Ethernet Statistics Displays the Ethernet Module Statistics page where you can display the Ethernet statistics and reset the counters Crash Log File Diagnostics Displays the Crash Log entries for use in diagnosing the cause of crashes Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration Page NOE Properties Provides information about NOE properties Support Provides you with contact information for technical assistance sales and feedback 168 31001913 10 2009 Embedded Web Pages Crash Log Diagnostics Overview The Crash Diagnostics page displays a crash log file when a crash has occurred and a status message when no crash has occurred Click Clear Crash Log File to clear the file Crash Log Diagnostics Links The following table describes the links on th
52. classes is described below Data Access Read write both discrete and analog data values from PLC register files Online Programming Services make relatively minor alterations to ladder logic programs with a highly controlled introduction of these changes into the executing program Image Download Upload Image download services support the downloading of a ladder logic control program to the PLC Image upload services support the uploading of a ladder logic control program from a PLC to PC host for archival backup purposes Configuration Configuration services allow you to define parameter values which affect the PLC s register files O map communication port configuration and scan attributes to name a few Device Execution State Control This service class allows you to start stop the PLC scan execution You must be in an application login context which is obtained through other Modbus services 31001913 10 2009 261 Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol PDU Analysis Analysis The MBAP PDU is transmitted over a TCP IP Ethernet stack Both Ethernet II and IEEE 802 3 framing will be accommodated Ethernet II framing is the default from the wire in for IEEE 802 3 framing Pees is IEEE 802 3 framing if length lt 1500 802 3_pdu dst_addr 6 src_addr 6 length 2 data 802 2_pdu xan IEEE 802 3 PDU has a maxFrameSize o
53. fields and includes the dst_id and data fields The remainder of the pdu includes two fields dst_idx 1 byte destination index is used for intra system routing of packets currently not implemented data n bytes this is the service portion of the Modbus pdu mb_pdu and is defined below The service portion of the Modbus Application Protocol called mb_pdu contains 2 fields mb_pdu func_code 1 data n func_code 1 byte MB function code data n bytes this field is function code dependent and usually contains information such as variable references variable counts and data offsets The size and content of the data field are dependent on the value of the function code 31001913 10 2009 263 Ethernet TCP IP Modbus Application Protocol TCP IP Specific Issues Broadcast Multicast TCP Port Number Although broadcast and or multicast are supported by both IP network address and IEEE 802 3 MAC address the MBAP does not support either broadcast or multicast at the application layer Schneider Electric s Quantum PLCs use broadcast addressing because they use ARP to locate the destination node The client interface to the MBAP service on the PLC the MSTR block requires you to provide the destination IP address Also the embedded stack uses a pre configured default gateway IP address in the case where ARP does not succeed Schneider Electric has obtained a well known system port from an Internet
54. fields to complete the BootP configuration form Field Information to be Supplied Hostname Text to identify device Host IP address IP address from system administrator read from sticker on device Host Mac address IEEE global address Subnet mask Supplied by system administrator and configured on the server by the system administrator Gateway Define the address of route to use to access nodes off the devices subnet 31001913 10 2009 157 Embedded Web Pages Adding to the BootP Database File If you want to add an entry to the BootP Database File complete the fields on the form and press the Add a New Entry button Changing the BooiP Database File The following steps describe how to change an entry in the BootP Database File Step Action 1 Enter the new information on the BootP Node Configuration screen 2 Click the Change an Entry button Result A new entry will be made at the bottom of the Database Table and you will get a successful entry message Click Configure NOE to return to the Configure NOE screen Click Configure BootP Enter the information to be old information OIJ A wo Click Delete an Entry Deleting the BootP Database File The following steps describe how to delete an entry in the BootP Database File Step Action 1 Enter the new information for the item to be deleted 2 Click the Delete an Entry button Result
55. file rm crash log 31001913 10 2009 233 Maintenance Downloading a New NOE Exec Introduction Use the following tools to download a new NOE Exec e Schneider Automation programming packages see corresponding manuals e FTP 234 31001913 10 2009 Maintenance The Concept EXECLoader Overview This section describes the use of the Concept EXECLoader to download a new NOE Exec Downloading NOE Exec Follow the steps below to download a new NOE Exec using the Concept EXECLoader Step Action 1 Activate the Exec Loader program 2 Click Next to start the Exec Loader process 3 Click the TCP IP Ethernet button and click Next EXECLoader Communication Protocol Schneider Automation EXECLoader Schneider Step 1 Please select one of the listed Protocols 4 p Electric E Modbus Plus E Modbus RTU R232 e Modbus ASCII R232 creas areal 31001913 10 2009 235 Maintenance Step Action 4 Click the Direct Device button and click Next Schneider Automation EXECLoader A Schneider Step 2 Please select the Target Device P Electric Target Address TOP P Address D Brive 205 217 193 174 Connect Device Type IF PLC E Direct Device E Local Head E Remote I O Drop Slot Number Drop Number 5 Click the Transfer EXEC to Device button Schneider Automa
56. from 1 through 50 Note Distribution period is the minimum number of controller scan times before an update will occur Before entering a value in the Group address field identify the station s distribution group The Group address entry will be an IP address from 224 0 0 0 through 239 255 255 255 Group address The Class D Multicast IP address used for a distribution group All members of this distribution group are configured to use the same group address and therefore all members can communicate with each other using Global Data Set the timeout in the Health Time Out field This value is measured in milliseconds and can be set to a value that ranges from 50 through 1000 ms increase in units of 50ms Note Validity Time is the maximum time between received subscriptions before a subscription is declared unhealthy faulty In the 4x Starting Address set the Data Zone field If you are connected to an Ethernet switch that supports multicast filtering select the Multicast filtering check box Enter MW word location for the Health Bits This is the register where the health bit will be stored NOTE Health bits run in different directions e O scanner health bits run left to right e Global Data health bits run right to left 31001913 10 2009 115 Transferring Data with the Global Data Publish Subscribe Utility NOEs 01 11 21 Changing Global Data Variables To change the
57. indistinguishable at this scale because the response times are so similar You can see the similarity in the following table of data from which the above graph was plotted Number of Devices to Scan Time from Scanned Device Input to Scanned Device Output ms 65150 NOE 771x1 v3 3 10 ms scan 20 ms scan 50 ms scan 100 ms scan 200 ms scan 1 device 35 61 153 302 602 8 devices 36 62 154 303 603 16 devices 38 64 155 305 606 32 devices 40 66 157 307 609 142 31001913 10 2009 Embedded Web Pages Overview This chapter presents the contents of the embedded Web pages contained in the Quantum 140 NOE 771 modules These Web pages enable you to access diagnostic information view configuration information and change the online configurations for the module What s in this Chapter This chapter contains the following topics Topic Page Accessing the Web Utility Home Page 144 Quantum Welcome Page 146 Configured Local Rack Page 147 CPU Configuration Screen Page 148 Ethernet Module Statistics Page 150 Remote I O Communication Status Page 151 Quantum PLC Data Monitor Page 152 Configure NOE Page 153 Configure SNMP Page 154 Configure Address Server Page 156 Extended Web Diagnostics Pages 160 NOE Properties Page 167 NOE Diagnostics Page 168 Crash Log Diagnostics 169 Contacting Schneider Automation Page 170 31001913 10 2009
58. oO AJOJN Read CTE Config extension 5 ak Write CTE Config extension Po Send email XIX XxX X OK Xx Legend Yes No 31001913 10 2009 105 Transferring Data Using Communication Blocks ENABLE ABORT ACTIVE ERROR SUCCESS DATABUF CONTROL When ON the operation specified in the first CONTROL register is enabled When ON the currently active operation is aborted ON if the operation is active ON if the operation was aborted without success ON if the operation concluded successfully The MW word 4x register specified is the first in a group of successive output marker words in the data field For operations providing data for example write operations the data field is the data source For operations receiving data for example read operations the data field is the data sink In the case of Ethernet CTE read and write operations the middle input stores the contents of the Ethernet configuration extension table in a series of registers This word parameter addresses the first of several successive MW words 4x registers The control block is contained in these registers The first register displayed contains a number from 1 to 12 which provides the operation code of the MODBUS operation to be performed The contents of the sequence registers are determined by the operation The structure of the control block differs accordin
59. page 217 and SETs see page 217 to retrieve system information and set system environment variables NOTE The TFE private MIB is available only in the 140 NOE 771 01 11 and 21 the Transparent Factory Real Time modules The 140 NOE 771 00 and 10 the Transparent Factory modules use the previous MIB Schneider Private MIB Schneider Automation obtained a PEN from the IANA That number represents a subtree in the SNMP MIB a number that is a unique identifier used for Groupe Schneider The object identifier for the root of the Groupe Schneider subtree is 1 3 6 1 4 1 3833 and represents a path to the subtree as follows iso 1 org 3 dod 6 internet 1 private 4 enterprise 1 GroupeSchneider 3833 Transparent_Factory_Ethernet 1 Under the Groupe Schneider private MIB is a Transparent Factory Ethernet TFE private MIB Transparent_Factory Ethernet 1 31001913 10 2009 219 SNMP TFE Private MIB The Transparent Factory SNMP embedded component controls the Schneider private MIB function The Schneider private MIB and associated services perform network management on all components of the system The Transparent Factory private MIB provides the data to manage the main Transparent Factory communication services for all the communication components of the Transparent Factory architecture ETYs NOEs third party toolkit ENTs M1Es The Transparent Factory private MIB does not define the specif
60. procedures used by your network e For technical reasons this function block does not allow the use of ST and IL programming languages Symbol Block representation MBP_MSTR BOOL ENABLE ACTIVE BOOL BOOL ABORT ERROR BOOL SUCCESS BOOL CONTROL WORD DATABUF WORD 104 31001913 10 2009 Transferring Data Using Communication Blocks Parameter Description Description of parameters Parameter Data Type Meaning ENABLE BOOL enable MSTR function ABORT BOOL cancel active MSTR operation ACTIVE BOOL operation is active ERROR BOOL faulty operation SUCCESS BOOL operation completed successfully CONTROL WORD first MW word 4x register of the MSTR control block DATABUF WORD first MW word 4x register of the data field Function Mode of MBP_MSTR Blocks Using the MBP_MSTR block one of 12 available network communication operations can be triggered via the network Each operation receives a code Whether the operations are available depends on the type of network used The following table explains the valid function codes for the MBP_MSTR block Code Function TCP IP Ethernet 1 Write Data X Read Data Get Local Statistics Clear Local Statistics X X X Write Global Data Read Global Data Get Remote Statistics Clear Remote Statistics Reset optional module OoJ o NI ODO
61. remote node Calls the window socket function recv to receive the response from the remote node e Calls the window socket function closesocket to close the connection and release the socket In addition the NOET encodes the request The request consists of a header followed by a Modbus message As shown in the following table the header contains an invoke identifier a protocol type the command length and a destination identifier Invoke Identifier Protocol Type Command Length Destination ID Modbus Message The winsock lib import library provided by the installation is used to link the window socket calls Development Environment The sample application was developed with Microsoft Visual C version 1 52 The sample application uses Microsoft Foundation Class The initial application was generated by the Visual C application wizard 246 31001913 10 2009 Ethernet Developers Guide Class Descriptions List of Classes CSample_app The Csample_app is the application class This application was generated by the application wizard and the source is in the file sam_app cpp The class declaration is in sam_app h CMainFrame The CMainFrame is derived from the MFC class CMDIFrameWnd and is the application s main window frame The source for CMainFrame is in mainfrm cpp and the declaration is in mainfrm h The code for CMainFrame was initially generated by the application wizard and was mo
62. scanner is a feature of the NOE 771 0s 1 and CPU 651 0 modules which allows repeated reading and or writing to input output devices You can configure the scanner with the Schneider Electric programming packages or directly by using the internal NOE I O Scanner Web site NOE 771 0 and 1 only In both ways you can configure data and transfer it between network nodes without using the MSTR instruction I O Scan List The I O scan list is a configuration table that identifies the targets to which repetitive communication is authorized The list contains enough information to enable each target to construct the Modbus message addressed to the specified remote device and to designate where on the local controller the input and output data are to be mapped at the end of the scan While the controller is running the NOE module transfers data to and from the controller s registers and coils as indicated by the I O scan list There can be multiple instances of the I O scan list The individual scan lists for each module are identified by the Quantum backplane slot number where the NOE is installed Device Control Block See Enable Disable I O Scanner see page 123 Health Block Each health block bit corresponds to an entry in the I O scanner table Each entry in the table represents 1 logical device The bits contain the health status for the Modicon Quantum I O scanner 120 31001913 10 2009 Transferring Data with the I O S
63. the CPU Configuration screen Link Results Home Displays the Quantum Welcome Page Configured Local Rack Displays the Quantum Local Rack with NOE and CPU Ethernet Statistics Displays the Ethernet Module Statistics with the Reset Counters link RIO Status Displays the Remote I O Communications Status Graphic Editor only 771 01 11 21 Displays the Graphic tool for creating input output user screens only with FactoryCast Data Monitor Allows access to the Quantum PLC Data with editing capabilities 31001913 10 2009 149 Embedded Web Pages Ethernet Module Statistics Page Overview The statistics on Ethernet Module Statistics page are information only To retain any of the information appearing on the Ethernet Module Statistics page you must copy it offline for example to your hard drive The following figure shows the Ethernet Module Statistics page The counters may be reset to 0 by clicking the Reset Counter button ZJ Quantum Ethemet Module Statistics Microsoft Internet Explorer _ oy xi Eile Edt View Go Favorites Help Fal Address fel http 192 168 5 20 secure system ethemet htm zl l Links A ETHERNET MODULE STATISTICS Status Running Cink App Host Name C Reference i40 NoE 771 01 MAC Address 00 00 54 10 31 81 Rack fi IP Address 192 168 5 20 Slot fi Subnet Mask 255 255 255 0 Transmit Speed
64. the Internet subtree It is managed by the Internet Assigned Numbers Authority and includes the standard MIBs 2 mib 2 1 group of managed objects 4 ip the mib 2 1 IP group 1 of 11 e 3 ipinReceives the MIB object 216 31001913 10 2009 SNMP Configuring a NOE with SNMP The Object Identifier OID In the ASN 1 naming scheme example the MIB object identified by the notation 1 3 6 1 2 2 4 3 is referred to as the Object Identifier or OID All OIDs can be envisioned as part of a tree structure which begins at the root ISO and branches out with each subtree identified by an integer SNMP Protocol Data Units SNMP uses Protocol Data Units PDUs to carry the requests and responses between the manager and the agents for the information contained in an OID The SNMP message is the innermost part of a typical network transmission frame as shown below IP UDP SNMP ae Header Header Message otwor Trailer The PDUs within the SNMP initiate the communication between the manager and the agents The SNMP installed on your NOE module uses the following 3 PDUs e GetRequest e SetRequest e Trap GetRequest PDU The GetRequest shortened to Get PDU is used by the SNMP manager to retrieve the value of 1 or more objects OIDs from an agent SetRequest PDU The SetRequest shortened to Set PDU is used by the SNMP manager to assign a value to 1 or more objects OIDs residing in an agent 31001
65. the low level kernel within the NOE 771 firmware Follow the procedure below to ensure the proper installation of new kernel firmware NOTE The NOE kernel can not be downloaded using FTP CAUTION NOE OPERATION You must follow the kernel download procedure below Failure to do so will render the NOE inoperable Failure to follow these instructions can result in injury or equipment damage Kernel Version Please check the current NOE kernel version on the NOE Properties Web page Follow these links Web Server Diagnostics and Online Configuration gt NOE Properties Do not change a new version of the NOE kernel Procedure Follow these steps to download a NOE kernel Step Action 1 Check the current version of the NOE s Exec firmware 2 If the Exec is not at 2 00 or later you must update the Exec first After loading the new Exec and before loading the kernel make sure to cycle power to the NOE 3 Loading the kernel firmware is performed using the EXECLoader in the same manner as the Exec firmware 4 After the transfer is successful the NOE needs approximately 1 minute to burn the new kernel into the NOE s flash and will then go through a reboot sequence 240 31001913 10 2009 Appendices Overview The appendices provide supplementary reference information for the Quantum NOE 771 series of modules What s in this Appendix The appe
66. to call attention to information that clarifies or simplifies a procedure The addition of this symbol to a Danger or Warning safety label indicates that an electrical hazard exists which will result in personal injury if the instructions are not followed personal 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 or serious injury A WARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death or serious injury 0 This is the safety alert symbol It is used to alert you to potential 31001913 10 2009 7 PLEASE NOTE A CAUTION CAUTION indicates a potentially hazardous situation which if not avoided can result in minor or moderate injury CAUTION CAUTION used without the safety alert symbol indicates a potentially hazardous situation which if not avoided can result in equipment damage Electrical equipment should be installed operated serviced and maintained only by qualified personnel No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment and the installation and has received safety training to recognize and avoid the hazards involved
67. to get its IP address from a BOOTP server If a BOOTP server is not available the NOE derives its IP address from its MAC address Connecting to a BOOTP server or deriving the IP address from a MAC address gives you a connection to the NOE and you can then download a project to the PLC All standard rules apply to IP addressing with the additional restriction that the IP address cannot be greater than 253 or broadcast address minus 2 Also no other device can be assigned the configured IP 1 address 31001913 10 2009 185 Hot Standby IP Address Assignment Configuring the Module The module can be configured to work in conjunction with the Modicon Quantum Hot Standby with Unity controller Since the primary CPU and secondary controllers must have an identical configuration the configured IP addresses will be the same The module s IP address is either the configured IP address or the configured IP address 1 The current local Hot Standby state determines the IP address In the offline state the IP address is determined by whether or not the other controller is in transition to the primary CPU state This table shows the IP address assignments Hot Standby State IP Address Primary CPU Configured IP address Standby CPU Configured IP address 1 Transition from primary to offline Configured IP address if peer controller does not go to primary CPU Transition from standby to offline
68. which they reside Accessing and Editing an I O Map Follow the steps below to access and edit an I O map from the PLC Configuration screen Step Action Click Configure gt I O map 1 0 map Result The I O Map dialog box opens see below 58 31001913 10 2009 Configuring the Module with Concept Step Action Click Edit VO Map x Head Setup Expansion Size fa gJ ol Go To Local Remote Head Slot Insert Delete Copy Paste pel e eee ae ea 1 Quantum 1 0 E Select this row when inserting at end of list Cancel Help Result The Local Quantum Drop I O dialog box opens Local Quantum Drop x Drop Module Modules 0 Bits In 0 Bits Out 0 Bits In 0 Bits Out 0 Status Table ASCII Port none f Delete Params Insert Prev Next Cut Copy Paste Description 31001913 10 2009 59 Configuring the Module with Concept Step Action 3 Click the ellipsis button under the Module column Result The I O Module Selection dialog box opens x Categories Modules lt all gt 140 NOE 211 x0 1 ENET TCP IP TP Analog In 140 NOE 211 x0 2 ENET TCP IP TP Analog Out 140 NOE 251 x0 1 ENET TCP IP FL Analog Mixed 140 NOE 251 x0 2 ENET TCP IP FL Discrete In 140 NOE 771 00 1 ENET 10 100 TCP IP Discrete Out
69. will reset under the following conditions Remote Connection Request during Hot Standby If a remote client establishes a TCP IP connection during a Hot Standby switchover the server closes the connection using a TCP IP reset Hot Standby Switchover during Remote Connection Request If a remote client makes a connection request and a Hot Standby switchover occurs during the connection request the sever rejects the TCP IP connection by sending a reset Outstanding Requests If there is an outstanding request the NOE will not respond to the request but the NOE will reset the connection The NOE will do a Modbus logout if any connection has logged in During a switchover the NOE will reset all client connections using a TCP IP reset 192 31001913 10 2009 Hot Standby I O Scanning Service A WARNING UNINTENDED EQUIPMENT OPERATION DEVICES GO TO THEIR FALL BACK STATES DURING SWITCHOVER Configure Ethernet output devices to their Hold Last Value fallback state whenever possible Output devices that support only a Set to Zero fallback state may produce a pulse during switchover Failure to follow these instructions can result in death serious injury or equipment damage I O scanning provides the repetitive exchange of data with remote TCP IP nodes I O devices While the PLC is running the primary CPU NOE sends Modbus read write read or write requests to remote I O devices and transfers data to a
70. you connect the primary and secondary NOEs to the same switch because e Communication failures between the NOEs increases the time to swap e Connecting 2 NOEs to the same switch minimizes the probability of a communication failure 182 31001913 10 2009 Hot Standby NOTE Schneider Electric recommends that you use a switch not a hub to connect the NOEs to each other or to the network Schneider Electric offers switches please contact a local sales office for more information The NOE waits for either a change in the controller s Hot Standby state or the swap of UDP messages Then the NOE performs 1 of 2 Hot Standby actions If the NOE Then Detects that the new Hot Standby state is either primary or standby The NOE changes the IP address Receives a swap UDP message The NOE transmits a Swap UDP message and swaps the IP address All client server services I O scanner global data messaging FTP SNMP and HTTP continue to run after the switch from the old to the new primary NOE NOTE Failure of an NOE module is not a condition for the primary system to leave the primary state Hot Standby and NOE Module Functionality The following table identifies the Ethernet services that are available and unavailable in a hot standby solution Service NOE 771 Family I O Scanning Available Global Data Available Modbus Messaging Available FTP TFTP Available
71. 0 2 000 1 500 1 000 500 X SS a A r T T T T F T T T T T T 6 11 16 21 26 31 36 41 46 51 56 61 e Mn CPU Scan m 1mSec CPU Scan 2mSec CPU Scan 4 mSec CPU Scan x 5mSec CPU Scan 8 10 mSec CPU Scan 20mSec CPU Scan x 40 mSec CPU Scan 60 mSec CPU Scan 80 mSec CPU Scan 100 mSec CPU Scan 268 31001913 10 2009 I O Scanner Performance Statistics Quantum 534 CPU The following figure shows the performance of the 140 NOE 771 00 01 and 11 I O scanner with Quantum 534 CPU 4 500 4 000 3 500 3 000 2 500 2 000 1 500 1 000 500 31001913 10 2009 269 I O Scanner Performance Statistics 270 31001913 10 2009 Glossary ACK address API ARP ASN 1 A Acknowledgement On a network the identification of a station In a frame a grouping of bits that identifies the frame s source or destination Application Program Interface The specification of functions and data used by one program module to access another the programming interface that corresponds to the boundary between protocol layers Address Resolution Protocol A network layer protocol used to determine the physical address which corresponds to the IP address for a host on the network ARP is a sub protocol which operates under TCP IP Abstract Syntax Notation Grammar used to define a protocol OSI scope 3100191
72. 00BASE T Provides an RU 45 socket for connection to a shielded twisted pair Connector Ethernet cable 31001913 10 2009 15 Product Description Front View The following figure shows the front of the NOE 771 00 Ethernet module ke WRITE ASSIGNED IP ADDRESS ABOVE Do Not Duplicate Address Use Permanent Felt tip Pen SS 140 G C y NOE 771 00 Ethernet 10 100 Active Ready Fault Run Coll Link 2 Tx Act 10NB 100MB Fduplex Kernel Appl pre O a i h la model number module description color code LED display IP address writable area global address label 100 Base Fx MT RJ cable connector 10 100 Base T RJ 45 cable connector removable door NO oO ROD 16 31001913 10 2009 Product Description LED Indicators Overview The LED indicator panel provides continuous operating information about the NOE 771 modules and their connection to the network LED Indicator Panel The following table describes the function of each LED indicator on the LED indicator panel LED Color Description Active Green Indicates the backplane is operating Ready Green Indicates module is healthy Fault Red Indicates when the NOE is ina crash state Run Green Flashes to indicate diagnostic code as described in Run LED Statu
73. 05 Bad data field in the CTE 74 31001913 10 2009 Transferring Data Using Communication Blocks Read and Write MSTR Operations Overview This topic describes these operations for MSTR e read operation An MSTR read operation transfers data from a specified slave source device to a master destination device on the network It is operation type 1 in the displayed register of the top node e write operation An MSTR write operation transfers data from a master source device to a specified slave destination device on the network It is operation type 2 in the displayed register of the top node Read and write use one data master transaction path and may be completed over multiple scans NOTE TCP IP Ethernet routing must be accomplished via standard third party Ethernet IP router products Control Block Utilization The following table describes the registers in the MSTR control block the top node that contain the read or write information Register Function Content Displayed Operation Type 1 write 2 read First implied Error status Displays a hex value indicating an MSTR error Exception response where Exception code response size is incorrect 3000 Exception response where 4001 response size is incorrect Read Write Second implied Length Write number of registers to be sent to slave Read number of registers to be read from slave Third implied Sl
74. 127 0 0 0 255 0 0 0 127 0 0 1 127 0 0 1 1 6 Verify that you have made a connection by typing C gt ping 84 0 0 2 The following figure shows that the connection is verified Reply from 8 Reply from 8 bytes 32 time lt 10ms bytes 32 time lt 10ms 4 0 0 2 4 0 0 2 Reply from 84 0 0 2 bytes 32 time lt 10ms 4 0 0 2 Reply from 8 bytes 32 time lt 10ms 31001913 10 2009 41 Installing the Module Specifying Address Parameters Consult your system administrator to obtain a valid IP address and an appropriate gateway and a subnet mask if required Then follow the instructions in Configuring the Ethernet Address Parameters see page 62 If BootP Server Responds If the server responds with address parameters the NOE 771 module will use those parameters as long as power remains applied to the module If the server does not respond the module will retry its request for 2 minutes If BootP Server Does Not Respond If no BootP response is received the NOE 771 module will use the default IP address During this time the Run indicator will display a pattern of 5 flashes for a BootP attempt and 6 flashes for using the default IP NOE 771 Duplicate IP Address Test In all cases when the NOE 771 e module receives an IP address it will test for duplicate addresses by sending broadcast ARP requests 3 times at 5 second intervals If a duplicate IP address is found on the network the NOE 771
75. 140 NOE 771 00 2 ENET 10 100 TCP IP Disc Mixed 140 NOE 771 01 1 ENET 10 100 TCP IP I O Scanner Intell 1 0 140 NOE 771 01 2 ENET 10 100 TCP IP I O Scanner Motion 140 NOE 771 10 1 ENET 10 100 TCP IP FACTORYCAST 1 0 Adapter 140 NOE 771 10 2 ENET 10 100 TCP IP FACTORYCAST Net Adapter 140 NOE 771 11 1 ENET 10 100 TCP IP FACTORYCAST I O S CPU 140 NOE 771 11 2 ENET 10 100 TCP IP FACTORYCAST I O S Power Supply Other Ei gt OK Cancel Help Help on Module 4 Click Net Adapter in the Categories field and click 140 NOE 771 00 in the Modules field Click OK Result The Local Quantum Drop dialog box updates and the NOE 771 00 is now listed under the Module column and described in the Description column Local Quantum Drop x Drop Module Module 1 Bits In 0 Bits Out 0 Bits In 0 Bits Out 0 Status Table ASCII Pot Delete Params Clear Prev Next Cut Copy Paste Rack Slot Module Detected Description NOL 771 00 ENET10 100TCP IP ns Repeat Steps 3 and 4 if you are adding other modules to the I O map Click OK to return to the PLC Configuration screen 60 31001913 10 2009 Configuring the Module with Concept Configuring the Ethernet Address Parameters Next you must configure the Ethernet address parameters from the Ethernet I O Scanner screen as shown in Configuring the Ethernet Address Parameters see page 62 31001913 10 2009 61 Configuring the Module with Concept Configuring the Ethernet Address
76. 3 Appendix B Ethernet Developers Guide 0000eeeeeee 245 Class Descriptions 0 2 2 0 cette 247 The CSample_doc ClasS 00 0c e eee e eee 248 The CSample_View Class 000 c cece eee eens 249 Timers and Transaction Processing 0s eee ee eee eee 251 Transmit State Machine 0 0 0 cee ee 252 Receive State Machine 00 00 c cece tees 254 Displaying on the Screen 0 0 0 0 cect 256 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol 257 Modbus Application Protocol PDU 00 eee eee eee 259 Modbus Application Protocol Service Classes 5 261 Modbus Application Protocol PDU Analysis 262 TCP IP Specific Issues 0 0 eee ee 264 Reference Documents 00 2c e eee eee ee eee eee 265 Appendix D NOE 771 00 01 and 11 Modules I O Scanner Performance Statistics 267 140 NOE 771 00 01 and 11 I O Scanner Performance 267 MOSSY oars wath ae Sette nade haa ter Be nn Sach E a 271 Indek 25456 dase et eterna ta Pik wanda cee Ce E a eed 283 31001913 10 2009 Safety Information FA 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
77. 3 10 2009 271 Glossary backplane BootP bps bridge BSP CHS client Concept A metal plate with a bus bar and couplers Use the backplane to attach a module and make a PLC bus connection Bootstrap Protocol A protocol used at power up in order to get an IP address which is provided by a BootP server and is based on the module s MAC address Bits per second A device that connects two or more physical networks which use the same protocol Bridges read frames and decide whether to transmit or block them based on their destination address Board Support Package A software package that maps a specific real time operating system RTOSO onto a specific hardware C Hot Standby module provides fault tolerance for remote I O by connecting two redundant NOE modules A computer process requesting service from other computer processes A software package that facilitates controller configuration 272 31001913 10 2009 Glossary cyclic data exchange Provides data transfer between two or more NOE 771 controllers on a TCP IP network D default gateway The IP address of the network or host to which all packets addressed to an unknown network or host are sent The default gateway is typically a router or other device DHCP Dynamic Host Configuration Protocol An improved version of BOOTP DHCP client Host on the network obtaining its configuration from a DHCP Server DHCP Sserver Ser
78. 31001913 06 Quantum NOE 771 ee Ethernet Modules User Guide 10 2009 Schneider Electric www schneider electric com 2009 Schneider Electric All rights reserved 31001913 10 2009 Table of Contents Safety Information 00 cece eee 7 About the Book viii avai coe ae eee 9 Chapter 1 Product Description 0 00 eee eee eee 13 NOE 771 e Module Overview 0 00 cece eee eee 14 LED Indicato S nto sh qin Hee dd So ee ae Ss wee a 17 Connectors and Cabling 0 c cece cette 19 I O Scanner 140 NOE 771 00 01 11 0 0 02 cee ee eee 20 Modbus Messaging 0 20 e eee eet tet 21 FTP and HTTP Saner enseri eh ee ew nee pa ee ew ee eee ar 22 Address Server 1 0 0 0 cc cece eet eee 23 Global Data yine tag eh aii Bie keene seeks OEE etek gone 25 Bandwidth Monitoring 0 00 eee 26 Web Diagnostics a a ara ees 28 System Requirements and Customer Support 0 5 29 Chapter 2 Installing the Module 0000 cece eee eee 31 Before You Begin 0200s 32 Cabling Schemes tsa ie siae de fabs volta dee baa Aged eke 34 Security He ale a enter heb tns Dp hake tines tet a eee Sinan Gs 36 Installing the Module 0 0 eee 37 Connecting the Cable 1 0 eects 39 Assigning Ethernet Address Parameters 20 0 eevee 40 Establishing the FTP Password 00 c eee eee eee 43 Establishing the HTT
79. 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 140 CPU 434 12A with 140 NOE 771 x1 Module The 140 CPU 434 12A with an NOE 771 x1 v3 3 was used for the following measurements 800 700 600 500 400 F 300 200 100 0 0 50 100 150 200 250 PLC Scan Time ms The plot shows four lines representing the number of scanned devices e 1 device e 8 devices e 16 devices e 32 devices Time ms The four lines are indistinguishable at this scale because the response times are so similar You can see the similarity in the following table of data from which the above graph was plotted Number of Devices to Scan Time from Scanned Device Input to Scanned Device Output ms 434 12A NOE 771 x1 v3 3 10 ms scan 20 ms scan 50 ms scan 100 ms scan 200 ms scan 1 device 41 73 179 358 665 8 devices 42 75 180 360 666 16 devices 44 77 182 361 668 32 devices 46 79 185 364 671 31001913 10 2009 141 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only 140 CPU 65 150 with NOE 771 x1 v3 3 The 140 CPU 65 150 with an NOE 771 x1 v3 3 is used used for the following measurements 700 600 500 400 300 200 100 0 Time ms 0 50 100 150 200 250 PLC Scan Time ms The plot shows four lines representing the number of scanned devices e 1 device e 8 devices e 16 devices e 32 devices The four lines are
80. 4 MSB of the 32 bit destination IP address WordArr5 3 WORD byte 3 of the 32 bit destination IP address WordArr5 4 WORD byte 2 of the 32 bit destination IP address WordArr5 5 WORD byte 1 LSB of the 32 bit destination IP address Function Mode of the WRITE_REG Module REQ Although a large number of WRITE_REG function blocks can be programmed only sixteen write operations may be active at the same time In such a case it is insignificant whether they are the result of this function block or of other write operations for example MBP_MSTR CWRITE_REG All function blocks use one data transaction path and require multiple cycles to complete a job If several WRITE_REG function blocks are used within an application they must at least differ in the values of their NO_REG or REG_WRITE parameters NOTE A TCP IP communication between a Quantum PLC NOE 771xx and a Momentum PLC all TCP IP CPUs and all TCP IP I O modules is possible only when one read or write job is carried out in every cycle If several jobs are sent per PLC cycle the communication stops without generating an error message in the status register of the function block The status signals DONE and ERROR report the function block state to the user program The entire routing information is contained in data structure WordArr5 of input AddrFld The type of function block connected to this input and thus the contents of the data structure depend on the network u
81. 4 CAUTION DUPLICATE ADDRESS HAZARD Do not connect the module to your network until you have ensured that its IP address will be unique on the network Two devices with the same IP address can cause unpredictable operation of your network Failure to follow these instructions can result in injury or equipment damage A WARNING UNINTENDED EQUIPMENT OPERATION Design your application so that unmonitored modules support communication only to non critical parts of the application Failure to follow these instructions can result in death serious injury or equipment damage Before you install your module you need to complete the following checks e Determine how the NOE 771 module will be assigned its Ethernet address parameters the default method is BootP e Verify that your Ethernet network is properly constructed Determining the Appropriate Ethernet Address Parameters Consult your system administrator to determine if you must configure a new IP address and appropriate gateway and subnet mask addresses or whether the module will obtain its Ethernet address parameters from a BootP server If the administrator assigns new address parameters you must configure the module from your programming panel see page 51 32 31001913 10 2009 Installing the Module Verifying the Network Topology Do not use a standard cable to connect an Ethernet Web embedded server module directly to another device Y
82. 4 xx xx xx 40 31001913 10 2009 Installing the Module Connecting to the Default IP Address To connect to the default IP address with your PC set up an active route from your PC To do this with either Windows 95 98 ME NT 2000 or Windows XP use the following procedure You can use the routes for connecting Ethernet components with other address ranges Step Action 1 Be sure the NOE module is running 2 Obtain the default IP address of the NOE derived from its MAC address e g 84 0 0 2 Open an MS DOS Window Add an active route for the local NOE by typing C gt ROUTE ADD lt target gt MASK lt mask gt lt gateway gt e g C gt ROUTE ADD 84 0 0 0 MASK 255 0 0 0 205 217 0193 5205 Use the default IP address of the NOE module as target address Use class A subnet mask for connecting to every 84 0 0 0 address The gateway address is the IP of your PC Result MS Windows will now talk to any address that starts with an 84 which e is directly connected to a hub or switch accessible to your machine or the specified route gateway can see 5 Confirm that there is a new entry in the active route table by typing C gt route print The following figure confirms that the new entry was added to the active route table Active Routes Network Address Netmask Gateway Address Interface Metric 0 00 0 0 0 0 0 205 217 193 205 205 217 193 205 1 84 0 0 0 255 0 0 0 205 217 193 205 205 217 193 205 1
83. 913 10 2009 217 SNMP Trap PDU The Trap PDU is used by the agent to alert the manager that a predefined event has occurred Version amp Community Identifiers The version identifies the version number of the SNMP software which the manager and agent use Your NOE supports version 1 of the SNMP The community is an identifier that you assign to your SNMP network If community names for the manager and the agent do not agree the agent will send an authentication failure trap message to the manager If the community names and version number agree the SNMP PDU will be processed What Can Be Configured Your NOE module can be configured to send an authentication trap to 2 SNMP managers if it receives a community name in a Get Set request that does not match the configured name Also you can configure the SysContact and SysLocation via the configuration page in the module s Embedded Web pages After making changes in the SNMP Configuration Web page reboot the module using hot swap to set the changes 218 31001913 10 2009 SNMP Configuring an NOE with TFE Private MIB Introduction An MIB is an element used in network management Network management services are based on the need to monitor and manage e performance e fault occurrences e security Each MIB contains a finite number of objects Manage your MIB with a management station running an SNMP management application The management application uses GETs see
84. A yrim SSD NATHL F websag T Merag E Berchet ja Gebs D Jeo i Iman TETO zou l For each connection numbered from 1 to 64 the following information is given remote address IP address remote port TCP local port TCP number of messages sent Mess Sent on this connection number of messages received Mess Received on this connection number of errors Error Sent on this connection 31001913 10 2009 165 Embedded Web Pages Bandwidth Monitoring Page The Bandwidth Monitoring page indicates how the NOE s CPU is shared between the Global Data service the I O Scanner service and the Messaging service The information generated by this service displays both as a graphic and as text The information generated gives you a view of the allocation of service usage Knowing the allocation of services can help you to determine the number and distribution of NOEs on your system W Bandwidth Monitoring Netscape File Edit View Go Communicator Help Le T GE Bookmarks A Location htip 192 160 5 20 secure embedded bandwidth htm r What s Related fx 2 gt 3 3 2a 3 d A Back Foward Reload Home Seach Netscape Print Security Shop Stop 3 Instant Message H WebMail Radio H People Yellow Pages i Downoad E Calendar C4 Channels RealPlayer Bandwidth Monitoring Global Data 1 XO Scanning 4 Messaging 18 Other 80 _ Global Data o VO Scanning Hi Modbus Messaging B O
85. ATISTICS OZ gt GET REMOTE STATISTICS 08 gt CLEAR REMOTE STATISTICS 09 gt Not Supported 10 gt RESET OPTION MODULE 11 gt READ CTE 12 gt WRITE CTE 23 gt READ WRITE DATA Use page 1 for MB page 3 for SYPEP MSTR page 4 for MMSE MSTR 68 31001913 10 2009 Transferring Data Using Communication Blocks MSTR Ladder Logic Representation Overview The following information describes the ladder logic representation for MSTR Ladder Logic Diagram The MSTR Block is represented in ladder logic diagrams as shown below Enables selected control MSTR operation block Terminates active data MSTR operation area MSTR length Inputs Operation is active Operation terminated unsuccessfully Operation successful The MSTR instruction has the following 2 control inputs e The input to the top node enables the instruction if it is ON e The input to the middle node terminates the active operation if it is ON Outputs The MSTR instruction can produce the following 3 possible outputs e The output from the top node echoes the state of the top input It goes ON while the instruction is active e The output from the middle node echoes the state of the middle input It goes ON if the MSTR operation is terminated prior to completion or if an error occurs in completing the operation e The output from the bottom node goes ON if an MSTR operation has been completed succes
86. Data with the I O Scanner 140 NOE 771 00 01 11 Step Action Result The Database Setup dialog box appears Fill in the fields as necessary Click OK Database Setup x Description Page Header S amo OOOOS gt S YS ControllerAddres Descriptor Field Width 12 Network 0001 Row f1 Column 01 Number of Descriptor Fields Confirm Address onEntrys Yes C No Cancel Result The Select Controller Type dialog box appears From the Controller Groups list on the left select Quantum From the Controllers list on the right select the CPU that is installed in your Quantum backplane Click OK Select Controller Type Controller Groups Controllers 38x 48x Quantum 113 2 68x 78x Quantum 113 3 484 Replacement Quantum 213 4 OTHER Quantum 424 X 984ABX Quantum 113 2 REV 2 584 Quantum 113 3 REV 2 Quantum 213 4 REV 2 Quantum 424 X REV 2 Quantum 434 Quantum 534 31001913 10 2009 133 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only Step Action 6 Click OK Controller Configuration Result The Controller Configuration dialog box appears You must define a value in the Conf Extension Size field on the right side of the Controller Configuration screen This value is the amount of memory you require General Ports Controller User Loadables Loadable Library Oxxxx A Iotal Mes
87. Developers Guide When OnTcplpRead is called and the receive state is RX_BODY OnTcplpRead calls rx_msg with receive size equal to the value obtained from the header On return OnTcplpRead examines the number of bytes received If the number of bytes received is not equal to the receive size the receive machine remains in the RX_HEADER state and OnTcplpRead returns If upon return the number of bytes received is the same as the receive size OnTcplpRead has read the response to a transaction OnTcplpRead saves the results and invalidates the client area which causes the results to be displayed OnTcplpRead also changes the transmit state to WAIT_TO_TX and resets the state receive state machine by setting the state to RX_HEADER and the number of bytes received to zero It then returns When OnTcplpReaad is called and the receive state is DUMP_BODY OnTcplpRead calls rx_msg with receive size equal to the value obtained from the header On return OnTcplpRead examines the number of bytes received If the number of bytes received is not equal to the receive size the receive machine remains in the RX_HEADER state and OnTcplpRead returns If upon return the number of bytes received is the same as the receive size the OnTcplpRead has completed reading the message Since this message does not correspond to an transaction the only processing OnTclpRead performs is resetting the receive state machine The member function rx_msg calls the wind
88. Ds 230 kernel version 240 key features 14 L ladder logic control block 70 MSTR block diagram 69 LED indicators 17 run 18 LEDs active errors 229 application errors 232 collision errors 231 fault errors 230 kernel errors 230 link errors 229 ready errors 229 run errors 232 link LEDs 229 local clients 192 log crash 233 log crash accessing and clearing 227 MAC address 172 maintenance 227 management SNMP 212 manager SNMP 212 MBAP 259 262 MBP_MSTR ABORT parameter 106 ACTIVE parameter 106 CONTROL parameter 106 DATABUF parameters 106 ENABLE parameter 106 ERROR parameter 106 function block 104 104 function codes valid 105 function mode 105 parameters 105 SUCCESS parameter 106 memory requirements per module 56 messages confirmation 175 error 175 MIB 212 219 middle node 70 Modbus application protocol PDU 259 Modbus application protocol 258 Modbus I O Scanner Features 121 Support 122 Modbus TCP server performance 21 modes 188 MSTR control block 77 78 79 80 81 CTE error codes 74 inputs 69 installing in TCP IP network 68 ladder logic diagram 69 operations 67 81 outputs 69 read write operations 75 75 reset option module 87 statistics local 77 78 statistics remote 79 80 MSTR function error codes 71 71 72 multicast addressing 264 multicast filtering 177 286 31001913 10 2009 Index N network management 212 networ
89. Ethernet network Hex Error Code Meaning 5004 interrupted system call 5005 I O error 5006 no such address 5009 socket descriptor is invalid 500C not enough memory 500D permission denied 5011 entry exists 5016 an argument is invalid 5017 an internal table has run out of space 5020 connection is broken 5028 destination address required 5029 protocol wrong type for socket 502A protocol not available 502B protocol not supported 502C socket type not supported 502D operation not supported on a socket 502E protocol family not supported 502F address family not supported 5030 address already in use 5031 cannot assign requested address 5032 socket operation on a non socket 5033 network is unreachable 72 31001913 10 2009 Transferring Data Using Communication Blocks Hex Error Code Meaning 5034 network dropped connection on reset 5035 network caused connection abort 5036 connection reset by peer 5037 no buffer space available 5038 socket is already connected 5039 socket is not connected 503A cannot send after socket shutdown 503B too many references cannot splice 503C connection timed out see note below 503D connection refused 503E network is do
90. Global Data variables that appear in the Variable Table area follow the instructions below Verifying System Operation Step Action 1 Highlight the identification number in the Data ID column 2 In the Type column select the publish subscribe variable type from the list Three options are available publish subscribe or none These options display on the screen as follows e NONE e SUB e PUB In the Symbol column you may enter text to describe the variable In the Address column you see the application address for this variable Note This is a read only field 5 In the Length column for each row type a value which represents the number of MW words The ending MW word field is automatically updated If you are using the second method Copy Configuration update Length the first time only 6 When you are finished click the Update Global Data Configuration button To ensure that the system is operational do the following Step Action 1 Verify all controllers are running 2 Look at the health of all variables using the Global Data Diagnostics page Follow these links Diagnostics and Online Configuration NOE Diagnostics Global Data 116 31001913 10 2009 Transferring Data with the Global Data Publish Subscribe Utility Multicast Filtering Overview Reducing Traffic Your NOE may offer the multicast filtering functionality The globa
91. Indicators 17 Connectors and Cabling 19 I O Scanner 140 NOE 771 00 01 11 20 Modbus Messaging 21 FTP and HTTP Server 22 Address Server 23 Global Data 25 Bandwidth Monitoring 26 Web Diagnostics 28 System Requirements and Customer Support 29 31001913 10 2009 13 Product Description NOE 771 e Module Overview Overview The following information provides an overview of the Quantum 140 NOE 771 ee modules General Description Key Features The Quantum 140 NOE 771 00 10 100 Ethernet module shown below is one of the latest models in a line of Quantum Ethernet TCP IP modules designed to make it possible for a Quantum PLC to communicate with devices over an Ethernet network The electronics for the NOE 771 modules are contained in a standard Quantum single width case that takes up one slot ina Quantum backplane The module which is capable of being hot swapped can be plugged into any available slot in the backplane The NOE 771 00 provides real time peer to peer communications as well as I O scanning and a Modbus TCP server The included HTTP services provide maintenance and configuration utilities to the module The key features of the 140 NOE 771 00 01 10 11 21 models are listed below r 1 e 1 _ 1 N HTTP Server FTP Server Flash File System BOOTP Client BOOTP Server SNMP V2 Agent MODBUS Messaging X X X X Xx X X
92. MSTR Operation 84 TCP IP Ethernet Statistics 0 0 eee 86 Using IEC Logic Communication Blocks 020 000 89 CREAD REGit ei wees oes i ole le eat ee Pee ee 90 CWRITE REQ Te raia bts ke eb oo aris ede E D A dee en 93 READ REG ee ete eee ene ae eee wee ee he A SET 96 WRITE REGS 2352 sacacctoe sata tt 2 cecyent Augyae ae corey ae ene 99 TEPIP ADDR ct etna ae pa oa pee ee a Sie oS 102 MBPEMSTRitc chceete sitet cla oe ee ce eats ahaa eas Bee 104 Transferring Data with the Global Data Publish Subscribe Utility NOEs 01 11 21 109 Planning the Global Data Publish Subscribe System 110 Configuring the Global Data Publish Subscribe Utility 113 Multicast Filtering 0 0 0 cee eee eee 117 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only 119 I O Scanner Concepts 00 6 c ett tee ae 120 Enable Disable I O Scanner 0 000 cece eee 123 Configuring the I O Scan List Using Concept 5 125 Completing the I O Configuration 0 000 cece eee ee 129 Configuring the I O Scan List Using ProWORX NxT 132 I O Scanner Response Times Remote Input to Remote Output 140 Embedded Web Pages 00ceeeeeeeee eens 143 Accessing the Web Utility Home Page 0 0 eee 144 Quantum Welcome Page 0 eee eect eee eee 146 Configured Local Rack Page
93. NMP Links 155 confirmation messages 175 connectors 10 100 BASE T 79 100 BASE FX 79 ConneXium 117 ConnexView 213 control block error codes in 77 ladder logic 70 MBP_MSTR function 107 MSTR 77 78 79 80 81 MSTR utilization 75 TCP IP Ethernet 107 CPU Quantum 113 267 Quantum 213 268 Quantum 424 268 Quantum 534 269 CPU PLC configuring 52 CPU configuration via web server 148 crash log 233 accessing and clearing 227 clearing 233 diagnostics via Web server 169 reading 233 CREAD_REG 90 CTC error codes MSTR 74 customer support 29 CWRITE_REG 93 D data area bottom node 70 database modifying 176 DATABUF MBP_MSTR parameter 106 device control block 123 device execution 261 DHCP 172 DHCP server 23 document class 248 downloading NOE exec 227 234 duplicate IP tests 189 E equipment profile subtree 225 error codes MSTR 71 71 72 74 TCP IP Ethernet 77 TCP IP network 72 error messages 175 errors active LEDs 229 application LEDs 232 collision LEDs 231 crash log 233 detecting 228 fault LEDs 230 kernel LEDs 230 link LEDs 229 ready LEDs 229 run LEDs 232 Ethernet control block 107 routing register 107 Ethernet address assigning parameters 40 284 31001913 10 2009 Index Ethernet address parameters 63 using ProoWORX NxT 136 Ethernet configuration extensions middle node 70 top node 70 Ethernet module statistics via we
94. NOEs close the FTP TFTP connection If you send an FTP TFTP request during the switchover the communication is closed Whenever you re open communication you must re enter a user name and a password 194 31001913 10 2009 Using the Network Options Ethernet Tester 1 0 Overview This chapter describes how to use the NOET with a Windows based PC This program can monitor the network by supplying you with operational statistics and provides the capability of reading and writing PLC registers What s in this Chapter This chapter contains the following topics Topic Page Installing the Network Options Ethernet Tester 196 Establishing a Connection with an Ethernet Module 197 Getting and Clearing Statistics 200 Statistics 203 Reading Registers 205 Writing Registers 206 Using the Test Button 208 31001913 10 2009 195 Using the Network Options Ethernet Tester Installing the Network Options Ethernet Tester Overview An Ethernet module may act as a client or as a server If it will be acting as a client that is initiating transactions on the network for its Quantum controller you must program an MSTR block in ladder logic For details about the MSTR block see Transferring Data Using Communication Blocks page 65 The Ethernet module may also act as a server responding to requests and commands from devices on the network for its Quantum controller The Network Opti
95. P Password 00 e eee eee eee eee 47 Establishing the SNMP Community Strings 0 0000 49 Using BootP Lite to Assign Address Parameters 50 Chapter 3 Configuring the Module with Concept 51 Selecting Your PLEG sirs Gee a Rae eed eee S 52 Setting the Number of NOES 00 00 e eee eee eee 56 Accessing and Editing the I O Map 0c eee eee eee eee 58 Configuring the Ethernet Address Parameters 5 62 31001913 10 2009 3 Chapter 4 4 1 4 2 Chapter 5 Chapter 6 Chapter 7 Transferring Data Using Communication Blocks 65 Using 984 Ladder Logic Communication Blocks 66 MSTR Description nanana aaaea aae 67 MSTR Block for TCP IP in Concept 0000 cee eee eee 68 MSTR Ladder Logic Representation 00 c eee eee eee 69 MSTR Function Error Codes 1 0 0 00 c cece ete 71 Read and Write MSTR Operations 0 000 eee eee eee 75 Read Write Data su scire ssion o a A p i a A RA 76 Get Local Statistics MSTR Operation n n uaaa aaaea 77 Clear Local Statistics MSTR Operation a an aaaea aaaea 78 Get Remote Statistics MSTR Operation 0 eee 79 Clear Remote Statistics MSTR Operation 0 0000 0s 80 Reset Option Module MSTR Operation 00 0 eee eee 81 Read CTE Config Extension Table MSTR Operation 82 Write CTE Config Extension Table
96. Q NDR BOOL SLAVEREG ERROR BOOL NO_REG REG READ WORD AddrFld STATUS WORD Parameter Description Description of block parameters Parameter Data Type Meaning REQ BOOL start read operation once SLAVEREG DINT offset address of the first MW word 4x register in the slave to be read from NO_REG INT number of registers to be read from slave AddrFld WordArr5 data structure describing the TCP IP address NDR BOOL set to 1 for one cycle after reading new data ERROR BOOL set to 1 for one scan in case of error STATUS WORD error code REG_READ_ WORD first MW word 4x register for read values 96 31001913 10 2009 Transferring Data Using Communication Blocks Elementary Description for WordArr5 with TCP IP Ethernet Elementary description for WordArr5 with TCP IP Ethernet Element Data Type Meaning WordArr5 1 WORD low value byte MBP on Ethernet Transporter MET mapping index high value byte Slot of the NOE module WordArr5 2 WORD byte 4 MSB of the 32 bit destination IP address WordArr5 3 WORD byte 3 of the 32 bit destination IP address WordArr5 4 WORD byte 2 of the 32 bit destination IP address WordArr5 5 WORD byte 1 LSB of the 32 bit destination IP address Function Mode of READ_REG Blocks REQ Although a large number of READ_REG function blocks can be programmed only 16 read operations may be
97. R element is active applies only to operations that take multiple scans to complete Control block parameters may be changed only when the MSTR element is not active 2003 Invalid value in the length field of the control block 2004 Invalid value in the offset field of the control block 2005 Invalid values in the length and offset fields of the control block 2006 Invalid slave device data area 2008 Invalid slave device network routing 3000 Generic Modbus failure code 30ss Modbus slave exception response 4001 Inconsistent MODBUS slave response F001 Optional module not responding F002 Module not fully initialized ss subfield 31001913 10 2009 71 Transferring Data Using Communication Blocks The following table lists the ss subfield values in error code 30ss ss Hex Value Description 01 Slave device does not support the requested operation 02 Nonexistent slave device registers requested 03 Invalid data value requested 04 Reserved 05 Slave has accepted long duration program command 06 Function cannot be performed now a long duration command is in effect 07 Slave rejected long duration program command TCP IP Ethernet Network Errors The following table describes the errors that can occur in the MSTR control block as a result of an error on the TCP IP
98. REG expects the destination address as offset within that area In 4x registers the leading 4 must be omitted For example 59 contents of the variables or value of the literal 40059 The parameter can be specified as direct address located variable unlocated variable or literal NO_REG is the number of registers to be written to slave processor 1 100 The parameter can be specified as direct address located variable unlocated variable or literal Error code see Runtime errors The STATUS parameter can be specified as direct address located variable or unlocated variable The REG_WRIT word parameter addresses the first register in a series of NOLREG Successive registers used as source data area The parameter must be entered as a direct address or located variable 31001913 10 2009 95 Transferring Data Using Communication Blocks READ_REG Function Description Upon request the READ_REG block reads a register area once rising edge of the REQ input It reads data from an addressed slave via TCP IP Ethernet EN and ENO can be projected as additional parameters NOTE About this function block e When programming this function you must be familiar with the routing procedures used by your network e For technical reasons this function block does not allow the use of ST and IL programming languages Symbol Block representation BOOL DINT INT WordArr5 READ REG RE
99. Reset the Form Update SNMP Show SNMP Configuration Click Update SNMP Reboot the module using hot swap 31001913 10 2009 49 Installing the Module Using BootP Lite to Assign Address Parameters BootP Lite Utility CAUTION UNINTENTIONAL OPERATION INCORRECT MAC ADDRESS Verify the MAC address of the target device before invoking BootP Lite Server Software You must enter the correct parameters of the target controller or it will run in its old configuration An incorrect MAC address may also result in an unwanted change to another device and cause unexpected results Failure to follow these instructions can result in injury or equipment damage Instead of a BootP server Schneider Electric s BootP Lite utility can be used to provide the IP address subnet mask and default gateway to the NOE 771 es module NOTE Refer to the BootP Lite server software and user documentation which are available for download at www schneider electric com 50 31001913 10 2009 Configuring the Module with Concept 3 Introduction This chapter describes how to configure the NOE 771 module from your programming panel using Concept The module can function as a network interface to the CPU without I O services as long as the IP parameters are provided by a BootP server or the module s default IP address What s in this Chapter This chapter contains the following topics
100. TE operation the registers in the MSTR control block the top node differ according to the network in user The following table describes the registers in the MSTR control block the top node These registers contain the Write CTE information Register Function Content Displayed 1 Operation type 12 First implied 2 Error status Displays a hex value indicating an MSTR error if relevant Second implied 3 Length Must indicate a length of between 12 and 37 Third implied 4 Not applicable Fourth implied 5 Low byte Either a value displayed in the high byte of the register or not used Slot Index Number displayed in the low byte in a range 1 16 indicating the slot in the local backplane where the option resides Fifth 6 Eighth 9 Not applicable implied 84 31001913 10 2009 Transferring Data Using Communication Blocks CTE Display Implementation The values in the Ethernet configuration extension table CTE are displayed in a series of registers in the middle node of the MSTR instruction if a Write CTE operation is implemented The middle node contains the first of 11 contiguous MW words 4x registers The following table describes the CTE data contained in the registers Parameter Register Content Frame type Displayed 1 802 3 2 Ethernet IP Address First implied First byte of the IP address Second implied Second byte of t
101. W Register MDx 4 DW1 Table 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 MD Entry x 0 Bit 31 30 29 28 27 26 25 24 23 22 21 20 J19 18 17 16 DW2 Table 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 MD Entry x 1 Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Table 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Entry Bit 31 30 29 28 27 26 25 24 23 22 21 20 J19 18 17 16 Word 3 through Word 4 Table Entry 49 through 112 DW5 Table 113 114 115 116 117 118 119 120 12 122 123 124 125 126 127 128 MD Entry x 4 Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NOTE Bits are counted from right to left starting from bit 0 low bit To enable or disable the Device Control Block for I O Scanner table entries 17 through 31 use MDx 1 not MDx 0 For example to configure MD1 4 as a device control block in the I O scanner table use MD1 0 bit 31 to enable or disable table entry 1 Use MD1 1 bit 15 to enable or disable table entry 17 124 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Configuring the I O Scan List Using Concept Overview IP Address Unit ID Health Timeout After the NOE 771 00 01 or 11 has been configured using Concept see page 51 you can assign parameters for I O scanning This involves creating the I O scan list containing all of the i
102. abase File does not exist Therefore you need to create the database The following page is used to create a BootP database file The page below is used for the 140 NOE 771 0 modules Schneider Electric Ethernet Con iguration No BootP Database File Exists Please click button to configure it Configure BootP Entry Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All Rights Reserved 156 31001913 10 2009 Embedded Web Pages Displaying the BootP Node Configuration Form Page The following information describes how to complete the BootP Node Configuration Initial Configuration page Step Action 1 Click the Configure BootP Entry button on the Ethernet Configuration page to configure a BootP Database File Result The BootP Node Configuration screen appears Schneider Electric BootP Node Configuration Hostname JENTZ ooo Host IP Addressfs21102 Host Mac Address 000054101002 Subnet Mask 255 255 255 0 Gateway fs2110 250 Add a New Entry Change an Entry Delete an Entry Reset the Form Show BootP Database Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All Rights Reserved If this is an initial BootP configuration fill in the fields on the BootP Node Configuration screen and click the Add a New Entry button The following table describes the
103. able Aok Global Health OK Cable Bl Not OK Description Cable A CableB LAN Errors Cable A Cable B Startup Errors bp Short Frame D fo Framing Errors gt 0 No EOF 0 0 DMA Receive Overruns 0 li CRC 0 0 Receive Errors 0 0 Alignment 0 ha Bad Drop Reception 0 0 Overruns 0 0 Global Communications Cable A Cable B Global Communication Status OK Not OK Goba Communication Health OK Detected Error Count 0 0 Lost Communications Count 3840 Global No Response Count 200 0 Tota Retry Count ia Home Configured Local Rack Controller Status Ethernet Statistics Graphic Editor Data Editor FactoryCast Schneider Automation Inc 1998 1999 NOTE The Graphic Editor Link is available only on the 140 NOE 771 1e the FactoryCast Web server For more information about the Remote I O communications status see the Remote VO Cable System Planning and Installation Guide 890 USE 101 Remote I O Communications Status Page Links The following table describes the information that is available for each cable using the links on the Remote I O Communication Status page Link Results Home Displays the Quantum Welcome Page Configured Local Rack Displays the Quantum Local Rack with NOE and CPU Controller Status Displays the CPU Configuration RIO Status Displays the Ethernet Module Statistics with the Reset Counters link Data Monitor Allows access to the Quantum PLC Data with editing capabilities
104. able FDR Agents Three FDR agents are available e Momentum ENT e Micro ETZ e ATV58 The role name prm configuration files are stored in the NOE in non volatile memory Therefore after a power failure all configurations will be available BootP and DHCP Compatible Devices Use either the MAC address or the role name to assign IP addresses Therefore you may use the DHCP server with devices that support BootP only such as Momentum ENT v1 174 31001913 10 2009 Address Server Configuration Faulty Device Replacement Understanding Faulty Device Replacement Confirmation and Error Messages In addition to highlighting errors the system provides confirming information and error messages Confirmation Message If you successfully added modified or removed an entry the following alert message appears Microsoft Internet Explorer x N Successfully added a new entry Error Messages Error messages appearing as icons in the seventh column display on the Address Server Configuration page or they appear as dialog boxes Error Icon If an entry is not loaded in the DHCP server or loaded with a different configuration an icon of an exclamation point displays in the seventh column The icon informs you of the difference between the current and stored information e Not Loaded in Server A red icon displays l e Duplicate Configuration A blue icon displays F Place the pointer over the icon and a pop up window d
105. active MSTR block releases the resources it has been using and becomes deactivated the next MSTR operation that the ladder logic encounters can be activated 31001913 10 2009 67 Transferring Data Using Communication Blocks MSTR Block for TCP IP in Concept Overview This following information describes how to complete installing the MSTR block in a TCP IP network Installing the MSTR Block in TCP IP This is the MSTR Block as used for TCP IP in Concept ladder logic After the MSTR Block is inserted in the network follow the steps below Step Action 1 Position your cursor on the MSTR block 2 Configure the control block and data area by double clicking 3 Press Ctrl D or click Edit gt DX Zoom 4 Go to page 2 for TCP IP specific MSTR block and complete the required information MSTR Modbus Plus Network Node Transaction lel x MISTR TCP IP Node Transaction page 5 jg TCP IP Operation Function Code 400001 0 Error Status 400002 UINT HEX Number of Registers Transferred 400003 UINT 0 Function dependent Information 400004 UINT 0 Map Index or unused 400005 09 16 O Slot ID or Sequence Number 400005 01 08 0 IP Address B4 B3 B2 B1 400006 uint 0 p fo p 0 Number of Input Regs Func 23 only 400010 UINT Save Input Base Address Func 23 only 400011 UINT 0 Function Codes 01 gt WRITE DATA 02 gt READ DATA 03 gt GET LOCAL STATISTICS 04 gt CLEAR LOCAL ST
106. active at the same time In such a case it is insignificant whether they are the result of this function block or of other read operations for example MBP_MSTR CREAD_REG All function blocks use 1 data transaction path and require multiple cycles to complete a job NOTE A TCP IP communication between a Quantum PLC NOE 771xx and a Momentum PLC all TCP IP CPUs and all TCP IP I O modules is possible only when 1 read or write job is carried out in every cycle If several jobs are sent per PLC cycle the communication stops without generating an error message in the status register of the function block The entire routing information is contained in data structure WordArr5 of input AddrFld The type of function block connected to this input and thus the contents of the data structure depends on the network used Please use e TCP IP Ethernet the function block TCP_IP_ADDR NOTE For experts The WordArr5 data structure can be used with constants as well A rising edge triggers the read transaction The REQ parameter can be specified as direct address located variable unlocated variable or Literal 31001913 10 2009 97 Transferring Data Using Communication Blocks SLAVEREG NO_REG NDR ERROR REG_READ STATUS SLAVEREG is the start of the area in the addressed slave from which the source data is read The source area always resides within the MW word 4x register area SLAVEREG expects the source reference
107. address contains 1 byte of the 32 bit IP address where the MSB is oe in CONTROL 6 and the LSB is in CONTROL 9 CONTROL 9 CONTROL 10 Number of registers to be read from slave CONTROL 11 Specifies the MW starting register in the slave from which the data is read e g 1 MW1 49 MW49 NOTE When configuring the MBP_MSTR block for a read write data operation note that e The DATABUF output parameter is used to store in the following sequence both 1 the data to be written 2 the data to be read e The size of the DATABUF output parameter must equal the combined size of the data to be written and the data to be read if the size is smaller data will be overwritten and may be lost e Both the CONTROL and DATABUF parameters must be stored at located addresses for example MW addresses 76 31001913 10 2009 Transferring Data Using Communication Blocks Get Local Statistics MSTR Operation Overview This topic describes the Get Local Statistics operation operation type 3 in the display register of the top node This operation obtains information related to the local node where the MSTR has been programmed Available Ethernet statistics are listed in the TCP IP Ethernet Statistics table Control Block Utilization The following table describes the registers in the MSTR control block the top node These registers contain the Get Local Statistics information Register Function Content Displayed Op
108. am scan signifies detection of a new error The parameter can be specified as direct address located variable or unlocated variable Error code see Runtime errors The parameter can be specified as direct address located variable or unlocated variable 31001913 10 2009 101 Transferring Data Using Communication Blocks TCP_IP_ADDR Function Description The TCP_IP_ADDR block enables the input of TCP IP addresses for the READ_REG see page 96 CREAD_REG see page 90 WRITE_REG see page 99 and CWRITE_ REG see page 93 blocks The address is transferred in the form of a data structure EN and ENO can be projected as additional parameters NOTE When programming the TCP_IP_ADDR function you must be familiar with your network s routing procedures Symbol Block representation TCP_IP_ ADDR BYTE Map Idx BYTE Slot_ID AddrF ld WordArrs BYTE Ip B4 BYTE Ip B3 BYTE Ip B2 BYTE Ip B1 Parameter Description Description of parameters Parameter Data Type Meaning Map_lIdx BYTE Map Index MBP on Ethernet Transporter MET mapping index Slot_ID BYTE slot ID slot of the NOE module Ip_B4 BYTE byte 4 MSB of the 32 bit destination IP address Ip_B3 BYTE byte 3 of the 32 bit destination IP address Ip_B2 BYTE byte 2 of the 32 bit destination IP address Ip_B1 BYTE byte 1 LSB of the 32 bit destination IP address AddrFld WordArr5 data struct
109. ansferring Data Using Communication Blocks Reset Option Module MSTR Operation Overview The following information describes the Reset Option Module operation operation type 10 in the displayed register of the top node This operation causes a Quantum NOE option module to enter a reset cycle to reset its operational environment Control Block Utilization The following table describes the registers in the MSTR control block the top node These registers contain the Reset Option Module information Register Function Content Displayed Operation type 10 First implied Error status Displays a hex value indicating an MSTR error if relevant Second implied Not applicable Third implied Not applicable Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eighth implied Not applicable 31001913 10 2009 81 Transferring Data Using Communication Blocks Read CTE Config Extension Table MSTR Operation Introduction The following information describes the Read CTE operation operation type 11 in the displayed register of the top node This operation reads a given number of bytes from the Ethernet configuration extension table to the indicated buffer in PLC memory The bytes to be read begin at a byte offset from the beginning of the CTE The content of the Ethernet CTE table is displayed in the middle node of the MSTR block Control B
110. ansferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only I O Scanner Support Using the I O Scanner with an IP Router The following table summarizes the permissible mix of I O scanners and NOE modules per CPU Quantum CPU Type Number of NOEs Supported 140 CPU 311 10 140 CPU 434 12A 140 CPU 534 14A 140 CPU 651 50 140 CPU 651 60 140 CPU 671 60 D D D OD OQ M NOTE The I O scanners in the NOE 771 1 and HE CPU 651 0 modules send out requests with a Time To Live TTL of 10 which allows passage through multiple routers 122 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Enable Disable I O Scanner Device Control Block The Enable Disable I O Scanner function reduces network traffic volume Use the Device Control Block bits to enable disable devices as follows Registers The Device Control Block consists of registers either 8 words or 4 double words Contents of the registers are mapped in the controllers memory Each bit corresponds to an entry in the table see the tables below Disabling Devices Each I O scanner device can be disabled To disable individual devices 1 Select the Device Control Block check box 2 Set the associated bit 1 Mapping Device Control Block Bits to I O Scanner Entry Numbers See the table below for mapping entry numbers to bits Each e
111. application parameters in order to restart the device with the same configuration as before the failure 172 31001913 10 2009 Address Server Configuration Faulty Device Replacement Faulty Device Replacement enables you to avoid configuring a new device when a faulty device is replaced You enter the device name in the new device and the task is completed You have a new configuration scheme for I O and smart devices which allows e creating an automatic network configuration e managing automatic application parameters Faulty Device Replacement is implemented using the combination of DHCP and FTP TFTP standard protocols The device implements a DHCP client and an FTP or TFTP client Choosing between FTP and TFTP has no direct impact on your system The choice depends only on device memory footprint TFTP is much smaller than FTP Faulty Device Replacement offers the following functionality e FDR manager e FDR agent Faulty Device Replacement management is based on 3 entities e agent device embedding the DHCP client and FTP TFTP client e DHCP server e FTP TFTP server Role Name The logical role name should be written on devices The technician can get the new device from stores enter the corresponding role name into the device and place the device in the system The device automatically gets its configuration and starts running with no further input from the technician This process is designed to get your machine up a
112. ass receives the timer messages CMainFrame member AddTimerList function will place a window on its timer list When CMainFrame processes the WM_TIMER message it sends each window on its time list the user defined WM_POLL_INTERVAL message MFC calls CSample_View member OnlnitalUpdate function when it is first being created OnlnitialUpdate calls CMainFrame s AddTimerList in order to receive the WM_POLL_INTERVAL message MFC architectural framework calls CSample_View OnPolllnterval member function to process this message Transaction Processing CSample_View transaction processing consists of establishing a connection transmitting the request receiving the response and displaying the response CSample_View uses both a transmit and a receive state machine to advance a transaction 31001913 10 2009 251 Ethernet Developers Guide Transmit State Machine Overview The following list contains the different states for the transmit state machine e IDLE In the IDLE state there is no connection e RESOLVING_NAME In the RESOLVING_NAME state CSample_View is waiting for the window socket DLL to convert a node s name into an IP address e CONNECTING In the CONNECTING state CSample_View is waiting for the window socket DLL to generate the FD_CONNECT event This event indicates if the attempt to establish a connection succeeded or failed e CONNECTED The CONNECTED state indicates that a connection has been successfully establi
113. ata flow services The following list describes the function of each object Service Description port502Status 1 Indicates the status of the service Idle Operational port502SupportedProtocol 2 Indicates the supported protocols MODBUS X Way port502IpSecurity 3 Indicates the status of the Port502 IP Security service enabled disabled port502MaxConn 4 Indicates the maximum TCP connection number supported by the Port502 entity port502LocalConn 5 Indicates the TCP connection number currently opened by the local Port502 entity ports02RemConn 6 Indicates the TCP connection number currently opened by the remote entity to the local Port502 entity port502IpSecurityTable 7 Indicates a table containing the number of unsuccessful TCP connection open tries from a remote TCP entity port502ConnTable 8 Indicates a table containing Port502 TCP specific information Msgin MsgOut port502MsgIn 9 Indicates the total number of Port502 messages received from the network port502MsgOut 10 Indicates the total number of Port502 messages sent from the network port502MsgOutErr 11 Indicates the total number of error messages built by the Port502 messaging entity and sent to the network port502AddStackStat 12 Indicates the support of additional port502 stack statistics 1 disabled 2 enabled port502AddStackStatTable 13 Indicates additional stack statis
114. ates Hiley Charels Fubscorsen Mai Pot Ed Aedes fE 0H TMI Gital Daia tard GLOBAL DATA DIAGNOSTIC Global Data status OK Number of Subscription per sec 300 Number of Publication per sec 100 Mon Configured ai Sab Variable E Pud Vark ie a Detvait a E F uyta MAn peit eiMicwane pprhesssat goar E atta T Meciageg E Barish fF citua feor E E 1i The above information is displayed both as text and as a graphic This page also displays the complete status for all variables published and subscribed within the same distribution group Every variable is identified by its data ID At the bottom of the page 4 color coded boxes indicate the status of the variables If white all non configured variables green healthy subscribed variables black healthy published variables red a communication fault red displays in the Fault variable box you should check the system for problems The Global Data status indicator displays OK even if there are unhealthy variables 31001913 10 2009 163 Embedded Web Pages I O Scanning Diagnostic Page This page displays information generated by the I O scanning service is 7 92 2 BIA egw 228 g eoo Sip Rehesh Home Fuberen Hal mo ATM MO scan hind z m VO SCANNING DIAGNOSTIC UG Scanning status OK Number of transaction per sec 1000 Number of connection 20 Srannrd E Pascanmed il Default Home WEB Diagnostic
115. ateway address Eighth implied Byte 3 of the 32 bit gateway address Ninth implied Byte 2 of the 32 bit gateway address Tenth implied Byte 1 LSB of the 32 bit gateway address Eleventh implied High byte Low byte Software defined Module Type IP Address Algorithm Ignored by M1 and NOE modules 0 Take IP Address from above 0 NOE211 definition default All modules 1 NOE251 support this functionality 2 NOE77100 1 Always take IP Address from 3 NOE77110 BOOTP Server M1 and NOE 771 x0 4 M1 support this functionality 5 NOE77101 2 Disable Ethernet functionality M1 6 NOE77111 only NOTE Module type only used by the p unit during an upload to determine module 31001913 10 2009 83 Transferring Data Using Communication Blocks Write CTE Config Extension Table MSTR Operation Introduction The following information describes the Write CTE operation type 12 in the displayed register of the top node This operation writes an indicated number of bytes from PLC memory starting at a specified byte address to an indicated Ethernet configuration extension table at a specified offset The content of the Ethernet CTE table is contained in the middle node of the MSTR block The Write CTE operation can be implemented for TCP IP Ethernet networks via the appropriate network adapter NOTE Modbus Plus networks do not use this operation Control Block Utilization In a Write C
116. ations in the automotive tire and rubber food and beverage and utilities industries to name a few Modbus protocol transactions are typical request response message pairs Modbus requests contain function codes representing several classes of service including data access online programming and program download and upload classes Modbus responses can be ACKs with and without data or NACKs with error information The MBAP can be transmitted over any communication system that supports messaging services However the current Quantum implementation transports MBAP PDUs over TCP IP Both Ethernet II and IEEE 802 3 framing are accommodated although Ethernet II framing is the default For more information consult the Modbus Protocol Reference Guide PI MBUS 300 258 31001913 10 2009 Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol PDU Overview The MBAP PDU mbap_pdu is received at TCP port number 502 The current maximum size of the mbap_pdu for this class of services is 256 bytes The structure and content of the mbap_pdu is defined to be mbap_pdu inv_id 2 proto_id 2 len 2 dst_idx 1 data mb_pdu The header is 7 bytes long and includes the fields listed in the following table Field Description inv_id 2 bytes Invocation id used for transaction pairing proto_id 2 bytes Used for intra system multiplexing default is 0 for Modbus services len 2 bytes T
117. ave device Specifies the starting MW word 4x register data area in the slave to be read from or written to 1 4001 49 40049 Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eighth implied Destination Each register contains one byte of the 32 bit IP address 31001913 10 2009 75 Transferring Data Using Communication Blocks Read Write Data Introduction In a single transaction the MSTR read and write operations can transfer data from a master source device to a specified slave destination device then transfer data from this specified slave source to the master It uses a master transaction path and may require several cycles to complete To program an MBP_MSTR block to perform a combined read write operation use function code 23 The combined read write operation can be used only with these two Quantum models e NOE 771 01 version 3 0 or later e NOE 771 11 version 3 0 or later Control Block Usage Register Content CONTROL 1 23 read write data CONTROL 2 Indicates the error status CONTROL 3 Number of registers to be sent to the slave CONTROL 4 Specifies the MW starting register in the slave to which the data will be written e g 1 MW1 49 MW49 CONTROL 5 Routing register Most significant byte network adapter module slot Least significant byte MBP on Ethernet Transporter MET mapping index CONTROL 6 Each
118. b server 150 Ethernet switches ConneXium 117 Ethernet tester 246 installation 196 statistics 203 exec version 238 execution PLC scan 261 F fault LEDs 230 faulty device replacement 172 FDR 172 features 14 file transfer protocol FTP 22 filtering multicast 117 firewalls application level 36 network level 36 protocol port numbers 36 front panel components 15 FTP downloading NOE exec 238 FTP password 44 FTP servers 194 function block MBP_MSTR 104 104 G Get Remote Statistics 79 getrequest SNMP 217 global data 25 110 194 global data subtree 223 Groupe_Schneider private MIB 212 219 H health block configuring for I O scan list 128 health timeout I O scan list 125 help 29 HiVision 213 hot standby 181 Hot Standby network effects 192 HTTP password 44 47 hypertext transport protocol HTTP 22 1 0 remote communications 151 I O map 58 I O scan list 120 configuring with Concept 125 configuring with ProWORX NxT 132 health block 128 I O scanner 120 device control block 123 with routers 122 I O scanning 193 l O_scanning subtree 223 image download upload services 267 inputs MSTR 69 installing 37 Quantum backplane requirements 37 integer value bottom node 70 IP address assigning parameters 40 connecting to the default 47 duplicate 42 I O scan list 125 IP addresses 182 BooiP Lite 50 31001913 10 2009 285 Index K kernel LE
119. browser window Example http nostname where hostname is the full IP address or DNS host name Result The Schneider Automation Web server home page displays 31001913 10 2009 43 Installing the Module Schneider Web Utility Home Page The following figure shows the Schneider Automation Web server home page Welcome to Schneider Automation Web Server Microsoft Internet Ex Miel Ea File Edit Wiew Go Favorites Help Address E http 47192 169 3 2 indes htm Schneider ap Electric Schneider Automation Web Server Diasnostics and Online Co ations Operating System Windows NT Screen Resolution 1024 x 768 Browser Microsoft Internet Explorer 4 0 compatible MSIE 4 01 Windows NT Copyright 1999 2001 Schneider Automation Inc All rights reserved gt From this page you can access pages to perform the following e change the FTP password e change the HTTP password e monitor diagnostic and configuration information see Embedded Web Pages page 143 44 31001913 10 2009 Installing the Module Modifying the FTP Server Password Follow the steps below to link to the correct Web page to modify the FTP password Step Action 1 Enter the URL Example http hostname secure embedded ftp_passwd_config htm 2 Enter a user name and password in the Enter Network Password dialog box Click OK Note The default user name is USER and the default password is USERUSER You sh
120. canner 140 NOE 771 00 01 11 I O Scanner Definitions NOTE Health bits run differently e O scanner health bits run left to right e Global data health bits run right to left The following table lists and defines the terms that describe the I O scanner operation Term Definition Scan List The list of input and or output devices that the NOE module is configured to scan Specific Input Input to the controller on the backplane where the NOE resides Specific Output from the controller on the backplane where the NOE resides Output Ethernet I O Provides high performance cyclic communication service to the controller Scanner Enhanced Modbus I O Scanner Features The following table lists the characteristics of the Enhanced Modbus I O Scanner Parameter Value Maximum Number of Devices 64 140 NOE 771 00 Version 2 2 or earlier 128 140 NOE 771 00 Version 3 0 or later 140 NOE 771 01 and 140 NOE 771 11 only 128 HE CPU 651 0 Maximum Number of Input Words 4 000 Maximum Number of Input Words 4 000 Health Timeout Value Individual setting 10 ms to 2 000 ms in 10 ms increments Last Value Input Global setting Zero or Hold IP Address IPv4 Address Unit ID User configurable Default value 255 Operation through a Modbus Plus to Ethernet Not supported bridge Operation through a Modbus bridge Supported 31001913 10 2009 121 Tr
121. case e Ato Z upper case e _ underscore bad MAC address The valid MAC address characters are e 0to9 e AtoF wrong IP address wrong subnet mask wrong gateway double entry Each entry must have a unique role name or MAC address If you enter a duplicate role name or MAC address the system highlights the error Erroneous errors are not loaded into the DHCP server Therefore you must correct the errors before loading There are 2 ways to correct the errors Through the Web page Make the changes on the Web page and submit the change e Through the address server configuration file Make the changes in the file and reboot the server 180 31001913 10 2009 Hot Standby Overview The Quantum Ethernt module offers a Hot Standby configuration available for Quantum controllers What s in this Chapter This chapter contains the following topics Topic Page Quantum Hot Standby for Unity Pro 182 Hot Standby Topology 184 NOE Configuration and Hot Standby 185 IP Address Assignment 186 NOE Operating Modes and Modicon Quantum Hot Standby with Unity 188 Address Swap Times 191 Network Effects of Modicon Quantum Hot Standby with Unity Solution 192 31001913 10 2009 181 Hot Standby Quantum Hot Standby for Unity Pro The Hot Standby Solution 4 CAUTION COMMUNICATION FAILURE Whenever possible use of a switch not a hub to connect the NOE modules t
122. ced an error accessing shared RAM A memory error will cause a restart Restart count The number of times the Ethernet controller chip was restarted due to fatal runtime errors including memory errors transmit buffer errors and transmit underflow Framing error The number of times an incoming frame contained a non integer multiple of 8 bits Overflow errors The number of times the receiver has lost part or all of an incoming frame due to an inability to store the frame in memory before the internal FIFO overflowed CRC errors The number of times a CRC FCS error was detected on an incoming frame Receive buffer errors The number of times a receive buffer was not available while data chaining a received frame 31001913 10 2009 203 Using the Network Options Ethernet Tester e Transmit buffer errors The number of times the end packet flag on the current buffer was not set and the Ethernet controller did not own the next buffer A transmit buffer error causes a restart e Silo Underflow The number of times a packet was truncated due to data late from memory A Silo Underflow will cause a restart e Late Collision The number of times a collision was detected after the slot time of the channel had elapsed e Lost Carrier The number of times a carrier was lost during a transmission e Transmit retries The number of times the transmitter has failed after 16 attempts to transmit a message due to repeated collisions
123. client and server 64 01 11 21 16 Client 00 32 Server 10 Number of simultaneous login channels 1 NOTE NOE 771 Modbus TCP performance measurements are made with the Quantum 140 CPU 534 14 PLC 31001913 10 2009 21 Product Description FTP and HTTP Server FTP Server HTTP Server The NOE 771 s File Transfer Protocol FTP server is available as soon as the module receives an IP address Any FTP client can log on to the module if the client uses the correct user name and password The FTP server provides the following services e updates the NOE s firmware by downloading a new Exec e provides error log visibility by uploading error log files e uploads downloads BootP server and SNMP configuration files The default user name is USER and the default password is USERUSER Both the user name and password are case sensitive The instructions for changing the password and adding or deleting user names to the FTP server see page 43 are discussed later in this guide There should be only one FTP client per module The NOE 771 s HyperText Transport Protocol HTTP server is available as soon as the module receives an IP address It can be used with version 4 0 or later of either an Internet Explorer or Netscape browser The NOE 771 s HTTP server allows you to view the following information e module s Ethernet statistics e controller and I O information e BootP DHCP
124. communications network Network Options Ethernet Tester 31001913 10 2009 277 Glossary OIT OID OSI model packet PDU peer cop PEN PING PLC port O Object Information True Object ID identify OIT Contain databases managing SNMP MIBs Open System Interconnection model A reference standard describing the required performance of devices for data communication Produced by the International Standards Organization P The unit of data sent across a network Protocol Data Unit Software that allows you to configure data blocks to be transferred between controllers on a Modbus Plus network Private Enterprise Number Packet Internet Groper A program used to test whether a destination on a network can be reached Programmable Logic Controller An access point for data entry or exit within a host using TCP services 278 31001913 10 2009 Glossary protocol ProWORX NxT repeater RFC role name router server SNMP Describes message formats and a set of rules used by two or more devices to communicate using those formats A software package that facilitates the use of the I O Scanner to configure data blocks to be transferred between controllers on a TCP IP network R A device that connects two sections of a network and conveys signals between them without making routing decisions or filtering packets Request For Comment Paper identified by a number i
125. cond input parameter is the receive size The third parameter is both an input and output parameter On both input and output the third parameter is the number of bytes read These parameters allow the processing of a partially received message The receive state machine maintains a variable that is the number of bytes received Initially the receive state machine is in the RX_HEADER state and the number of bytes received is 0 When OnTcplpRead is called and the receive state is RX_HEADER OnTcplpRead calls rx_msg with receive size equal to the header size On return OnTcplpRead examines the number of bytes received If the number of bytes received is not equal to the header size the receive machine remains in the RX_HEADER state and OnTcplpRead returns If upon return the number of bytes received is the same size as the header size the header has been received OnTcplpRead sets the number of bytes received to 0 and the receive size is obtained from the header These two values will be used the next time rx_msg is called OnTcplpRead also obtains the transaction identifier and the protocol type from the header If the transaction identifier matches the transmit request identifier and the protocol type is MODBUS OnTcplpRead changes the receive state to RX_BODY However if either transaction identifier does not match or the protocol is not MODBUS OnTcplpRead changes the receive state to DUMP_BODY 254 31001913 10 2009 Ethernet
126. cs x Polling Interval OK fl Cancel e Result The Clear Statistics Request for the connection displays Clear Statistics Request Total Transaction Count 202 31001913 10 2009 Using the Network Options Ethernet Tester Statistics Overview The Network Options Ethernet Tester provides status information in the format shown in the following table Other statistics provided by the Network Options Ethernet Tester appear in a list following the table Parameter Information Model Model number Media 10 BASE T HALF DUPLEX 100 BASE T DUPLEX 100 BASE FX Controller Running Stopped Crash Log Empty Yes No There is a crash log entry present The Network Options Ethernet Tester can provide the following statistics Total transaction count How many transactions have been completed IP address Receive interrupts and transmit interrupts The number of times the PCNET controller chip has generated interrupts Transmit timeout errors The number of times the transmitter has been on the channel longer than the interval required to send the maximum length frame of 1 519 bytes This is also known as a babble error Collision errors The number of collisions detected by the Ethernet chip Missed packet errors The number of times a received frame was dropped because a receive descriptor was not available Memory errors The number of times an Ethernet controller chip experien
127. data area For operations that provide the communication processor with data such as a write operation the data area is the source of the data For operations such as read that get data from the communication processor the data area is the destination for the data In the case of the Ethernet read and write CTE operations see page 75 the middle node stores the contents of the Ethernet configuration extension table in a series of registers Bottom Node Content The integer value entered in the bottom node specifies the ength the maximum number of registers in the data area The length must be in the range from 1 to 100 70 31001913 10 2009 Transferring Data Using Communication Blocks MSTR Function Error Codes Overview The following information describes the error codes for MSTR operations Display in Control Block If an error occurs during an MSTR operation a hexadecimal error code is displayed in the first implied register in the control block the top node Function error codes are network specific TCP IP Ethernet Error Codes The following table describes the errors that can occur in the MSTR control block when the MSTR routine runs over TCP IP Ethernet Error Code hex Description 1001 User has aborted the MSTR element 2001 An unsupported operation type has been specified in the control block 2002 One or more control block parameters has been changed while the MST
128. dified to process window timer messages CSample_doc The CSample_doc is the document class The declaration is in sam_doc h and the implementation is in sam_doc cpp CSample_View The CSample_View is the view of the document It is derived from the CScrollView class The declaration is in the sam_vw h class and it is implemented in the sam_vw cpp disp cpp tcp_hlp cpp and the tx_rx cpp files CIP_dig The CIP_dlg class is the dialog class for getting the IP address It is derived from the CDialog class The declaration is in the cip_dlg h file and the implementation is in the cip_dlg cpp file Both of these files were generated by The Visual C class wizard ClirStatsDlg The CirStatsDlg class is the dialog class for clearing statistics It is derived from the CDialog class The declaration is in the cstatdlg h file and the implementation is in the cstatdlg cpp Both of these files were generated by The Visual C class wizard GetStatsDlg The GetStatsDlg class is the dialog class for get statistics It is derived from the CDialog class The declaration is in the gstatdlg h file and the implementation is in the gstatdlg cpp file Both of these files were generated by The Visual C class wizard CPollDlg The CPollDlg class is the dialog class for determining the poll period It is derived from the CDialog class The declaration is in the polldlg h file and the implementation is in the polldlg cpp file Both of these files were generated by Th
129. dress for 400100 Health Distribution Period 10 Health Timeout 1000 Data Zone 400200 1 Entries or changes to the symbol description do NOT affect or change a variable or the system The Symbol used in the Quantum product line has no relation to the Concept Unity product line symbol 31001913 10 2009 111 Transferring Data with the Global Data Publish Subscribe Utility NOEs 01 11 21 Table of Global Data Limits Parameter Limit Maximum number of publish variables per device 1 Maximum size for the publish variable 512 Registers 512 Words 16 bits 1 024 Bytes Maximum number of subscription variables per device 64 63 if this device is publishing Maximum size for the subscribe variables per device 2048 registers 2048 Words 16 bits 4 096 Bytes NOTE We recommend that you consider the following when planning e 10 to 20 increase margin for growth We suggest that you allow for a percentage increase in growth of any variable a 10 to 20 increase allowance should be sufficient e add at end We recommend that you add variables at the end of the configuration because variables added at the end of the configuration do not affect the existing application address Therefore you avoid changing the existing addresses in your configuration which can be a time consuming process Table of Global Data Planning Spreadsheet Parameter Description Pa
130. e Visual C class wizard CReadDlg The CReadDlg class is the dialog class for determining the registers to read It is derived from the CDialog class The declaration is in the readdlg h file and the implementation is in the readdlg cpp file Both of these files were generated by The Visual C class wizard CWriteDlg The CWriteDlg class is the dialog class for determining the registers to write and the write data It is derived from the Cdialog class The declaration is in the writedlg h and the implementation is in the writedlg cpp file Both of these files were generated by The Visual C class wizard CAboutDlg The CAboutDlg class is the dialog class for about Both the declaration and its implementation are in the sam_app cpp file 31001913 10 2009 247 Ethernet Developers Guide The CSample_doc Class Overview The CSample_doc the document class contains the user data used by the CSample_View class The user data consists of the remote node s IP address the transaction type and its associated values The different transaction types are read register write register clear statistics and get statistics In addition to the transaction type and the associated values the document class also contains the poll interval A user modifies the user data via a menu or tool bar The CSample_doc processes the menu or tool bar window command message by invoking the corresponding dialog The state of the various menu items and t
131. e variables or value of the literal 40059 The parameter can be specified as direct address located variable unlocated variable or literal NO_REG is the number of registers to be read from the addressed slave 1 100 The parameter can be entered as a direct address located variable unlocated variable or literal The REG_READ word parameter addresses the first register in a series of NO_REG registers listed one after the other which are used as a destination data area The parameter must be entered as a direct address or located variable Error code see Runtime errors The STATUS parameter can be specified as direct address located variable or unlocated variable 92 31001913 10 2009 Transferring Data Using Communication Blocks CWRITE_REG Function Description Symbol The CWRITE_REG block writes data to a register area continuously transferring data from the PLC via TCP IP Ethernet to an addressed slave EN and ENO can be configured as additional parameters NOTE About this function block e When programming this function you must be familiar with the routing procedures used by your network e For technical reasons this function block does not allow the use of ST and IL programming languages Block representation DINT INT WORD WordArr5 CWRITE_REG SLAVEREG NO_REG REG WRIT AddrFld STATUS WORD Parameter Description Description of paramete
132. e Crash Log Diagnostics page Link Results Home Returns you to the Quantum Welcome page Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration page NOE Properties Provides information about NOE properties NOE Diagnostics Displays links to Ethernet Statistics and the Crash Log File Diagnostics Support Provides you with contact information for technical assistance sales and feedback 31001913 10 2009 169 Embedded Web Pages Contacting Schneider Automation Page Overview The following figure shows the Contacting Schneider Automation page which contains information about how to obtain support for the NOE 771 modules Schneider 4 P Electric Contacting Schneider Automation There are numerous ways to reach us for assistance Merlin Gerin _ Modicon Technical Information ETE Click here to go to the Schneider Automation web site Technical Assistance If you need technical assistance with a product or service contact us by email at customercentral schneiderautomation com or telephone us at 1 800 468 5342 or 1 978 975 9700 Note Be sure to supply your name telephone number company name and address in your email to ensure an immediate response Feedback Thoughts comments ideas about our site Please let us know by contacting us at i E U S Sales Offices Click here to look up a location of a sales office in the U S
133. e allowed and no spaces are allowed e Device MAC Address This address must be in hexadecimaL format and 6 bytes long 6x2 characters The MAC address can be entered with or without a delimiting character between each pair of lower or upper case hexadecimal characters The delimiting characters improve readability There are 3 choices for a delimiting character e Space Use the spacebar to create the space e Colon e Hyphen e Device IP Address The IP address must use the standard numeric Internet Protocol address that uniquely identifies each computer on the network The IP address is a 32 bit identifier made up of 4 groups of numbers from 0 through 255 each number separated by a period for example 123 456 78 9 e Subnet Mask The subnet mask must be entered in IP address format e Gateway The gateway must be entered in IP address format The gateway must be on the same subnet as the device 176 31001913 10 2009 Address Server Configuration Faulty Device Replacement Configuring Faulty Device Replacement Configuring the Address Server To configure the address server you use Web pages generated by the embedded Web server The first page that appears is the Address Server Configuration page The first column contains buttons used for selecting devices The Address Server Configuration page displays configuration information for each device in the system and has 7 columns in the table Displayed on this page is informati
134. e data by clicking the row number at the far left I O Scanner Configuration Master Module Slot Slot 4 140 NOE 771 01 Health Block 1X 3X 300001 300008 I Diagnostic Block 3X 4X Health Rep Slave IP Address UnitID Timeout rate Read Ref ms ms Master 128 7 32 54 0 500 100 400100 128 7 32 54 100 400100 4 Click Paste Cut and Paste To move a row within the configuration list follow the directions for copying except click Cut instead of Copy Delete To delete a row from the configuration list select the row by clicking the row number at the far left Then click Delete Sort To sort the I O configuration list select a column by clicking the column heading i e Read Ref Master Then click Sort 130 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Fill Down The following procedure shows how to copy part of any row to the next row or toa series of adjoining rows using the Fill Down button Step Action 1 Use your mouse to select both the data you would like to copy and the cells you would like to copy the data into Note that you must select 1 contiguous block of cells with the data to be copied in the first row You cannot select 2 separate blocks th ut s 500 Last Value Input 20 Hold Last Read Ref Slave Read Ref Master 400100 400001 100
135. ed User Name and Password Please click Reboot Device button to use the new Password Reboot Device Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved If you click Reboot Device the user name and password reset for the NOE 771 Oe board Note The reboot requires approximately 40 seconds With large applications the reboot may require up to 60 seconds During the reboot all services provided by the NOE 771 Oe are not available 48 31001913 10 2009 Installing the Module Establishing the SNMP Community Strings Overview SNMP Community Strings are used to restrict access to the SNMP agent Set the strings to non trivial names during module installation Establishing the SNMP Community Strings Follow the steps below to establish the SNMP Community Strings Step Action 1 Enter the following URL into your browser http hostname secure embedded builtin submit Configure SNMP Or navigate to the SNMP Configuration Web page 2 Enter the Community names in the Set Get and Trap fields System Name 140 NOE 771 01 Module System Description Quantum Ethernet TCP IP Communications Module Managers IP Addresses Manager Manager II Location SysLocation Contact SysContact Community Security Set NonTriv1 c A r Authentication Failure Trap Enabled Trap NonTriv3
136. ength of the Modbus message Click OK This dedicates a connection from your PC to the designated Ethernet module and brings you to the main menu 1 Network Options Ethernet Tester ElO2 Eile View Management Messages Window Help D eejo Connected to ElO2 You may establish several connections with the same module or with other modules by repeating step 2 for each new connection 198 31001913 10 2009 Using the Network Options Ethernet Tester Step Action When you are ready to disconnect click Management Disconnect or click the Disconnect toolbar icon Network Options Ether File View PARAGIS Domal Click Management Set Ip Addr after disconnecting from 1 module to reassign its dedicated connection Type the new IP network address or role name in the box provided gt Network Options Ether File View RW Eleetefsntstame Me D efe Disconnect Set IP Addr 31001913 10 2009 199 Using the Network Options Ethernet Tester Getting and Clearing Statistics Getting and Clearing Statistics Follow the steps below to get statistics from the Ethernet module using your NOET Step Action 1 Establish a connection with the Ethernet module 2 e Click Messages Get Stats or Click the Get Statistics toolbar icon WESEELESE Window Read Register Get Stats 3 Enter the number of seconds bet
137. ent scheduler VO map Peer Cop Data access protection Hot standby RTU extension ASCII port setting Modbus port settings Specials Ehternet I O Scanner Result The Configuration Extensions dialog box opens Click Configure gt Config extensions or double click anywhere in the Config Extensions section of the screen Project Online 56 31001913 10 2009 Configuring the Module with Concept Step Action In the TCP IP Ethernet list select the number of NOE modules you want to configure Configuration Extensions Data Protection IEC Hot Standby 7 984 Hot Standby ICPAP Ethernet 1 gt Symax Ethernet 0 zi MMS Ethernet 0 M Profibus DP 0 Click OK Result The Ethernet status changes from 0 to the number selected in Step 2 Config Extensions Data Protection Peer Cop Hot Standby Ethernet Profibus DP Disabled Disabled Disabled 1 0 Creating an I O Map for the NOEs Next you must create an I O map for the NOEs in your configuration as shown in Accessing and Editing the I O Map see page 58 31001913 10 2009 57 Configuring the Module with Concept Accessing and Editing the I O Map Overview The following procedure describes how to create an I O map for the NOEs in your system The procedure determines the number of NOEs in the system and the slot numbers in
138. er who can view the configuration Trap Designation of level of user who can capture information Authentication Failure Trap Turns on Community Name Checking Enabled Configure SNMP Page Links The following table describes the links on the Configure SNMP page Link Results Home Returns you to the Quantum Welcome Page Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration Page NOE Properties Provides information about NOE properties NOE Diagnostics Displays links to Ethernet Statistics and the Crash Log File Diagnostics Support Provides you with contact information for technical assistance sales and feedback Completion Message When you click the Update SNMP button a new page displays with the message Successfully updated SNMP database Note that this page contains the same links as those on the Configure SNMP page NOTE The NOE module has to be reset for the changes to take effect 31001913 10 2009 155 Embedded Web Pages Configure Address Server Page Overview The following information describes how to configure the address server for the 140 NOE 771 0 Transparent Factory modules NOTE The chapter Address Server Configuration Faulty Device Replacement see page 171 describes how to configure the address server for the 140 NOE 771 1 FactoryCast Web server modules and also describes the BootP process The BootP Dat
139. eration type 3 First implied Error status Displays a hex value indicating an MSTR error if relevant Second implied Length Starting from offset the number of words of statistics from the local processor s statistics table the ength must be gt 0 lt data area Third implied Offset An offset value relative to the first available word in the local processor s statistics table If the offset is specified as 1 the function obtains statistics starting with the second word in the table Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eighth implied Not applicable 31001913 10 2009 77 Transferring Data Using Communication Blocks Clear Local Statistics MSTR Operation Overview The following information describes the Local Statistics operation operation type 4 in the displayed register of the top node This operation clears statistics relative to the local node where the MSTR has been programmed Control Block Utilization The following table describes the registers in the MSTR control block the top node These registers contain the Clear Local Statistics information Register Function Content Displayed Operation Type 4 First implied Error status Displays a hex value indicating an MSTR error if relevant Second implied Not applicable Third implied Not applicable Fourth implied Low byte Quantum backplane sl
140. ery Coil Timer Register Time of Day Config Extensions Data Protection Disabled Peer Cop Disabled Hot Standby Disabled Ethernet 0 Profibus DP 0 E PLC Configuration PLC Available Logic Area 42421 Extended Memory 96K Loadables Number Installed 0 Segment Scheduler Segments 32 ASCII Number of Messages 0 Message Area Size 0 Number of Ports 0 Configuring the Number of Ethernet Modules Next you must configure the number of Ethernet modules that your system will contain as shown in Cabling Schemes see page 34 31001913 10 2009 55 Configuring the Module with Concept Setting the Number of NOEs Overview You may configure from 2 to 6 Ethernet modules in a single controller depending on the model A 140 CPU 113 or 213 will accept a total of 2 network option modules including NOE NOM NOP and CRP 811 A 140 CPU 424 434 534 434A or 534A will accept 6 See I O Scanner Concepts page 120 regarding the mix of I O scanners and NOE modules per CPU Memory Requirements The first Ethernet TCP IP module configured requires 20 words of memory Each additional module requires an additional 16 words of memory Setting the Number of NOEs From the PLC Configuration dialog box follow the steps below to select the number of NOE modules Step Action 1 PLC type Memory partitions ASCII setup Loadables Config extensions Segm
141. es Diagnostic Service Workload Data Returned Maximum Load for NOE 771 x1 Global Data Number of published variables per second 800 1 O Scanner Number of transactions per second 4200 Messaging Number of messages treated per second 410 The current load is computed dynamically NOTE The loads are dependent on controller scan time Each application has an expected scan time Therefore when evaluating the loads ensure that the controller scan time is set to the expected scan time for the application being modelled 31001913 10 2009 27 Product Description Web Diagnostics Overview NOTE These services are available on the 140 NOE 771 1 modules The embedded Web server provides Web pages that you may use to diagnose Transparent Factory Real Time services Those diagnostic services are listed below e global data diagnostics e status of all global data services e status of all subscribed and published variables e publication subscription rate e O scanning diagnostics e status of all I O scanning services e status of individual scanned devices e actual I O scanning rate e messaging diagnostics e diagnostic information for Port 502 messaging e bandwidth monitoring e throughput measurement of NOE by service NOTE All these pages are protected by the general HTTP password 28 31001913 10 2009 Product Description System Requirements and Customer Support Minimum Sy
142. f 1518 octets xan IEEE 802 3 PDU has a minFrameSize of 64 octets802 2_pdu dsap 1 ssap 1 frm_cntrl 1 snap_hdr 5 data ip_pdu the snap_hdr is associated with a well known 802 2 sap snap_hdr org_code 3 ethertype 2 the snap hdr sub network access protocol allows the older style Ethernet protocols to run on the newer IEEE 802 2 interface The thertype parameter indicates the service ex ip or arp IP has a value 0x800 eae from the wire in for Ethernet II framing ss is Ethernet II framing if length gt 1500 802 3_pdu dst_addr 6 src_addr 6 length 2 data ip_pdu Bets the common part of the packet begins here ip_pdu ip_hdr 20 data tcp_pdu tcp_pdu tcp_hdr 24 data appl_pdu mbap_pdu The mbap_pdu is the MBAP whose messages are received at a well known port The current maximum size of the mbap_pdu for this class of services is 256 bytes 262 31001913 10 2009 Ethernet TCP IP Modbus Application Protocol Structure and Content The structure and content of the mbap_pdu is defined to be mbap_pdu inv_id 2 proto_id 2 len 2 dst_idx 1 data mb_pdu The header is 7 bytes long and includes the following fields inv_id 2 bytes invocation id used for transaction pairing proto_id 2 bytes used for intra system multiplexing default is 0 for Modbus services len 2 bytes the len field is a byte count of the remaining
143. f subscribed variables configured by the global data entity glbDataPub 4 Indicates the total number of publications sent to the network glbDataSub 5 Indicates the total number of subscriptions received from the network glbDataPubErr 6 Indicates the total number of publication errors detected by the local entity glbDataSubErr 7 Indicates the total number of subscription errors detected by the local entity 31001913 10 2009 223 SNMP Service Description glbDataGlbSubHealth 8 Indicates the global status of health for the Global Data subscribed variables 2 OK The health status of all subscribed variables are OK 4 Warning At least 1 subscribed variable has a health fault glbDataPubTable 9 Displays a table containing information on each published variable the number of publications the source IP address the number of errors glbDataSubTable 10 Displays a table containing information on each subscribed variable the number of subscriptions the source IP address the number of errors Health Web Subiree The Web 5 subtree or group contains the objects related to the Web server service Service Description webStatus 1 Indicates the global status of the Web service 1 idle 2 operational webPassword 2 Indicates a switch to enable or disable the use of Web passwords 1 disabled 2 enabled webSuccessfullAccess 3
144. fi 00 MB Gateway Address 192 168 5 20 Transmit Statistics Receive Statistics Functioning Errors Transmits 209893 Receives 7693373 Missed Packets f Transmit Retries p Framing Errors 0 Collision Errors f Lost Carrier p Overflow Errors 0 Transmit Timeouts fo Late Collision p CRC Errors 8 Memory Errors fo Transmit Buffer Errors 0 Receive BufferErrors 0 Net Interface Restaris fe Silo Underflow g Reset Counters Home Configured Local Rack Controller Status RIO Status Data Monitor Copyright 1999 2001 Schneider Automation Inc All rights reserved S f l Applet started eal E Intemet zone y Ethernet Module Statistics Page Links The following table describes the links on the Ethernet Module Statistics page Link Results Home Displays the Quantum Welcome Page Configured Local Rack Displays the Quantum Local Rack with NOE and CPU Controller Status Displays the CPU Configuration RIO Status Displays the Remote I O Communications Status Graphic Editor only 771 01 11 21 Displays the Graphic tool for creating input output user screens only with FactoryCast Data Monitor Allows access to the Quantum PLC Data with editing capabilities 150 31001913 10 2009 Embedded Web Pages Remote I O Communication Status Page Overview In the following figure the fields are information only You cannot change the fields REMOTE I O COMMUNICATION STATUS Global Status OK C
145. fiber assumes a 100 m 325 ft twisted pair links 2 Mixed twisted pairs and fiber assumes a 105 m 340 ft twisted pair links Fiber Length The maximum length for 850 nm multimode cable is 2 KM 31001913 10 2009 35 Installing the Module Security Overview The following information describes firewalls To restrict access to your Ethernet controller and I O network you may want to consider a firewall Types of Firewalls There are 2 types of firewalls e network level firewalls e application level firewalls Network Level Firewalls Network level firewalls are frequently installed between the Internet and a single point of entry to an internal protected network Application Level Firewalls An application level firewall acts on behalf of an application It intercepts all traffic destined for that application and decides whether to forward that traffic to the application Application level firewalls reside on individual host computers Port Numbers Used by NOE The following table contains the port numbers used by NOE Protocol Port Number Modbus TCP TCP 502 HTTP TCP 80 SNMP UDP 61 FTP TCP 21 You may need to provide the information in this table to your system administrator so that the firewall configuration will allow access to your PLC from outside of your facility 36 31001913 10 2009 Installing the Module Installing the Module Overview The following informati
146. from its database The server then places it in BootP response messages to the requesting devices The devices will use the assigned IP addresses received from the BootP server for all communication occurring on the network Your NOE BootP Server DHCP Server Your NOE 0 module comes supplied with a BootP server This feature allows you to provide IP addresses to all the I O devices which the NOE 771 0 is servicing Providing a BootP server that is built into your NOE 771 0 module eliminates the need for you to have a dedicated PC on your I O network acting as a BootP server NOTE The NOE 771 0 s BootP server cannot be used to provide its own IP address You can configure your NOE 771 0 s BootP server from the module s HTTP Web page Using this feature allows you to add remove and edit devices to the BootP server s database which is maintained on the modules non volatile memory NOTE The DHCP server is available on the 140 NOE 771 1 models Dynamic Host Configuration Protocol DHCP is a superset of the BootP protocol Your 140 NOE 771 e1 has a DHCP server The DHCP server is compliant with RFC 1531 The DHCP server can be used to provide the IP configuration to devices using BootP or DHCP The DHCP server has entries that use the MAC address to serve the IP configuration and entries in the server that use the role name to serve the IP configuration see page 171 31001913 10 2009 23 Product Desc
147. function is called to initiate a connect request to the remote node The listen port for the connect request is five hundred and two and is defined by the constant MBAP_LISTEN_PORT in modbus h If tcpip_connect_rq succeeded in initiating a connect request tcpip_connect_rq changes the transmit state to CONNECTING otherwise it changes the transmit state to IDLE The window sockets DLL generates an FD_CONNECT event which indicates if the connect request succeeded or failed CSample_View OnTcplpConnect function processes the FD_CONNECT event If the connect request succeeded OnTcplpConnect changes the transmit state to CONNECTED otherwise it changes the state to IDLE 252 31001913 10 2009 Ethernet Developers Guide Recall that MFC architectural framework calls CSample_View OnPolllnterval member function to process WM_POLL_INTERVAL message sent as result of CMainFrame class processing a WM_TIMER message OnPolllnterval examines the transmit state If the transmit state is CONNECTED and the user has selected a transaction type then OnPolllnterval calls CSample_View TransmitUserRequest function TransmitUserRequest encodes a request based on the transaction type saves the current time and calls CSample_View TransmitMessage function OnPolllnterval uses the saved time to determine when to transmit the next request Transmit Message attempts to send a message to the remote side To send the message TransmitMessage enters a loop In the
148. g index That is if the NOE is inserted in slot 7 of the rack and the MET mapping index is 6 the first element of the data structure looks as follows High value byte Low value byte yaad gt lt a al 0o 0 0 0 0 1 1 1 0 0 0 0 0 1 1 40 High value byte Slots 1 16 Low value byte MBP on Ethernet Transporter MET mapping index 31001913 10 2009 103 Transferring Data Using Communication Blocks MBP_MSTR Function Block With this function block it is possible to select one of 12 available network communication operations Although a large number of MBP_MSTR function blocks can be programmed only 16 can be active at the same time All function blocks use 1 data transaction path and require multiple cycles to complete a job EN and ENO can be configured as additional parameters NOTE About this function block e When only 1 read or write job is carried out in every cycle TCP IP communications are possible only between a Quantum PLC NOE 771 anda Momentum PLC all TCP IP CPUs and all TCP IP I O modules If several jobs are sent per PLC cycle the communication stops without generating an error message in the status register of the function block e In FBD and LD sections this function block can only be used on the program level that is not in derived function blocks DFBs e When programming this function you must be familiar with the routing
149. g to the network used e TCP IP Ethernet 106 31001913 10 2009 Transferring Data Using Communication Blocks Control Block for TCP IP Ethernet The following table shows the control block for TCP IP Ethernet Register Contents 4x Indicates an operations that is valid for TCP IP 4x 1 Indicates the error status 4x 2 Indicates the length number of registers transferred 4x 3 Indicates MSTR operation dependent information 4x 4 Routing register Low value byte MBP on Ethernet Transporter MET mapping index High value byte Slot of the NOE module 4x 5 Byte 4 MSB of the 32 bit destination IP address 4x 6 Byte 3 of the 32 bit destination IP address 4x 7 Byte 2 of the 32 bit destination IP address 4x 8 Byte 1 LSB of the 32 bit destination IP address Routing Register 4x 4 in TCP IP Ethernet If an NOE in a Quantum controller rack is addressed as a destination node the value in the high value byte represents the physical NOE slot and the value in the low value byte represents the MBP on Ethernet MET mapping index That is if the NOE is plugged into slot 7 of the rack and the MET mapping index is 6 the first element of the data structure appears as follows High value byte Low value byte ma p m ofojolojo 1 1 1fololo olo 1 0 1 High value byte Slots 1 to 16 Low value byte MBP on Ethernet Transpo
150. he IP address Third implied Third byte of the IP address Fourth implied Fourth byte of the IP address Subnetwork Fifth implied Hi word mask Sixth implied Low word Gateway Seventh implied First byte of the gateway Eighth implied Second byte of the gateway Ninth implied Third byte of the gateway Tenth implied Fourth byte of the gateway Eleventh implied High byte Low byte Software defined Module Type Ignored by M1 and NOE modules 0 NOE211 1 NOE251 2 NOE771 00 3 NOE771 10 4 M1 5 140 NOE 771 01 6 140 NOE 771 11 IP Address Algorithm 0 Take IP Address from above definition default All modules support this functionality 1 Always take IP Address from BOOTP Server M1 and NOE 771 x0 support this functionality 2 Disable Ethernet functionality M1 only 31001913 10 2009 85 Transferring Data Using Communication Blocks TCP IP Ethernet Statistics Introduction The following information describes the available TCP IP Ethernet statistics Board Responses A TCP IP Ethernet board responds to the Get Local Statistics and Set Local Statistics commands with the following information Word Meaning 00 02 MAC address 03 Board Status see the Board Status Bit Definition table under this topic 04 and 05 Number of receiver interrupts 06 and 07 Number of transmitter interrupts 08 and 09 Transmit _ timeout error count 10 and 11 Co
151. he len field is a byte count of the remaining fields and it includes the dst_id and data fields The remainder of the PDU includes 2 fields Field Description dst_idx 1 byte Destination index is used for intra system routing of packets currently not implemented data n bytes This is the service portion of the Modbus pdu mb_pdu and it is defined below The service portion of the MBAP called mb_pdu contains 2 fields mb_pdu func_code 1 data n The following table describes the fields in mb_pdu Field Description func_code 1 byte Modbus function code data n bytes This field is function code dependent and usually contains information such as variable references variable counts and data offsets The size and content of the data field are dependent on the value of the function code 31001913 10 2009 259 Ethernet TCP IP Modbus Application Protocol Example Here are the values for a sample mbap_pdu for reading a register 00 01 00 00 00 06 01 03 00 00 00 01 The following table shows the structure and content for this example inv_id 00 01 proto_id 00 00 len 00 00 dst_idx 01 func_code 03 data 00 00 00 01 260 31001913 10 2009 Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol Service Classes Overview There are several classes of service that are part of the MBAP Each of these
152. ic management applications and policies The diagram below illustrates the Schneider Electric Groupe_Schneider 3833 private enterprise MIB subtree Groupe_Schneider 3833 Transparent_Factory Ethernet 1 Switch 1 Port502_Messaging 2 VO_Scanning 3 Global_Data 4 Web 5 Address_Server 6 Equipment_Profiles 7 Premium 1 Quantum 2 Generic_Device 3 MIE 4 ENT 5 IndustrialControlProducts 3 VariableSpeedController 1 ATV58 1 220 31001913 10 2009 SNMP The Groupe_Schneider 3833 subtree is the root of Groupe Schneider s private MIB in the Structure of Management Information SMI used by SNMP and defined in RFC 1155 which is a specification that defines the structure and identification of management information for TCP IP based Internets Transparent Factory Ethernet Subtree The Transparent_Factory_Ethernet 1 subtree defines groups that support the Transparent Factory Ethernet services and devices Service Description Switch 1 Subtree defines a brand of switches labeled ConneXium switches private MIB Port502_Messaging 2 Subtree defines objects for managing explicit client server communications supporting applications such as HMI SCADA or programming tools 1 O_Scanning 3 Subtree defines objects for managing I O device communications that use the I O Scanner mechanism with the MB TCP protocol Global_Data 4 Subtree defines objects f
153. ices Bandwidth monitoring allows the user to monitor the NOE s CPU allocation for each of the following services global data I O scanning and messaging The bandwidth monitoring service retrieves workload data and returns one of two pieces of information whether the module has free resources or whether the module is working at capacity Knowing the resource allocation helps you e decide about allocating your resources e determine the number of NOEs needed in a system The services accessed and monitored are e global data e O scanner e Modbus messaging If you want to use bandwidth monitoring you do not need to develop a new set of access functions The actual NOE CPU load is computed each second 26 31001913 10 2009 Product Description Bandwidth Monitoring Load Rates The bandwidth monitoring service checks once a second and computes four values in private data e percentage of NOE s CPU allocated to global data e percentage of NOE s CPU allocated to the I O scanner e percentage of NOE s CPU allocated to messaging e percentage of NOE s CPU allocated to other services and idle Results are returned as percentages CPU time spent in other services is shown as Other or Free Bandwidth monitoring uses the same functions as used by SNMP The 3 service rates global data I O scanner and messaging are computed using the following formula Current load 100 Maximum Load Table of Maximum Load Rat
154. ifies an offset value relative to the first available word in the local processor s statistics table If the offset is specified as 1 the function obtains statistics starting with the second word in the table Fourth implied High byte Destination index Fifth Eighth implied Destination Each register contains one byte of the 32 bit IP address 31001913 10 2009 79 Transferring Data Using Communication Blocks Clear Remote Statistics MSTR Operation Introduction The following information describes the Clear Remote Statistics operation operation type 8 in the displayed register of the top node This operation clears statistics relative to a remote network node from the data area in the local node This operation may require multiple scans to complete and uses a single data master transaction path Control Block Utilization The following table describes the registers in the MSTR control block the top node These registers contain the Clear Remote Statistics information Register Function Content Displayed Operation type 8 First implied Error status Displays a hex value indicating an MSTR error if relevant Second implied Not applicable Third implied Not applicable Fourth implied High byte Destination index Fifth Eighth implied Destination Each register contains one byte of the 32 bit IP address 80 31001913 10 2009 Tr
155. ility Planning Your System Configuration The Global Data Publish Subscribe utility is a powerful function incorporated into the NOE product line Implementing Global Data requires a configuration that spans many PLCs throughout the system Therefore we recommend planning your installation before implementation Work spent on planning saves time and money by reducing errors and unnecessary debugging time Planning also ensures consistency throughout the system Go to paper before computer We offer the following table to help with your system planning The table below is a graphic representation of a recommended configuration table for system planning which Schneider calls the Global Data Planning Spreadsheet You may create your own table using the format below or you may download a Microsoft Excel spreadsheet template which is available on the Schneider public Web site Here is the graphic representation of the Global Data Planning Spreadsheet Parameter Variable ID Symbol 1 Length Device Number Variable Checking Registers Public Status 1 2 we 3 1 VALVE_STATUS 20 PUB SUB NONE OK 2 VALVE_CONTROL 10 SUB NONE PUB OK 64 PUMP_CONTROL 50 SUB PUB NONE OK Device Publication Status OK OK OK Total Publication Size per Node 20 50 10 Total Subscription Size per Node 60 20 0 Group IP Address 239 255 255 0 Multicast Filtering Enabled OFF Default 4x Ad
156. ill light indicating that an entry has been made in the crash log see page 233 232 31001913 10 2009 Maintenance Reading and Clearing the Crash Log Overview The crash log provides you with the ability to capture conditions that lead to an anomalous condition By providing the crash log to Schneider Electric technical support see page 29 you can facilitate their assistance in resolving your problems NOTE The crash log is provided with the understanding that with a complex product in thousands of customer applications there may be conditions that require advanced diagnostics The crash log is one of the tools used to solve complex problems If the Appl indicator is on entries have been made in the crash log The log may hold up to 64K of entries Reading the Crash Log The crash log can be read from the Embedded Web pages see page 143 or through FTP Follow the steps below to access the crash log through FTP Step Action 1 Log into the module s FTP server 2 Change the directory to wwwroot conf diag 3 Perform an FTP to get the crash log file get crash log Clearing the Crash Log The crash log can be cleared from the Embedded Web pages see page 143 or through FTP Follow the steps below to access the crash log through FTP Step Action 1 Log into the module s FTP server 2 Change the directory to wwwroot conf diag 3 Perform an FTP to delete the crash log
157. ing procedure describes the steps to perform to respond to a Link LED error Step Action 1 Make sure that the cable has been installed correctly and the module is functioning properly 2 Verify that the hub switch is working properly If steps 1 and 2 check okay replace the NOE 771 module 31001913 10 2009 229 Maintenance Kernel LED Error The following table describes the Kernel LED errors that may occur and how to respond to them If Then The Ready LED is on and the Kernel LED is flashing the module has detected an invalid software image The Ready LED is on and the Kernel LED is shining steadily an attempt to download a software image has failed and the module is in kernel mode Either of the above conditions exists download a new NOE Exec see Establishing a Connection with an Ethernet Module page 197 Fault LED The Fault LED will flash briefly following an error as the module attempts to recover The following figure shows the Fault LED 140 NOE 771 ETHERNET TCP IP 230 31001913 10 2009 Maintenance Collision LED Error If the twisted pair cable has not been connected properly the Coll LED will shine steadily and the Link LED will be extinguished This condition does not occur with fiber optic modules The following figure shows the Collision LED 140 NOE 771 ETHERNET TCP IP Ready Link Active
158. ion box in the browser window After you do this the Schneider Automation Web Utility home page displays The following steps describe how to access the Schneider Web Home Utility page Step Action 1 Click the Diagnostics and Online Configurations link J Welcome to Schneider Automation Web Server Microsoft Internet Ex ME EG File Edit View Go Favorites Help Address E http 192 168 3 2 index htm bi Links Schneider p Electric Schneider Automation Web Server Diagnostics and Online Co ations Operating Sysiem Windows NT Screen Resolution 1024 x 763 Browser Microsoft Internet Explorer 4 0 compatible MSIE 4 01 Windows NTI Copyright 1999 2001 Schneider Automation Inc All rights reserved xl You will be requested to supply a user name and password After supplying the user name password and clicking OK the Quantum Welcome Page appears The Quantum Welcome Page provides the links to all the Quantum configuration and diagnostic pages and the Data Editor Data Monitor Note The default User Name is USER and the default password is USER We recommend that the system administrator change both during module installation 31001913 10 2009 145 Embedded Web Pages Quantum Welcome Page Overview The Quantum Welcome Page provides links to all the Configuration and Diagnostic Pages and the Run Time Data Editor Schneider m A F E
159. ish a connection with the Ethernet module 2 e Click Messages Write Register or e Click the Write Register toolbar icon Read Register Write Register 3 In the Polling Interval field type the number of seconds between transactions Write Register Polling Interval E First 4X register to write Cancel 7 di Number of registers to write fi I Increment Write Data Write Data 4 In the First 4x register to write field type the number of the first 4x register you want to write When typing the 4x register number omit the leading 40 or 400 In the Number of registers to write field type the number of registers to write In the Write Data field type the data to be written to those registers 7 Select the Increment Write Data check box if you want the data you have entered to increase by 1 with each transaction 8 Click OK Result The register values will be displayed in the window for this connection 206 31001913 10 2009 Using the Network Options Ethernet Tester Read or Write Request Error If you try to read or write registers and an error occurs the NOET displays a Read Request Error or Write Request Error The error codes correspond to MSTR block error codes For more information refer to the Ladder Logic Block Library User Guide 840 USE 101 31001913 10 2009 207 Using the Network Options Ethernet Tester Using the Test Button Overview
160. isplay a result it calls Cview Invalidate function which causes a WM_PAINT message CSample_View is derived from MFC CScrollView class This class handles the scroll logic To perform the scroll logic CScrollView requires the size of the document It is informed of the document size via its SetScrollSizes member function CSample_View UpdateScrollSizes member function based on the display type calculates the document size and then calls SetScrollSizes CSample_View calls UpdateScrollSizes if the display type changes or if the user changes the window size 256 31001913 10 2009 Quantum Ethernet TCP IP Modbus Application Protocol C Overview This chapter describes the Quantum Ethernet TCP IP Modbus Application Protocol What s in this Chapter This chapter contains the following topics Topic Page Overview 258 Modbus Application Protocol PDU 259 Modbus Application Protocol Service Classes 261 Modbus Application Protocol PDU Analysis 262 TCP IP Specific Issues 264 Reference Documents 265 31001913 10 2009 257 Ethernet TCP IP Modbus Application Protocol Overview Introduction The following information describes the Modbus Application Protocol MBAP The MBAP is a layer 7 protocol providing peer to peer communication between PLCs and other host based nodes on a LAN Collectively these nodes implement all or part of a control application used for industrial automation applic
161. isplays one of the following messages e Not Loaded in Server Not loaded in the server e Present Configuration _ Current contig memyElO ha 1p 139 156 13 222 am 255 255 255 0 gw 139 158 8 1 31001913 10 2009 175 Address Server Configuration Faulty Device Replacement Error Dialog Box If you entered an existing role name or MAC address you will receive an alert message asking you to correct the entry Microsoft Internet Explorer Ei This role name is already used Please change it Modifying the Database If you need to add or modify an entry in the database use the Address Server Node Configuration page Fill in these 3 fields Device IP address Subnet Mask and Gateway Select either the Role Name or Device MAC address field When you select 1 field the other is not available Adding Entries If you are adding a device the page appears with values You need to enter either a role name or a MAC address If you are adding an entry click the Add the Entry button Modifying Entries If you are modifying an entry the Device IP address Subnet Mask and Gateway fields display with the current configuration If you are modifying an entry click the Reset the Form button Each field of the Address Server Node Configuration page has restrictions which are detailed below e Role Name Each role name must be unique Only letters numerals and underscores are allowed No more than 16 characters ar
162. ister 1 receives the value 1 Register 2 receives the value 2 e Using Random Data Each register receives a data value assigned randomly For example Register 1 receives the value 625 Register 2 receives the value 264 31001913 10 2009 209 Using the Network Options Ethernet Tester 210 31001913 10 2009 SNMP 11 Overview The following material describes the Simple Network Management Protocol SNMP and the Schneider private MIB Under the Schneider private MIB is the Transparent Factory Ethernet private MIB All are configured on your NOE What s in this Chapter This chapter contains the following topics Topic Page SNMP 212 ASN 1 Naming Scheme 215 Configuring a NOE with SNMP 217 Configuring an NOE with TFE Private MIB 219 31001913 10 2009 211 SNMP SNMP Overview Network management software allows a network manager to e monitor and control network components e isolate problems and find their causes e query devices such as a host computer routers switches and bridges to determine their status e obtain statistics about the networks to which they attach Manager Agent Paradigm Network management software follows the conventional client server model To avoid confusion with other network communication protocols that use the client server terminology network management software uses the following terms e Manager For the client application that r
163. isters Specials Segment Scheduler Battery Coil Segments Timer Register Time of Day Config Extensions ASCII Data Protection Number of Messages Peer Cop Message Area Size Hot Standby Number of Ports Ethernet Profibus DP 31001913 10 2009 53 Configuring the Module with Concept Step Action 4 Double click the Type field in the PLC section of the PLC Configuration screen Result The PLC Selection dialog box opens The default selection is Quantum PLC Selection x PLC Eamily UA _ 186 IEC 16Bit 303K 984 Eq IMIO CHS CPU Executive Memory Size 32 K logic 64K state 48 K logic 32 K state flee Runtime IEC Usable Memory Size p a Cancel Help oa In the CPU Executive list select the CPU that is installed in your Quantum backplane Note Depending on the CPU you select you may need to select the correct memory size applicable to it in the Memory Size list 54 31001913 10 2009 Configuring the Module with Concept Step Action Click OK Result Your PLC type and default configuration parameters display in the PLC Configuration screen Type 140 CPU 434 12 Exec Id 883 Memory Size 64K Ranges Coils 000001 001536 Discrete Inputs 100001 100512 Input Register 300001 300512 Holding Registers 400001 401872 Specials Batt
164. k option Ethernet tester 246 network options Ethernet tester 196 network support 195 network traffic reducing multicast filtering 117 network level firewalls 36 nodes bottom 70 middle 70 top 70 70 NOE exec downloading 234 downloading through FTP 238 O online programming services 261 operating modes 188 outputs MSTR 69 P panel components 15 password FTP 44 HTTP 44 47 PDU 259 262 getrequest 217 setrequest 217 trap 218 PLC CPU configuring 52 PLC data monitor via web server 152 PLC scan execution 261 port502_messaging subtree 222 private MIB 212 219 protocol port numbers firewalls 36 ProWORX NxT configuring Ethernet address parameters 136 configuring I O scan list 132 setting the number of NOEs 136 139 publisher subscriber 110 global data 25 Q Quantum 113 CPU 267 Quantum 213 CPU 268 Quantum 424 CPU 268 Quantum 534 CPU 269 Quantum backplane requirements installing 37 R read I O scan list 126 middle node 70 READ_REG 96 ready LEDs 229 receive state machine 253 254 reference documents 265 registers bottom node 70 related documents 265 remote clients 192 remote I O communications via Web server 151 rep rate I O scan list 126 reset option module MSTR 81 restriction 186 role name 172 routing register MBP_MSTR function 107 TCP IP Ethernet 107 run LED indicator 18 run LEDs 232 31001913 10 2009 287 Index S
165. l data service synchronizes several stations located in a distribution group A distribution group is a set of stations identified by using the same IP multicast address for all stations in the group By using the same IP address for multiple devices multicast exchanges can be used to distribute global data Several independent distribution groups can coexist on the same sub network Each distribution group posses its own unique IP multicast address Early versions of switches treat multicast packets as a broadcast transmitting broadcasts to all nodes and thereby suppressing all benefits of both switching and multicasting Newer version of switches provide automatic multicast filtering and consequently only forward multicast traffic to the ports that are connected to registered end stations Multicast Filtering uses the GARP Multicast Registration Protocol GMRP to inform a switch which IP Multicast Addresses are of interest to the attached device GMRP is defined in the IEEE 802 1D 1998 Standard which is available as a free download at http IEEE802 org In order to use Multicast Filtering you need to 1 Ensure that your switch supports IEEE 802 1D 1998 2 Select the Multicast filtering check box on the Global Data Configuration area on the Web page Multicast Filtering helps to reduce the traffic on a network because broadcasts are sent only to interested or subscribed devices For distributed applications and 1 to many co
166. lectric Web Server for Quantum The following table details the links on the Quantum Welcome Page To view the pages related to a particular topic click the link for that topic Link Results Home Return to the home page Configured Local Rack Displays the Quantum Local Rack with NOE and CPU Controller Status Displays the CPU Configuration Ethernet Statistics Displays the Ethernet Module Statistics with the Reset Counters link RIO Status Displays the Remote I O Communications Status Graphic Editor only 771 01 Displays the Graphic tool for creating input output user 11 21 screens only with FactoryCast Data Monitor Data Editor Allows access to the Quantum PLC Data Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration page NOE Properties Provides information about the NOE properties NOE Diagnostics Displays the links to Ethernet Statistics and the Crash Log File Diagnostics Support Displays contact information for technical assistance sales and feedback 146 31001913 10 2009 Embedded Web Pages Configured Local Rack Page Overview The Configured Local Rack page displays a visual representation of the current configuration The following table details the links on the Configured Local Rack page To view the pages related to each of these topics click the respective topic Link Res
167. llision_detect error count 12 and 13 Missed packets 14 and 15 Memory error 16 and 17 Number of times driver has restarted 18 and 19 Receive framing error 20 and 21 Receiver overflow error 22 and 23 Receive CRC error 24 and 25 Receive buffer error 26 and 27 Transmit buffer error 28 and 29 Transmit silo underflow 30 and 31 Late collision 32 and 33 Lost carrier 34 and 35 Number of retries 36 and 37 IP address 86 31001913 10 2009 Transferring Data Using Communication Blocks Board Status Word Bit Definition The following table describes the word bit definitions for board status for the e 140 NOE 771 x1 versions 2 0 3 0 3 1 3 3 and 3 6 or higher and e 140 NOE 771Xx0 versions 3 0 3 3 and 3 4 or higher Bit Definition 15 0 Link LED off 1 Link LED on 14 0 Appl LED off 1 Appl LED on 13 0 twisted pair 1 fiber 12 0 10Mbit 1 100 Mbit 11 8 Reserved 7 4 Module Type see table below 3 Reserved 2 O half duplex 1 full duplex 1 0 notconfigured 1 configured 0 0 PLC not running 1 PLC NOE running NOTE Bits are counted from right to left starting from bit 0 low bit For example PLC running 0x0001 Application LED 0x4000 and LED Connection 0x8000 The following table describes the word bit definitions for board status for the e 140 NOE 771 x1 versions 3 5 and e 140 NOE 771x0 versio
168. lobal Data Configuration Web page provides a configuration screen to determine which and how many application variables are exchanged with this service After configuration the exchanges between all stations belonging to the same distribution group are done automatically The Global Data service uses the 4x register space for Global Data exchanges Key Features of Global Data The main features for Global Data are One publisher and many subscribers A device can publish 1 network variable of up to 512 4x registers A device can subscribe up to 64 network variables of up to 2 048 4x registers A device subscribes to the complete network variable One distribution group per network IP address Application defined publication rate Up to 64 Global Data network variables numbered from 1 to 64 can be part of the data distribution group e ANOE has only 1 multicast address consequently it can only publish and subscribe inside the group e A device can participate in several distribution groups by using multiple NOEs in the rack Global Data has an advantage over Client Server services when more than 1 subscriber is receiving the same data since only 1 transaction is necessary for all subscribers to receive the data This advantage offers 2 benefits e reduce overall network traffic e ensure tighter synchronization of multiple subscribers 110 31001913 10 2009 Transferring Data with the Global Data Publish Subscribe Ut
169. lock Utilization The following table describes the registers in the MSTR control block the top node These registers contain the Read CTE information Register Function Content Displayed 1 Operation Type 11 First implied 2 Error status Displays a hex value indicating an MSTR error when relevant Second implied 3 Length Must indicate a length of between 12 and 37 Third implied 4 Not applicable Fourth implied 5 Low byte Quantum backplane slot address of the NOE module Fifth 6 Eighth 9 implied Not applicable 82 31001913 10 2009 Transferring Data Using Communication Blocks CTE Display Implementation The values in the Ethernet configuration extension table CTE are displayed in a series of registers in the middle node of the MSTR instruction when a Read CTE operation is implemented The middle node contains the first of 11 contiguous MW words 4x registers The following table describes the CTE data contained in the registers Parameter Register Content Frame type Displayed 1 802 3 2 Ethernet IP Address First implied Byte 4 MSB of the 32 bit IP address Second implied Byte 3 of the 32 bit IP address Third implied Byte 2 of the 32 bit IP address Fourth implied Byte 1 LSB of the 32 bit IP address Subnetwork Fifth implied Hi word mask Sixth implied Low word Gateway Seventh implied Byte 4 MSB of the 32 bit g
170. lpNetMask 16 Indicates the subnet mask associated with the IP address of the SNMP agent The value of the mask is an IP address with all the network bits set to 1 and all the host bits set to 0 profilelpGateway 17 Indicates the default Gateway IP address of the SNMP agent profileMacAddress 18 Indicates the Ethernet media dependent address of the SNMP agent Private Traps and MIB Files Traps are used to signal status changes to the manager Using traps helps to avoid adding traffic The 4 status changes signaled by the trap are for the e LEDs e communication ports e I O scanning health values e global data health The following list describes the characteristics of private traps e send messages to the 2 managers whose IP addresses are configured in the SNMP configuration either the PL7 or the Web page e use the community name given to this configuration e enable or disable each of the Transparent Factory Ethernet Private MIB groups Switch 1 Ports02_Messaging 2 I O_Scanning 3 Global_Data 4 Web 5 Address_Server 6 and Equipment_Profiles 7 Private traps are described in the MIB ASN 1 description which is contained in an mib text file 226 31001913 10 2009 Maintenance 12 Overview This chapter details information about system maintenance including accessing and clearing the crash log and downloading the new NOE exec What s in this Chapter This chapter contai
171. minimum number of controller scan times before an update will occur Health Timeout The maximum time between received subscriptions before a subscription is declared unhealthy faulty The value is measured in milliseconds and can be set to a value that ranges from 50 through 1 000 ms increase in units of 50 ms Data Zone The starting address for the data These are the registers where the data information are stored 112 31001913 10 2009 Transferring Data with the Global Data Publish Subscribe Utility Configuring the Global Data Publish Subscribe Utility Overview Whether you use the Configure Each Device Separately or the Copy Configuration method the procedure to configure individual parameters is the same Therefore in order to use the Global Data Publish Subscribe utility in the NOE you need to configure the Global Data parameters including Distribution period Multicast filtering Health bit location Global Data base address Group IP address The following sections describe in detail the exact steps to configure each parameter via the Global Data Configuration page Accessing the Global Data Utility You access the Global Data utility through the Global Data Configuration page Step Action 1 On the Quantum home page click Diagnostics You will be requested to supply a user name and password Enter your user name and password The Configure NOE page a
172. mmunication in two directions but only one direction at a time A node on a network A domain name given to a specific computer on a network and used to address that computer 274 31001913 10 2009 Glossary HTTP hub O drop I O map I O scan I O scan list I O scanner IANA ICMP A domain name given to a specific computer on a network and used to address that computer A device which connects a series of flexible and centralized modules to create a network One or two depending on the system type Remote I O Channels consisting of a fixed number of I O points An area in the controller configuration memory used to map input and output points Previously called traffic cop A procedure the processor follows to monitor inputs and control outputs A configuration table which identifies the targets with which repetitive communication is authorized Software component which is in charge of scanning Ethernet based Momentum IO in order to get inputs and set outputs Internet Assigned Numbers Authority Internet Control Message Protocol A protocol within TCP IP used to report errors in datagram transmission 31001913 10 2009 275 Glossary Internet IP address ISO LAN layer legacy MAC address MBAP The global interconnection of TCP IP based computer communication networks Internet Protocol A common network layer protocol IP is most often used with TCP Inter
173. mmunications multicast affords advantages over unicast e Utilizes the network bandwidth more efficiently e Sends a single transmission instead of multiple transmissions e Reduces collisions e Optimizes the performance of Ethernet module processing Using Multicast Filtering These ConneXium switches support multicast filtering Other switches from alternate vendors also support multicast filtering Switch Description 499NES17100 Managed switch with 7 ports 10 100BASE TX 499NOS17100 Managed switch with 5 ports 10 100BASE TX and 2 ports 100BASE FX 31001913 10 2009 117 Transferring Data with the Global Data Publish Subscribe Utility NOEs 01 11 21 118 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only 6 Overview This chapter discusses the NOE 771 00 01 11 and 21 modules I O scanner capabilities What s in this Chapter This chapter contains the following topics Topic Page I O Scanner Concepts 120 Enable Disable I O Scanner 123 Configuring the I O Scan List Using Concept 125 Completing the I O Configuration 129 Configuring the I O Scan List Using ProWORX NxT 132 I O Scanner Response Times Remote Input to Remote Output 140 31001913 10 2009 119 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only I O Scanner Concepts Overview The I O
174. n Internet world They define the state of art regarding Internet protocols ruled by IETF Internet Engineering Task Force http www ietf org Within Faulty Device Replacement a role name is a logical name that the user assigns to a device a logical name that has a meaning within the application A device that connects two or more sections of a network and allows information to flow between them A router examines every packet it receives and decides whether to block the packet from the rest of the network or transmit it The router will attempt to send the packet through the network by the most efficient path S Provides services to clients This term may also refer to the computer on which the service is based Simple Network Management Protocol 31001913 10 2009 279 Glossary socket stack STP subnet subnet mask switch TCP TCP IP The association of a port with an IP address serving as an identification of sender or recipient The software code which implements the protocol being used In the case of the NOE modules it is TCP IP Shielded Twisted Pair A type of cabling consisting of several strands of wire surrounded by foil shielding twisted together A physical or logical network within an IP network which shares a network address with other portions of the network A bit mask used to identify or determine which bits in an IP address correspond to the network address and which bits cor
175. n blocks are used within an application they must at least differ in the values of their NO_REG or REG_WRITE parameters NOTE A TCP IP communication between a Quantum PLC NOE 771xx and a Momentum PLC all TCP IP CPUs and all TCP IP I O modules is only possible when only one read or write job is carried out in every cycle If several jobs are sent per PLC cycle the communication stops without generating an error message in the status register of the function block The entire routing information is contained in data structure WordArr5 of input AddrFld The type of function block connected to this input and thus the contents of the data structure depend on the network used Please use e TCP IP Ethernet the function block TCP_IP_ADDR NOTE For experts The WordArr5 data structure can also be used with constants NOTE This function block puts a heavy load on the network The network load must therefore be carefully monitored If the network load is too high the program logic should be reorganized to work with the WRITE_REG function block which is a variant of this function block that does not operate in continuous mode but is command driven 94 31001913 10 2009 Transferring Data Using Communication Blocks SLAVEREG NO_REG STATUS REG_WRIT SLAVEREG is the start of the area in the addressed slave to which the source data are written The destination area always resides within the MW word 4x register area SLAVE
176. nd from the PLC memory In the secondary controller the I O scanning service is stopped When the Hot Standby switchover occurs the primary CPU NOE closes all connections with I O devices by sending a TCP IP reset The I O scanning service in this NOE is standby CPU After the switchover the new primary CPU NOE re establishes the connection with each I O devices It restarts the repetitive exchange of data with these re connections The module provide the I O scanning feature Configure this feature with the Unity Pro software Using either method the configuration and transfer of data between network addresses can be done without using the MSTR IEC function block NOTE You must account for the following Ethernet I O scanning considerations during a switchover e If MSTR IEC function block is used for TCP IP only some of the opcode will be used Therefore the block does not complete its transaction and it returns error code 0 8000 e While the NOE is in the process of performing the transaction anew MSTR IEC function block may become active e The output states of the scanned I Os will follow the state defined in the last value option configured in the I O scanning table of the NOE module in Unity Pro software These 2 states are either a set to 0 b hold last With the above considerations we recommend using switchover with Ethernet I O scanning for less critical applications 31001913 10 2009 193 Hot Sta
177. nd running quickly All the technician has to do for any FDR compliant device is to enter the role name into the new device Address Server Limits This table displays the parameters and limits of the address server Parameter Limit Maximum number of Address Server entries 128 Maximum size of the configuration file per device 4K bytes Total size of Faulty Device Replacement storage 512K bytes Maximum Role Name size 16 Characters NOTE For the DHCP server to work correctly the following must be observed e Address class and subnet class configured for the devices must match e Address class of the NOE and of the devices must be the same 31001913 10 2009 173 Address Server Configuration Faulty Device Replacement Operating on a Corporate Network NOTE e Before placing the NOE on a corporate network Schneider Automation recommends that you discuss the installation with your MIS department It is likely that your company s corporate network has at least one DHCP server running already If the NOE s DHCP server is running on the same network it may disturb the network e To avoid any possible problem related to the NOE s DHCP server on the corporate network you have to ensure that the DHCP server is not running in the NOE by not having address entries in the configuration If there are no configured devices in the Address Server Configuration page then the NOE will not start the DHCP server Avail
178. ndby Global Data Publish Subscribe Service FTP TFTP Server The Hot Standby primary CPU NOE is 1 station within a distribution group Distribution groups exchange application variables Exchanging application variables allows the system to coordinate all the stations in the distribution group Every station publishes local application variable in a distribution group for all other stations and can subscribe to remote application variables independent of the location of the producer The communication port has only 1 multicast address In this network service the Modicon Quantum Hot Standby with Unity controllers are viewed like only 1 station The primary CPU NOE publishes the Hot Standby application variables and receives the subscription variables The secondary NOE global data service is in a stopped state When the Hot Standby switchover occurs the primary CPU NOE stops the global data service The NOE does not publish the local variable during a switchover And after the switchover the new primary CPU NOE starts to publish application variables and to receive the subscription variables The FTP TFTP server is available as soon as the module receives an IP address Any FTP TFTP client can logon to the module Access requires the correct user name and password Modicon Quantum Hot Standby with Unity allows only 1 active FTP TFTP client session per NOE module When the Hot Standby switchover occurs the primary CPU and secondary
179. ndix contains the following chapters Chapter Chapter Name Page A Specifications 243 B Ethernet Developers Guide 245 Cc Quantum Ethernet TCP IP Modbus Application Protocol 257 D NOE 771 00 01 and 11 Modules I O Scanner 267 Performance Statistics 31001913 10 2009 241 242 31001913 10 2009 Specifications Specifications Specification Table Communication ports One auto sensing 10 100Base T shielded twisted pair RJ 45 connector port and 1 100Base FX MT RJ connector port Both ports transmit and receive Modbus commands encapsulated in TCP IP protocol Bus current required 750 mA Power dissipation 3 8 W Fuse None Programming Software Type and version Concept Ver 2 2 or later Modlink Ver 2 0 or later Modsoft Ver 2 6 or later ProWORxX NxT Ver 2 1 or later Firmware CPU type and version Quantum executive Ver 2 0 or later NOE upgradeable Field upgradeable using FTP or programming panel Operating Conditions Temperature 0 to 60 C Humidity 0 to 95 Rh non condensing 60 C Altitude 15 000 ft 4 500 m Vibration 10 57 Hz 0 0075 mm d a 57 150 Hz 1g Storage Conditions Temperature 40 to 85 C Humidity 0 to 95 Rh non condensing 60 C Free fall 1 m unpackaged Shock 3 shocks axis 15 g 11 ms 31001913 10 2009 243 Specifications
180. net Protocol Address A 32 bit address assigned to hosts using TCP IP International Organization for Standardization L Local Area Network In the OSI model a portion of the structure of a device which provides defined services for the transfer of information In the sense of network communication Existing Components PLC products etc that do not provide special hardware support for Control Intranet M Media Access Control address The hardware address of a device A MAC address is assigned to an Ethernet TCP IP module in the factory Modbus Application Protocol A layer 7 protocol providing peer to peer communication between PLCs and other host based nodes on a LAN 276 31001913 10 2009 Glossary Modbus Modsoft MSTR N_PDU NACK NDDS network node NOET Management Information Base Database that holds the configuration of a SNMP enabled device A communication system that links Modicon controllers with intelligent terminals and computers over common carrier or dedicated lines A software package that facilitates programming the NOE module A special master instruction which uses ladder logic to read and write controller information N Protocol Data Unit exchanged at layer N level OSI model Negative acknowledgment indicating an error Network Data Delivery Services Interconnected devices sharing a common data path and protocol for communication An addressable device on a
181. nput and output devices that the NOE module will scan In the Ethernet I O Scanner dialog box type the IP address of the slave module in the Slave IP Address column Ethernet I O Scanner Ethernet Configuration Specify IP Address C Use Bootp Server C Disable Ethernet m I O Scanner Configuration Master Module Slot Slot 4 140 NOE 771 01 al Health Block 1X 3X Diagnostic Block 3X 4X Health Rep Slave IP Address Unit ID Timeout Rate ms ms If the slave module is an I O device attached to the specified slave module use the Unit ID column to indicate the device number The Unit ID is used with the Modbus Plus to Ethernet bridge to route to Modbus Plus networks The Health Timeout is used for setting the health bit If the response arrives before the end of the Health Timeout period the health bit is set otherwise it is cleared If the Health Timeout is 0 the health bit is set to true once communications are established and it is never cleared 31001913 10 2009 125 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only Rep Rate Use this column to specify the lower bound in milliseconds ms between transactions to this node Valid values are 0 to 50 000 ms 1 min The NOE module takes this value and rounds up to a multiple of 17 ms The update of I O is synchronized to the CPU scan If the CPU scan is greater than the configured lowe
182. ns 1 02 and 2 0 and e 140 CPU 651 x0 Bit Definition 15 12 Module Type 11 Reserved 10 0 half duplex 1 full duplex 9 0 not configured 1 configured 8 0 PLC not running 1 PLC NOE running 7 0 Link LED off 1 Link LED on 6 0 Appl LED off 1 Appl LED on 5 0 twisted pair 1 fiber 4 0 10 Mbit 1 100 Mbit 3 0 Reserved 31001913 10 2009 87 Transferring Data Using Communication Blocks NOTE Bits are counted from right to left starting from bit 0 low bit For example PLC running 0x0100 Application LED 0x0040 and LED Connection 0x0080 Board Status Word Bit Definition by Module Type The following table describes the values of the module types Value of Bits 7 4 or 15 12 see tables above for bit range Module Type applicable to your module s software version 0 NOE 2x1 ENT zi M1E NOE 771 00 ETY CIP reserved 140 CPU 651 x0 reserved reserved OJ oI INI OO oO ATOJN fo NOE 771 10 NOE 771 01 _e NOE 771 11 N 13 15 reserved For bit level detail for the Momentum 170 ENT 110 01 and Momentum 170 ENT 110 00 see the Momentum Ethernet Communication Adapter 170 ENT 110 01 and 170 ENT 110 00 User Guide 870 USE 114 For bit level detail for the 140 NOE 211 see the TCP IP Module User Guide 840 USE 107 88 31001913
183. ns the following topics Topic Page Responding to Errors 228 Reading and Clearing the Crash Log 233 Downloading a New NOE Exec 234 The Concept EXECLoader 235 Downloading a New NOE Exec using FTP 238 Downloading a New NOE Kernel 240 31001913 10 2009 227 Maintenance Responding to Errors Detecting Errors When faults occur the NOE 771 e LED display can help you determine what went wrong The following figure shows the pattern that the LEDs should display during normal operation 140 NOE 771 ETHERNET TCP IP Active Ready Run Link The Run indicator will be solid The Coll LED may flash indicating that collisions are occurring on the Ethernet network Such collisions are normal If a fault occurs the normal LEDs may be extinguished or other indicators may light This section will discuss errors reported by the Active Ready Coll Link Kernel Appl and Fault indicators For each type of error try the suggested remedies on the following pages in the order noted If no remedy suggested in this manual overcomes the error call your local service representative or contact Schneider Electric customer service see page 29 Certain error codes are recorded in the MSTR block For instructions about how to read and interpret these codes through ProWORX NxT Modsoft or Concept please refer to MSTR Function Error Codes page 71 228 31001913 10 2009 Maintenance
184. ntry number represents a logical device on the network Setting Bits If Device Control Block bit is set to 0 Device is enabled e 1 Device is disabled Mapping Device Control Block Bits to I O Scanner Entry Numbers Single Word W Register MDx 4 w1 Table 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 MW Entry x 1 Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 w2 Table 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 MW Entry X 2 Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 W3 Table 33 34 35 36 37 38 39 40 41 142 43 44 45 46 47 48 MW Entry X 3 Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Word 4 through Word 7 Table Entry 49 through 112 W8 Table 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 MW Entry x 8 Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31001913 10 2009 123 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only NOTE Bits are counted from right to left starting from bit 0 low bit Examples to configure MD1 4 as a device control block in the I O Scanner table use MW2 bit 15 to enable or disable table entry 1 Use MW3 bit 15 to enable or disable table entry 17 Double Word D
185. o each other or to the network Schneider Electric offers switches Contact a local sales office for more information Failure to follow these instructions can result in injury or equipment damage A WARNING UNINTENDED EQUIPMENT OPERATION Design your application so that unmonitored modules support communication only to noncritical parts of the application Failure to follow these instructions can result in death serious injury or equipment damage In the hot standby solution two identically configured PLC systems are set up to control the same application One PLC the primary runs the application and updates the other secondary standby PLC The standby maintains awareness of the application status but does not perform any control functions In the event of a failure in the primary PLC the standby PLC takes over the primary PLC responsi bilities When the PLC that has failed becomes operational again it comes back up in the hot standby system as the new secondary PLC The NOEs coordinate the swapping of IP addresses After closing both the client and the server connections each NOE sends a swap UDP message to its peer NOE The sending NOE then waits a specified timeout 500 ms for the peer swap of UDP messages Either after receiving the messages or after a timeout the NOE changes its IP address NOTE NOEs must communicate with each other in order to swap IP addresses Schneider Electric recommends that
186. of the Health Block enter the desired address into the Health Block field I O Scanner Configuration Master Module Slot Slot 4 140 NOE 771 01 J Health Block 1X 3X 300001 300008 Diagnostic Block 8X 4X Health Rep Slave IP Address UnitID Timeout rate Rag Ref ms ms aster 0 500 100 400100 1 128 7 32 54 100 400100 5 6 128 7 32 54 128 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Completing the I O Configuration Overview This section describes how to complete your Ethernet I O configuration using the Copy Cut Paste Delete Sort and Fill Down buttons Copy and Paste Use the following procedure to copy and paste entire rows within your configuration so that you can save time when typing similar read and write commands Step Action 1 Select the row you want to copy by clicking the row number at the far left VO Scanner Configuration Master Module Slot Slot 4 140 NOE 771 00 hd Health Block 1X 3X 300001 300008 Diagnostic Block 3X 4X Read Ref Slave 192 168 5 10 100 400001 400001 192 168 5 20 500 100 400100 400001 2 Click Copy 31001913 10 2009 129 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only Step Action 3 Select the row where you would like to paste th
187. olution algorithm e determines the primary CPU NOE e assigns the configured IP address to that primary CPU NOE e assigns the configured IP address 1 to the secondary NOE Offline Mode at Power up Sequence Result Controller A powers up before controller B e P address of controller A is the configured IP address e P address of controller B is the configured IP address 1 Both controller A and controller B power up at the same time The resolution algorithm will assign controller A the configured IP address and it will assign controller B the configured IP address 1 The NOE performs a duplicate IP test by issuing an ARP request to the configured IP address If a response is received within 3 seconds the IP address remains at the default IP and blinks a diagnostic code If no IP configuration exists the NOE remains in standalone mode and the IP address must be obtained from either a BOOTP server or a MAC address Power Up and Ethernet Services The following table shows how the status of an NOE service is affected by the Modicon Quantum Hot Standby with Unity HSBY state HSBY State Status of NOE Services Client Services Client Server Server Services Services I O Scanner Global Data Modbus FTP SNMP HTTP Messaging Unassigned Run Run Run Run Run Run Primary CPU Run Run Run Run Run Run Secondary Stop Stop Run Run Run Run Offline Stop Stop Run Run Run Run
188. on about e role name e MAC address e P address e subnet mask e gateway An additional unnamed column indicates if there is a difference between the current and the stored configuration If a difference exists an exclamation point is displayed This is the Address Server Configuration page All devices are compatible E Address Server Configuration Microsoft Internet Explorer of x File Edt View Go Favorites Help Address je http 192 168 3 2 secure embedded DHCP4_ F 24PISCHANGEdid 1 amp n EN T_B amp ha bip 1 92 168 3 8 amp em 255 255 255 Okqw 1921 xl l Links Schneider a p Electric Address Server Configuration c OUTPUT_VALVE_2 192 168 3 52 255 255 255 0 192 168 3 52 e ENT_6 192 168 3 8 255 255 255 0 192 168 3 8 Refresh Address Server Database Table Add a New Entry Change an Entry Delete an Entry Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 2001 Scheider Automnstiom Inc All rights reserved Choosing Options The Address Server Configuration page allows you to choose different options for adding or altering the configurations of your NOE You can e select an entry e add an entry 31001913 10 2009 177 Address Server Configuration Faulty Device Replacement e change an entry e delete an entry Below are descriptions of each options Option Description Select When the page displays by defaul
189. on between a Quantum PLC NOE 211 00 anda Momentum PLC all TCP IP CPUs and all TCP IP I O modules is only possible when only one read or write job is carried out in every cycle If several jobs are sent per PLC cycle the communication stops without generating an error message in the status register of the function block The entire routing information is contained in data structure WordArr5 of input AddrFld The type of function block connected to this input and thus the contents of the data structure depends on the network used Please use e TCP IP Ethernet the function block TCP_IP_ADDR NOTE For experts The WordArr5 data structure can be used with constants as well NOTE This function block puts a heavy load on the network therefore the network load must be carefully monitored If the network load is too high the program logic should be reorganized in order to work with the READ_REG function block a variation of this function block that does not operate in a continuous mode but under command control 31001913 10 2009 91 Transferring Data Using Communication Blocks SLAVEREG NO_REG REG_READ STATUS SLAVEREG is the start of the area in the addressed slave from which the source data is read The source area always resides within the MW word 4x register area SLAVEREG expects the source reference as offset within that area In 4x registers the leading 4 must be omitted For example 59 contents of th
190. on describes how to install the NOE 771 module Before You Begin Locate the backplane in which you will mount the NOE 771 e module Ensure that an open slot is available in which to mount the module NOTE e The NOE 771 module can be installed only in a local backplane e Ensure that installing the NOE does not exceed the Quantum backplane requirements Backplane Slot Placement The modules may be placed in any slot on the backplane They do not have to be placed next to each other Tools Required You will need a medium size Phillips head screw driver 31001913 10 2009 37 38 Installing the Module Mounting the Module in the Backplane backplane Step Action 1 the backplane Follow the steps below to mount the NOE 771 e module on to a Quantum Backplane Connector Backplane Holding the module at an angle mount it on the 2 hooks located near the top of The following figure shows the correct way to hold the module Swing the module down so the connector engages the backplane connector Use a Phillips head screw driver to tighten the screw at the bottom of the module from 2 through 4 in lbs or from 22 through 45 Newton meters of torque 31001913 10 2009 Installing the Module Connecting the Cable Accessories NOTE The 140 NOE 771 is capable of communicating over either a 10 100BASE T or
191. on of a configuration file The next step for a FDR compliant device is to download its configuration from the NOE Consult your Schneider Automation sales representative for the current list of FDR compliant devices The address server in the NOE supports both modes at the same time You select a mode by entering either the MAC address or the role name on the Address Server Node Configuration page You may enter only 1 or the other but not both The Faulty Device Replacement capability allows automatic configuration of FDR compliant devices Identifying a Role Name Inherent in the discussion of Faulty Device Replacement is the idea of a role name A role name is a logical name that the user assigns to a device a logical name that has a meaning within the application Some examples of a role name are e ENT_6 6th Momentum ENT in your application e OUTPUT_VALVE_2 2nd output valve in your application Role names are case sensitive Faulty Device Replacement The Faulty Device Replacement service offers a method of handling device replacement without disrupting the system or interrupting service If a device fails replacing that device is easy When the new device is physically connected to the network the system including the new device is able to e provide the replacement device with the IP address of the previous device e ensure that new device is working in the same manner as the previous device e restore the I O device
192. ons Ethernet Tester utility allows you to get and clear statistics and to read and write registers over the network using a Windows based PC You may also create your own program using the Ethernet module as a server For guidance in creating your own program see Ethernet Developers Guide page 245 NOTE In its capacity as server the Ethernet module can accept only 32 connections at a time e 32 connections for the 140 NOE 771 00 and 10 e 64 client and server connections for the 140 NOE 771 01 and 11 If anew connection is attempted and the server has already reached its limit it will terminate the last used connection to make room for the new one Installation Procedure The Network Options Ethernet Tester is supplied to you on a utility diskette The following steps describe how to install the tester on your PC Step Action 1 Insert the Network Options Ethernet Tester utility disk into drive A 2 Select Run from the Program Manager file menu 3 Type A SETUP and click OK Result The Welcome dialog box appears 4 Click Next and follow the instructions that appear in each of the dialog boxes to complete the installation Note Each installation dialog box has Back and Next buttons that allow you to move back to the previous dialog box or forward to the next dialog box 196 31001913 10 2009 Using the Network Options Ethernet Tester Establishing a Connection with an Ethernet Module O
193. ool bar buttons depends on the connection state between the application and the remote node The CSample_View class maintains the connection state and hence sets the state of the menu items and tool bar buttons 248 31001913 10 2009 Ethernet Developers Guide The CSample_View Class Overview Accessing TCP IP The CSample_View class manages the TCP IP connection sends requests to remote nodes and displays either the connection state or the results of a transaction In addition it sets the states of the tool bar buttons and menu items The CSample_View interfaces with window sockets through its application programming interface and through messages sent by the window sockets DLL to the CSample_View window The reference for the window socket API is given above The first call made to the window sockets DLL must be WSAStartup This call is made by the InitInstance member function of the CSample_app class The last call to the window socket DLL must be WSACleanup This call is made by the ExitInstance member function of the Csample_app class The CSample_View allocates and sets the following socket attributes e set linger to cause a hard close e receive out of band data in the normal data stream e disable Nagel algorithm for send coalescing When the Nagel algorithm is disabled if the stack receives an application message it will immediately pass the message to the application and will send a TCP IP acknowledgment message
194. or managing the application coordination service using a publish subscribe protocol Web 5 Subtree defines objects for managing the activity of the embedded Web servers Address_Server 6 Subtree defines objects for managing the activity of the BOOTP and or DHCP servers Equipment_Profiles 7 Subtree identifies objects for each type of device in Transparent Factory Ethernet s product portfolio Device subtrees or groups will be defined for the following devices Premium 1 Quantum 2 Generic_Device 3 M1E 4 ENT 5 As devices are added to Schneider s catalog Schneider s private MIB will be extended in the following manner e f needed a Transparent Factory communication service object will be added for the new device in the corresponding Equipment_Profiles 7 subtree As many objects as needed can be added to this subtree e f needed a new branch will be added at the same level as Transparent_Factory_Ethernet 1 This subtree will be created for product specific objects such as the ATV58 object under the IndustrialControlProducts 3 subtree 31001913 10 2009 221 SNMP When a new device is created a corresponding object description is created in the ASN 1 format The ASN 1 files are then given to producers of SNMP manager software for inclusion in their products Port502 Messaging Subiree The Port502_Messaging 2 subtree or group provides connection management and d
195. ot address of the NOE module Fifth Eighth implied Not applicable 78 31001913 10 2009 Transferring Data Using Communication Blocks Get Remote Statistics MSTR Operation Introduction The Get Remote Statistics operation operation type 7 in the displayed register of the top node obtains information relative to remote nodes on the network This operation may require multiple scans to complete and does not require a master data transaction path For more information see TCP IP Ethernet Statistics The remote Ethernet module always returns its complete statistics table if a request is made even if the request is for less than the full table The MSTR instruction then copies only the amount of words you have requested to the designated MW words 4x registers NOTE TCP IP Ethernet routing must be accomplished via standard third party Ethernet IP router products Control Block Utilization The following table describes the registers in the MSTR control block the top node These registers contain the Get Remote Statistics information Register Function Content Displayed Operation 7 Type First implied Error status Displays a hex value indicating an MSTR error if relevant Second implied Length Starting from an offset the number of words of statistics from the local processor s statistics table the length must be gt 0 lt data area Third implied Offset Spec
196. ou must use a cross link cable For the network to operate properly you must route the cable for each device through an Ethernet hub switch Hubs switches are widely available and can be purchased from many suppliers The following figure shows two incorrect network topologies ri The following figure shows a correct network topology v4 o m a O m hub switch Do OO Po 31001913 10 2009 33 Installing the Module Cabling Schemes Overview In a standard Ethernet cabling scheme each device connects through a cable toa port on a central Ethernet hub switch Twisted Pair Length The following table shows that the maximum length of cable between devices depends on the type of device Type of Maximum Cable Maximum Hubs Maximum Cable Length Device Length from Device Between Any 2 Between Most Distant Nodes to Hub Nodes on Network Hub 100 m 4 500 m Switch 100 m Unlimited Unlimited For Fast Ethernet 100 Base T specifications please refer to the IEEE 802 3u Standard available from the IEEE www lEEE org Cabling with Conventional Hubs The figures and tables that follow show the maximum number of hubs and the maximum cable length between devices allowed if using hubs 10 BASE T Cable Distances 500 m 1 625 ft maximum cable length between devices gt on the network
197. ould change both when you install the module Enter Network Password HEI Please enter your authentication information Cancel Resource NOE_security User name Password Save this password in your password list 3 Enter a new user name and password in the respective fields in the Modify FTP Server User Name and Password dialog box Click Submit FTP Password Change Schneider 4 fp Electric Modify FTP Server User Name and Password New User Name 1 40 char New Password 8 40 char J Reset Form Submit FTP Password Change Delete FTP Password File Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved 31001913 10 2009 45 Installing the Module Step Action The following dialog box appears Schneid chneider Ethernet Configuration Successfully changed User Name and Password Please click Reboot Device button to use the new password Reboot Device Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved If you click Reboot Device the user name and password reset for the NOE 771 e board Note The reboot requires approximately 40 seconds With large applications the reboot may require up to 60 seconds During the reboot all services provided by the NOE 771 are not available 46 31001913 10
198. ow socket recv function to read data The recv function either returns a non negative number that is the number of bytes read or it returns an error If the number bytes read is zero the connection no longer exits and rx_msg closes the socket and sets the transmit state to IDLE If the recv function returns the error indicating that no receive data is available rx_msg just returns For any other recv function error rx_msg closes the socket and sets the transmit state to IDLE 31001913 10 2009 255 Ethernet Developers Guide Displaying on the Screen Overview CSample_View m_display member indicates the display type The following list describes the different types of displays and the CSample_View member functions for showing the display e Displaying the connection state The different connection states displayed are IDLE RESOLVING NAME and CONNECTING ConnPaint member function displays the connection state GetStatsPaint Displays the results of a get statistics request ClearStatsPaint Displays the results of a clear statistics request ReadRegPaint Displays the results of a read register request WriteRegPaint Displays the results of a write register request MFC architectural framework calls CSample_View OnDraw member function to process the window WM_PAINT message OnDraw examines m_display member variable and calls the corresponding member function described in the previous paragraph Whenever CSample_View needs to d
199. ppears 2 3 4 Click the Configure NOE link The Configure NOE page appears 31001913 10 2009 113 Transferring Data with the Global Data Publish Subscribe Utility NOEs 01 11 21 Step Action 5 Click the Configure Global Data link Telemecanique Configure NOE Configure SNMP Configure Address Server Configure Global Data Configure NTP Configure Email Home NOE Proper Copyright 1998 2003 Schneider Automation All rights reserved The Global Data Configuration page appears _ uc COURTS AB wes Dov Health 1001 Health ESI Update Global Data Configura Variable Table Data Type ___Symbol___ __Address__ _Lenght_ Ea su Evar oi o P In this screen you may make changes to the configuration 114 31001913 10 2009 Transferring Data with the Global Data Publish Subscribe Utility Configuring Global Data After you have completed the Modelling System Configuration process using the second method Copy Configuration modify the following parameters Distribution period Health Time Out Health Bits location Start address Type Pub Sub None Please do NOT change Symbol description and Length To change the Global Data variables of the group box on the Global Data Configuration page follow the instructions below Step Action 1 Adjust the Distribution Period Cycle Enter a value
200. quipment damage The following information describes how to assign IP address parameters As shipped from the factory the NOE 771 module does not contain an IP address You must program the unit with an Ethernet configuration extension to give it an IP address When the module starts up without an IP address the module will attempt to obtain an IP address from the network s BootP server You can assign IP address parameters using the BootP Lite software utility NOTE You can use the Web pages to configure the IP address for the NOE 771 01 11 and 21 modules Using a BootP Server Your system administrator can confirm whether a BootP server exists on your network and can help you use the server to maintain the adapter s IP address See Using BootP Lite to Assign Address Parameters page 50 How an Unconfigured as shipped Module Obtains an IP Address On startup an unconfigured NOE 771 module will attempt to obtain an IP address by issuing BootP requests When a response from a BootP server is obtained that IP address is used If no BootP response is received within 2 minutes the module uses the default IP address derived from its MAC address NOTE The MAC address is assigned at the factory and is recorded on a label on the front panel above the cable connector This is a unique 48 bit global assigned address It is set in PROM The Ethernet address is recorded on the label in hexadecimal in the form 00 00 5
201. r bound the actual update rate will be at the rate of the CPU scan To obtain the maximum rate specify a 0 For example if you specify 10 ms the number is rounded up to 17 ms If the controllers scan time is 5 ms the time between transactions must be greater than or equal to 1 ms On the other hand if the controller s scan time is 200 ms the time between transactions must be greater than or equal to 200 ms Read Use the read function to read data from the remote node The Read Ref Master column specifies the local address for the read response The Read Ref Slave column specifies the first 4x register of the remote node to be read The Read Length column specifies the number of registers to read The following figure includes sample values for the Read Ref Master Read Ref Slave and Read Length parameters Read Ref Read Ref Read Last Value Master Slave Length Input 400100 400001 10 Hold Last 0 Hold Last 0 Hold Last 126 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Write Use the read function to write data to the remote node The Write Ref Master column specifies the local address of the write data The Write Ref Slave column specifies the first 4x register to be written to the remote node The Write Length column specifies the number of registers to write The following figure includes sample values displaying in the Write Ref Master Write Ref Slave and Write
202. r for read values STATUS WORD error code 90 31001913 10 2009 Transferring Data Using Communication Blocks Elementary Description for WordArr5 with TCP IP Ethernet Elementary description for WordArr5 with TCP IP Ethernet Element Data Type Meaning WordArr5 1 WORD Low value byte MBP on Ethernet Transporter MET mapping index High value byte Slot of the NOE module WordArr5 2 WORD Byte 4 MSB of the 32 bit destination IP address WordArr5 3 WORD Byte 3 of the 32 bit destination IP address WordArr5 4 WORD Byte 2 of the 32 bit destination IP address WordArr5 5 WORD Byte 1 LSB of the 32 bit destination IP address Function Mode of the CREAD_REG Block Although a large number of CREAD_REG function blocks can be programmed only sixteen read operations may be active at the same time In such a case it is insignificant whether they are the result of this function block or others for example MBP_MSTR READ_REG All function blocks use one data transaction path and require multiple cycles to complete a job NOTE A TCP IP communication between a Quantum PLC NOE 771 anda Momentum PLC all TCP IP CPUs and all TCP IP I O modules is only possible when only one read or write job is carried out in every cycle If several jobs are sent per PLC cycle the communication stops without generating an error message in the status register of the function block NOTE A TCP IP communicati
203. rameter Checking Reserved Variable Id Represents the Data ID on the NOE s Global Data Configuration Web page Symbol Symbolic name for Global Data exchange Length Registers Length of Global Data information Number of 4x registers Device Number Number of devices for the Global Data network Up to 64 Variable Public Status Automatic information of the correct publication status of the Global Data network Only by using the Microsoft Excel spreadsheet Information per symbol Device Publication Status Automatic information of the correct publication status of the Global Data network Only by using the Microsoft Excel spreadsheet Information per device Total Publication Size per Node Publication size for the specific node The maximum publication size is 512 registers per node Total Subscription Size per Node Subscription size for the specific node The maximum subscription size is 2 048 registers per node Group IP Address Enabled IP address for multicast networking Identifies the stations distribution group The address range is from 224 0 0 0 to 239 255 255 255 Multicast Filtering Enabled A check box for Ethernet switches that support multicast filtering Default 4x Address for Health 4x register address for the Health bits This is the register where the Health bits are stored It has the size of four 4x registers Distribution Period The
204. ransmit state If the transmit state is WAIT_TO_TX and the elapsed time from the previous transmit request exceeds the poll interval then OnPolllnterval calls TransmitUserRequest to start another transaction 31001913 10 2009 253 Ethernet Developers Guide Receive State Machine Overview The following list contains the different states for the receive state machine e RX_HEADER In the RX_HEADER state the receive machine is receiving the message header e RX_BODY In the RX_BODY state the receive machine is receiving the response message associated with the requested transaction e DUMP_BODY In the DUMP_BODY state the receive message is receiving a message but there is no associated transaction with respect to this message The window socket DLL generates the FD_READ event whenever there is data to be read If only part of the data is read it generates another event CSample_View OnTcplpRead function processes the FD_READ event and drives the receive state machine When an FD_READ event is generated it is possible that the complete message is not present The remote node may have attempted to send a 100 byte response but the transport system may have only had buffer space to transmit three bytes The receiver will geta FD_READ for the three bytes OnTcplpRead calls CSample_View rx_msg to read the receive data into the buffer There are three parameters to rx_msg The first parameter is a pointer to a receive buffer The se
205. respond to the subnet portions of the address The subnet mask is the network address plus the bits reserved for identifying the subnetwork A network device which connects two or more separate network segments and allows traffic to be passed between them A switch determines whether a frame should be blocked or transmitted based on its destination address 7 Transmission Control Protocol A protocol suite consisting of the Transmission Control Protocol and the Internet Protocol the suite of communications protocols on which the Internet is based 280 31001913 10 2009 Glossary traffic cop UDP Uni Te URL UTP Web Winsock www A Quantum software routine that facilitates the placement of an NOE 771 module into a specified location U User Datagram Protocol A protocol which transmits data over IP T l mecanique unified application protocol used in S7 Premium and Micro PLC ranges Uniform Resource Locator The network address of a file Unshielded Twisted Pair A type of cabling consisting of insulated cable strands which are twisted together in pairs W Worldwide interconnection of stations based on Internet protocols The most famous one is HTTP Web server The Microsoft implementation of the Windows Sockets networking API based on the Berkeley UNIX Sockets interface for supporting TCP IP World Wide Web A hypertext based distributed information system in which clients and serve
206. ription If you are migrating a BootP configuration from a 140 NOE 771 0 module to the new 140 NOE 771 1 module see the Address Server Configuration Faulty Device Replacement topic see page 171 for details on automatic upgrade of your configuration for the new DHCP server NOTE Before placing the NOE on a corporate network Schneider Electric recommends that you discuss the installation with your MIS department It is likely that your company s corporate network has at least one DHCP server running already If the NOE s DHCP server is running on the same network it may disturb the network To avoid any possible problem related to the NOE s DHCP server on the corporate network you must ensure that the DHCP server is not running in the NOE by not having address entries in the configuration If there are no configured devices in the address server configuration page the NOE will not start the DHCP server 24 31001913 10 2009 Product Description Global Data Overview Global data service is a real time publisher subscriber mechanism providing the most efficient data exchange for PLC application coordination Devices supporting global data are arranged in a distribution group for the purpose of application variable exchange and synchronization Each global data device can publish up to one network application variable and subscribe up to 64 network application variables The Quantum NOE s embedded Web Global Data
207. rs Parameter Data Type Meaning SLAVEREG DINT offset address of the first MW word 4x register in the slave to be written to NO_REG INT number of registers to be written to slave REG_WRIT WORD first MW word 4x register of the source data area AddrFld WordArr5 data structure for transferring the TCI IP address STATUS WORD MBP_MSTR error code 31001913 10 2009 93 Transferring Data Using Communication Blocks Elementary Description for WordArr5 with TCP IP Ethernet Elementary description for WordArr5 with TCP IP Ethernet Element Data Type Meaning WordArr5 1 WORD low value byte MBP on Ethernet Transporter MET mapping index high value byte slots of the NOE module WordArr5 2 WORD byte 4 MSB of the 32 bit destination IP address WordArr5 3 WORD byte 3 of the 32 bit destination IP address WordArr5 4 WORD byte 2 of the 32 bit destination IP address WordArr5 5 WORD byte 1 LSB of the 32 bit destination IP address CWRITE_REG Block Function Mode Although a large number of CWRITE_REG function blocks can be programmed only sixteen write operations may be active at the same time It makes no difference whether these operations are performed using this function block or others for example MBP_MSTR WRITE_REG All function blocks use one data transaction path and require multiple cycles to complete a job If several CWRITE_REG functio
208. rs are freely available 31001913 10 2009 281 Glossary 282 31001913 10 2009 Index Symbols TCP IP Modbus application protocol 258 0 9 100 BASE FX cable 35 100 BASE T cable 35 100 BASE TX FX cable 35 4x register middle node 70 top node 70 A active LEDs 229 address assigning parameters 40 address parameters 63 Ethernet using ProoWORX NxT 136 address server BootP 23 DHCP 23 address server subtree 224 agent SNMP 212 application class descriptions 247 application LEDs 232 application message format 250 application level firewalls 36 ARP automatic IP address 42 automatic ARP IP address 42 backplane installing 37 BootP 172 configure via web server 156 BootP Lite assigning IP addresses 50 BootP server 23 assigning IP address parameters 40 bottom node 70 broadcast addressing 264 C cable connections 19 Ethernet 34 cable distance 100 BASE FX 35 100 BASE T 35 100 BASE TX FX 35 class descriptions 247 document class 248 client server 110 collision LEDs 231 communication blocks 65 communications remote I O 151 31001913 10 2009 283 Index community strings SNMP 49 components front panel 15 Concept configuring I O scan list 125 installing the MSTR block in TCP IP net work 68 Concept 2 2 52 Concept exec loader 235 configuration extensions middle node 70 top node 70 configuration services 261 Configure S
209. rter MET mapping index 31001913 10 2009 107 Transferring Data Using Communication Blocks 108 31001913 10 2009 Transferring Data with the Global Data Publish Subscribe 5 Utility NOEs 01 11 21 Overview The material in this section presents the Global Data Publish Subscribe utility available on the following 140 NOE 771 modules e 140 NOE 771 01 e 140 NOE 771 11 e 140 NOE 771 21 For more information on the publish subscribe model go to this URL http www isa org journals intech feature printable 1 1171 596 00 html1 What s in this Chapter This chapter contains the following topics Topic Page Planning the Global Data Publish Subscribe System 110 Configuring the Global Data Publish Subscribe Utility 113 Multicast Filtering 117 31001913 10 2009 109 Transferring Data with the Global Data Publish Subscribe Utility NOEs 01 11 21 Planning the Global Data Publish Subscribe System Overview Global Data service is a real time Publisher Subscriber mechanism providing the most efficient data exchange for PLC application coordination Devices supporting Global Data are arranged in a distribution group for the purpose of application variable exchange and synchronization Each Global Data device can publish up to 1 network application variable and subscribe up to 64 network application variables The Quantum NOE s embedded G
210. ry CPU Mode The Hot Standby state is primary CPU and all client server services are active Secondary Mode The Hot Standby state is standby and all server services are active except DHCP Standalone Mode The NOE is in a non redundant system or the HE CPU module is not present or is not healthy Offline Mode The CPU is stopped The Modicon Quantum Hot Standby with Unity and the NOE operating modes are synchronized by the conditions described in the following table HE CPU Module Status HSBY State NOE Operating Mode Present and Healthy Primary CPU Primary CPU Present and Healthy Standby CPU Secondary Present and Healthy Offline Offline Present and Healthy Unassigned Standalone Not present or unhealthy N A Standalone Any 1 of 4 events will affect the NOE operating mode These 4 events occur when the NOE is powered up an NOE executes a Hot Standby switch over an NOE goes to offline mode a new application is downloaded to the NOE Power Up and IP Address Assignment An NOE obtains its IP address assignment at power up as follows If the HSBY state is Then the IP address assigned is unassigned configured IP address primary CPU configured IP address secondary configured IP address 1 unassigned to offline See the Offline Mode at Power up Sequence in the next table 188 31001913 10 2009 Hot Standby If two NOEs power up simultaneously a res
211. s NOE Diagnostics Support Copyright 2001 Schneider Automation Ine AN rights reserved a 178 31001913 10 2009 Address Server Configuration Faulty Device Replacement Option Description Delete Before selecting this button you must select an entry in the database by choosing an entry 1 of the buttons in the first column If you do not select an entry an error message appears The entry you select will be removed from the database Before completely deleting an entry a warning message appears e Click Yes if you want to delete the entry e Click No if you do not want to delete the entry If you click Yes a dialog box appears asking you to confirm the deletion Microsoft Internet Explorer Ea 9 This will delete the entry Are you sure Cancel Ls Click OK Another dialog box appears notifying you that the deletion was successful Microsoft Internet Explorer x AN Successtully deleted entry 31001913 10 2009 179 Address Server Configuration Faulty Device Replacement Highlighting Errors If there are problems with the configuration parameter information entered the system indicates problems using a highlighting mechanism All the configurations appear in purple and italic and the device with configuration problems appears in red and bold The system detects the following errors bad role name The valid role name characters are e ato z lower
212. s below Coll Red Flashes when Ethernet collisions occur Link Green On when Ethernet link is active TxAct Green Flashes to indicate Ethernet transmission RxAct Green Flashes to indicate Ethernet reception 10MB Green On when the module is connected to a 10 Megabit network 100MB Green On when the module is connected to a 100 Megabit network Fduplex Green On when Ethernet is operating in the full duplex mode Kernel Amber On when in Kernel Mode Flashing while in download mode Appl Green On when crash log entry exists Active Ready Fault Run Coll Link TxAct RxAct 10MB 100MB Fduplex Kernel Appl 31001913 10 2009 17 Product Description Run LED Status The following table lists each available state of the Run LED indicator Indicator State Status On steady Normal operation The NOE module is ready for network communication Number of flashes in sequence one Not used two Not used three No Link the network cable is not connected or is defective four Duplicate IP address The module will stay offline five No IP address The module is attempting to obtain an IP address from a BOOTP server six Using default IP address seven No valid executive NOE present eight Invalid IP configuration Likely cause Default gateway is not on the same subnet mask as the NOE 18 31001913 10 2009 Product Description Connectors
213. s describe how to select the number of NOE 771 modules and how to configure the Ethernet address parameters Step Action 1 Click Configuration gt Config Extensions Eeee Display TO Iraffic Cop Configuration Config Extensions Result The Configuration Extensions dialog box appears Configuration Extensions x Configuration Extensions Dialog Left Click your mouse on an appropriate entry in the list to the left to choose a Configuration Extension Area to examine or modify Right Clicking your mouse on the list to the left will provide a menu for inserting or deleting configuration extension areas Words Used 00001 00001 Descriptor Add Extension Delete Extension ok _cancet_ 2 Click the Add Extension button Result The Add Configuration Extension dialog box appears Add Configuration Extension x Data Protection 980 Address Peer Cop Profibus SY MAX 136 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Step Action 3 Select TCP IP from the list and click OK Result The TCP IP Configuration Extension is added to the left menu of the Configuration Extensions screen Configuration Extensions Config Extensions L_gat Topp Words Used 00101 01000 Descriptor OK Cancel 31001913 10 2009 137 Transferring Data with the I O Scanner 140 NOE 771
214. sages Uuuu Battery Coil 0x UUUUU Inxs 02043 Message Words D0000 Timer Register 4x 00000 Sxxxx 00999 ASCII Ports joo Time of Day Clock 4x 00000 4xxxx 09000 Watch Dog Tm 10ms 0000 Segments 01 Conf Extension Size 00000 Conf Ext Used 00000 VQ Words 00512 Enable Skips VO Time Slice 020 OK Cancel Help Accessing and Editing the Traffic Cop The following steps describe how to access and edit the Traffic Cop Step Action 1 Click Configuration Traffic Cop To e EOD splay Iraffic Cop Configuration Config Extensions From the Quantum Traffic Cop menu on the left click the sign to expand the Traffic Cop tree Choose the rack and slot where you want the NOE 771 module inserted 134 31001913 10 2009 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 Step Action In the Net Adpt list click the respective NOE771 module Net Adpt WSEAS NOE211 00 NOE251 00 NOE311 00 NOE351 00 NOES511 00 NOE551 00 NOE771 00 NOE771 10 NOE911 00 Result The NOE 771 module is inserted into the specified location in the Edit Drop field of the Traffic Cop screen Click OK 31001913 10 2009 135 Transferring Data with the I O Scanner 140 NOE 771 00 01 11 and 21 only Setting the Number of NOEs and Configuring the Ethernet Address Parameters The following step
215. sed Please use e TCP IP Ethernet the function block TCP_IP_ADDR NOTE For experts The WordArr5 data structure can also be used with constants A rising edge triggers the read transaction The REQ parameter can be specified as direct address located variable or unlocated variable 100 31001913 10 2009 Transferring Data Using Communication Blocks SLAVEREG NO_REG REG_WRIT DONE ERROR STATUS SLAVEREG is the start of the area in the addressed slave from which the source data is read The source area always resides within the MW word 4x register area SLAVEREG expects the source reference as offset within that area In 4x registers the leading 4 must be omitted For example 59 contents of the variables or value of the literal 40059 The parameter can be specified as direct address located variable unlocated variable or literal Number of registers to be read from the addressed slave 1 100 The parameter can be specified as direct address located variable unlocated variable or literal The REG_WRIT word parameter addresses the first register in a series of NOLREG registers used as source data area The parameter must be entered as a direct address or located variable Transition to ON state for one program scan signifies data have been transferred The DONE parameter can be specified as direct address located variable or unlocated variable Transition to ON state for one progr
216. sfully When all outputs are 0 4 MSTR instructions are already in progress 31001913 10 2009 69 Transferring Data Using Communication Blocks Top Node Content The 4x register entered in the top node is the first of several network dependent holding registers that comprise the network control block The control block structure differs according to the network in use In the case of the Ethernet read and write CTE operations see page 75 the middle node stores the contents of the Ethernet configuration extension table in a series of registers The following table shows the control block structure for the TCP IP Ethernet network Register Content Displayed Identifies 1 of 10 MSTR operations legal for TCP IP 1 to 4 and 7 to 12 First implied Displays error status Second implied Displays length number of registers transferred Third implied Displays MSTR operation dependent information Fourth implied Low byte destination index High byte Quantum backplane slot address of the NOE module Fifth implied Byte 4 MSB of the 32 bit destination IP address Sixth implied Byte 3 of the 32 bit destination IP address Seventh implied Byte 2 of the 32 bit destination IP address Eight implied Byte 1 LSB of the 32 bit destination IP address Middle Node Content The 4x register entered in the middle node is the first in a group of contiguous holding registers that comprise the
217. shed e WAIT_TO_TX In the WAIT_TO_TX state CSample_View is waiting to transmit the message It transmits the message when the time from the last transmit exceeds the specified poll interval e BLOCKED When CSample_View attempts to send a message the window socket DLL may not be able to transmit the complete message This is a flow control condition and CSample_View enters the BLOCKED state The window socket DLL generates the FD_WRITE event when it can send more data e TX_DONE CSample_View enters the TX_DONE when it has completed transmitting the request If the CSample_View is in the IDLE state and you select either the connect menu item or the connect tool bar button CSample_View OnManagConnect function attempts to connect with its tcpip_initate_connection function This function examines the remote destination and determines if it s a name or an IP address If it s a name OnManagConnect changes the transmit state to RESOLVING_NAME and it invokes the window sockets DLL WSAAsyncGetHostByName function to resolve the name Window sockets DLL will generate the user defined WM_TCPIP_NAME_RESOLVED message which indicates if the name has been resolved The OnTcplpNameResolved member function processes the WM_TCPIP_NAME_RESOLVED message If the name is not resolved OnTcplpNameResolved changes the transmit state back to IDLE If the remote node is an IP address or if it s a name that has been resolved then CSample_View tcpip_connect_rq
218. ss 9 NOE B now becomes the primary CPU NOE 10 NOE B opens all client connections and listens for all server connections and reestablishes those connections 11 NOE A listens for all server connections and reestablishes those connections NOTE During the Hot Standby switchover there is a loss of communication during 500 ms between the PLC and the HMI and or Unity Pro When either the CPU stops or the Hot Standby state goes to offline mode 2 events occur 1 NOE mode goes to offline 2 NOE uses the IP address of the present configuration IP Address Assignment and Going Offline HSBY State IP Address Assigned Is Primary CPU to offline Configured IP address if other controller does not go to primary CPU Standby CPU to offline Configured IP address 1 190 31001913 10 2009 Hot Standby Address Swap Times Description The following table details address swap times such as the time to close connections time to swap IP addresses or time to establish connections Service Typical Swap Time Maximum Swap Time Swap IP addresses 6ms 500 ms I O Scanning 1 initial cycle of I O scanning 500 ms 1 initial cycle of I O scanning Global data For swap times please see 500 ms 1 CPU scan the Quantum NOE 771xx Ethernet Modules User Guide 840 USE 116 Client messaging 1 CPU scan 500 ms 1 CPU scan Server me
219. ssaging 1 CPU scan the time of the client re establishment connection 500 ms the time of the client re establishment connection FTP TFTP server The time of the client re establishment connection 500 ms the time of the client reestablishment connection SNMP 1 CPU scan 500 ms 1 CPU scan HTTP server The time of the client re establishment connection 500 ms the time of the client re establishment connection 31001913 10 2009 191 Hot Standby Network Effects of Modicon Quantum Hot Standby with Unity Solution Overview Browsers Remote Clients Local Clients The Modicon Quantum Hot Standby with Unity Pro solution is a powerful feature of NOEs a feature that increases the reliability of your installation Hot Standby uses a network and using the Hot Standby feature over a network can affect the behavior of browsers remote and local clients I O scanning service global data service e FTP TFTP server The following are factors you may encounter while using the Modicon Quantum Hot Standby with Unity solution NOTE In Modicon Quantum Hot Standby with Unity Pro configuration the NOE s I O Scanner must be enabled If a browser requests a page and during the process of downloading that page an IP address switchover occurs the browser will either hang or time out Click the Refresh or Reload button Hot Standby switchover affect remote clients An NOE
220. stem Requirements The following table lists the minimum version requirements for systems used with Customer Support the NOE 771 0 modules System Minimum Version Number Exec Version 92 15 Kernel Version 92 15 Web Pages Version 2 2 2 Customer support is available to registered Schneider Electric users Please find the nearest Schneider Electric sales office by visiting http www schneider electric com In the Select a country list click the country closest to you for customer support Schneider Electric in your country Select a country r Select a country JA Argentina Australia Austria Belgium Brazil Bulgaria Canada Chile China Colombia 31001913 10 2009 29 Product Description 30 31001913 10 2009 Installing the Module Overview This chapter contains installation and configuration information for the NOE 771 e modules What s in this Chapter This chapter contains the following topics Topic Page Before You Begin 32 Cabling Schemes 34 Security 36 Installing the Module 37 Connecting the Cable 39 Assigning Ethernet Address Parameters 40 Establishing the FTP Password 43 Establishing the HTTP Password 47 Establishing the SNMP Community Strings 49 Using BootP Lite to Assign Address Parameters 50 31001913 10 2009 31 Installing the Module Before You Begin Initial Checks
221. t no entries are selected Use the buttons in the an entry first column to select an entry You can only select 1 entry at a time Add an When you click the Add a New Entry button the Address Server Node entry Configuration page appears This page displays information about a device If you selected a device this page displays the device s configuration Configuration information displays in 4 of the 5 fields of the dialog box Only the role information field is blank We recommend you enter a role name for example ENT_7 If you did not select a device default values appear in all the fields Change Before using this button you must select an entry in the database by selecting 1 an entry of the buttons in the first column If you do not select an entry an error message appears When you click the Change an Entry button the Address Server Node Configuration page appears The information displayed is for the device selected E Address Server Node Configuration Microsoft Internet Explorer Oy x File Edit View Go Favorites Help Address http 192 168 3 2 secure embedded dhep_node_config htm AP 4DD kid 18rm T Links Schneider ap Electric Address Server Node Configuration Role Name ENT_ Dewce Mac address Device IP address 192 168 3 Subnet Mask 255 255 255 0 Gateway 192 168 3 8 Add the Entry Resetthe Form Show Address Server Configuration Home Configure NOE NOE Propertie
222. te DHCP server profileRoleName 6 Indicates the role name for the IP address management if it exists empty string if there is none profileBandwidthMgt 7 Indicates the status of bandwidth management 1 disabled 2 enabled profileBandwidthDistTable 8 Indicates the CPU time distribution between global data Port502 messaging I O scanning profileLedDisplayTable 9 Displays a table giving the name and the state of each module s LEDs profileSlot 10 Indicates the position of the communication module inside the rack if there is one If there is no rack the profileSlot value will be 0 profileCPUType 11 Indicates that if the CPU type exists this variable identifies the host for which that communication module is a part If there is no host the string is empty profileTrapTableEntriesMax 12 Indicates the maximum numbers of entries in the Trap table This entry equals the number of possible remote managers profileTrapTable 13 Displays a table allowing you to enable or disable the private traps for each of the communication services profileSpecificld 14 Indicates a unique Profile Specific Identification inside the equipmentProfile object of the Schneider Transparent Factory MIB Example The PLC Premium family is 100 31001913 10 2009 225 SNMP Service Description profilelpAddress 15 Indicates the IP address of the SNMP agent profile
223. ther Unused Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 2001 Schavider Automation Inc A rights reverved Transfering data from 192 168 5 20 S The page reports 4 statistics one each for the 3 services and 1 for other e blue global data usage expressed as a of maximum number of messages second e yellow I O scanner usage expressed as a of maximum number of messages second e green Modbus messaging usage expressed as a of maximum number of messages second e gray other unused usage expressed as a of maximum number of messages second Total percentages equal 100 166 31001913 10 2009 Embedded Web Pages NOE Properties Page Overview The following figure shows the NOE Properties screen which displays the Exec Kernel Web Pages versions and the Physical Media being used Schneider ap Electric NOE Properties Exec Version version 1 01 Kernel Version version1 01 Web Pages version1 1 Physical Media 10 100BASE T _ Home Configure NOE NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All Rights Reserved NOTE The NOE Properties screen is information only The fields cannot be changed NOE Properties Page Links The following table describes the links on the NOE Properties screen Link Results Home Returns you to the Quantum Welcome screen Configure NOE Provides the ability to configure and
224. tics for Port502 optional 222 31001913 10 2009 SNMP I O Scanning Subtree The I O_Scanning 3 subtree or group contains the objects related to I O scanning device management and associated Modbus communications on Port502 Service Description ioScanStatus 1 Indicates the global status of the I O scanning service 1 idle 2 operational 3 stopped ioScanMaxDevice 2 Indicates the maximum number of devices supported by the I O scanning entity ioScanPolledDevice 3 Indicates the number of devices currently polled by the I O scanning entity ioScanTransSend 4 Indicates the total number of transactions sent by the I O scanning entity ioScanGlbHealth 5 Indicates the global status of health for the I O scanning service 2 OK Every remote I O device is responding 4 Warning At least 1 remote I O device is not responding ioScanDeviceTable 6 Displays a table containing information on each remote devices polled by the I O scanning entity Global Data Subiree The Global_Data 4 subtree or group contains the objects related to the global data service Service Description glbDataStatus 1 Indicates the global status of the Global Data service 1 idle 2 operational 3 stopped glbDataMaxPub 2 Indicates the maximum number of published variables configured by the global data entity glbDataMaxSub 3 Indicates the maximum number o
225. ties NOE Diagnostics Support Address Copyright 1999 2001 Schneider Automation Inc All rights reserved E Click the NOE Diagnostics link which opens the NOE Diagnostics screen 161 31001913 10 2009 Embedded Web Pages On the NOE Diagnostics screen click the desired service link NOE Diagnostics Microsoft Internet Explorer ioj x File Edt iew Go Favorites Help Address g http 192 168 3 2 secure embedded noe_diagnostics htm Schneider p Electric NOE Diagnostics Global Data l0 Scanning Messaging Bandwidth Monitoring Ethernet Statistics Upload MIB File Crash Log File Home Configure NOE NOE Properties Support Copyright 2001 Scheider Automation Bic All nights reserved Pe The first 4 links are the diagnostics e global data e I O scanning e messaging e bandwidth monitoring The last 3 links access other functions e Ethernet statistics e upload MIB file e crash log file 162 31001913 10 2009 Embedded Web Pages Global Data Diagnostics Page The Global Data Diagnostics screen displays information generated by the global data service At the top of the page the following 3 items appear e global data status e number of subscriptions per second e number of publications per second 3 DAH TM Ginhal Data himi Miecreredt nterset F xpinrer Be ES ew Ge Faves Heb EJ e s GEA Al Sa ma eega a a Sap Rebah Hons Sash Favc
226. tion EXECLoader Step 3 Please select which Operation should be performed Schneider Ev Electric Select Operation FF Transfer EXEC from Device E Query Device Information Filename CANOE 77 1SNOE 77100 bin Browse lt Back Close Help 236 31001913 10 2009 Maintenance Step Action 6 Click Browse to select the file name and click Next 7 The EXECLoader File and Device Info dialog box opens Click Next Schneider Automation EXECLoader i Schneider Step 4 Final Comparison A Electric m Comparison of File Properties and Device Properties File Properties Device Properties 303 0010 Hardware ID 303 0010 1 00 Version Number 1 01 140 NOE 771 00 Model Number 140 NOE 771 00 Kernel Revision 1 01 Crash Code 0000 Quantum Ethernet Description Quantum Ethernet firmware Ver 1 0 firmware Ver 1 0 lt Back 8 The EXECLoader Progress dialog box opens ervice Invoked on Thu Oct 14 11 46 23 1999 argot Address 205 217 193 179 elected Connection Type MODBUS over TCP IP Close equested Service TRANSFER to Device Filename M Tornado_NA arget config2nd_spin NOE77100_bin Abort ead Flash Image from file M Tornado_NA arget config 2nd_spin NOE ead Flash Length Successful _ Size 474 KB Enter Kernel M de Waiting for Device to rejoin link This may take 60 Successfut morn Kerme Mode Successful Successful
227. ults Home Displays the Quantum welcome page Controller Status Displays the CPU configuration Ethernet Statistics Displays the Ethernet module statistics with the reset counters link RIO Status Displays the Remote I O Communications Status Graphic Editor only 771 01 Displays the Graphic tool for creating input output user 11 21 screens only with FactoryCast Data Monitor Data Editor Allows access to the Quantum PLC Data with editing capabilities 31001913 10 2009 147 Embedded Web Pages CPU Configuration Screen Page Overview In the following figure the top 8 fields identify the CPU configuration More information about these fields follows CPU CONFIGURATION SCREEN Status Stopped Reference 140 CPU 113 02 Battery OK Product Type Quantum Exec ID avi Logged In No DESCRIPTION REGISTERS ASCII looo 000001 001536 Total Words booox 100001 100512 Total Messages Joox 300001 300048 Words Used doox 400001 401872 Messages Used Rack Slot II System Memory Kb Extended Memory Kb Total Memory Bytes 1 0 Map Words ih TT Segments xox None Available Words DCP Drop ID Battery Coil 0 Available Messages 0 Memory Protect Off Timer Regicter lt E ASCII Ports 0 Constant Sweep Off Time of Day Clock 4 ASCII Inputs 4 Optimize Stopped Codes 0x0200 ASCII Outputs 4 Tids Home Configured Local Rack Ethernet Statistics RIO Status Data Monitor Cop
228. uns on the manager s computer e Agent For the application that runs on a network device The manager uses conventional transport protocols e g TCP or UDP to establish communication with the agent Managers and agents then exchange requests and responses according to the network management protocol Simple Network Management Protocol The MIB The Private MIB Your NOE module is configured with the SNMP which is the standard protocol used to manage a LAN SNMP defines exactly how a manager communicates with an agent The SNMP defines the format of the requests that a manager sends to an agent and the format of the replies that the agent returns to the manager Each object that SNMP has access to must be defined and given a unique name Both the manager and agent program must agree on the names and the meanings of the fetch and store operations The set of all objects that SNMP can access is known as an MIB Schneider obtained a private MIB Groupe_Schneider 3833 Under the Groupe Schneider private MIB is a Transparent Factory Ethernet TFE private MIB The Transparent Factory SNMP embedded component controls the Schneider private MIB function 212 31001913 10 2009 SNMP Choosing an SNMP Manager If you have a SNMP manager already working you may continue to use that SNMP manager If you are selecting a SNMP manager there are many on the market and you may use any of these managers You must use a SNMP Version
229. ure used to transfer the TCP IP address 102 31001913 10 2009 Transferring Data Using Communication Blocks Elementary Description for WordArr5 Elementary description for WordArr5 Element Data Type Meaning WordArr5 1 WORD high value byte Slot of the NOE module low value byte MBP on Ethernet Transporter MET mapping index WordArr5 2 WORD byte 4 MSB of the 32 bit destination IP address WordArr5 3 WORD byte 3 of the 32 bit destination IP address WordArr5 4 WORD byte 2 of the 32 bit destination IP address WordArr5 5 WORD byte 1 LSB of the 32 bit destination IP address Map_lIdx The MBP on Ethernet Transporter MET mapping index is given at the Map_Idx input That is if MET is 6 the value appears as follows JOCO Slot_ID If an NOE in the rack of a Quantum controller is addressed as destination node the value at the Slot_ID input represents the physical NOE slot That is if the NOE is plugged in at Slot 7 of the rack the value appears as follows fofofofofofs s NOTE When using an integrated Ethernet CPU module such as the 140 CPU 651 x0 the slot ID must be 254 FE hex regardless of the CPU slot AddrFid If an NOE in the rack of a Quantum controller is addressed as a destination node the value in the High value byte represents the physical slot of the NOE and the Low value byte represents the MBP on Ethernet Transporter MET mappin
230. ured as additional parameters NOTE About this function block e When programming this function you must be familiar with the routing procedures used by your network e For technical reasons this function block does not allow the use of ST and IL programming languages Symbol Block representation BOOL DINT INT WORD WordArrs WRITE_REG REQ DONE SLAVEREG ERROR NO_REG REG WRIT AddrFld STATUS BOOL BOOL WORD Parameter Description Description of parameters Parameter Data Type Meaning REQ BOOL start write operation once SLAVEREG DINT offset address of the first MW word 4x register in the slave to be written to NO_REG INT number of registers to be written from slave AddrFld WordArr5 data structure transferring the TCP IP address REG_WRIT WORD first MW word 4x register of the source data area DONE BOOL set to 1 for one scan after writing data ERROR BOOL set to 1 for one scan in case of error STATUS WORD error code 31001913 10 2009 99 Transferring Data Using Communication Blocks Elementary Description for WordArr5 with TCP IP Ethernet Elementary description for WordArr5 with TCP IP Ethernet Element Data Type Meaning WordArr5 1 WORD high value byte Slot of the NOE module low value byte MBP on Ethernet Transporter MET mapping index WordArr5 2 WORD byte
231. us Messaging Introduction Client All NOE 771 Quantum Ethernet TCP IP modules provide the user with the capability of transferring data to and from nodes on a TCP IP network through the use of a communication instruction All PLCs that support networking communication capabilities over Ethernet can use the MSTR ladder logic instruction to read or write controller information or use IEC communication blocks Introduction Server Limitations Performance All NOE 771 Quantum Ethernet TCP IP modules provide the user with the ability to access data from the controller using the standard Modbus TCP protocol Any device PC HMI package another PLC or any Modbus TCP compliant device can access data from the PLC The Modbus TCP server also allows programming panels to log into the controller over Ethernet The NOE 771 e supports up to 128 simultaneous Modbus TCP server connections The NOE 771 allows only one programming panel to be logged in at a time to guarantee consistency of changes to the controller configuration The NOE supports the following Modbus TCP commands read data write data read write data get remote statistics clear remote statistics Modbus 125 commands used by programming panels to download a new Exec to the NOE The following table shows the performance characteristics of the NOE 771 e Modbus TCP server Parameter Value Typical Response Time ms 0 6 Number of Modbus connections
232. ver providing configuration parameters to a DHCP Client DNS Domain Name System A protocol within TCP IP used to find IP addresses based on host names F FactoryCast An embedded Web server which the user customizes permitting user access to controller diagnostics and Ethernet configuration FDR Faulty Device Replacement The method of handling device replacement without disrupting the system or interrupting service field A logical grouping of contiguous bits that convey one kind of information such as the start or end of a message an address data or an error check 31001913 10 2009 273 Glossary firewall frame framing types FTP gateway A gateway that controls access to a network or an application A group of bits which form a discrete block of information Frames contain network control information or data The size and composition of a frame is determined by the network technology being used Two common framing types are Ethernet II and IEEE 802 3 File Transfer Protocol The protocol over TCP used to read or write a file into a remote station the FTP server side G A device which connects networks with dissimilar network architectures and which operates at the Application Layer This term may refer to a router global data publish subscribe half duplex host hostname Service of inter PLC synchronization shared databases H HDX A method of data transmission capable of co
233. verview The following information describes how to use the NOET when connecting to an Ethernet adapter To establish a connection with an Ethernet module using the NOET you must know the module s IP network address or role name Connecting with an Ethernet Module Follow the steps below to establish a connection with an Ethernet module using the NOET Step Action 1 Click File gt New 3 Network Opti H View Help New Ctrl N Or click the Create new connection toolbar icon Network Op Eile D Clear statistics Get statistics Write register Read register Disconnect Connect Create new connection Result The Remote IP Address dialog box appears 31001913 10 2009 197 Using the Network Options Ethernet Tester Step Action 2 Type the adapter s IP network address or role name in the IP Address field Remote IP Address x IP Address Cancel NOTE With a bridge the IP of the bridge is entered and the bridge index is placed in the Index field This valus is normally a Modbus or Modbus Plus address depending on the type of bridge being used in a CEV20030 or CEV20040 this could be the index number for a predefined routing path in the bridge After clicking Enter the tool will attempt to open a connection to the target IP If this devices is present and accepts the connection a dialog will appear that allows the user to define the offset and l
234. ween transactions in the Polling Interval field and click OK Get Statistics x Polling Interval Cox C ance 4 Complete statistics for the module will be printed in the window for this connection Operational Statistics Receive Interrupts 7042389 Transmit Interrupts 52102 Network Interface Chip errors Transmit timeout errors Collision errors Missed packet errors Memory errors Network Interface Restart count Receiver Statistics Framing Errors OverFlow Errors gt So eooo Receive Buffer Errors Late Collision Scocco Transmit Limit Retries 200 31001913 10 2009 Using the Network Options Ethernet Tester Step Action Click Messages Poll Interval to change the polling interval without interrupting communication with the Ethernet module Messages MIENE Read Register Write Register Get Stats Clear Stats Poll Interval Enter the new number in the Poll Interval field and click OK Poll Interval x Poll Interval i Cancel 31001913 10 2009 201 Using the Network Options Ethernet Tester Step Action 7 e Click Messages Clear Stats to clear statistics or Click the Clear Statistics toolbar icon Messages TE Read Register Write Register Get Stats Clear Stats The following figure shows the Clear Statistics dialog box Click OK Clear Statisti
235. wn 503F text file busy 5040 too many levels of links 5041 no route to host 5042 block device required 5043 host is down 5044 operation now in progress 5045 operation already in progress 5046 operation would block 5047 function not implemented 5048 hardware length is invalid 5049 route specified cannot be found 504A collision in select call these conditions have already been selected by another task 504B task ID is invalid 5050 no network resource 5051 length error 5052 addressing error 5053 application error 5054 client in bad state for request 5055 no remote resource Note May indicate no path to remote device See note below 5056 nonoperational TCP connection 5057 incoherent configuration timeout Note Error 5055 can occur before a 503C error No remote device takes precedence over a 31001913 10 2009 73 Transferring Data Using Communication Blocks CTE Error Codes The following table lists the error codes that are returned if there is a problem with the Ethernet configuration extension table CTE in your program configuration Hex Error Code Meaning 7001 There is no Ethernet configuration extension 7002 The CTE is not available for access 7003 The offset is invalid 7004 The offset length is invalid 70
236. x 1 O Scanner X X X XxX X Xx X Xx X X X XxX X Xx X Xx X X X Xx x Xx X Xx Hot Standby X X X XxX x X XxX Xx Xx Global Data Publish Subscribe Bandwidth Monitoring Faulty Device Replacement DHCP Server Enhanced Web Diagnostics Schneider Private MIB X X Xx Xx Xx FactoryCast Application User Programmable Web Pages X X X XxX x Xx Xx X XxX K Xx x x Xx 14 31001913 10 2009 Product Description Front Panel Components The front panel of the NOE 771 modules contain identification markings color codes and LED displays A writable area for an IP address a global address label and 2 Ethernet cable connectors is located behind the removable front panel door The following table provides a description of the front panel components which are shown in the front view figure Component Description LED indicator Panel Indicates the operating status of the module and the fiber optic or Ethernet communications network it is connected to See LED Indicators in this chapter IP Address Area Provides a writable area to record the module s assigned IP address Global Address Label Indicates the module s global Ethernet MAC address assigned at the factory 100 BASE FX Provides an MT RJ socket for connection to a 100 megabit fiber Connector optic Ethernet cable 10 1
237. xx 31001913 10 2009 63 Configuring the Module with Concept 64 31001913 10 2009 Transferring Data Using Communication Blocks 4 Introduction This chapter describes how to transfer data to and from nodes on a TCP IP network using communication blocks You transfer the data using either a special MBP_MSTR instruction or an IEC Logic function Operational statistics and error codes for reading and writing the controller information are included What s in this Chapter This chapter contains the following sections Section Topic Page 4 1 Using 984 Ladder Logic Communication Blocks 66 4 2 Using IEC Logic Communication Blocks 89 31001913 10 2009 65 Transferring Data Using Communication Blocks 4 1 Using 984 Ladder Logic Communication Blocks Overview This section contains information on the MSTR instruction of the 984 ladder logic instruction set What s in this Section This section contains the following topics Topic Page MSTR Description 67 MSTR Block for TCP IP in Concept 68 MSTR Ladder Logic Representation 69 MSTR Function Error Codes 71 Read and Write MSTR Operations 75 Read Write Data 76 Get Local Statistics MSTR Operation 77 Clear Local Statistics MSTR Operation 78 Get Remote Statistics MSTR Operation 79 Clear Remote Statistics MSTR Operation 80 Reset Option Module MSTR Operation 81 Read CTE Config
238. yright 1999 Schneider Automation Inc All Rights Reserved Description Fields The following table describes the description fields on the CPU Configuration screen Field Information Supplied System Memory Kb Amount of system memory used Extended Memory Kb Amount of Extended Memory used Number of I O words mapped Total memory used in bytes I O Map Words Number of I O words mapped Segments Number of segments DCP Drop ID Drop number for Distributed Control 148 31001913 10 2009 Embedded Web Pages Memory Protect Position of the Memory Protect Switch Constant Sweep Current status of Constant Sweep Optimize Current status of Optimization Register Fields The following table describes the register fields on the CPU Configuration screen Field Information Supplied Oxxxxx Valid Address of 0x 1XXXXX Valid Address of 1x 3XXXXX Valid Address of 3x 4XXXXX Valid Address of 4x 6XXXXX Valid Address of 6x Battery Coil Address of Battery Coil Timer Register Address of Timer Register Time of Day Clock Address of Timer of Day Clock Stopped Codes Reason for controlled stopping ASCII Fields The column headed ASCII fields on the CPU Configuration screen contains information concerning the ASCII fields CPU Configuration Screen Page Links The following table describes the links on
239. z i SS He Computer m mjMissak Mp Misosa LADAETHL T webstng F hessas T naia a aean feom Ewan E ia At the top of the page the following 3 items appear e O scanning status e number of transactions per second e number of connections The above information is displayed both as text and as a graphic At the bottom of the page 4 color coded boxes indicate the status of the devices e white all non configured devices e green all scanned devices e black all temporary unscanned devices e red all devices in a default state If red displays in the Fault variable box you should check the system for problems 164 31001913 10 2009 Embedded Web Pages Messaging Diagnostic Page This page provides information concerning current open TCP connections on Port 502 The total number of messages sent and received on Port 502 displays on the top of this page NOTE e After a port 502 connection is closed the connection will remain on the list for several minutes e The total message counter is not reset after a port 502 connection is closed e The I O status indicator displays OK even if there are unhealthy faulted scanned devices addes E D HTL Wiecesging hmi Urs MESSAGING DIAGNOSTIC g Number of Messages sent 150 Number of Messages received 50 Conn Romote add Remote Localpert Moss Sent Mess Eror part Rereived Samt Homs WEB Dinanosti a ECI Stan Be acer EC
Download Pdf Manuals
Related Search
Related Contents
MC-1.2 取扱説明書 - ヒビノインターサウンド株式会社 Bestron Ecosenzo Manual Stanley Black & Decker Fatmax Xtreme 36800 User's Manual Cirkuit Planet Pendrive 3D The King, 8GB Ricoh Aficio MPc2051AD TS02E-8sw-NALM Transcend microSDHC 4GB Guia de instalação - Epson America, Inc. Copyright © All rights reserved.
Failed to retrieve file