Home

Quantum NOE 771 x0 Ethernet Modules User Guide

image

Contents

1. Process continued Step Action 7 Click on the Next button Result The EXECLoader Progress screen is displayed ECLoader Progress Service invoked on Thu Oct 14 11 46 23 1999 Target Address 205 217 193 179 Selected Connection Type MODBUS over TCP IP Requested Service TRANSFER to Device Filename M Tomado_NA amp target config 2nd_spin NOE77100 bin Read Flash Image from file M Tornado_NA target config 2nd_spin NOE 77100 bin Successful Read Flash Length Successful Size 474 KB Enter Kernel Mode Waiting for Device to rejoin link Device Made Kemel Mode Erase Flash Successful Program Flash Successful Exit Kernel Mode Waiting for Device to rejoin link This may take up to 60 seconds Exit Kernel Mode Successful The transfer operation completed SUCCESSFULLY 485376 Bytes Written Remaining Time Done 8876 Bytes sec When the process is completed you can click on the Close button Continued on next page 184 840 USE 11600 Version 1 0 Chapter 9 Maintenance Downloading a new NOE Exec via FTP Procedure Use the following steps to download a new NOE Exec via FTP Step Action 1 FTP IP Address USER FTP Password cd wwwroot conf exec put lt local file gt NOE 77100 bin oc B2 OJIN lt remote file gt NOE 77100 bin Following is an example ommand Prompt ftp 205 21 C noe 7714 gt ftp 205 217 193 173 Connected to 2
2. 100mSecCPU Scan 1 000 500 0 10 20 30 40 50 60 70 Number of Scanned Momentum ENT Modules Modbus Transactions per Scanner Continued on next page 840 USE 116 00 Version 1 0 217 Appendix D NOE 771 00 Module I O Scanner Performance Statistics 140 NOE 771 00 I O Scanner Performance continued M inCPU Scan m 1 mSecCPU Scan 2 mSec CPU Scan x 4mSecCPU Scan X 5mSecCPU Scan 9 10 mSecCPU Scan 20 mSec CPU Scan s 40 mSecCPU Scan 60 mSecCPU Scan 80 mSec CPU Scan 100 mSecCPU Scan Quantum Following is the performance graph for the I O Scanner of the 140 NOE 771 00 with 424 CPU the Quantum 424 CPU 140 NOE 771 00 IO Scanner Performance CPU 424 5 000 4 500 4 000 3 500 3 000 2 00 2 000 1 500 1 000 500 5 f 1 6 11 16 21 26 31 36 41 46 51 56 61 Number of Scanned Momentum Ethernet Modules Modbus TCP IP Transactions per Scanner Continued on next page 218 840 USE 11600 Version 1 0 Appendix D NOE 771 00 Module I O Scanner Performance Statistics 140 NOE 771 00 I O Scanner Performance continued Quantum 534 CPU the Quantum 534 CPU IO Scanner Performance of 140 NOE 771 00 with Quantum 534 CPU 4 500 4 000 3 500 3 000 2 500 2 000 1 500 1 000 500 1 2 3 4 5 6 7 8 9 10 15 20 Number of Scanned Momentum ENT Modules Modbus Transactions per Scanner 25 30 35 40 45 50 60 F
3. 00 20 e eee eee 34 Mounting the Module in the Backplane 34 Connecting the Cable 00 00 eee 35 Shielded Twisted Pair 0000 0c eee eee 35 Fiber ODIO id sitse ea bkn E Anh Gee ise Cote aed 35 Assigning Ethernet Address Parameters 36 OVerVIeW oce ee EDO RP EN E ner PE 36 Using a BOOTP Server 2 000 36 How an unconfigured as shipped module obtains an IP address 00 00 cee eee 36 Using the Default IP Address 2 5 37 Specifying Address Parameters 0005 38 840 USE 116 00 Version 1 0 vii Contents Assigning an IP address Via Concept s Specify IP Address option 2 000 39 Assigning an IP address Via Concept s Use Bootp Server option 000 eee 39 If BOOTP Server Responds sssslslsssss 39 If BOOTP Server Doesn t Respond 39 NOE 771 00 Duplicate IP Address Test 40 Gratuitous ARP cues Lea a at Wh RUE AURI 40 Establishing the FTP Password 000 41 Establishing the FTP Password 0005 41 Introduction to Accessing the Web Server 41 HOW to AccessS TU s suse vot teque E PET mS 41 Schneider Web Utility Home Page 42 Modifying the FTP Server Password 43 FTP Username and Password Modify Page Overview 44 Change the Username and
4. Continued on next page 840 USE 116 00 Version 1 0 97 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft continued Specific Input Specific input goes to the Controller in which the NOE resides NOE obtains specific input data from a remote node on the subnet with a Modbus read You can specify all Specific Input blocks sent to this controller from the specified other stations on the node The destination of each block of specific input is a contiguous region of Ox 1x 3x or 4x state RAM which varies from 1 to 32 words in length If discretes are used they must start on a word boundary 00001 00017 00033 etc TSX Quantum 1to 54 scanned I O devices per O scanner In the above figure the Quantum NOE is configured to write 1 word from 400050 to the Momentum EIO at IP Address 198 202 137 2 and read 1 word from the EIO into register 400100 The Modsoft menu that reflects the above situation is shown on the figure appearing on the next page It provides an example of the Length Source and Type data fields and illustrates the above example completely filling in the template fields Continued on next page 98 840USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the Specific Input continued Specific Input Output Summary Other Menu Selectable Support Functions The GoToNode Function l O Scan Li
5. oK Cancel 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 Continued on next page 840 USE 116 00 Version 1 0 83 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Accessing and Editing the Tree Cop Step Action continued 3 From the Net Adpt menu of the Traffic Cop screen select NOE 771 Net Adpt E NOE211 00 NOE251 00 NOE311 00 NOE351 00 NOE511 00 NOE551 00 NOE771 00 NDE771 10 NOP911 00 Result The NOE 771 module is inserted into the specified location within the Edit Drop field of the Traffic Cop screen Terminal Dard Contig 4 Press the lt OK gt button Continued on next page 84 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Setting the From the Configuration Expansion screen follow the steps below to do the Number of following NOE s and Configuring the Select the number of NOE 771 modules Ethernet Configure the Ethernet Address Parameters TCP IP Address Parameters Step Action 1 From the Configuration menu select Config Extensions eaeoe Display To Traffic Cop Configuration Contig Extensions Result The Confi
6. Specify the Follow the steps below to specify the I O groups to be scanned Specific I O Groups to be Step Action Scanned 1 From the Network Editor on the Configuration menu click Config Extensions The Configurations Extensions dialog box appears 2 In the Config Extensions tree right click on Config Extensions and select Add Extension 3 Select Ethernet I O Scanner The parameters for the CDE appear in the details area 4 In the Health Block field type a 1xxxxx or 3xxxxx address Note All 1xxxxx addresses are based on a 16 bit boundary For example 100001 100017 100033 etc 5 Double click on an empty transaction to add a new transaction or double click on an existing transaction to edit it The Transaction dialog box appears Continued on next page 88 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Configure the Transaction Follow the steps below to configure the transaction parameters Parameters Step Action 1 Double click on an empty transaction to add a new transaction or double click on an existing transaction to edit it The Transaction dialog box appears 2 Configure the transaction parameters 840 USE 11600 Version 1 0 89 Chapter 5 Transfering Data with the I O Scanner Establishing Configuration Extension Memory for Peer Cop Introduction Ur How Much Memory By default
7. 7 Verify that a connection is made by typing C gt ping 84 0 0 2 Reply from 84 0 0 2 bytes 32time 1ms TTL 32 Reply from 24 0 0 2 bytes 32 time 1ms TTL 32 Reply from 84 0 0 2 bytes 32 time lms TTL 32 Reply from 834 0 0 2 bytes 32 time lms TTL 32 Specifying Consult your system administrator to obtain a valid IP address and appropriate Address gateway and subnet mask if required Then follow the instructions in Configuring Parameters the Ethernet Address Parameters in Chapter 4 Continued on next page 38 840 USE 11600 Version 1 0 Chapter 3 Installing the Module Assigning Ethernet Address Parameters continued Assigning an IP address Via Concept s Specify IP Address option Assigning an IP address Via Concept s Use Bootp Server option If BOOTP Server Responds If BOOTP Server Doesn t Respond You can select the NOE 771 x0 module s Specify IP Address mode via Concept to assign an IP address as well as default gateway and sub network mask to the module You can select the NOE 771 x0 module s Use Bootp Server mode via Concept to instruct the module to obtain its IP address from a network BOOTP server In this mode only an address obtained from a BOOTP server will be accepted by the module If the server responds with address parameters the NOE 771 x0 module will use those parameters as long as power remains applied to the module If the server
8. Cabling Schemes continued Cabling with The following illustration and tables show the maximum number of hubs and the Traditional Hubs maximum cable length between devices when using hubs 10 BASE T Cable The illustration below is for 10 BASE T cable Distances k 600 m 1950 ft Maximum Cable Length Between Devices on the Network Backplane Backplane Backplane Backplane 100 BASE T The 100 BASE T cabling allows for two hubs with a link maximum distance of Cable Distances 100 m 325 ft and a total network diameter of 205 m 665 ft The following table details the maximum distance parameters with 100 BASE T Model Length max in Twisted pair TX T2 T4 DTE DTE no repeater 100 m 325 ft One Class repeater 200 m 650 ft One Class Il repeater 200 m 650 ft Two Class Il repeaters 205 m 665 ft Continued on next page 840 USE 11600 Version 1 0 31 Chapter 3 Installing the Module Cabling Schemes continued 100 BASE FX Cable Distances Fiber Length The 100 BASE FX cabling allows for two hubs with a link maximum distance of 412 m 1339 ft The following table details the maximum distance parameters with 100 BASE FX and 100 BASE TX FX Model Length max Twisted pair TX Length max and Fiber FX Fiber FX DTE DTE no repeater n a 412 m 1339 ft One Class repeater 260 8 m 1 272 m 884 ft One Class Il repeater 308 8 m 1 3
9. The CSample View class manages the TCP IP connection sends requests to remote nodes and displays either 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 via its application programming interface and via 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 Initlnstance 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 socket attributes The attributes it sets are Set Linger to cause a hard close Receive out of band data in the normal data stream 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 Although this can generate more traffic the application receives the message sooner then if 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 fu
10. clients and servers are freely available 840 USE 116 00 Version 1 0 227 Glossary 228 840 USE 116 00 Version 1 0 Index B BOOTP Configure via web server 146 Display via web server 146 149 Server features 22 BOOTP Lite Assigning address parameters 49 C Cables twisted pair Pin arrangements 15 Cabling schemes Ethernet hub switch 30 Concept Configuring I O Scan List 68 Configuring NOE module 52 Concept Exec Loader Download process 180 Configure BOOTP Via web server 146 Configure NOE Via web server 142 Configure SNMP Via web server 143 Configuring the Ethernet Address Parameters 63 Configuring the I O Scan List Using Concept 72 Using Modsoft 94 Using ProWORX NxT 79 Configuring the Module With Concept 51 Connectors 100 BASE FX 15 Twisted pair 15 CPU configuration Via web server 133 Crash log Clearing 178 Clearing via FTP 178 Reading 177 Reading via FTP 177 CTE error codes MSTR 110 E Error codes Ethernet CTE 110 Ethernet tester 170 MSTR 108 TCP IP Ethernet 108 Errors Detecting 172 LED indicators 172 Ethernet Developers guide 190 Ethernet address parameters Configuring 63 Using ProWORX NxT 85 Ethernet statistics Via web server 136 840 USE 116 00 Version 1 0 229 Index Ethernet TCP IP Memory requirements 56 Ethernet TCP IP modules Twisted pair connector 15 Ethernet tester Error codes 170 Getting a
11. 840 USE 116 00 Version 1 0 161 Chapter 8 Using the Network Options Ethernet Tester Getting and Clearing Statistics Procedure To get statistics from the Ethernet module using your Network Options Ethernet Tester perform the following steps Step Action 1 Establish a connection with the Ethernet module see previous procedure 2 Select Messages from the main menu and choose Get Stats from the pulldown menu Read Register Write Register 5 or click on the get statistics button in the toolbar The Get Statistics dialog box will appear 3 Type a polling interval the number of seconds between transactions in the box provided and click on the OK button Get Statistics Polling Interval Continued on next page 162 840 USE 116 00 Version 1 0 Chapter 8 Using the Network Options Ethernet Tester Getting and Clearing Statistics continued Procedure continued Step Action Complete statistics for the module will be printed in the window for this connection Get Statistics Request Model 140 NOE 771 00 Total Transaction Count 21 IP Address 205 217 193 171 M A C Address 0000541009FA Media 100 BASE T HALF DUPLEX Controller Stopped Crash Log Empty Yes Operational Statistics Receive Interrupts Transmit Interrupts Network Interface Chip errors Transmit timeout errors Collision errors Missed packet errors Memory Errors Network Interface Rest
12. Contents Reading and Clearing the Crash Log 177 Introd quoius crodeieuuteck hae Eee ee Bae 177 The Crash pg 2 Ae uo oes ast ak e does 177 Reading the Crash Log 0c eee eee eee 177 Reading the Crash Log viaFIP 2 177 Clearing the Crash Log 0 0 eee eee eee 178 Clearing the Crash Log viaFTIP 05 178 Downloading a New NOE Exec 2 0000 eee 179 Introd U6llorr 2a 5 eue iterare d Ra Pred Ria Re erae 179 The Concept Exec Loader 02 eee e ee eee 180 PIOCESS nde du UE eet Ba eee as e eee east Se 180 Downloading a new NOE Exec viaFIP 185 PIGOBQUG coin co PR Kies gutes EER e ET Be 185 Appendix A NOE 771 00 Module Specifications 187 SpeeifiGallOns ix x dem Uus ue bk ae iae Hedman e lee 188 Specification Table si d re IRR one SEES LATPS 188 Appendix B Ethernet Developers Guide 189 OW OIVIOW 2 pesi esc cet eta Ore teu LEN dote fce fera 190 IntrOUI GOL s ce e ree REX LADISE MERE E PENA ER 190 i i i i e CT 190 What the Sample Application Does 190 Development Environment llle 191 Class Descriptions s segs s pias be Sued oe Hae SD E 192 Listof Classes Lou ouk i ERG EY EAS whee E STE UE 192 The CSample doc Class 00 0c eee eee 194 EIESCHDLOILS ross ar Ar seu are tai ue Ode 194 The CSample View Class llle 195 lr gen Pr
13. Control Block Utilization eee 114 Clear Remote Statistics MSTR Operation 115 Introduction xcd ER ex Tte 115 Control Block Utilization lene 115 Peer Cop Health MSTR Operation 116 Introduction 3a et oe eben CERES Ae d 116 Control Block Utilization eee 116 Peer Cop Communications Health Status Information 117 Peer Cop Communications Health Bit State 119 840 USE 116 00 Version 1 0 xi Contents Reset Option Module MSTR Operation 120 Introd Uto a3 sepe i uere uer crac rear te oe de iu 120 Control Block Utilization llle 120 Read CTE Config Extension Table MSTR Operation 121 Introduction 224 TTE 121 Control Block Utilization llle 121 CTE Display Implementation 04 122 Write CTE Config Extension Table MSTR Operation 123 CTE Write Implementation lille 123 Network Implementation sllllesssens 123 Control Block Utilization llli 123 CTE Display Implementation 04 124 TCP IP Ethernet Statistics x eere RR ER 125 Introduction Bas 2 sro dui Lh UD A e aA 125 Board Status Word Bit Definition 126 Board Status Word Bit Definition by Module Type 126 Chapter 7 Embedded Web Pages ise 127 Accessing the Web Utility Home Page 128 INtroduUCtiOn moe aa o
14. In this condition when the module starts up it will attempt to obtain an IP address from the network s BOOTP server You can use Concept to assign an IP address default gateway and sub network mask See Configuring the Ethernet Address Parameters in Chapter 4 You can also assign IP address parameters using the BOOTP Lite software utility See Using BOOTP Lite to Assign Address Parameters in this chapter CAUTION DUPLICATE ADDRESS HAZARD Be sure that your NOE 771 x0 module will receive a unique IP address Having two or more devices with the same IP address can cause unpredictable operation of your network Failure to observe this precaution can result in injury or equipment damage A BOOTP server is a program which manages the IP addresses assigned to devices on the network Your system administrator can confirm whether a BOOTP Server exists on your network and can help you use the server to maintain the adapters IP address On startup an unconfigured NOE 771 x0 module will attempt to obtain an IP address by issuing BOOTP requests When a response from a BOOTP server is obtained that IP address will be used If there is no BOOTP response received in two minutes the module will use the default IP Address Continued on next page 36 840USE 11600 Version 1 0 Chapter 3 Installing the Module Assigning Ethernet Address Parameters continued Using the Default IP Address To use the default
15. O Scanner _ ol x Ethernet Configuration C ERI AH Intemet Address 0 0 0 0 Subnet Mask 255 255 255 0 C Use Bootp Server Gateway poo Frame Type JETHERNETI m Disable Ethernet 3 Type in the new IP Subnet Mask and Gateway addresses in the applicable text boxes 4 Select the correct Internet frame type from the Frame Type scroll box Continued on next page 64 840USE 11600 Version 1 0 Chapter 4 Configuring the Module with Concept Configuring the Ethernet Address Parameters continued Procedure continued Step Action 5 If the Ethernet address parameters are to be assigned by the module s BOOTP server click on the Use Bootp Server radio button 7 Note If you select this option the address parameter text boxes Will be grayed out and will not display the addresses Ethernet VO Scanner Ethernet Configuration How the Module During initialization the NOE 771 module attempts to read the address parameter Derives It s IP information from the PLC and determines it s IP Address in the following fashion Address e Ifthe PLC has the IP Address and the BOOTP server is not selected the module will use the configured IP address that you assigned in Step 2 of the above procedure ifthe BOOTP server was selected in Step 5 of the above procedure the module will send BOOTP requests to receive it s IP Address f no Configuration Extension exists the NOE sends
16. Press the Configure Bootp Entry button to configure a BOOTP Database File The result will be the Bootp Node Configuration Form Page Continued on next page 146 840 USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Configure BOOTP Process continued Bootp Node Configuration Form Page Schneider ap Electric Bootp Node Configuration Hostname NT2 Host IP address 1102 Host Mac address oooos4101000 Subnet Mask 255 255 2550 Gateway fi921 10 250 5 Add a New Entry Change an Entry Delete an Entry Resetthe Form Show Bootp Database Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved Initial If this is an initial BOOTP configuration fill in the fields on the Bootp Node Configuration Configuration Form and press the Add a New Entry 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 Gateway Define the address of route to access nodes off the devices subnet Continued on next page 840 USE 116 00 Version 1 0 147 Chapter 7 Embedded Web Pages Configure BOOTP Process continued Adding to the BOOTP Database File Changing the BOOTP Database File Deleting from the BOOTP Databas
17. Two common framing types are Ethernet II and IEEE 802 3 File Transfer Protocol A networking protocol used to exchange files between stations on a network or over the Internet FDX A method of communication in which data is transmitted in two directions at the same time A device which connects networks with dissimilar network architectures and which operates at the Application Layer This term may refer to a router HDX A method of data transmission capable of communication 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 Hyper Text Transport Protocol A protocol used to deliver hypertext documents over the WEB A device which connects a series of flexible and centralized modules to create a network Internet Control Message Protocol A protocol within TCP IP used to report errors in datagram transmission The global interconnection of TCP IP based computer communication networks Internet Protocol A common network layer protocol IP is most often used with TCP 840 USE 116 00 Version 1 0 223 Glossary IP Address Internet Protocol Address A 32 bit address assigned to hosts using TCP IP IO Map An area in the controller configuration memory used to map input and output points Previously called traffic cop 1 0 Drop One or two depending on the system type Remote I O Channels consisting o
18. greater to support the Ethernet module Earlier versions do not recognize the module 6 If steps 4 and 5 above check ok replace the NOE 771 module Ready LED Error The Ready LED fails to light the NOE 771 module has failed internal diagnostic tests Perform the following checks Step Action 1 Make sure that power has been applied to the backplane 2 If step 1 checks ok replace the NOE 771 module Link LED Error If the Link LED fails to light the NOE 771 module is not communicating with the Ethernet hub switch Perform the following checks Step Action 1 Make sure that the cable has been installed correctly and the module is functioning properly Verify that the hub switch is working properly If steps 1 and 2 above check ok replace the NOE 771 module Continued on next page 840 USE 116 00 Version 1 0 173 Chapter 9 Maintenance Responding to Errors continued Kernel LED Error Check for the following Kernel LED error conditions If Then The Ready LED is on and the Kernel the module has detected an invalid LED is flashing software image The Ready LED is on and the Kernel an attempt to download a software image LED is shining steadily has failed and the module is in kernel mode Either of the above conditions exist download a new NOE Exec see page 179 Fault LED The Fault LED will flash briefly following an error as t
19. 005 142 Configure NOE Page Links 00050 142 Configure SNMP Page s sees 143 Configure SNMP Page Overview 005 143 SNMP Page Fields 02 c eee 144 Configure SNMP Page Links 00000 144 Completion Message e eee e eee ee eee 145 Configure BOOTP Process eee eee eee 146 Configure BOOTP Initial Page 000040 146 Bootp Node Configuration Form Page 147 Initial Configuration 2 ais senac 4 rmm RE RIS 147 Adding to the BOOTP Database File 148 Changing the BOOTP Database File 148 Deleting from the BOOTP Database File 148 Resetting the Form uso hee IRR Resa 149 Displaying the BOOTP Database File 149 Bootp Node Configuration Form Links 150 NOE Properties Page oue eee ee eee ea ss 151 NOE Properties Page Overview 0 00 151 NOE Properties Page Links 4 151 NOE Diagnostics Page 2b RR RR idee peas 152 NOE Diagnostics Page Overview 152 NOE Diagnostics Page Links 152 840 USE 116 00 Version 1 0 xiii Contents Crash Log Diagnostics lys Tex X erue ERI Y 153 Crash Log Diagnostics Page sues 153 Crash Log Diagnostics Links 04 154 Contacting Schneider Automation Page 155 Contacting Schneid
20. 31 Lost carrier 32 and 33 Number of retries 34 and 35 IP address Continued on next page 840 USE 116 00 Version 1 0 125 Chapter 6 Transfering Data with the MSTR Instruction TCP IP Ethernet Statistics continued Board Status The following table details the word bit definitions for the Board Status Word Bit Definition Bit Definition 15 0 10 Mbit 1 100 Mbit 14 0 Twisted Pair 1 Fiber 13 0 APPL LED off 1 APPL LED on 12 0 Link LED off 1 Link LED on 11 4 Module Type See Module Type table below 0 CPU Stopped 1 CPU Running 0 PLC Not Configured 1 PLC Configured 15240 Reserved Board Status The following table defines the values of the Module Types Word Bit Definition by Module Type Value of Bits 11 4 Module Type NOE 2x1 ENT M1E NOE 771 00 ETY 410 x9 Currently Reserved 0 NOE 771 10 oa on BR wo NI o 126 840 USE 11600 Version 1 0 Embedded Web Pages At a Glance Introduction What s in this Chapter This chapter presents the contents of the embedded web pages contained in the Quantum 140 NOE 771 x0 These web pages enable you to access diagnostic information view configuration information and change the online configurations for the module This chapter contains the following topics Topic Page Accessin
21. Clear Local Statistics information as described in the following table Register Function Content Displayed Operation Type 4 First implied Error status Displays a hex value indicating an MSTR error when relevant Second implied Not applicable Third implied Not applicable Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eighth Not applicable implied 840 USE 116 00 Version 1 0 113 Chapter 6 Transfering Data with the MSTR Instruction Get Remote Statistics MSTR Operation Introduction Ur Control Block 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 See page 125 for a listing of the TCP IP Ethernet Network Statistics The remote Ethernet module always returns its complete statistics table when 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 4x registers Note TCP IP Ethernet routing must be accomplished via standard third party Ethernet IP router products The registers in the MSTR control block the top node contain the Get Remote Utilization Stat
22. ENET 10 100 TCP IP teen Analog 1 0 Discrete Input Discrete Output Special Other ACI 030 00 DAI 340 00 DAO 840 00 CHS 110 00 CPS 111 00 ACI 040 00 DAI 353 00 DAO 840 10 CPU x13 0x CPS 114 x0 ACO 020 00 DAI 440 00 DAO 842 10 NOE 211 00 CPS 124 00 ACO 130 00 DAI 453 00 DAO 842 20 NOE 251 00 CPS 211 00 All 330 00 DAI 540 00 DAQ 853 00 CPS 214 00 All 330 10 DAI 543 00 DDO 153 10 NOE 771 10 CPS 224 00 AI0 330 00 DAI 553 00 DDO 353 00 CPS 414 00 AMM 090 00 DAI 740 00 DDO 353 01 CPS 424 00 ARI 030 10 DAI 753 00 DDO 353 10 CPS 511 xx ATI 030 00 DAM 590 00 DDO 364 00 CPS 524 xx AVI 030 00 DDI 153 10 DDO 843 00 DCF 077 00 AVU 020 00 DDI 353 00 DDO 885 00 EHC 105 00 DDI 353 10 DIO 330 00 EHC 202 00 DDI 364 00 DRA 840 00 ERT 854 00 DDI 673 00 DRC 830 00 ERT 854 10 DDI 841 00 7 Dv0 853 00 ESI 062 00 Help Help on Module 3 Click on the button under Module Result The I O Module Selection dropdown menu appears Continued on next page 840 USE 11600 Version 1 0 61 Chapter 4 Configuring the Module with Concept Accessing and Editing the I O Map continued Procedure continued Step Action Drop Local Quantum Drop 4 Click on NOE 771 00 that appears in the Special column and then click on the lt OK gt button Result The Local Quantum Drop I O dialog box reappears and the NOE 771 00 is now listed under Module and is de
23. Editor 840 USE 11600 Version 1 0 129 Chapter 7 Embedded Web Pages Quantum Welcome Page Quantum The Quantum Welcome Page provides links to all the Configuration and Diagnostic Welcome Page Pages and to the Run Time Data Editor Overview Schneider Electric Web Server for Quantum Home Configured Local Rack Controller Status Ethernet Statistics RIO Status Data Monitor Col e NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All righis reserved Continued on next page 130 840 USE 116 00 Version 1 0 Chapter 7 Embedded Web Pages Quantum Welcome Page continued Quantum Welcome Page Links The following table details the links on the Quantum Welcome Page Link Results Home Restarts the process Configured Displays the Quantum Local Rack with NOE Local Rack 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 Data Monitor Allows access to the Quantum PLC Data with editing capabilities Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration page NOE Properties Provides information on the NOE properties NOE Diagnostics Displays the links to Ethernet Statistics and the Crash L
24. IP address with your PC set up an active route from your PC To do this with either Windows 95 or Windows NT use the following procedure Step Action 1 Be sure the NOE module is running 2 Obtain the default IP address of the NOE 3 Open an MS DOS Window 4 Print the current active routes by typing C gt route print Active Routes Network Address Netmask Gateway Address Interface Metric 0 0 0 0 0 0 0 0 205 217 193 250 205 217 193 205 E 84 0 0 0 255 0 0 0 205 217 193 205 205 217 193 205 1 127 0 0 0 255 0 0 0 127 0 0 1 122 0 0 1 1 5 Add an active route for the local NOE by typing C route add 84 0 0 0 mask 255 0 0 0 205 217 193 205 The result is that Windows 95 98 NT will now talk to any address that starts with an 84 that is directly connected to a hub or switch directly accessible to your machine or that can be seen by the route gateway specified Continued on next page 840 USE 116 00 Version 1 0 37 Chapter 3 Installing the Module Assigning Ethernet Address Parameters continued Using the Default IP Address continued Step Action 6 Confirm that there is a new entry in the active route table by typing C gt route print Active Routes Network Address Netmask Gateway Address Interface Metric 0 0 0 0 0 0 0 0 205 217 193 250 205 217 193 205 1 84 0 0 0 255 0 0 0 205 217 193 205 205 217 193 205 1 127 0 0 0 255 0 0 0 127 0 0 1 127 0 0 1 1
25. List Using ProWORX NxT continued Selecting Your PLC continued Step Action 5 From the Controller Groups list box on the left select the Quantum group From the Controllers list box on the right select the CPU that is installed in your Quantum backplane Click the lt OK gt button Result The Controller Configuration screen appears Controller Configuration 6 You must define a value in the Conf Extension Size on the right side of the Controller Configuration screen This value is the amount of memory you require Press the lt OK gt button Continued on next page 82 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Accessing and Perform the following steps to access and edit the Traffic Cop Editing the Traffic Cop Step Action 1 From the Configuration menu select Traffic Cop TE os To Configuration Config Extensions Result the Traffic Cop screen 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 Zi Right Clicking your mouse on the list to the left will al L provide a menu for inserting or deleting configuration extension areas Words Used 00001 00001 Descriptor Add Extension Delete Extension
26. Log File Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved Press Clear Crash Log File to clear the file If there have been no crashes the following message displays Schneider ap Electric Crash Log Diagnostics There is no crash log because the board has not crashed Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved Continued on next page 840 USE 11600 Version 1 0 153 Chapter 7 Embedded Web Pages Crash Log Diagnostics continued Crash Log The following table details the links on the Crash Log Diagnostics Page Diagnostics Links 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 on 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 154 840USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Contacting Schneider Automation Page Contacting The Contacting Schneider Automation Page contains information on how to obtain Schneider support for the NOE 771 x0 modules Automation Page Overview Schneider E
27. Modify Page Overview Change the Username and Password This page is used for modifying the FTP user name and password Schneider y Electric Modify FTP Server User Name and Password New User Name 1 40 chars New Password 8 40 chars ResetForm Submit FTP Password Change Delete FTP Password File Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved At this point the system administrator should change the Username and Password to restrict future access to the system The steps to do this are Step Action 1 Type in the new Username in the New User Name block 2 Type in the new Password in the New Password block 3 Click on the Submit FTP Password Change button Continued on next page 44 840USE 11600 Version 1 0 Chapter 3 Installing the Module Establishing the FTP Password continued Modify FTP The following message is generated when you click on the Submit FTP Password Server User Change button Name and Password Schneider Message ap Electric 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 Clicking the Reboot Device button will reset th
28. Password 44 Modify FTP Server User Name and Password Message 45 Establishing the HTTP Password 0 0 ee eee 46 Modifying the HTTP Password 000 46 Modify Web Server User Name and Password Page Overview 00000 eee aee 47 Change the Username and Password 47 Modify Web Server Username and Password Page Message 0 eee eee eee eee 48 Using BOOTP Lite to Assign Address Parameters 49 BOOTP Lite Utility 2rd tes VERLA kee era e 49 Chapter 4 Configuring the Module with Concept 51 Selecting Your PEG rsss dete xs exte vate ie t 52 Procedure i ax tao wok op ae em e RAE IR 52 NOX sinc odd osos atacar tos erin d adh ys Wired de EXT S Peiper 55 Setting the Number of NOES 22222000055 56 Introduction st etm t Rea IO RO UNE n RC 56 Memory Requirements a6 see deus reel eR Re 56 Procedure 23i a x op at ane web Cac aed As 57 NOXES s arated ariel act red de PU Uere ualet ise tos vien 58 viii 840 USE 116 00 Version 1 0 Contents Accessing and Editing the I O Map 05 59 Introd ction onde Pe EIN er oe 59 Procedure 2x m sb LM Lon feto tfe n s 59 NeXt iss dtes ubt d Pet pde terti 62 Configuring the Ethernet Address Parameters 63 Introduction lllsleeeeee II 63 Proced re Han ei aed ELE edere 63 How the Module Derives It s IP Address 65 Chapter 5
29. 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 get a 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 second 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 which is the number of bytes received Initially the receive state machine is in the RX HEADER state and the number of bytes received is zero When OnTcplpRead is called and the receive state is ARX 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 then receive machine remains in the RX HEADER state and OnTcplpRead returns 840 USE 116 00 Version 1 0 201 Appendix B Ethernet Developers Guide Receive State Machine continued Description continued If upon return the number of bytes received is the same size as the header size then the header
30. 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 Peer Cop health 9 supported Reset Option Module 10 supported Read CTE config extension 11 supported Write CTE config extension 12 supported Performance Performance information to be inclused in manual revision 1 1 Refer to Chapter 6 for the Number of MSTR Instructions allowed 18 840USE 11600 Version 1 0 Chapter 2 Product Description Modbus TCP Server Introduction Limitations Performance All NOE 771 x0 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 login into the controller over Ethernet The NOE 771 x0 supports up to 32 simultaneous Modbus TCP Server connections The NOE 771 x0 allows only one Programming Panel to be logged in at a time to guarantee consistency of changes to the controller configuration The following Modbus TCP commands are supported by the NOE Read Data Write Data Read Write Data Get Remote Statistics Clear Remote Statistics Modbus 125 Commands used by Pr
31. Version 1 0 Contents Connectors and Cabling 000 c eee ee ees 15 10 100 BASE T Twisted Pair Connector 15 100 BASE EX jie ed eu eS eiut em tu 15 I O Scanner 140 NOE 771 00 only 0004 16 Introd ctiOn Isi ue EI ELE eviu iei ifs 16 Peer Cop Based I O Scanner 000005 16 Enhanced Modbus I O Scanner 0055 17 PerfOrmaree e dA Bae mee uus eed a Tile 17 Peer to Peer Communications llle 18 Intr d ction 2s hea eee Gene RR ak Gola 18 MSTR Operations 00000 eee eee ee 18 P rformarce o bee Satie wk a rae Se ad 18 Modbus TCP Server 0 00 cece eee eee 19 Introductio aus asm metu ame dint e a ADM e a 8 19 LIMITATIONS oue eee mE nere rers Exe Prts 19 Performance eee rns 19 FTP and HTTP Services 0 0 0 0 RR 20 ETP S8iVer rr he ea eee ha TE els 20 FIITEPSOPVeES4s o oM oak ate a Cede de A ada od at 21 BOOTP SEWED umm uan Sak bane es AUi 22 Introduction silk date bebe bees wate ges 22 Your NOE BOOTP Server 00 00 cece eee 22 SNMP Leu Lh skew teense Dv euh e IBS Ee DE 23 Producton d orent tei t REPE 23 Manager Agent Paradigm 22220000055 23 Simple Network Management Protocol 23 The MIB 2 At e A eke Bite uL ee ge ue 23 ASN 1 Naming Scheme 2000 0 00 3s 24 The Object Identifier OID 05 24 SNMP Protoc
32. a specified slave source device to a master destination device on the network 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 The registers in the MSTR control block the top node contain the Read or Write information as described in the following table 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 Register Function Content Second implied Length Write number of registers to be sent to slave Read number of registers to be read from slave Third implied Slave device data Specifies starting 4x register in the slave to be area read from or written to 1 4001 49 240049 Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth eighth Destination Each register contains one byte of the 32 bit IP implied address 840 USE 116 00 Version 1 0 111 Chapter 6 Transfering Data with the MSTR Instruction Get Local Statistics MSTR Operation Introduction Control Block The Get Local Statistics operation operation type 3 in the display
33. and reset the counters Crash Log File Displays the Crash Log entries for use in Diagnostics diagnosing the cause of crashes 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 on NOE properties Support Provides you with contact information for technical assistance sales and feedback 152 840USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Crash Log Diagnostics Crash Log Following is an example of a Crash Diagnostics Page Diagnostics Page Schneider ap Electric Crash Log Diagnostics Following is the Crash Log File Data TLB miss exception task tWdbTask IPCcC 0xO004dd78 Data ddrReg 0x7f000001 DataStorageIntStatReg 0x00000409 r00 0x00063460 r01 0x00a89368 r02 0x00000000 r03 0xO0Zfb481 r04 Ox7f000001 r05 0x00a89470 r06 0x002fb460 r07 0xO000001c r08 0x002fb481 r09 0x7f000001 r10 0x00000000 r11 0x00000073 r12 0x00063458 r13 0x00000000 r14 0x00000000 ri15 0xO00000000 r16 0xO00000000 ri7 0xO00000000 ri8 0x00000000 ri19 0xO00000000 r20 0x00000000 r21 0x00000000 r22 0x00000000 r23 0x00000000 r24 0x00000000 r25 0x00000000 r26 0x00000000 r27 0x00000000 ir28 0x00000000 r29 0x7f000001 r30 0x00a89470 r31 0x002fb480 CondReg 0x44400040 XER 0x20000000 LinkReg 0x0004dec4 CountReg 0x44400040 Data TLB miss exception task tWdbTask xi Clear Crash
34. appendix covers the following topics Appendix Topic Page Overview 206 Modbus Application Protocol PDU 207 Modbus Application Protocol Service Classes 209 Modbus Application Protocol PDU Analysis 210 TCP IP Specific Issues 212 Reference Documents 213 840 USE 116 00 Version 1 0 205 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Overview Introduction The Modbus Application Protocol MBAP is a layer 7 protocol providing peer to peer communication between programmable logic controllers PLCs and other host based nodes on a LAN Collectively these nodes implement all or part of a control application used for industrial automation applications 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 Modbus Application Protocol can be transmitted over any communication System that supports messaging services However the current Quantum implementation transports Modbus Application Protocol PDUs over TCP IP Both Ethernet Il and IEEE 802 3 framing are accommodated although Ethernet II framing is the default For more information cons
35. aus ee a ee A continued oToHode ode Timeout Onkrror DelHode FA amp F5 F7 4EIN F9 uldi F 9 PEER COP Timeout 500 ms HEAD SLOT 3 On Error CLEAR USED 1 OF 1000 WORDS ficcess to Node Summary MODE REFERENCE LEN TYPE INDEX Information SPECIFIC INPUT D SPECIFIC OUTPUT GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT TO ALL NODES ON LINK GLOBAL OUTPUT The cursor is initially in the Head Slot field If you are not editing an initial template you may press the Esc key which re positions the cursor to the SPECIFIC INPUT field To traverse the Heads and Nodes you can re display the Add Node select box from the main Menu line Specific Output Specific output comes from the Controller located in the same rack where the NOE resides Specific out data can be set from the NOE to the remote node on the subnet by a Modbus Write The source of each specific output block is a contiguous region of Ox 1x 3x or 4x state RAM which varies from 1 to 32 words in length If discretes are used they must start on a word boundary 00001 00017 00033 etc The Type default BIN or BCD is put in by the controller Where different types can be specified you make the entry from a display list displayed by keying the return key while the cursor is on the TYPE field Ur Note The NOE 771 00 ignores the BIN BCDs setting and always uses a BIN format
36. buttons Copy and Paste To save time when typing similar read and write commands you may copy and paste entire rows within your configuration Follow the steps in the table below Step Action 1 Select the row you want to copy by clicking on the row number at the far left 1 0 Scanner Configuration Master Module Slot Slot 1 140 NOE 771 00 Copy Cut Baste Health Block 1 3 100001 Delete Sot Fill Dow Slave IP Unit Health Rep Read Ref Read Ref Read Write Ref Write Address ID Timeout Rate Master Slave Length Master Length 0 0 10 400001 400050 12 400100 400040 20 dds Click the Copy button above the I O configuration list Select the row where you would like to paste the data by clicking on the row number at the far left Click the Paste button above the I O configuration list 1 0 Scanner Configuration Monte Machi Sk EINE 7 ame eser Health Block 13x 100001 Delete Sort EBEWI Slave IP Unit Health Rep Read Ref Read Ref Read Write Ref Write Ref Write Renae d Address ID Timeout Rate Master Slave Length Master Slave Length p 1 128 7 32 0 10 400001 400050 12 400100 400040 20 al 3 4 5 128 7 32 0 0 10 400001 400050 12 400100 400040 20 6 Ga 8 9 10 Continued on next page 76 840 USE 11600 Version 1 0 Chapter 5 Tran
37. continued Development The sample application was developed with Microsoft Visual C version 1 52 Environment The sample application uses Microsoft Foundation Class The initial application was generated by the Visual C application wizard 840 USE 116 00 Version 1 0 191 Appendix B Ethernet Developers Guide Class Descriptions List of Classes 6 10 11 12 13 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 CMDI FrameWnd 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 modified 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
38. 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 840 USE 116 00 211 Appendix C Quantum 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 Modbus Application Protocol does not support either broadcast or multicast at the application layer Schneider Electric s Quantum PLCs use broadcast addressing because they use ARP as the means of locating the destination node The client interface to the Modbus Application Protocol service on the PLC the MSTR block requires the user to provide the destination IP address Also the embedded stack does use 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 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 ass
39. doesn t respond the module will retry its request for two minutes If no BOOTP response is received the NOE 771 x0 module will use the default IP Address During this time the Run indicator will display a pattern of three flashes 840 USE 116 00 Version 1 0 39 Chapter 3 Installing the Module Assigning Ethernet Address Parameters continued NOE 771 00 In all cases when the NOE 771 x0 module receives an IP address it will test for Duplicate IP duplicate addresses by sending broadcast ARP requests three times at 5 second Address Test intervals If a Duplicate IP Address is found on the network the NOE 771 x0 will stay off line to avoid a network disruption It will display a pattern of four flashes to indicate a Duplicate IP Address detection Gratuitous ARP If there are no replies to its requests it will send gratuitous ARP three times at 2 second intervals to announce its presence on the network 40 840 USE 11600 Version 1 0 Chapter 3 Installing the Module Establishing the FTP Password Establishing the FTP Password Introduction to Accessing the Web Server How to Access It The FTP Password is established using the Embedded Web Server This section contains information on initially accessing the web server The first thing the System administrator should do upon accessing the web server is change the FTP password Doing this restricts access to the web server functionality to the
40. function code Continued on next page 840 USE 116 00 Version 1 0 207 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol PDU continued 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 This example has the folowing structure and content inv id 00 01 proto id 0000 len 00 00 dst idx 01 func code03 data 00 00 00 01 208 840 USE 116 00 Version 1 0 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol Service Classes Introduction Data Access Online Programming Image Download Upload Configuration Device Execution State Control There are several classes of service that are part of the Modbus Application Protocol Each of these classes is described below Read write both discrete and analog data values from PLC register files Services make relatively minor alterations to ladder logic programs with a highly controlled introduction of these changes into the executing program 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 services allow the user to define parameter values which affect the PLC s register files I O map communication port config
41. its connection to the network The functions of the LED indicators are described in the following table LED Color Description Active Green Indicates the backplane is configured Aas Ready Green Indicates module is healthy Ready Fault Fault Red Indicates when the NOE is in a crash state Run Coll Run Green Flashes to indicate diagnostic code as Link described in Run LED Status below Tx Act Coll Red Flashes when Ethernet collisions occur Rx Act Link Green On when Ethernet link is active 10MB Tx Act Green Flashes to indicate Ethernet transmission 100MB Fduplex Rx Act Green Flashes to indicate Ethernet reception Kernel Appl Kernel Amber On when in Kernel Mode 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 On when Ethernet is operating in the full duplex mode Appl Green On when crash log entry exists Continued on next page Version 1 0 13 Chapter 2 Product Description LED Indicators continued Run LED Status The state of the Run LED indicator provides the following diagnostic information 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
42. length number of registers transferred Third implied Displays MSTR operation dependent information Fourth implied High byte Destination index Low byte Quantum backplane slot address of the NOE module Fifth implied Byte 4 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 of the 32 bit destination IP Address The 4x register entered in the middle node is the first in a group of contiguous holding registers that comprise the 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 that acquire data from the communication processor such as a Read operation the data area is the destination for the data In the case of the Ethernet Read and Write CTE operations see pages 121 and 123 the middle node stores the contents of the Ethernet configuration extension table in a series of registers 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 1 100 840 USE 116 00 Version 1 0 107 Chapter 6 Transfering Data with the MSTR Instruction MSTR Function Error Codes Where Displayed TCP IP Ethernet Error Codes If an error occurs during an MSTR operation a hexadecimal erro
43. out BOOTP requests If the module does not receive it s IP Address from the BOOTP server after 2 minutes it will then use the IP Address derived from it s MAC address tF 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 54 x xx xx 840 USE 116 00 Version 1 0 65 Chapter 4 Configuring the Module with Concept 66 840 USE 11600 Version 1 0 Transferring Data with the I O Scanner 140 NOE 771 00 only At a Glance Introduction What s in this This chapter discusses the NOE 771 00 module s I O scanner capabilities and includes procedures for configuring the I O scan list using Concept 2 2 PeoWORX NxT 2 1 and Modsoft This chapter contains the following topics Chapter Topic Page I O Scanner Concepts 68 Configuring the I O Scan List Using Concept 72 Completing the I O Configuration 76 Configuring the I O Scan List Using ProWORX NxT 79 Establishing Configuration Extension Memory for Peer Cop 90 Configuring the I O Scan List Using Modsoft 94 840 USE 116 00 Version 1 0 67 Chapter 5 Transfering Data with the I O Scanner l O Scanner Concepts Introduction I O Scan List All NOE 771 00 modules provide an I O scanner which the us
44. page 840 USE 11600 Version 1 0 73 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Concept continued Write Use the write function to write data to the remote node The Write Ref Master column specifies the local address of the write data The Write Count column specifies the number of registers to write The Write Ref Slave column specifies the first 4x register to be written to the remote node rn at eR on ID Timeout Rate Master Slave Count Master Slave 1 128 7 32 54 400100 400040 40 L2 Lx Li mum I 5 ba L8 m ee 8 Ind Lx L o Li Lu 12 I Read and Write You may include read and write commands on the same line as shown IP Address Unit Health Rep Read Ref Read Ref Read Write Ref Write Ref Write Description E ID Timeout Rate Master Slave Count Master Slave Count P 128 7 32 54 7 400001 400080 20 400100 400040 40 F2 5 3 L4 JE E Ts 1 IE i a d I E 10 ini 11 ini 12 i s ED N Description You can type a brief description up to 32 characters of the transaction in the Description column Continued on next page 74 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Concept continued Configuring the The Health Block is located at a block of 3x registers or 1x co
45. rm 195 Accessing TCP IP 4 3502 ube Ree qua eR Ori 195 Application Message Format 0000 196 840 USE 116 00 Version 1 0 XV Contents Timers and Transaction Processing sus 197 TUMORS cbe v E Iu Rex ior e neis 197 Transaction Processing lille 197 Transmit State Machine llle 198 Description s 4 oke ews 6 ma acted ote de Sb med oiu e 198 Receive State Machine lslsllseessssss 201 Description ee iux uev e IERE REC RIBEERKE CP mesh 201 Displaying on the Screen 2 000 eee ee eee 203 Dese pl gri seruus e u s vos o et ctu RE CR ee x ele oe edens 203 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol 205 OVERVIOW cista ede dua ue IP 206 Introduction aee xen OX ERR RR Mae ae 206 Modbus Application Protocol PDU 207 Example en oi 2h whet oegs cate PEU REI SA eee ee 208 Modbus Application Protocol Service Classes 209 Introduction 2 llle 209 Data ACCESS nb RR EVECREEY wae ae ee be 209 Online Programming lisse 209 Image Download Upload 000 eee eee 209 Configuration lt b aaiehe Bath oem Gala he y Decem V Lot eres ae 209 Device Execution State Control 05 209 Modbus Application Protocol PDU Analysis 210 Introduction llli 210 Analysis lt 4 asia hat det ta ES REIR EXP Eu 210 TCP IP Specific Issues 22 3d med
46. see the FactoryCast Manual 890 USE 152 00 How to Access It Before you can access the module s home page you must learn its full IP address or URL from your system administrator Type the address or URL in the Address or Location box in the browser window Once you do this the Schneider Automation Web Utility home page will appear see next page Continued on next page 128 840 USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Accessing the Web Utility Home Page continued Schneider Web Utility Home Page Schneider ap Electric Schneider Automation Web Server Diagnostics and Online Configurations Operating System Windows 95 Screen Resolution 1230 x 1024 Browser Microsoft Internet Explorer 4 Copyright 1999 Schneider Automation Inc All rights reserved Click on the Diagnostics and Online Configuration Result The user is requested to supply a user name and password Enter Network Password x Please enter your authentication information Resource NOE security User name Password Save this password in your password list Upon supplying the user name password and clicking the lt OK gt button the Quantum Welcome Page appears Note The default User Name is USER and the default Password is USER Both may be changed Result The Quantum Welcome Page which provides the links to all the Quantum Configuration and Diagnostic Pages and to the Run Time Data
47. 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 Used to indicate which bits in an IP address identify a subnet 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 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 A Quantum software routine that facilitates the placement of an NOE 771 module into a specified location 226 840 USE 116 00 Version 1 0 Glossary U UDP User Datagram Protocol A protocol which transmits data over IP URL Uniform Resource Locator The network address of a file UTP Unshielded Twisted Pair A type of cabling consisting of insulated cable strands which are twisted together in pairs W Winsock The Microsoft implementation of the Windows Sockets networking API based on the Berkeley UNIX Sockets interface for supporting TCP IP WWW World Wide Web A hypertext based distributed information system in which
48. supported Write CTE config extension 12 supported Up to16 MSTR instructions can be simultaneously serviced in a ladder logic program per NOE More than 16 MSTRs may be programmed to be enabled by the logic flow as one active MSTR block releases the resources it has been using and becomes deactivated the next MSTR operation encountered in logic can be activated 104 840USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction MSTR Characteristics MSTR The characteristics of the MSTR instruction are described below Characteristics Size Three nodes high PLC Compatibility Standard in PLCs that have built in Modbus Plus capabilities Modbus Plus functionality only Standard in all Quantum PLCs with Modbus Plus functionality and or TCP IP Ethernet option modules Available as a loadable in chassis mount PLCs Modbus Plus functionality only Opcode BF hex 840 USE 116 00 Version 1 0 105 Chapter 6 Transfering Data with the MSTR Instruction MSTR Ladder Logic Representation Ladder Logic The MSTR Block is represented in Ladder Logic diagrams as shown in the figure Diagram below and described the in the paragraphs that follow the figure Enables selected 4 control Operation is active MSTR operation block Terminates active data Operation terminated MSTR operation area unsuccessfully MSTR Operation successful length Inputs The MSTR instruction has tw
49. window for this connection If you try to read or write registers and an error occurs the NOE Tester will display a Read Request Error or Write Request Error The error codes correspond with MSTR block error codes For more information refer to the Ladder Logic Block Library User Guide 890 USE 100 00 170 840USE 11600 Version 1 0 Maintenance At a Glance Introduction This chapter details information on system maintenance including accessing and clearing the Crash Log and downloading the new NOE Exec What s in this This chapter contains the following topics Chapter Topic Page Responding to Errors 172 Reading and Clearing the Crash Log 177 Downloading a new NOE Exec 179 The Concept Exec Loader 180 Downloading a new NOE Exec via FTP 185 840 USE 116 00 Version 1 0 171 Chapter 9 Maintenance Responding to Errors Detecting Errors When faults occur the NOE 771 x0 LED display can help you determine what went wrong During normal operation the LEDs should display the following pattern 140 NOE 771 00 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 has occurred the normal LEDs may be extinguished or other indicators may light This section will discuss errors reported by the Activ
50. 05 217 193 173 2280 UxWorks FIP server UxWor 5 3 1 ready User 205 217 193 173 lt none gt gt USER 331 Password required Password 238 User logged in ftp cd wwwroot conf exec 256 Changed directory to FLASHG wwwroot conf exec ftp put local file gt NOE77188 bin Cremote file gt NOE 7166 bin 266 Port set okay 15 Opening BINARY mode data connection 226 Transfer complete 485376 bytes sent in 3 06 seconds 158 41 Kbytes sec gt ftp gt dir 266 Port set okay 15 Opening BINARY mode data connection A 1 user 2 kerVer 1 user 485376 NOE77188 bin 226 Transfer complete 86 bytes received in 6 61 seconds 8 66 Kbytes sec ftp gt 840 USE 116 00 Version 1 0 185 Chapter 9 Maintenance 186 840 USE 116 00 Version 1 0 NOE 771 00 Module Specifications At a Glance What s in this Appendix This appendix covers the following topics Topic Page Specifications 188 840 USE 116 00 Version 1 0 187 Appendix A NOE 771 00 Module Specifications Specifications Specification Table The main specifications for the Quantum 140 NOE 771 x0 Ethernet Module are described in the following table Communication Ports One auto sensing 10 100Base T shielded twisted pair RJ 45 connector port and one 100Base FX MT RJ connector port Both ports transmit and receive Modbus commands encapsulated in TCP IP protocol Bus Current Requi
51. 20 m 1040 ft Two Class Il repeaters 216 2 m 2 228 m 741 ft 1 Mixed twisted pairs and 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 The maximum length for 850 nm Multimode cable is 2 KM 32 840 USE 11600 Version 1 0 Chapter 3 Installing the Module Security Overview Types of Firewalls Network Level Firewalls Application Level Firewalls Port Numbers Used by NOE To restrict access to your Ethernet controller and I O network you may want to consider a firewall A firewall is a gateway which controls access to your network There are two types of firewalls Network level firewalls Application level firewalls Network level firewalls are frequently installed between the Internet and a single point of entry to an internal protected network 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 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 this information to your system administrator to configure the firewall to allow access to your PLC from out
52. 6 length 2 data ip pdu 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 Modbus Application Protocol whose messages are received at a well known port The current maximum size of the mbap_pdu for this class of services in 256 bytes Continued on next page 210 840 USE 11600 Version 1 0 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol PDU Analysis continued Analysis continued 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 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
53. 71 x0 MAC Address 00 00 54 10 10 74 Rack f IP Address 205 217 193 178 Slot IE Subnet Mask 255 255 255 0 Firmware Version f 01 Gateway Address 205 217 193 250 Transmit Statistics Receive Statistics Functioning Errors Transmits 165540 Receives 334168 Missed Packets Transmit Retries 0 Framing Errors o Collision Errors Lost Carrier 0 Overflow Errors e Transmit Timeouts Late Collision 0 CRC Errors o Memory Errors Transmit Buffer Errors 0 Receive Buffer Errors e PCNet Restarts Silo Underflow 0 Reset Counters T Home Configured Local Rack Controller Status RIO Status Data Monitor Copyright 1999 Schneider Automation Inc All rights reserved These statistics are for information only If you wish to retain the information you must copy it offline The counters may be reset to zero by clicking the Reset Counter button Continued on next page 136 840 USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Ethernet Module Statistics Page continued Ethernet Module The following table details the links on the Ethernet Module Statistics Page Statistics Page Links 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 Data Monitor Allows access to the Quantum PLC Data with editing capabilit
54. 771 00 With Quantum 113 CPU 216 140 NOE 771 00 With Quantum 213 CPU 217 140 NOE 771 00 With Quantum 424 CPU 218 140 NOE 771 00 With Quantum 534 CPU 219 840 USE 116 00 Version 1 0 215 Appendix D NOE 771 00 Module I O Scanner Performance Statistics 140 NOE 771 00 I O Scanner Performance Quantum Following is the performance graph for the I O Scanner of the 140 NOE 771 00 with 113 CPU the Quantum 113 CPU IO Scanner Perfomance ofthe 140 NOE 771 00 with the Quantum 113 CPU 4 000 3 500 3 000 M incPU Scan 34 10mSecCPU Scan 20m8ecCPU Scan M 40mSec CPU Scan 60mSecCPU Scan 80mSecCPU Scan r 1 00mSecCPU Scan 2 500 2 000 500 000 500 1 2 3 4 5 6 7 8 9 10 15 20 25 30 35 40 45 50 55 60 64 Number of Scanned Momentum ENT Modules Modbus Transactions per Scanner Continued on next page 216 840 USE 116 00 Version 1 0 Appendix D NOE 771 00 Module I O Scanner Performance Statistics 140 NOE 771 00 I O Scanner Performance continued Quantum Following is the performance graph for the I O Scanner of the 140 NOE 771 00 with 213 CPU the Quantum 213 CPU 140 NOE 771 00 IO Scanner Performance CPU 213 4 000 3 500 3 000 M inCPU Scan 2 500 lM 10m Sec CPU Scan 4 20m Sec CPU Scan 2 000 3 40m Sec CPU Scan JdMX 60m SecCPU Scan 1 500 99 80m SecCPU Scan
55. Chapter 8 Using the Network Options Ethernet Tester Establishing a Connection with an Ethernet Module continued Procedure continued Step Action 2 Type the module s IP network address or host name in the IP Address box Remote IP Address X IP Address Click on the OK button This dedicates a connection from your PC to the designated Ethernet module and brings you to the main menu Network Options Ethernet Tester ElIO2 File View Management Messages Window Help Df x De B D Connected to EIO2 3 You may establish several connections with the same module or with other modules by repeating step 2 for each new connection Continued on next page 160 840USE 11600 Version 1 0 Chapter 8 Using the Network Options Ethernet Tester Establishing a Connection with an Ethernet Module continued Procedure continued Step Action 4 When you are ready to disconnect select Management and choose Disconnect from the pulldown menu Network Options Ethe File View nire Seba or click on the disconnect button in the toolbar 5 After disconnecting from one module you may reassign its dedicated connection by selecting Management and choosing Set IP Addr from the pulldown menu aM Network Options Ether File View n Me D efg Connect Disconnect Type the new IP network address or host name in the box provided
56. Connection with an Ethernet Module 159 Getting and Clearing Statistics 162 Statistics 166 Reading Registers 168 Writing Registers 169 840 USE 116 00 Version 1 0 157 Chapter 8 Using the Network Options Ethernet Tester Installing the Network Options Ethernet Tester Introduction 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 then you must program an MSTR block in ladder logic For details about the MSTR block please refer to Chapter 6 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 Options 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 refer to Appendix B Note In its capacity as server the Ethernet module can only accept 32 connections at any one time If a new connection is attempted and the server has already reached its limit it will terminate the least used connection in order to make room for the new one Installation The Network Options Ethernet Tester is supplied to you on a utility diskette To Procedure install the tester on your
57. Cop health 116 Read and Write Operations 111 Write CTE 123 N Network Options Ethernet Tester NOET Installation 158 NOE Crash log diagnostics via web server 153 Memory requirements 56 Product support information 155 Properties via web server 151 Setting the number using Concept 56 NOE 771 00 Key features 10 Transferring Data with the I O Scanner 67 NOE 771 10 FactoryCast application 10 Key features 10 NOE 771 x0 Cable connectors 15 Configuring Ethernet address parameters 63 Detecting errors 172 Embedded web server 127 Front panel components 11 Key features 11 LEDs 13 Responding to errors 172 Specifications 188 System maintenance 171 NOE diagnostics Via web server 152 NOE Exec Downloading a new 179 Downloading via FTP 185 NOET Network Option Ethernet Tester 190 Sample application 190 P Password FTP Changing via web server 41 Password HTTP Changing via web server 46 Peer Cop Data input output configuration 96 For configuring I O Scan List 94 Health Bits 101 Input output summary 99 Memory extension 90 Modbus I O Scanner characteristics 16 Modsoft initial entry screen 96 Parameters 98 Related functions 99 Timeout function 100 Peer Cop Communications Health Bit State 119 Health status information 117 Peer Cop Health MSTR Operation 116 Peer Cop I O Scanner Features 70 840 USE 116 00 Version 1 0 231 Index PLC Selection using Concept 52 PLC data
58. Database BOOTP button Database File Schneider ap Electric Bootp Configuration Host Name IP Address Subnet Mask Gateway Mac Address ENT1 192 1 10 01 255 255 255 0 192 1 10 250 000054101005 ENT2 192 1 10 02 255 255 255 0 192 1 10 250 000054101006 ENT4 192 1 10 04 255 255 255 0 192 1 10 250 000054101008 ENT3 192 1 10 03 255 255 255 0 192 1 10 250 000054101007 Refresh Bootp Database Table Configure Bootp Entry Home Configure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schmeider Automation Inc All rights reserved Continued on next page 840 USE 11600 Version 1 0 149 Chapter 7 Embedded Web Pages Configure BOOTP PROCESS continued Bootp Node The following table details the links on the Bootp Node Configuration Form Page Configuration Form Links 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 on 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 150 840 USE 116 00 Version 1 0 Chapter 7 Embedded Web Pages NOE Properties Page NOE Properties The NOE Properties Page displays the Exec Kernel Web Page
59. ING ConnPaint member function displays the connection state 2 GetStatsPaint member function displays the results of a get statistics request 3 ClearStatsPaint member function displays the results of a clear statistics request 4 ReadRegPaint member function displays the results of a read register request 5 WriteRegPaint member function 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 display 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 when the display type changes or when the user changes the window size 840 USE 116 00 Version 1 0 203 Appendix B Ethernet Developers Guide 204 840USE 11600 Version 1 0 Quantum Ethernet TCP IP Modbus Application Protocol At a Glance What s in this This
60. NOE NOE Properties NOE Diagnostics Support Copyright amp 1999 Sdmeider Automation Inc All rights reserved If the SNMP is not configured enter the appropriate information in the fields To display the current SNMP configuration click on Show SNMP Configuration To change the SNMP configuration change the information on the page and click on Update SNMP The NOE must also be reset for the change to take affect see the Successful Update Message Screen To clear the fields click on Reset the Form Continued on next page 840 USE 116 00 Version 1 0 143 Chapter 7 Embedded Web Pages Configure SNMP Page continued SNMP Page The following SNMP configuration fields can be changed on the Configure SNMP Fields Page 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 user who can view the configuration Trap Designation of level of user who can capture information Authentication Failure Turns on Community Name Checking Trap Enabled Configure SNMP The following table details the links on the Configure SNMP Page Page Links Link Results Home Returns you to the Quantum We
61. P IP Ethernet Network Errors continued CTE Error Codes Hex Error Code Meaning 38 Socket is already connected 39 Socket is not connected 3A Can t send after socket shutdown 3B Too many references can t splice 3C Connection timed out 3D Connection refused 3E Network is down 3F Text file busy 40 Too many levels of links 41 No route to host 42 Block device required 43 Host is down 44 Operation now in progress 45 Operation already in progress 46 Operation would block 47 Function not implemented The following error codes 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 7005 Bad data field in the CTE 110 840 USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Read and Write MSTR Operations Introduction Ur Control Block Utilization An MSTR Write operation operation type 1 in the displayed register of the top node transfers data from a master source device to a specified slave destination device on the network An MSTR Read operation operation type 2 in the displayed register of the top node transfers data from
62. PC perform the following steps 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 NSETUP and click on the OK button the Welcome dialog will appear 4 Click on the Next button and follow the instructions that appear in each of the dialogs to complete the installation E Note Each installation dialog has Back and Next buttons that allow you to move back to the previous dialog or move forward to the next dialog 158 840 USE 11600 Version 1 0 Chapter 8 Using the Network Options Ethernet Tester Establishing a Connection with an Ethernet Module What You Must To establish a connection with an Ethernet module using the Network Options Know Ethernet Tester you must know the module s IP network address or host name Procedure Perform the following steps to establish a connection with an Ethernet module using the Network Options Ethernet Tester Step Action 1 From the initial menu select File and choose New from the options in the pulldown menu gt Network Opt View Help New Ctrl N or click on the new connection button in the toolbar Network Op Clear statistics Get statistics Write register Read register Disconnect L Connect Create new connection This will bring up the Remote IP Address dialog box Continued on next page 840 USE 11600 Version 1 0 159
63. PU 424 02 6 2 6 140 CPU 434 12 6 2 6 140 CPU 534 14 6 2 6 840 USE 116 00 Version 1 0 71 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Concept Introduction IP Address Unit ID Health Timeout Once the NOE 771 00 has been configured using Concept see Chapter 4 you can assign parameters for I O scanning This involves creating the I O scan list containing all the input and output devices that the NOE module will scan Type the IP address of the slave module in the IP address column This address will be stored in a pulldown menu so that you may use it in another row by clicking on the down arrow and selecting it as shown Read Ref Slave Write Count Write Ref Master Write Ref Slave Read Count Read Ref Master Health Timeout Unit ID Rep Rate Description IP Address 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 HealthTimeout the health bit is set otherwise it is cleared If the Health Timeout is zero the health bit is set true once communications is established and it is never cleared Continued on next p
64. Quantum NOE 771 x0 Ethernet Modules User Guide 840 USE 116 00 Version 1 0 October 1999 Schneider Electric Preface Preface 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 Schneider Electric assumes no responsibility for any errors that may appear in this document If you have any suggestions for improvements or amendments or have found errors in this publication please notify us No part of this document may be reproduced in any form or by any means electronic or mechanical including photocopying without express written permission of the Publisher Schneider Electric CAUTION All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to assure compliance with documented system data repairs to components should be performed only by the manufacturer Failure to observe this precaution can result in injury or equipment damage MODSOFTO is a registered trademark of Schneider Electric The following are trademarks of Schneider Electric Concept FactoryCast ProWORX NxT Modbus Modbus Plus Modicon 984 Quantum DIGITAL and DEC are registered trademarks of Compaq Computer Corp IBM a
65. RO E R ae 79 Selecting Your PEG 2 mda Gols RUNE SEE RR 80 Accessing and Editing the Traffic Cop 83 Setting the Number of NOE s and Configuring the Ethernet Address Parameters 85 Setting Up the I O Scanner Using PIPoWORX NxT 88 Specify the Specific I O Groups to be Scanned 88 Configure the Transaction Parameters 89 Establishing Configuration Extension Memory for Peer Cop 90 Introduction aaea a a a eee 90 How Much Memory isses ka Pee kde RE n xe 90 PhOCOQUIG cv uaia KA me NOE E R RIF eee eee RES 91 Configuring the I O Scan List Using Modsoft 94 IntrodU ctlOn E See iue ie Reed 94 Current Limitations llle 95 Storage Requirements 0200s 95 Specific Input Output Configuration 96 Specific NPUL wit ose Senn ee eect wate pede eee 98 Specific Input Output Summary 005 99 Other Menu Selectable Support Functions 99 The GoToNode Function 202e eee 99 The AddNode Function 00 00 eee eee 100 The Timeout Function 000000 c eee eee 100 Health Bits 0 200 2 eee 101 OnError Function 0000 cece 101 Device IP Address Generation 5 101 Chapter 6 Transferring Data with the MSTR Instruction 103 MSTR Description ces rede x Rex xu Eu EE YER X 104 IntrodU ctlOn nsi eie RP ESPERAN TER 104 MSTR Opera
66. RR eas 212 Broadcast Multicast llle 212 TCP Port Number 00000 e eee eee ees 212 Reference Documents 00 eee eee eee eee 213 Introduction 2 0 02s 213 xvi 840 USE 116 00 Version 1 0 Contents Appendix D NOE 771 00 Module l O Scanner Performance Statistics 215 140 NOE 771 00 I O Scanner Performance 216 Quantum T139 6PU stell ez tA s 216 Quantum 243 CPU i llleeeee 217 Quantum 424 CPU 0 0 ee ee 218 Quant m 534 CPU i eas ae oe Ee a es 219 GlOSSaly uuiesai aene tr pa ema a ae am QE a 221 INGCX gt X autttiecie uua nee keane ee ee Dou s 229 840 USE 116 00 Version 1 0 xvii Contents xviii 840 USE 116 00 Version 1 0 Introduction At a Glance Introduction This chapter contains general information about the manual What s in this This chapter contains the following topics Chapter Topic Page About this manual 2 System Requirements 6 Related Documentation and Customer Support 7 840 USE 116 00 Version 1 0 Chapter 1 Introduction About this Manual Document Scope This manual describes all the features of the Quantum 140 NOE 771 00 10 100 Megabit Ethernet module and the Quantum 140 NOE 771 10 Factory Cast module It should provide you with the knowledge to begin using a Quantum Programmable Logic Controller PLC to communicate with devices over an Ethernet
67. Timeout Value Global Setting 20 Msec to 2 Secs in 20 mSec increments Input TimeOutState Global Setting Zero or Hold IP Address Derived from Modbus Address must be on NOE s Subnet Remote Register Reference Not configurable 400001 is used Destination ID Not settable set to 0 Operation thru a Modbus Not supported Plus to Ethernet bridge Enhanced The Enhanced Modbus I O Scanner has the following characteristics HERR us Parameter Value Features Max No of Devices 64 Max No of Input Words 4 000 Max No of Output Words 4 000 Timeout Value Individual Setting 1 Msec to 2 Secs in 1 mSec increments Input TimeOutState Global set to zero Individual set table with Concept 2 5 IP Address Individually Settable Remote Register Reference Configurable Min Update Rate Settable Destination ID Not settable set to 0 Operation thru a Modbus Not supported Plus to Ethernet bridge Continued on next page 70 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner l O Scanner Concepts continued l O Scanner A maximum of two NOE modules can be configured as I O scanners per controller Support The mix of I O scanners and NOE modules per CPU is summarized in the following table Quantum CPU No of Max No of NOEs Max No of NOEs Type NOEs Configured as Configured as Supported Peer Cop I O Ethernet I O Scanners Scanners 140 CPU 113 02 2 2 2 140 CPU 113 03 2 2 2 140 CPU 213 04 2 2 2 140 C
68. Transferring Data with the I O Scanner 140 NOE 771 00 0nly s ioo 67 VO Scanner Concepts tbe EREIAI UR Rd rhe a 68 Introduction llle 68 I O Sean List aeo decre Ere UP e n 68 I O Scanner Definitions llle 69 Peer Cop and Enhanced Modbus TCP Scanners 69 Peer Cop I O Scanner Features 0 5 70 Enhanced Modbus I O Scanner Features 70 I O Scanner Support uo sees ld as ce eee c Ex Pes 71 Configuring the I O Scan List Using Concept 72 Irntrod ction inei eae eden oe eats New aad ed 72 IP AddEess vod mE ieee SER 72 Bundles EP 72 Health Timeout llli 72 Rep Rate usce price e e e eR RC DC 73 Head ves ver tse ey nh So ee tes 73 Writer wad eee ism ien deese 74 Read and Write 0 ee eee 74 Descriptio s soe hewn es alles Stans eee E ERUNT ee 74 Configuring the Health Block 005 75 Starting Location of Health Block 75 Completing the I O Configuration 76 Introduction is ore be we Ve oe Te Bie he ed 76 Copy and Paste 0 00 e eee eee es 76 Cutand Paste se Tesi pianali i ma A mel E O aa a 77 Deleter anona a eA aE AAE NE a ne AR 77 840 USE 116 00 Version 1 0 ix Contents SOM os e Rape ie e AYER SD bte Kos EU RP Kt CR 77 Fill DOWNS practise ie REPEAT IEHENM UTI iis 78 Configuring the I O Scan List Using ProWORX NxT 79 Introduction oe aote om e RU a ROPA ACE
69. View is waiting to transmit the message It transmits the message when the time from the last transmit exceeds the specified poll interval 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 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 user selects either the connect menu item or the connect tool bar button CSample View OnManagConnect function attempts to establish connect with its tcpip initate connection function This function examines the remote destination and determines if its 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 process the WM TCPIP NAME RESOLVED message If the name is not resolved OnTcplpNameResolved changes the transmit state back to IDLE Continued on next page 198 840USE 116 00 Version 1 0 Appendix B Ethernet Developers Guide Transmit State Machine continued Description cont
70. a TERE EEA EE PEM S 128 How to Access It 4 ee 5 1 mun ud deals tec ah 128 Schneider Web Utility Home Page 129 Quantum Welcome Page sseees sess 130 Quantum Welcome Page Overview 130 Quantum Welcome Page Links 131 Quantum Local Rack Page vied 6 6 wei eeeta yates wee e s 132 Quantum Local Rack Page Overview 132 Quantum Local Rack Page Links 132 CPU Configuration Screen Page 000 0 eee 133 CPU Configuration Screen Page Overview 133 Description Fields 25 ceto eR E Y o re UR Ces 134 Register Fields 26 xmi yu xe p ed wae E eae DER 134 ASGIlEISIdS x U 245 tns Slee bid debut na TiO Deis ee 134 CPU Configuration Screen Page Links 135 xii 840 USE 116 00 Version 1 0 Contents Ethernet Module Statistics Page 00 136 Ethernet Module Statistics Page Overview 136 Ethernet Module Statistics Page Links 137 Remote I O Communication Status Page 138 Remote I O Communication Status Page Overview 138 Remote I O Communications Status Page Links 139 Quantum PLC Data Monitor Page 00005 140 Quantum PLC Data Monitor Page Overview 140 Quantum PLC Data Monitor Page Links 141 Configure NOE Page 00 cee ee eee ee eee 142 Configure NOE Page Overview
71. age 72 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Concept continued Rep Rate Use this column to specify the lower bound in milliseconds ms between transactions to this node Valid values are 0 65 000 ms 1 min The NOE module takes this value and rounds up to a multiple of 17 ms Since the update of l O is synchronized to the CPU scan if the CPU scan is greater than the configured lower bound then the actual update rate will be at the rate of the CPU scan To obtain the maximum rate specify a zero For example if a user specifies 10 ms then it is rounded up to 17 ms If the controller s scan time is 5 ms then the time between transactions must be greater than or equal to 17 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 Slave column specifies the first 4x register of the remote node to be read The Read Count column specifies the number of registers to read The Read Ref Master column specifies the local address for the read response 4 IP Address Unit Health Rep Read Ref Read Ref Read Write Ref Write Ref Write Description E ID Timeout Rate Master Slave Count Master Slave Count P FB 400001 400050 20 x T Continued on next
72. apter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft continued Health Bits p There is a health bit for each Peer Copped node If Peer Cop Data is successfully communicated within the set timeout the associated bit is set to 1 Otherwise it is set to 0 and all data associated with that group is cleared to 0 You must use the MSTR element with proper sub function code 0009 to retrieve the peer cop health information See Peer Cop Health MSTR Operation in Chapter 6 Note All configured Specific output health bits are initialized to 1 for the first few scans to allow complete synchronization between controller health bit time factor and line latency OnError You have the choice of Clearing CLEAR the last set of received values or Function retaining the last set of received values HOLD if any error is detected DelNode Once Deleted you can re enter node information or you can exit Exit with the node deleted removes it When the DelNode is selected and the Key Verification UPF entry is selected you are prompted to confirm the intent to clear the node The default will be N for NO Pressing Y for YES and Enter Will perform the clear Device IP The IP addresses of the I O devices in the Scan Table are calculated from the Address Modbus Address entered in the Peer Cop Configuration Extension as well as the Generation IP address of the NOE Currently the I O device
73. are displayed in the PLC Configuration screen EPLE Configuration ol x PLC Type 140 CPU 434 12 Available Logic Area 42421 Exec Id 883 Extended Memory 96K Memory Size 64K Ranges Loadables Coils 000001 001536 Number installed 0 Discrete Inputs 100001 100512 Input Registers 300001 300512 Holding Registers 400001 401872 Specials Segment Scheduler Battery Coil Segments 32 Timer Register Time of Day Config Extensions ASCII Data Protection Disabled Number of Messages 0 Peer Cop Disabled Message Area Size 0 Hot Standby Disabled Number of Ports 0 Ethernet 0 Profibus DP 0 Next Next you must configure the number of Ethernet modules that your system will contain 840 USE 11600 Version 1 0 55 Chapter 4 Configuring the Module with Concept Setting the Number of NOEs Introduction Memory Requirements You may configure from two to six Ethernet modules in a single controller depending on the model A 140 CPU 113 or 213 will accept a total of two network option modules including NOE NOM NOP and CRP 811 A 140 CPU 424 434 or 534 will accept six Refer to the table in the I O Scanner Concepts section in Chapter 5 regarding the mix of I O scanners and NOE modules per CPU The first Ethernet TCP IP module configured requires 20 words of memory Each additional module requires an additional 16 words of memory Continued on next page 56 840USE 11600 Versio
74. art count Receiver Statistics Framing Errors OverFlow Errors CRC Errors Receive Buffer Errors Transmitter Statistics Transmit Buffer Errors Silo Underflow Late Collision Lost Carrier Transmit Limit Retries 7042389 52102 To change the polling interval without interrupting communication with the Ethernet module select Messages and choose Poll Interval Read Register Write Register Get Stats Clear Stats Continued on next page 840 USE 11600 Version 1 0 163 Chapter 8 Using the Network Options Ethernet Tester Getting and Clearing Statistics continued Procedure continued Step Action 6 Type the new polling interval in the box provided and click on the OK button Poll Internval x Poll Interval 7 To clear statistics select Messages and choose Clear Stats from the pulldown menu TEENER VVindow Read Register Write Register Get Stats or click on the clear statistics button in the toolbar Continued on next page 164 840 USE 11600 Version 1 0 Chapter 8 Using the Network Options Ethernet Tester Getting and Clearing Statistics continued Procedure continued Step Action When the Clear Statistics dialog box appears Clear Statistics x Polling Interval Cancel E click on the OK button This will bring up the Clear Statistics Request for the connection Clear Statis
75. ase select one of the listed Protocols p Electric r Communication Protocol Fwem E Modbus ATU RS232 E Modbus ASCII RS232 ooe e Click on TCP IP Ethernet Continued on next page 180 840 USE 11600 Version 1 0 Chapter 9 Maintenance The Concept Exec Loader continued Process continued Step Action 3 Click on the Next button Result The EXECLoader TCP IP Target screen is displayed EXECLoader TCP IP Target Click on Direct Device Continued on next page 840 USE 11600 Version 1 0 181 Chapter 9 Maintenance The Concept Exec Loader continued Process continued Step Action 4 Click on the Next button Result The EXECLoader Operation screen is displayed EXECLoader Operation CANDE 771 NOE77100 bin cack nee cose He Click on Transfer EXEC to Device 5 Use Browser to select the file name Continued on next page 182 840 USE 11600 Version 1 0 Chapter 9 Maintenance The Concept Exec Loader continued Process Step Action Click on the Next button Result The EXECLoader File and Device Info screen is displayed EXECLoader File and Device Info Continued on next page 840 USE 116 00 Version 1 0 183 Chapter 9 Maintenance The Concept Exec Loader continued
76. ash log via 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 get crash log Continued on next page 840 USE 116 00 Version 1 0 177 Chapter 9 Maintenance Reading and Clearing the Crash Log continued Clearing the The crash log can be cleared from the Embedded Web Pages see Chapter 7 or Crash Log via FTP Clearing the Perform the following steps to clear the crash log via FTP Crash Log via FTP Step Action 1 Log into the module s FTP Server 2 Change the directory to wwwroot conf diag 3 Perform an FTP rm crash log to delete the crash log file 178 840USE 11600 Version 1 0 Chapter 9 Maintenance Downloading a New NOE Exec Introduction The following tools can be used to download of new NOE Exec Concept Exec Loader FIP These tools provide you with the ability to download a new NOE Exec 840 USE 116 00 Version 1 0 179 Chapter 9 Maintenance The Concept Exec Loader Process The following steps detail downloading a new NOE Exec using the Concept Exec Loader Step Action 1 Activate the Exec Loader program 2 Click on the Next button to start the Exec Loader process Result The EXECLoader Communication Protocol screen is displayed EXECLoader Communication Protocol Schneider Automation EXECLoader Schneider Step 1 Ple
77. caution can result in network disruption leading to possible injury or equipment damage Procedure Perform the following steps to configure the Ethernet Address Parameters Step Action 1 From the Configure menu select Ethernet I O Scanner een Project Online PLC type Memory partitions ASCII setup Modbus port settings Specials Ethernet O Scanner Continued on next page 840 USE 116 00 Version 1 0 63 Chapter 4 Configuring the Module with Concept Configuring the Ethernet Address Parameters continued Procedure continued Step Action 1 Result The Ethernet I O Scanner dialog box appears con t Ethernet l O Scanner r Ethernet Configuration C Shecity IP Addiess Intemet Address 0 0 0 0 Subnet Mask 255 255 255 0 ou Eu Gateway 0 0 0 0 Frame Type ETHERNET II V0 Scanner Configuration Master Module Slot siot 1 140 NOE 771 00 z Copy J Gor ea HeahBlock busqp Dee J Cs BID SI IP Health Rep Read Ref Read Ref Read Write Ref Write des WD rimeoa Ra Meer Sie Leng Mester Slave engu Deeciton L1 2 z 3 x a E 5 x 6 x 7 8 3 10 mm z 12 z 13 z OK Cancel Help 2 To configure new Ethernet address parameters click on the Specify IP Address radio button Ethernet
78. ces The devices will use the assigned IP addresses received from the BOOTP server for all communication occurring on the network Your NOE 771 x0 module comes supplied with a BOOTP server This feature allows you to provide IP addresses to all the I O devices being serviced by the NOE 771 00 Providing a BOOTP server that is built into your NOE 771 x0 module eliminates the need for you to have a dedicated PC on your IO network acting as a BOOTP server Note The NOE 771 x0 s BOOTP server cannot be used to provide it s own IP address You can configure your NOE 771 x0 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 module s non volatile memory Refer to Chapter 7 to learn how to configure the BOOTP server s database 22 840USE 11600 Version 1 0 Chapter 2 Product Description SNMP Introduction Manager Agent Paradigm Simple Network Management Protocol The MIB Network management software allows a network manager to monitor and control network components and thus make it possible to isolate problems and find their causes It allows a manager to interrogate devices such as host computer routers switches and bridges to determine their status and obtain statistics about the networks to which they attach Network management software follows the conventional client server m
79. d is in effect 07 Slave rejected long duration program command Continued on next page 108 840USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction MSTR Function Error Codes continued TCP IP Ethernet Network Errors An error on the TCP IP Ethernet network itself may produce one of the following errors in the MSTR control block Hex Error Code Meaning 04 Interrupted system call 05 I O error 06 No such address 09 The socket descriptor is invalid 0C Not enough memory oD Permission denied 11 Entry exists 16 An argument is invalid 17 An internal table has run out of space 20 The connection is broken 28 Destination address required 29 Protocol wrong type for socket 2A Protocol not available 2B Protocol not supported 2C Socket type not supported 2D Operation not supported on a socket 2b Protocol family not supported 2F Address family not supported 30 Address already in use 31 Can t assign requested address 32 Socket operation on a non socket 33 Network is unreachable 34 Network dropped connection on reset 35 Network caused connection abort 36 Connection reset by peer 37 No buffer space available Continued on next page 840 USE 116 00 Version 1 0 109 Chapter 6 Transfering Data with the MSTR Instruction MSTR Function Error Codes continued TC
80. duction This chapter presents a product overview of the Quantum 140 NOE 771 00 10 100 Megabit Ethernet Module and the Quantum 140 NOE 771 10 FactoryCast Module What s in this This chapter contains the following topics Chapter Topic Page NOE 771 x0 Module Overview 10 LED Indicators 13 Connectors and Cabling 15 l O Scanner 16 Peer to Peer Communications 18 Modbus TCP Server 19 FTP and HTTP Services 20 BOOTP Server 22 SNMP 23 840 USE 11600 Version 1 0 9 Chapter 2 Product Description NOE 771 x0 Module Overview General The Quantum 140 NOE 771 00 10 100 Ethernet module shown below is the latest Description model in a line of Quantum Ethernet TCP IP modules designed to make it possible for a Quantum Programmable Logic Controller PLC to communicate with devices over an Ethernet network The NOE 771 x0 module s electronics are contained in a standard Quantum single width housing that takes up one slot in a Quantum backplane The module can be plugged into any available slot in the backplane and is capable of being hot swapped 1410 EZEAXI NOE 771 00 ETHERNET 10 100 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 NOE 771 10 provides all the services of the 00 except the I O Scanner It also has the following additional features user pro
81. e Ready Coll Link Kernel Appl and Fault indicators For each type of error try the suggested remedies in the order given If no remedy suggested here overcomes the error call your local service representative or call Schneider Electric customer service at 1 800 468 5342 for further directions Certain error codes are recorded in the MSTR block For instructions on how to read and interpret those codes through ProWORX NxT Modsoft or Concept please refer to MSTR Function Error Codes on page 108 Active LED Error When the Active LED fails to light then the NOE 771 00 module is not communicating with with the backplane Perform the following checks Step Action 1 Make sure the NOE 771 module and the controller are installed properly 2 Verify that the controller is functioning If it isn t replace it 3 If neither the new controller nor the NOE 771 module will function replace the backplane Continued on next page 172 840USE 11600 Version 1 0 Chapter 9 Maintenance Responding to Errors continued Active LED Error continued Step Action 4 Make sure that no more than two network option modules including NOE NOM NOP and CRP 811 modules have been installed in the backplane with a 140 CPU 113 or 213 no more than six 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
82. e an integer that counts the number or IP datagrams a device has received is named iso org dod internet mgmt mib iplIn Receives This object name is represented in an SNMP message by assigning each part an integer So the above message would appear as follows 1 3 6 1 2 1 4 3 with each integer having the following meaning 1 ISO International Organization for Standardization 3 identified organization one of branches under the ISO root 6 U S Department of Defense DOD one of the children under branch1 3 1 the Internet subtree under 1 3 6 2 the mgm branch one of seven of the Internet subtree It is T iso 1 org 3 dod 6 a internet 1 directory 1 mgmt 2 experimental 3 mib 2 system 1 interfaces 2 f address ip 4 translation 3 ipForwarding 1 ipDefaultTTL 2 ipInReceives 3 managed by the Internet Assigned Numbers Authority and includes the standard MIBs 1 mib 2 1 group of managed objects 4 ip the mib 2 1 IP group one of 11 3 ipinReceivers the MIB object In the above example the MIB object identified by the notation 1 3 6 1 2 1 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 Continued on next page 24 840 USE 11600 Version 1 0 Chapter 2 Product D
83. e 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 Use the following steps to change an entry in the BOOTP Database File Step Action 1 Enter the new information on the Bootp Node Configuration Page 2 Click on the Change an Entry button Result The a new entry will be made at the bottom of the Database Table and you will get a successful entry message Click on Configure NOE to return to Configure NOE page Click on Configure BOOTP Enter the information to be old information oci o Click on Delete an Entry Use the following steps to delete an entry on the BOOTP Database File Step Action 1 Enter the information for the item to be deleted 2 Click on the Delete an Entry button Result A delete successful message Click on Configure NOE Click on Configure BOOTP Click on Refresh Bootp Database Table to view revised Database file Continued on next page 148 840USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Configure BOOTP Process continued Resetting the To clear the fields in the Bootp Node Configuration Form press the Reset the Form Form button You will then be able to fill in the information of Database File entries to be added changed or deleted Displaying the To display the current BOOTP Database File press the Show Bootp
84. e Username and Password for the NOE 771 x0 board Ur Note The Reboot will take approximately 40 seconds 840 USE 116 00 Version 1 0 45 Chapter 3 Installing the Module Establishing the HTTP Password Modifying the The following step details how to link to the web page that allows the modifying of HTTP Password the HTTP Password Step Action 1 Enter the URL for example http hostname secure embedded http_passwd_config htm Result The user is requested to supply a user name and password Enter Network Password 2 x Please enter your authentication information Cancel Resource NOE_security User name Password Save this password in your password list Upon supplying the user name password and clicking the lt OK gt button the Modify HTTP Server User Name and Password Page appears Note The default User Name is USER and the default Password is USER Both Ur should be changed by the system administrator during module installation Continued on next page 46 840 USE 11600 Version 1 0 Chapter 3 Installing the Module Establishing the HTTP Password continued Modify Web This page is used for modifying the HTTP user name and password Server User Name and Password Page Overview Schneider Electric Modify Web Server User Name and Password New User Name New Password ResetForm Submit Password Change Delete Password File Home Conf
85. e 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 Invoke Identifier This two 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 Protocol Type This two byte field identifies the protocol type Currently the only protocol supported is Modbus Command Length This two byte field is the size of the rest of the message Destination Identifier This one 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 encode clear stats encode read stats encode 196 840 USE 11600 Version 1 0 Appendix B Ethernet Developers Guide Timers and Transaction Processing Timers CSample View requires to periodically receive 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 class receives the timer messages CMainFrame member AddTimerList function will place a window on its timer list When CMainFrame processes the WM TIMER message i
86. ed to See LED Indicators in this chapter IP Address Writable Provides a writable area to record the module s assigned IP Area address Global Address Label Indicates the module s global Ethernet MAC address assigned at the factory 100 BASE FX Provides an MT RJ receptacle for connection to a 100 Connector megabit fiber optic Ethernet cable 10 100BASE T Provides an RJ 45 receptacle for connection to a shielded Connector twisted pair Ethernet cable Continued on next page 840 USE 116 00 Version 1 0 11 12 Chapter 2 Product Description NOE 771 x0 Module Overview continued Front View The front of the NOE 771 00 Ethernet module is shown below The 140 NOE 771 10 is identical with the exception of the Module Description which reads 140 NOE 771 10 FactoryCast Model Number Module Description NOE 771 00 Ethernet 10 100 Color Code era Run Coll Link LED Display ue 10MB Removable Door 100MB Fduplex Kernel Appl L E mmm IP Address Writable Area Global Address Label 100 Base Fx MT RJ Cable Connector 10 100 Base T RJ 45 Cable Connector 840 USE 11600 Version 1 0 Chapter 2 Product Description LED Indicators LED Indicator Panel The LED indicator panel shown below provides continuous operating information about the NOE 771 x0 module and
87. ed 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 CMainFram class processes the window timer message WM TIMER OnPolllnterval examines the transmit 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 200 840USE 11600 Version 1 0 Appendix B Ethernet Developers Guide Receive State Machine Description The receive state machine receives a response to a transaction by first reading the header determining the size of the rest of the message and then reading the body of the message The different states of the receive state machine are as follows RX HEADER In the RX HEADER state the receive machine is receiving the message header hRX BODY In the RX HEADER state the receive machine is receiving the response message associated to the requested transaction 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 a FD
88. ends on the number of flashes in sequence of Flashes in Sequence Action Three Check Ethernet connection Four Change IP address Five Provide IP address Six Connect using default IP address and configure Seven 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 will light indicating that an entry has been made in the crash log To learn how to read and clear the crash log refer to the section below 176 840USE 11600 Version 1 0 Chapter 9 Maintenance Reading and Clearing the Crash Log Introduction Ur The Crash Log Reading the Crash Log Reading the Crash Log via FTP 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 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 advance diagnostics The crash log is one of the tools used to solve complex problems If the Appl indicator is lit entries have been made in the crash log The log may hold up to 64K of entries The crash log can be read from the Embedded Web Pages see Chapter 7 or via FTP Perform the following steps to access the cr
89. 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 then 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 window 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 then 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 then rx msg just returns For any other recv function error rx msg closes the socket and sets the transmit state to IDLE 202 840 USE 11600 Version 1 0 Appendix B Ethernet Developers Guide Displaying on the Screen Description CSample View m display member indicates the display type The different types of the displays and the CSample View member functions for showing the display are as follows 1 Displaying the connection state The different connection states displayed are IDLE RESOLVING NAME and CONNECT
90. er Automation Page Overview 155 Chapter 8 Using the Network Options Ethernet Tester 157 Installing the Network Options Ethernet Tester 158 Introduction 2 entes EUER ee eR SUK 158 Installation Procedure lsssllssss 158 Establishing a Connection with an Ethernet Module 159 What You Must Know silua RR RR RES 159 Getting and Clearing Statistics 0 162 PIOCCOUIG E erada a eie n i MINE Palau d esr eles 2 V X oe 162 SISOS ee excu ee ALT ILIA ETT AD MEE 166 Statistics Description ERE RE eee 166 Reading Registers cece eee ee eee 168 Reading Registers Procedure 0000 168 Writing Beglsters 2t exem ane mE ea eau dac us 169 Writing Registers Procedure sllssss 169 Read or Write Request Error 170 Chapter 9 Maintenatice icine cede doa ex eR Re aen 171 Responding to Errors Tes v ER VY ed yee bee ene oie 172 Detecting Errors o v eos t tet ce verto t Ce aa 172 Active LED Error Rl RRE REP AES 172 Ready LED Error siepe mm dota Evi e seri rt Rd 173 Link LED Error 0 000000 000 e eee eeee 173 Kernel LED Error scu up LRL aie UR a Rhee eee 174 ESUIUDEDUSS s Lou eoe ru e asas 174 Collision LED Error sued e ERR nage hs 175 Collision LED Normal Condition 176 RUM LED bie Co tee qe ER I t 176 Application LED iietra mme Me A 176 xiv 840 USE 116 00 Version 1 0
91. er configures with the Concept 2 2 ProWORX NxT 2 1 or Modsoft programming panel This allows the user a way to configure data and transfer it between network nodes without using the MSTR instruction The I O Scanner is a feature of the NOE module which allows the reading and or writing to Input Output devices repetitively The I O scan list is a configuration table which identifies the targets with which repetitive communication is authorized The list contains enough information for each target to construct the Modbus message addressed to that particular remote device and to designate where on the local controller the input and output data is to be mapped at the end of the scan While the controller is running the NOE module transfer data to and from the controller s registers and coils as indicated by the I O scan list The user configures the I O scan list with the Concept ProWORX NXxT or Modsoft programming panel There can be multiple instances of the I O scan list Peer Coop restrictions apply The individual scan lists for each module are identified by the Quantum backplane slot number where the NOE is installed Continued on next page 68 840USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner l O Scanner Concepts continued 1 0 Scanner The following defined terms are used to describe the I O Scanner operation Definitions Term Definition Scan List The list of input and
92. erify the MAC address of the target device before invoking BOOTP Lite If you do not enter the correct parameters of the target controller 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 observe this precaution can result in injury or equipment damage Instead of a BOOTP server Schneider Electric s BOOTP Lite utility software can be used to provide the IP address subnet mask and default gateway to the NOE 771 x0 module Refer to the BOOTP Lite user documentation for instructions Note BOOTP Lite and the user document are available for download at www modicon com 49 840 USE 11600 Version 1 0 Chapter 3 Installing the Module 50 840 USE 11600 Version 1 0 Configuring the Module with Concept 4 At a Glance Introduction This chapter describes how to configure the NOE 771 module from your programming panel using Concept 2 2 or later This is used to configure the module s IP parameters 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 with the module s default IP address What s in this This chapter contains the following topics Chapter Topic Page Selecting your PLC 52 Setting the Number of NOEs 56 Accessing and Editing the I O Map 59 Configuring the Ethernet Address Parame
93. ers to write and the write data It is derived from the Cdialog class The dec laration 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 16 CAboutDlg The CAboutDlg class is the dialog class for about Both the dec laration and its implementation are in the sam app cpp file 840 USE 116 00 Version 1 0 193 Appendix B Ethernet Developers Guide The CSample doc Class Description 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 tool 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 194 840USE 11600 Version 1 0 Appendix B Ethernet Developers Guide The CSample View Class What it Does Accessing TCP IP
94. ersion 1 0 167 Chapter 8 Using the Network Options Ethernet Tester Reading Registers Reading To read registers from the Ethernet module using your Network Options Ethernet Registers Tester perform the following steps Procedure Step Action 1 Establish a connection with the Ethernet module see procedure on page 2 Select Messages from the main menu 3 Choose Read Register from the pulldown menu or click on the read register button in the toolbar The Read Register dialog box will appear 4 Type in a polling interval the number of seconds between transactions in the Polling Interval box Read Registers x Polling Interval E Cancel Starting 4X Register 1 Number of registers to read ms 5 Type in the number of the first 4x register you want to read in the Starting 4x Register box When typing the 4x register number omit the leading 40 or 400 as shown in the figure above 6 Type in the number of register to read in the Number of registers to read box 7 Click on the OK button The register values will be displayed 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 168 840USE 11600 Version 1 0 Chapter 8 Using the Network Options Ethernet Tester Writing Registers Writing Registers Procedure To write registers from the Ethernet module using y
95. escription SNMP continued SNMP Protocol Data Units GetRequest PDU SetRequest PDU Trap PDU 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 As the following figure shows the SNMP message is the innermost part of a typical network transmission frame IP Local UPD SNMP Local Header Network Header Message Network Header Trailer Version Community GetRequest SetRequest or Trap PDU The PDUs within the SNMP initiate the communication between the manager and the agents The SNMP installed on your NOE 771 00 module uses three PDUs GetRequest SetRequest e Trap The GetRequest shortened to Get PDU is used by the SNMP manager to retrieve the value of one or more objects OIDs from an agent The SetRequest shortened to Set PDU is used by the SNMP manager to assign a value to one or more objects OIDs residing in an agent The Trap PDU is used by the agent to alert the manager that a predefined event has occurred Continued on next page 840 USE 116 00 Version 1 0 25 Chapter 2 Product Description SNMP continued Version amp Community Identifiers What can be Configured The version identifies the version number of the SNMP software being used by the manager and the agent Your NOE 771 x0 supports Version 2 of the SNMP The community is an identifier that you assign t
96. f Word Information Status Index Bit To Network Node Relationship continued Global inp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 O O 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Specific ag 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Output 5 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 6 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 7 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 SP ean zg 16 15 14 13 12 11 10 9 8 7 6 514 3 2 1 Input 9 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 10 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 11 64 63 62 61 60 59 58 57 56 55 54 53 52151 50 49 Continued on next page 118 840 USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Peer Cop Health MSTR Operation continued Peer Cop The state of a Peer Cop health bit reflects the current communication status of its Communications associated node Health Bit State A health bit is set when data is successfully exchanged with its corresponding node A health bit is cleared when no communication has occurred with the corresponding node within the configured Peer Cop health time out period Allhealth bits are cleared at PLC start time The health bit for a given node is always zero when its associated Peer Co
97. f a fixed number of I O points 1 0 Scan A procedure the processor follows to monitor inputs and control outputs I O Scan List A configuration table which identifies the targets with which repetitive communication is authorized L layer In the OSI model a portion of the structure of a device which provides defined services for the transfer of information M MAC Address Media Access Control address The hardware address of a device AMAC address is assigned to an Ethernet TCP IP module in the factory MBAP Modbus Application Protocol Modbus A communication system that links Modicon controllers with intelligent terminals and computers over common carrier or dedicated lines Modsoft A software package that facilitates programming the NOE module MSTR A special master instruction which uses ladder logic to read and write controller information N NACK Negative acknowledgment indicating an error network Interconnected devices sharing a common data path and protocol for communication 224 840 USE 116 00 Version 1 0 Glossary node NOET OSI model P packet Peer Cop PING port protocol PLC ProWORX NxT R repeater An addressable device on a communications network Network Options Ethernet Tester Open System Interconnection model A reference standard describing the required performance of devices for data communication Produced by the International Standards Organization The unit of data sent across a netw
98. g Extension screen appears Configuration Extensions x 7 contig Extensions 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 Cancel Continued on next page 840 USE 11600 Version 1 0 85 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Setting the Number of NOE s and Step Action Configuring the 2 Click the Add Extension button Ethernet Address Result The Add Configuration Extension dialog box appears Parameters continued Data Protection 5980 Address Peer Cop TCP IP Profibus SY MAX 3 Select TCP IP from the list and click the OK button Result The TCP IP Configuration Extension is added to the left menu of the Configuration Extensions screen Configuration Extensions Words Used 00101 01000 Descriptor OK Cancel Continued on next page 86 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Setting the Number of NOE s and Confi
99. g a new value in the Expansion Size field or by adjusting the sliding scale next to the field 5 Click the OK button 840 USE 11600 Version 1 0 93 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft Introduction The Peer Cop input screens in the Modsoft program will be used to configure the I O scan list The Peer Cop configuration extension allows you to configure certain continuous fixed format communications between the controller in which its is defined and all other nodes on the same subnet Each Peer Cop configured communication specifies a source data block The source data block is of fixed location and length and is continuously moved to a fixed destination data block This data transfer type is useful for transferring state information between controllers and for communicating with slave devices on the Ethernet Peer Cop communication is not appropriate for sequence dependent communication that must be performed exactly once The standard MSTR element is used for those logic dependent requirements with certain restrictions Like the I O Map the Peer Cop can only be configured with the controller stopped Once the PLC is configured and started the transfers are performed automatically A menu item in the Peer Cop is available to delete the current node on the screen A warning is given and the node is deleted if Y is answered If the last node
100. g the Web Utility Home Page 128 Quantum Welcome Page 130 Quantum Local Rack Page 132 CPU Configuration Screen Page 133 Ethernet Module Statistics Page 136 Remote I O Communications Status Page 138 Quantum PLC Data Monitor Page 140 Configure NOE Page 142 Configure SNMP Page 143 Configure BOOTP Process 146 NOE Properties Page 151 NOE Diagnostics Page 152 Crash Log Diagnostics Page 153 Contacting Schneider Automation Page 155 840 USE 116 00 Version 1 0 127 Chapter 7 Embedded Web Pages Accessing the Web Utility Home Page Introduction Each Quantum 140 NOE 771 x0 10 100 Megabit Ethernet module contains a World Wide Web embedded server that allows you to access diagnostics and online configurations for the module and it s associated controller PLC Pages on the embedded web site display configurable menus for the BOOTP server and SNMP the Ethernet statistics for the node crash file log statistics the controller s configuration Controller Status on menu the controller s register values the status configuration and register values of remote I O the status configuration and register values of distributed I O The web pages can only be viewed across the World Wide Web using version 4 0 or greater of either Netscape Navigator or Internet Explorer both of which support JDK 1 1 4 or higher For information on the additional functionality provided by the FactoryCast system in the 140 NOE 771 10 module
101. grammable web pages the FactoryCast application including o creating and viewing of graphic real time templates using Java beans o creating and viewing of text real time templates in spreadsheet format o use of Concept symbols or direct addresses Continued on next page 10 840USE 11600 Version 1 0 Chapter 2 Product Description NOE 771 x0 Module Overview continued Key Features Front Panel Components The NOE 771 x0 module provides the following key features Integrated 10 100BASE TX full duplex capable shielded twisted pair port Integrated 100BASE FX multimode full duplex capable fiber optic port Embedded HTTP server BOOTP client and server SNMP V2 agent Flash file system Modbus I O scanner 00 only Field upgradeable software over TCP IP Modbus TCP client Modbus TCP server User Programmable Web Pages 10 only FactoryCast Application 10 only The front panel of NOE 771 x0 module contains identification marking color code and LED display A writable area for an Internet Protocol IP address a global address label and two Ethernet cable connectors are located behind the removable front panel door The following table provides a description of the front panel components which are shown on the opposite page Component Description LED indicator Panel Indicates the operating status of the module and the fiber optic and Modbus communications networks it is connect
102. guring the Ethernet Address Parameters continued Step Action 4 Click the TCP IP Config Extension in the left menu Result The details of the TCP IP configuration appear on the right of the Configuration Extension screen Config Extensions L x DZE Card Number 1 5 Head Number 0 Internet Address Sub Network Mask Gateway Address Words Used 00101 01000 Descpto 0 0 0 ox cmon 5 Select the Card Number Rack Number by pressing the E Card Number n button in the Card Number combo box 6 Complete the fields for each Card Number The Head Number text box represents the Rack in which the NOE 771 module is located Click the lt OK gt button when complete Continued on next page 840 USE 11600 Version 1 0 87 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NXxT continued Setting Up the O Scanner Using ProWORX NxT At this point you are ready to set up the I O Scanner The I O Scanner provides data transfer between two 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 follow the steps below to do the following Specify the specific I O groups to be scanned Configure the transaction parameters Set the hardware clock for when the data is to be collected
103. has been received OnTcplpRead sets the number of bytes received to zero 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 then OnTcplpRead changes the receive state to RX BODY However if either transaction identifier does not match or the protocol is not MODBUS then OnTcplpRead changes the receive state to DUMP BODY 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 then 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 then OnTcplpRead has read the response to a transaction OnTcplpRead saves the results and invalidates the client area which causes the results to be display 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 OnTcplpRead is called and the receive state is DUMP BODY OnTcplpRead calls rx msg with receive size
104. he module attempts to recover 140 NOE 771 00 ETHERNET TCP IP Active Fault 174 840 USE 116 00 Version 1 0 Chapter 9 Maintenance Responding to Errors continued Collision LED If the twisted pair cable has not been connected properly the Coll LED will shine Error steadily and the Link LED will be extinguished This condition does not occur with fiber optic modules 140 NOE 771 00 ETHERNET TCP IP Active Ready Coll Perform the following checks Step Action 1 Make sure the cable has been installed properly and is working properly 2 Verify that the Ethernet hub switch is functioning properly Continued on next page 840 USE 116 00 Version 1 0 175 Chapter 9 Maintenance Responding to Errors continued Collision LED If the Coll LED is flashing the module is reporting Normal collisions on the Ethernet network While such Condition 140 collisions are normal the fre quency of the flashes NOE 771 00 is an indication of the volume of traffic on the ETHERNET TCP IP network The flashes may be so frequent that the Active LED appears to be shining steadily Heavy traffic Ready will slow communications If response time is Bun Coll important to your application you should consider Link segmenting your network to reduce the frequency of collisions Run LED The following table indicates the action to be taken if the Run LED is flashing The action dep
105. he remote side To send the message TransmitMessage enters a loop In the body of the loop transmit message calls the window socket DLL send function The following lists the outcomes of the send function and the actions taken The message was sent successfully TransmitMessage changes the transmit state to TX_DONE and exits the loop Only part of the message was sent TransmitMessage reenters the loop 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 Send function returns some other error TransmitMessage closes the connection changes the transmit state to IDLE and exits the loop Continued on next page 840 USE 116 00 Version 1 0 199 Appendix B Ethernet Developers Guide Transmit State Machine continued Description continued 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 which is described below 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 sav
106. ies 840 USE 11600 Version 1 0 137 Chapter 7 Embedded Web Pages Remote I O Communication Status Page Remote I O Communication REMOTE VO COMMUNICATION STATUS Status Page Overview Global Status OK Cable aj OK Global Heatth 0K cCabeB NXOK Description Cable A Cable B LAN Errors Cable A Cable B Startup Errors 0 0 Short Frame 0 0 Framing Errors o 0 No EOF 0 0 DMA Receive Overruns o 0 CRC 0 0 Receive Errors 0 0 Alignment 0 0 Bad Drop Reception o 0 Overruns 0 0 Global Communications Cable amp Cable B Global Communication Status OK Not OK Global Communication Health OK Detected Error Count 0 0 Lost Communications Count 3840 Global No Response Count 200 Total Retry Count 5 Home Configured Local Rack Controller Status Ethernet Statistics Graphic Editor Data Editor FactoryCast Schneider Automation Inc 1998 1999 P Note The Graphic Editor Link is only available on the 140 NOE 771 10 This page is for information only There are no fields you can change The following tables discuss the information supplied for each cable For more information concerning the Remote I O Communications Status see the RIO Manual 890 USE 101 00 138 840USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Remote I O Communication Status Page continued Remote I O The following table details the links on the Remote I O Communication Status Communications Page Status Page Links Link Res
107. ignment is 0 meaning Modbus Application Protocol 212 840USE 11600 Version 1 0 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Reference Documents Introduction The following reference documents may prove helpful to you 1 ANSIJEEE Std 802 3 1985 ISO DIS 8802 3 ISBN 0 471 82749 5 May 1988 2 ANSI IEEE Std 802 2 1985 ISO DIS 8802 2 ISBN 0 471 82748 7 Feb 1988 3 RFC793 TCP Transmission Control Protocol DARPA Internet Program Protocol Specification Sep 1981 4 RFC 791 IP Internet Protocol DARPA Internet Protocol Specification Sep 1981 5 RFC826 An Ethernet Address Resolution Protocol ARP David Plummer NIC Sep 1982 6 RFC1042 A Standard for the Transmission of IP Datagrams over IEEE 802 2 Networks Postel amp Reynolds ISI Feb 1988 7 RFC 792 ICMP Internet Control Message Protocol DARPA Internet C Control Message Protocol Specification Jon Postel Sep 1981 8 RFC951 BOOTSTRAP PROTOCOL BOOTP Bill Croft and John Gilmore September 1985 9 RFC783 The Trivial File Transfer Protocol TFTP rev 2 K R Sollins MIT June 1981 840 USE 116 00 Version 1 0 213 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol 214 840USE 11600 Version 1 0 NOE 771 00 Module I O Scanner Performance Statistics D At a Glance What s in this Appendix This appendix covers the following topics Topic Page 140 NOE
108. igure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved Change the At this point the system administrator should change the Username and Password Username and to restrict future access to the system The steps to do this are Password Step Action 1 Type in the new Username in the New User Name block 2 Type in the new Password in the New Password block 3 Click on the Submit Password Change button Continued on next page 840 USE 116 00 Version 1 0 47 Chapter 3 Installing the Module Establishing the HTTP Password continued Modify Web The following message is generated when you click the Submit Password Change Server Username button and Password Page Message Schneider y Electric 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 Clicking the Reboot Device button will reset the Username and Password for the NOE 771 x0 board Ur Note The Reboot will take approximately 40 seconds 48 840 USE 11600 Version 1 0 Chapter 3 Installing the Module Using BOOTP Lite to Assign Address Parameters AN BOOTP Lite Utility CF CAUTION INCORRECT MAC ADDRESS HAZARD Be sure to v
109. ils For 1x coils it must Health Block 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 one the remote device is healthy It the health bit is 0 zero the remote device is unhealthy Each row that is configured is mapped to a bit position as shown below Word 1 Bit Positions 1 2 3 4 5 6 7 8 9 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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Starting Location To specify the starting 1x 3x location of the Health Block enter the desired address of Health Block into the Health Block text box as shown below Ethernet l O Scanner Ethernet Configuration 1 0 Scanner Configuration Enter Health Master Module Slot stor 1 140 NDE 771 00 Block Address Her Health Block 15 25 ibd Slave IP Health Rep Read Address Timeout Rate Mas EM 9 840 USE 116 00 Version 1 0 75 Chapter 5 Transfering Data with the I O Scanner Completing the I O Configuration Introduction This section describes how to complete your Ethernet I O configuration using the Copy Cut Paste Delete Sort and Fill Down
110. in the cip dlg cpp file Both of these files were generated by The Visual C class wizard ClrStatsDlg The ClrStatsDlg 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 The Visual C class wizard Continued on next page 192 840 USE 11600 Version 1 0 Appendix B Ethernet Developers Guide Class Descriptions continued List of Classes 14 CReadDlg The CReadDlg class is the dialog class for determining the regis continued ters 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 15 CWriteDlg The CWriteDlg class is the dialog class for determining the regis t
111. inued If the remote node is an IP address or if it s a name that has been resolved then CSample View tcpip connect rq 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 rg succeeded in initiating a connect request then tcpip connect rq changes the transmit state to CONNECTING otherwise it changes the transmit state to IDLE The window sockets DLL generates a 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 Recall that MFC architectural framework calls CSample_View OnPolllnterval member function to processes 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 TransmitMessage attempts to send a message to t
112. iple 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 Inside Visual C Second Edition David J Kruglinski Window Sockets An Open Interface for Network Programming under Microsoft Windows Version 1 1 The sample application performs the following steps 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 Encodes the request The request consists of a header followed by a Modbus message The header contains an invoke identifier a protocol type the command length and a destination identifier e Invoke Identifier Protocol Type Command Length Destination ID Modbus Message Calls the window socket function send to transmit the request to the remote node Calls the window socket function recv to receive the response from the remote node Calls the window socket function closesocket to close the connection and release the socket The winsock lib import library provided by the installation is used to link the window Socket calls Continued on next page 190 840USE 11600 Version 1 0 Appendix B Ethernet Developers Guide Overview
113. is deleted a window opens to allow entry of a node This condition is identical to the initial screen of an empty Peer Cop Continued on next page 94 840USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft continued Current The following table describe the limitations of the operating parameters as well as Limitations the recommended settings for other parameters Parameter Limitation Special Recommendation Maximum Input Length 32 Words Maximum Output Length 32 Words Total I O Scan Data Length 500 Words IP Address An I O device is currently limited to having an IP address in the form of AAA BBB CCC DDD where AAA BBB CCC are the same as the NOE s IP address and the subnet address of DDD is limited to 1 64 Operation thru a Modbus Plus to Ethernet bridge Not supported Destination ID Not user supportable fixed at 0 Storage Before selecting Peer Cop from the Cfg Ext pulldown list you must use ExtSize to Requirements set the memory storage requirements Ur Note The remainder of the CfgExt pulldown functions remain disabled until the ExtSize is set Continued on next page 840 USE 116 00 Version 1 0 95 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft continued Storage Requirements continued AN Specific Input Output Configura
114. is not connected or is defective four Duplicate IP address The module will stay off line 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 14 840 USE 11600 Version 1 0 Chapter 2 Product Description Connectors and Cabling 10 100 BASE T Twisted Pair Connector 100 BASE FX The NOE 771 x0 module s 10 100 BASE T connector shown below is a standard RJ 45 twisted pair receptacle n Schneider Automation 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 Receive Data 3 Receive Data 6 Transmit Data 1 2 Transmit Data The NOE 771 x0 module s 100 BASE FX connector is a MT RJ receptacle with it s mating fiber optic cable connector see figure on page 4 For the NOE 771 x0 you may need an MT RJ to SC Duplex Multimode fiber optic cable assembly 62 5 125um Schneider Electric recommends Cable Number 490NOC00005 to connect to fiber hubs switches Note The NOE 771 x0 is a one 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 both at the same time 840 USE 116 00 Version 1 0 15 Chap
115. istics information as described in the following table Register Function Content Displayed Operation Type 7 First implied Error status Displays a hex value indicating an MSTR error when 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 Specifies 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 Destination Each register contains one byte of the 32 bit IP implied address 114 840 USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Clear Remote Statistics MSTR Operation Introduction Control Block Utilization The Clear Remote Statistics operation operation type 8 in the displayed register of the top node 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 The registers in the MSTR control block the top node contain the Clear Remote Statistics information as described in the following table Register Function Content Displayed Operation Type 8 First implied Error status Displa
116. ke xcoxxx 000001 001536 Total Words p Extended Memory Kh 0 box 100001 100512 Total Messages D Total Memory Bytes 8192 3eoox 200001 300048 Words Used pooo VO Map Words 512 doon 400001 401872 Messages Used pO Segments fl s None AwieWeds DCP Drop ID D Batery Coil D Available Messages 0 Memory Protect Off Timer Register 4A amp ASCIIPoris o Ss Constant Sweep off Time of Day Clock amp ASC Inputs p Optimize No Stopped Codes 030200 aSCHOupus CS Home Configured Local Rack Ethernet Statistics RIO Status Data Monitor Copyright 1999 Schneider Automation Inc All rights reserved The top eight fields identify the CPU Configuration See the following tables for further information on the content of the other fields Continued on next page 840 USE 116 00 Version 1 0 133 Chapter 7 Embedded Web Pages CPU Configuration Screen Page continued Description Fields Register Fields ASCII Fields Field Information Supplied System Memory Kb Amount of system memory used Extended Memory Kb Amount of Extended Memory used Total Memory Bytes 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 Memory Protect Position of the Memory Protect Switch Constant Sweep Curre
117. lcome Page Configure NOE Provides the ability to configure and change the NOE through the Ethernet Configuration Page NOE Properties Provides information on 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 Continued on next page 144 840 USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Configure SNMP Page continued Completion Clicking on the Update SNMP button results in a new page with the following Message message Schneider y Electric Ethernet Configuration Successfully updated SNMP database Home Confiqure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Scn der Automation Inc All rights reserved The NOE module has to be reset for the changes to take effect This page contains the same links as the Configure SNMP Page 840 USE 116 00 Version 1 0 145 Chapter 7 Embedded Web Pages Configure BOOTP Process Configure he BOOTP Database File does not exist this page will display so a BOOTP BOOTP Initial Database File can be created Page Schneider y Electric Ethernet Configuration No Bootp Database File exists Please click button to configure it Configure Bootp Entry Home Confiqure NOE NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved
118. le has received an IP address It can be used with version 4 0 or greater of either the Internet Explorer or Netscape browsers and allows you to see module Ethernet statistics controller and I O information BOOTP server information The HTTP server s HTML pages allow you to configure the module s BOOT 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 via the Configuration page on the NOE 771 x0 s Web Embedded Pages see Chapter 3 The NOE 771 x0 supports a maximum of 32 HTTP instantaneous connections Note Browsers may open multiple connections so 32 HTTP connections does not indicate 32 simultaneous users Note The NOE 771 00 module does not support user downloaded Web pages You will need to purchase the 140 NOE 771 10 module in order to support that requirement 840 USE 116 00 Version 1 0 21 Chapter 2 Product Description BOOTP Server Introduction Your NOE BOOTP Server Cr 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 and a BOOTP server that receives the requests will extract the required IP address information from its database and place it in BOOTP response messages to the requesting devi
119. le menu select New Result The New dialogue box appears L2 x Endo Lx c prowors nxt Cancel noe77100 dcf Ayes noepri1 def E proworx N etwork Cx nxt Jue E bmp demodb drawings List files of type Drives Nxt file dcf amp J c garysea Continued on next page 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT continued Selecting Your PLC continued Step Action Type a file name in the File Name text box Select the drive from the drop down box labeled Drivers Select the file folder where you want to save the new database labeled Folders Press the lt OK gt button Result The Database Setup screen appears Database Setup x _ M Page Header Ree S S Cie Author Controller Address Descriptor Field Width 12 Network 0001 Row 1 Column 01 Number of Descriptor Fields 5 Confirm Address on Entry Yes C No No of Network Listing Fields 3 zl ox cm Lose Fill in the text boxes as you require Press the OK button Result The Select Controller Type dialog box appears Select Controller Type Quantum Quantum 534 peo pe pum Continued on next page 840 USE 11600 Version 1 0 81 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan
120. lectric Contacting Schneider Automation Merlin Gerin There are numerous ways to reach us for assistance SquareD Technical Information 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 within your email to assure a immediate response Feedback Thoughts comments ideas about our site Please let us know by contacting us at feedback modicon com U S Sales Offices Click here to look up a location of a Sales Office in the US Home Configure NOE NOE Properties NOE Diagnostics Copyright 1999 Sdimeider Automation Inc All rights reserved 840 USE 11600 Version 1 0 155 Chapter 7 Embedded Web Pages 156 840 USE 116 00 Version 1 0 Using the Network Options Ethernet Tester At a Glance Introduction What s in this Chapter This chapter describes how to use the Network Options Ethernet Tester with a Windows based PC to monitor the network by supplying you with operational statistics and to provide the capability of reading and writing PLC registers This chapter contains the following topics Topic Page Installing the Network Options Ethernet Tester 158 Establishing a
121. lso described here Chapter 6 Describes how to transfer data to and from nodes on a TCP IP Transferring Data with network through the use of a special MSTR master instruction the MSTR Instruction The operational statistics and error codes for reading and writing the controller information are also included Chapter 7 Discusses how to use an embedded web server to access Embedding Web diagnostics and through embedded web pages view and change Pages configurations of the module and its associated controller PLC Chapter 8 Describes how to use the Network Options Ethernet Tester with a Using the Network Windows based PC to monitor the network by supplying you with Options Ethernet operational statistics and providing the capability of reading and Tester writing PLC registers Chapter 9 Describes how to obtain information for system maintenance Maintenance including accessing and clearing the crash log and downloading the new NOE Exec Continued on next page 4 840USE 11600 Version 1 0 Chapter 1 Introduction About this Manual continued Appendices The manual contains the following Appendices Appendix Description Appendix A Describes the main specifications for the Quantum 140 NOE 771 NOE 771 x0 Module Ethernet Module Specifications Appendix B Describes a sample TCP IP application named Network Options Ethernet Developers Ethernet Tester NOET used to verify the installation of the Guide Quantum Etherne
122. monitor Via web server 140 Port numbers By protocol 33 ProWORX NxT Configuring I O Scan List 79 Setting number of NOEs 85 R Remote I O communications status Via web server 138 S Security Protocol port numbers 33 Types of firewalls 33 Selecting Your PLC Using ProWORX NxT 80 Setting the Number of NOEs Using Concept 56 Using ProWORX NxT 85 SNMP Configure via web server 143 Features 23 Protocol Data Units 25 Storage Requirements I O Scan List 95 System Requirements Minimum 6 T TCP IP Broadcast addressing 212 TCP IP Ethernet Error codes 108 TCP IP Ethernet statistics 125 Traffic Cop Configuring I O Scan List 83 Transferring Data With the I O Scanner 67 Twisted pair cables Length 30 Web server Accessing 41 Accessing the home page 128 Configure BOOTP 146 Configure NOE 142 Configure SNMP 143 CPU configuration fields 134 CPU configuration screen 133 Crash log diagnostics 153 Embedded web pages 127 Ethernet module statistics 136 Features 128 Home page 129 Internet Explorer 128 Netscape Navigator 128 NOE diagnostics 152 NOE properties 151 Password request 129 PLC data monitor 140 Quantum local rack page 132 Remote I O communications status 138 Support information 155 Welcome page 130 Welcome page links 131 232 840 USE 116 00 Version 1 0
123. n 1 0 Chapter 4 Configuring the Module with Concept Setting the Number of NOEs continued Procedure From the PLC Configuration screen follow the steps below to select the number of NOE modules Step Action 1 From the Configure menu select Config extensions or double click anywhere in the Config Extensions region of the screen Configure dla access protectione Hot stanquy EAEN ESH Po setings teret dr Scannen Result The Configuration Extension dialog box appears next page Continued on next page 840 USE 11600 Version 1 0 57 Chapter 4 Configuring the Module with Concept Setting the Number of NOEs continued Procedure continued Step Action 2 In the TCP IP Ethernet scroll box select the number of NOE modules to be configured Configuration Extensions X Data Protection TCP IP Ethernet 1 fa Symax Ethernet 0 M 1EC Hot Standby MMS Ethernet 0 M 984 Hot Standby Profibus DP 0 M 3 Click on the lt OK gt button Result The Ethernet status changes from 0 to the number selected in Step 2 Config Extensions Data Protection Disabled Peer Cop Disabled Hot Standby Disabled Ethernet 1 Profibus DP 0 Next Next you need to create an I O map for the NOEs in your configuration 58 840 USE 11600 Version 1 0 Chapter 4 Configuring the Module with Concept Accessing and Editing the I O Map I
124. nction tcpip setsocket options calls WSAAsyncSelect function The different events are given by the following table 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 Continued on next page 840 USE 116 00 Version 1 0 195 Appendix B Ethernet Developers Guide The CSample View Class continued Accessing TCP IP continued Application Message Format 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 Like all functions which 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 Event Member Function FD READ OnTcplpRead FD_WRITE OnToplpWrite FD OOB OnTcplpOob FD_CONNECT OnTcplpConnect FD CLOSE OnTcplpClose TCP IP transmits a message as a stream There is no indication of the start of a message nor th
125. nd IBM ATO are registered trademarks of International Business Machines Corporation Microsoft and MS DOS and Windows are registered trademarks of Microsoft Corporation Copyright 1999 Schneider Electric Printed in U S A 840 USE 116 00 Version 1 0 840 USE 116 00 Version 1 0 Contents ED Chapter 1 Chapter 2 Introduction s rover a be has Riera 1 About this Manual L 242 necrsim i pro x atta Sos ape wo Roe rV RE RES 2 Document Scope ved nine bv RS Wee oa ead dE 2 Who Should Use this Manual 000 3 How this Manual is Organized llus 4 Appendices x23 wc eR eaa i RE Ives tat UT 5 System Requirements sslleeessellleesn 6 Minimum System Requirements sss 6 Related Documentation and Customer Support 7 Related Paper Documentation a a aa aaaea 7 Related Electronic Documentation 7 Customer Support 44 tana nha h ERRORS REI RAS Leeds 7 Product Description lsslee s sse 9 NOE 771 x0 Module Overview leeeess 10 General Description llllllsslleessn 10 Key Feat res o coser we st e Roc ere te CH S 11 Front Panel Components sllllles esses 11 Front View is shoo oe ee eoe awe us Pas blak Bas 12 LED Indicatots i sus RE VERE pee Ex eek Rer 13 LED Indicator Pariel 3 xem ExIYGI ex x XR 13 Bun LED Status oet eost xt c rtp cs 14 840 USE 116 00
126. nd clearing statistics 162 Installation 158 Network options 158 Reading registers 168 Requirements 159 Statistics description 166 Writing registers 169 F FactoryCast Features 10 FTP Downloading a new NOE Exec 185 Services 20 H Health Block Configuring for I O Scan List 75 Health Timeout I O Scanner 72 HTTP Services 21 1 0 Map Access and Edit 59 O Scan List 68 Configuring Using Modsoft 94 Configuring Using ProWORX NxT 79 Configuring with Concept 68 I O Scanner Definitions 69 Introduction 68 Modules supported 71 Performance statistics 215 Installing NOE 771 x0 27 L Ladder Logic Diagram MSTR 106 LED Active error 172 Collision error 175 Fault error 174 Kernel error 174 Link error 173 Ready error 173 LED Indicators Panel 13 Run Status 13 MBAP Modbus Application Protocol 206 Memory requirements Ethernet TCP IP 56 Per module 56 Modbus Application Protocol MBAP Description 206 Modbus I O Scanner Features 70 Peer Cop characteristics 16 Modbus TCP Performance 18 Modsoft Peer Cop configuration extension 94 230 840 USE 116 00 Version 1 0 Index MSTR Characteristics 105 Clear local statistics 113 Clear remote statistics 115 CTE Display 124 Ethernet TCP IP 18 Function error codes 108 Get local statistics 112 Get remote statistics 114 Inputs 106 Ladder Logic 106 Network communications 18 Operations 104 Outputs 106 Peer
127. network The manual covers The hardware architecture of a Quantum Ethernet TCP IP module designed to fit into a single slot on the standard Quantum backplane The capabilities of the NOE 771 x0 modules The installation of the NOE 771 x0 module on a Quantum backplane Instructions on configuring the module from your programming panel using Concept Instructions on setting up the module for I O scanner capabilities 00 only including procedures for configuring the I O scan list using Concept ProWORX NxT and Modsoft Instructions on how to set up the modules to transfer data to and from nodes on a TCP IP network through the use of a special master instruction MSTR How to use a World Wide Web embedded server to access diagnostics and online configurations for the module and its associated controller PLC How to use the FactoryCast web server to customize your configuration via embedded web pages 10 module only Instructions on using the Network Options Ethernet Tester with a Windows based PC to monitor the network Ur Note NOE 771 x0 is used in this manual when the information applies to both the NOE 771 00 and NOE 771 10 modules Continued on next page 2 840 USE 11600 Version 1 0 Chapter 1 Introduction About this Manual continued Who Should Use this Manual This manual is intended to support anyone using a Quantum Programmable Logic Controller that needs to communicate wi
128. nfig Extensions Data Protection Peer Cop Hot Standby mE Ethernet Profibus DP m ASCII Number of Messages Message Area Size Number of Ports Continued on next page 840 USE 116 00 Version 1 0 53 Chapter 4 Configuring the Module with Concept Selecting Your PLC continued Procedure continued Step Action 4 Double click on the Type field in the PLC section of the Configure menu Result The PLC Selection dialog box appears The default selection is Quantum PLC Selection x PLC Family QUANTUM E 186 IEC 16Bit7303K 984 Eq IMIO CHS CPU Executive Memory Size 140 CPU 113 03 32 K logic 64 K state 140 CPU 113 03S 48 K logic 32 K state 140 CPU 113 03X 140 CPU 213 04 140 CPU 213 04S 140 CPU 213 04X 140 CPU 424 Ox IEC Runtime IEC Usable Memory Size p Ip ed deb 5 From the CPU Executive scroll box select the CPU that is installed in your Quantum backplane Note Depending on the CPU selected you may need to select C the correct memory size applicable to it in the Memory Size dialog Box Continued on next page 54 840USE 11600 Version 1 0 Chapter 4 Configuring the Module with Concept Selecting Your PLC continued Initial Setup Procedure continued R Step Action 6 Click the lt OK gt button Result Your PLC type and default configuration parameters
129. ns an embedded web server to provide online diagnostics configuration and support The NOE 77710 module has additional functionality provided by the FactoryCast module If you have any problems please consult the documentation listed above or MS Windows documentation first If you still have a question or need assistance help is available from our Schneider hotline Tel USA and Canada 800 468 5342 Tel International 978 975 9557 Fax All 978 975 9301 BBS Bulletin Board 978 975 9779 When calling the Schneider 800 telephone number you will get a recording asking you to enter a one digit code for the type of service you request provided you use a touch tone telephone Continued on next page 840 USE 116 00 Version 1 0 Chapter 1 Introduction Related Documentation and Customer Support continued Customer Visit Our Web Site Please access the Schneider web site www modicon com or Support schneider com for the most up to date NOE Ethernet Controller information such continued as resolutions to product issues and product announcements When you access the web site look under technical information and choose Quantum from the list of cross product families Then access Resolutions for resolutions to product issues Product Manuals for the most recently published user documentation and so on 8 840 USE 11600 Version 1 0 Product Description P At a Glance Intro
130. nt status of Constant Sweep Optimize Current status of Optimization Field Information Supplied Oxxxxx Valid Address of 0x d1xxxxx Valid Address of 1x Sxxxxx Valid Address of 3x 4XXXXX Valid Address of 4x 6XXXXX Valid Addres of 6x Battery Coil Address of Battery Coil Timer Register Address of Timer Register Time of Day Clock Address of Time of Day Clock Stopped Codes Reason for controlled stopping This column contains information concerning the ASCII fields Continued on next page 134 840 USE 11600 Version 1 0 Chapter 7 Embedded Web Pages CPU Configuration Screen Page continued CPU Configuration Screen Page Links The following table details the links on the CPU Configuration Screen Page 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 Data Monitor Allows access to the Quantum PLC Data with editing capabilities 840 USE 116 00 Version 1 0 135 Chapter 7 Embedded Web Pages Ethernet Module Statistics Page Ethernet Module Statistics Page Overview ETHERNET MODULE STATISTICS Status Stopped Host Name eio18 Reference 140 NOE 7
131. ntroduction Procedure This procedure is required to determine the number of NOEs in the system and their slot numbers As part of the configuration process you need to create an I O Map for the local backplane including the NOE 771 x0 module This step is required to determine the number of NOEs in the system and their slot locations Perform the following steps to access and edit an I O Map from the PLC Configuration screen Step Action 1 From the Configure menu select I O map Configure Date access protection Hat stanaby An extension AStl port settings Continued on next page 840 USE 11600 Version 1 0 59 Chapter 4 Configuring the Module with Concept Accessing and Editing the I O Map continued Procedure continued Step Action 1 Result The I O Map dialog box appears con t Local Remote Head Slot force ee Heip mote outs Sut Edt Select this row when inserting at end of list i 2 Click the Edit button at the end of the Quantum I O row Result The Local Quantum Drop I O dialog box appears Local Quantum Drop Params Paste Continued on next page 60 840 USE 11600 Version 1 0 Chapter 4 Configuring the Module with Concept Accessing and Editing the I O Map continued Procedure continued Step Action O Module Selection Description
132. o control inputs the input to the top node enables the instruction when it is ON the input to the middle node terminates the active operation when it is ON Outputs The MSTR instruction can produce three possible outputs the output from the top node echoes the state of the top input it goes ON while the instruction is active 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 the output from the bottom node goes ON when an MSTR operation has been completed successfully All outputs are zero is an indication that four MSTR instructions are already in progress Continued on next page 106 840USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction MSTR Ladder Logic Representation continued Top Node Content Middle Node Content Bottom 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 For the TCP IP Ethernet network the control block structure is as follows Register Content Displayed Identifies one of ten MSTR operations legal for TCP IP 1 4 and 7 12 First implied Displays error status Second implied Displays
133. o your SNMP network If community names for the manager and the agent don t 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 Your NOE 771 x0 module can be configured to send an authentication trap to two 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 Sys Contact and Sys Location via the configuration page in the module s Embedded Web pages Please refer to Chapter 7 to learn how to configure the NOE 771 x0 SNMP 26 840USE 11600 Version 1 0 Installing the Module 3 At a Glance Introduction This chapter describes how to physically install the NOE 771 x0 module into a Quantum backplane and configure its IP parameters SNMP agent and BOOTP Server What s in this This chapter contains the following topics Chapter Topic Page Before You Begin 28 Cabling Schemes 30 Security 33 Installing the module 34 Connecting the Cable 35 Assigning Ethernet Address Parameters 36 Establishing the FTP Password 41 Establishing the HTTP Password 46 Using BOOTP Lite to Assign Address Parameters 49 840 USE 116 00 Version 1 0 27 Chapter 3 Installing the Module Before You Begin Initial Checks AN Determining the Appropriate Ethernet Address Parameters Ur Before you in
134. odel To avoid confusion with other network communication protocols that use the client server terminology network management software uses the terms manager for the client application that runs on the manager s computer agentfor 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 and they then exchange request and responses according to the network management protocol Your NOE 771 x0 module is configured with the Simple Network Management Protocol SNMP which is the standard protocol used to manage a local area network LAN It defines exactly how a manager communicates with an agent i e 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 to which SNMP has access must be defined and given a unique name Also both the manager and agent programs must agree on the names and the meanings of fetch and store operations The set of all objects SNMP can access is known as a Management Information Base MIB Continued on next page 840 USE 116 00 Version 1 0 23 Chapter 2 Product Description SNMP continued ASN 1 Naming Scheme The Object Identifier OID Objects in a MIB are defined with the ASN 1 naming scheme which assigns each object a long prefix that guarantees the name will be unique For exampl
135. odule MSTR Operation 120 Read CTE Config Extension Table MSTR Operation 121 Write CTE Config Extension Table MSTR Operation 123 TCP IP Ethernet Statistics 125 840 USE 116 00 Version 1 0 103 Chapter 6 Transfering Data with the MSTR Instruction MSTR Description Introduction MSTR Operations No of MSTR Instructions Allowed All NOE 771 x0 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 special MSTR master instruction 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 MSTR instruction allows you to initiate one of 12 possible network communications operations over the network Each operation is designated by a code The following table lists the 12 operations and indicates those that are supported on an Ethernet TCP IP network MSTR Operation Operation TCP IP Ethernet Support Type 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 Peer Cop health 9 supported Reset Option Module 10 supported Read CTE config extension 11
136. 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 NOE77100 3 NOE77110 4 M1 IP Address Algorithm 0 Take IP Address from above definition default All modules support this 1 Always take IP Address from BOOTP Server M1 and NOE 771 x0 support this 2 Disable Ethernet functionality M1 only 122 840USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Write CTE Config Extension Table MSTR Operation CTE Write Implementation Network Implementation Ur Control Block Utilization The Write CTE 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 type 12 in the displayed register of the top node can be implemented for TCP IP Ethernet networks via the appropriate network adapter Note Modbus Plus networks do not use this operation In a Write CTE operation the registers in the MSTR control block the top node differ according to the network in user The following table displa
137. og File Diagnostics Support Displays contact information for technical assistance sales and feedback To view the pages related to each of these topics click on the topic 840 USE 116 00 Version 1 0 131 Chapter 7 Embedded Web Pages Quantum Local Rack Page Quantum Local The Quantum Local Rack page displays a visual of the current configuration Rack Page QUANTUM LOCAL RACK Overview Home Controller Status Ethernet Statistics RIO Status Data Monitor Copyright 1999 Sdmeider Automation Inc All rights reserved Quantum Local The following table details the links on the Quantum Local Rack Page Rack Page Links Link Results 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 Data Monitor Allows access to the Quantum PLC Data with editing capabilities 132 840USE 11600 Version 1 0 Chapter 7 Embedded Web Pages CPU Configuration Screen Page CPU Configuration CPU CONFIGURATION SCREEN Screen Page Overview Status Stopped Reference 140 CPU 113 02 _ Battery lt Product Type Quantum Rack ExeclD 871 Slot Bo Logged In No Description Registers ASCII System Memory Kb j
138. ogramming Panels to download a new Exec to the NOE The NOE 771 x0 s Modbus TCP Server has the following performance characteristics Parameter Value Typical Response Time mSec 0 6 Number of Modbus TCP Server Connections 32 Number of Simultaneous Login Channels 1 Note NOE 771 x0 Modbus TCP performance measurements made with 140 CPU 534 14 840 USE 116 00 Version 1 0 19 Chapter 2 Product Description FTP and HTTP Services FTP Server The NOE 771 x0 s File Transfer Protoc Protocol FTP server is available as soon as the module has received an IP address Any FTP client can logon to the module if it has the correct user name and password The FTP server provides the following services update the NOE s firmware by downloading a new Exec e error log visibility by uploading error log files e upload download 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 Refer to Chapter 3 for instructions on how to change the password and add or delete user names to the FTP server There should be only one FTP client per module Continued on next page 20 840USE 11600 Version 1 0 Chapter 2 Product Description FTP and HTTP Services continued HTTP Server GG The NOE 771 x0 s HyperText Transport Protocol HTTP server is available as soon as the modu
139. ol Data Units leen 25 GetRequest PDU 02 002 ee 25 SetRequest PDU 0 0 00 eee 25 Trap PDU i to Peer RIS hah eS E LEO SHER ra 25 Version amp Community Identifiers lusu 26 What can be Configured 0 0e cece ee eee 26 vi 840 USE 116 00 Version 1 0 Contents Chapter 3 Installing the Module sessese 27 Before You Begin abc eth REA RO yd art iba ed 28 Initial Checks 0 00000 eee eee 28 Determining the Appropriate Ethernet Address Parameters 5 28 Verifying the Network Topology e00eeee 29 Cabling Schemes 0000 cece eee eee 30 Introduction eee 30 Twisted Pair Length e vlxc ER RRERR IRE ERR 30 Cabling with Traditional Hubs 31 10 BASE T Cable Distances 005 31 100 BASE T Cable Distances 2 31 100 BASE FX Cable Distances 32 Fiber Lengths one prim PY oi Leta gots 32 SECUMIY sso ss aed he Sa IA ee et GN ha BE 33 OvervieW 2 eens 33 Types of Firewalls 202000000000 00s 33 Network Level Firewalls liliis 33 Application Level Firewalls llle 33 Port Numbers Used by NOE iue I E 33 Installing the Module 0 02 e ee eee 34 Before You Begin c cessas ce Re nad eR Tagen RES 34 Backplane Slot Placement 000000 05 34 Tools Required
140. ollowing is the performance graph for the I O Scanner of the 140 NOE 771 00 with 64 840 USE 116 00 Version 1 0 219 HH M inCPU Scan 4 10mSecCPU Scar 3 20m SecCPU Scar d 40m SecCPU Scar 60m Sec CPU Scar 80m SecCPU Scar A 100m SecCPUSce Appendix D NOE 771 00 Module I O Scanner Performance Statistics 220 840USE 11600 Version 1 0 Glossary baled W ANG ACK address API ARP bps BOOTP 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 Bits per second 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 840 USE 116 00 Version 1 0 221 Glossary bridge BSP C client Concept Cyclic Data Exchange D default gateway A device that connects two or more physical networks which use the same protocol B
141. ommends Twisted Pair Category 5 which is rated to 100 Mbps The following table specifies the Schneider Electric part numbers Purpose Description Part Number Available Lengths in meters Connection of a device to an Ethernet hub switch Shielded Twisted Pair Cable 490NTW000nn 02 05 12 40 80 SFTP Cat 5 RJ 45 where nn is the Low Smoke Free Halogen length in meters Connection of the Ethernet hub switch together Shielded Twisted Pair crossed 490NTCO00nn 05 15 40 80 Cable SFTP Cat 5 RJ 45 where nn is the Low Smoke Free Halogen length in meters Use RJ 45 connectors Slip the connector into the port It should snap into place Fiber Optic Remove the protective plug 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 see figure below Note the position of the keyway on the module s connector port and the matching key on the cable connector and then insert the connector into the port It should snap into place 840 USE 116 00 Version 1 0 35 Chapter 3 Installing the Module Assigning Ethernet Address Parameters Overview AN Using a BOOTP Server How an unconfigured as shipped module obtains an IP address As shipped from the factory the NOE 771 x0 module does not contain an IP address This is also true if you have not programmed the unit with an Ethernet configuration extension
142. or The number of times an incoming frame contained a non integer multiple of eight 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 Continued on next page 166 840 USE 116 00 Version 1 0 Chapter 8 Using the Network Options Ethernet Tester Statistics continued Statistics continued Receive buffer errors The number of times a receive buffer was not available while data chaining a received frame 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 Silo Underflow The number of times a packet was truncated due to data late from memory A Silo Underflow will cause a restart Late Collision The number of times a collision was detected after the slot time of the channel had elapsed Lost Carrier The number of times a carrier was lost during a transmission Transmit retries The number of times the transmitter has failed after 16 attempts to transmit a message due to repeated collisions These statistics also may be obtained from the MSTR block Refer to the Ladder Logic Block Library User Guide 890 USE 100 00 for details 840 USE 116 00 V
143. or output devices which the NOE module is configured to scan Specific Input Input to the controller on the backplane where the NOE resides Specific Output Output from the controller on the backplane where the NOE resides Peer Cop Legacy I O Scanner support to upgrade Modbus Plus I O applications to Ethernet Ethernet I O Scanner Provides high performance cyclic communication service to the controller Peer Cop and The NOE 771 00 module s design provides you with the ability to configure it s Enhanced Modbus I O Scanner as either a Peer Cop or Enhanced Modbus scanner The Modbus TCP determination as to which scanner is used depends on the programming package Scanners that is installed on your system If you presently are using Modsoft than you must configure the I O Scanner for Peer Cop operation If your are presently using Concept 2 2 or ProWORX NxT 2 1 than you can configure the I O Scanner for either Peer Cop or enhanced Modbus TCP operation Continued on next page 840 USE 116 00 Version 1 0 69 Chapter 5 Transfering Data with the I O Scanner l O Scanner Concepts continued Peer Cop I O The Peer Cop based Modbus I O Scanner has the following characteristics Scanner Features Parameter Value Max No of Devices 64 Max No of Input Words 500 Max No of Output Words 500
144. ork Software that allows you to configure data blocks to be transferred between controllers on a Modbus Plus network Packet Internet Groper A program used to test whether a destination on a network can be reached An access point for data entry or exit within a host using TCP services Describes message formats and a set of rules used by two or more devices to communicate using those formats Programmable Logic Controller 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 A device that connects two sections of a network and conveys signals between them without making routing decisions or filtering packets 840 USE 116 00 Version 1 0 225 Glossary router server SNMP socket stack STP subnet subnet mask switch 1 TCP TCP IP Traffic Cop 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 Provides services to clients This term may also refer to the computer on which the Service is based Simple Network Management Protocol The association of a port with an IP address serving as an identification of sender or recipient The
145. our Network Options Ethernet Tester perform the following steps Step Action 1 Establish a connection with the Ethernet module see procedure on page 2 Select Messages from the main menu 3 Choose Write Register from the pulldown menu Window ter SISP or click on the write register button in the toolbar The Write Register dialog box will appear 4 Type in a polling interval the number of seconds between transactions in the Polling Interval box Write Register x Polling Interval E o First 4 register to write Cancel e Number of registers to write fi Increment Write Data Write Data i 5 Type in the number of the first 4x register you want to write in the First 4x register to write box When typing the 4x register number omit the leading 40 or 400 as shown in the figure above 6 Type in the number of register to write in the Number of registers to write box Continued on next page 840 USE 11600 Version 1 0 169 Chapter 8 Using the Network Options Ethernet Tester Writing Registers continued Writing Registers Procedure continued Read or Write Request Error Step Action 7 Type in the data to be written to those registers in the Write Data box 8 Click on the Increment Write Data box if you want the data you have entered to be increased by one with each transaction 9 Click on the OK button The register values will be displayed in the
146. p entry is null All global health bits are always reported as zero 840 USE 116 00 Version 1 0 119 Chapter 6 Transfering Data with the MSTR Instruction Reset Option Module MSTR Operation Introduction Control Block The Reset Option Module operation operation type 10 in the displayed register of the top node causes a Quantum NOE option module to enter a reset cycle to reset its operational environment The registers in the MSTR control block the top node contain the Reset Option Utilization Module information as described in the following table Register Function Content Displayed Operation Type 10 First implied Error status Displays a hex value indicating an MSTR error when relevant Second implied Not applicable Third implied Not applicable Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eighth Not applicable implied 120 840USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Read CTE Config Extension Table MSTR Operation Introduction Control Block Utilization The Read CTE operation operation type 11 in the displayed register of the top node 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 dis
147. played in the middle node of the MSTR block The registers in the MSTR control block the top node contain the Read CTE information as described in the following table Register Function Content Displayed Operation Type 11 First implied Error status Displays a hex value indicating an MSTR error when relevant Second implied Not applicable Third implied Not applicable Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eight Not applicable implied Continued on next page 840 USE 116 00 Version 1 0 121 Chapter 6 Transfering Data with the MSTR Instruction Read CTE Config Extension Table MSTR Operation continued 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 4x registers The registers display the following CTE data 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 the IP address Third implied Third byte of the IP address Fourth implied Fourth byte of the IP address Subnetwork mask Fifth implied Hi word Sixth implied Low word Gateway Seventh implied First byte
148. r code will be displayed in the first implied register in the control block the top node Function error codes are network specific An error in an MSTR routine over TCP IP Ethernet may produce one of the following errors in the MSTR control block Hex Error Code Meaning 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 MSTR 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 3000 Generic Modbus fail code 30ss Modbus slave exception response 4001 Inconsistent Modbus slave response F001 Option Module not responding The ss subfield in error code 30ss is shown in the following table ss Hex value Meaning 01 Slave device does not support the requested operation 02 Nonexistent slave device registers requested 03 Invalid data value requested 04 05 Slave has accepted long duration program command 06 Function can t be performed now a long duration comman
149. ration Ethernet Statistics Displays the Ethernet Module Statistics with the Reset Counters link RIO Status Displays the Remote I O Communications Status 840 USE 11600 Version 1 0 141 Chapter 7 Embedded Web Pages Configure NOE Page Configure NOE Page Overview Configure NOE This page provides links to individual configuration pages for the NOE Schneider Electric Configure NOE Configure SNMP Configure BOOTP Home NOE Properties NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved The following table details the links on the Configure NOE Page Page Links Link Results Configure SNMP Provides the ability to configure the SNMP Agent in the NOE Configure BOOTP Provides the ability to configure the BOOTP IP assignments including showing the BOOTP database Home Returns you to the Quantum Welcome Page NOE Properties Provides information on 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 142 840 USE 11600 Version 1 0 Chapter 7 Embedded Web Pages Configure SNMP Page Configure SNMP Page Overview Schneider p Electric SNMP Configuation 205 217 193 173 205 217 193 205 Processing Cell 3 Joe MfgEngineer x117 Home Configure
150. red 750 mA Power Dissipation 3 8 W Fuse None Programming Software Type and version Concept Ver 2 2 or higher Modlink Ver 2 0 or higher Modsoft Ver 2 6 or higher ProWORX NXxT Ver 2 1 or higher Firmware CPU Type and version Quantum Executive Ver 2 0 or higher NOE Upgradeable Field Upgradeable via FTP or Programming Panel Operating Conditions Temperature 0 to 60 C Humidity 0 to 95 Rh non condensing 60 C Altitude 15 000 ft 4500 m Vibration 10 57 Hz 0 0075 mm d a 57 150 Hz 8 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 840USE 11600 Version 1 0 Ethernet Developers Guide At a Glance What s in this This appendix covers the following topics Appendix Topic Page Overview 190 Class Descriptions 192 The CSample doc Class 194 The CSample View Class 195 Timers and Transaction Processing 197 Transmit State Machine 198 Receive State Machine 201 Displaying on the Screen 203 840 USE 116 00 Version 1 0 189 Appendix B Ethernet Developers Guide Overview Introduction References What the Sample Application Does This appendix describes the design of the sample TCP IP application named Network Options Ethernet Tester NOET The NOET application is a mult
151. register of the top node obtains information related to the local node where the MSTR has been programmed See page 125 for a listing of the TCP IP Ethernet Network Statistics The registers in the MSTR control block the top node contain the Get Local Utilization Statistics information as described in the following table Register Function Content Displayed Operation Type 3 First implied Error status Displays a hex value indicating an MSTR error when relevant Second implied Length Starting from 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 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 Not applicable implied 112 840 USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Clear Local Statistics MSTR Operation Introduction Control Block Utilization The Clear LocalStatistics operation operation type 4 in the displayed register of the top node clears statistics relative to the local node where the MSTR has been programmed The registers in the MSTR control block the top node contain the
152. ress Unit Health Rep Read Ref Read Ref Read Write Ref Write Ref Write Deserintion ID Timeout Rate Master Slave Count Master Slave Count P mi 1 128 7 32 54 0 10 400010 400050 12 2 400010 400050 12 3 Ea 400010 400050 12 4 I 400010 400050 12 6 El 8 3 H 10 gt 11 7 12 NM E 78 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NxT Introduction This section discusses how to configure the NOE 771 module from your programming panel using ProOWORX NxT program This process assumes you have switched to an Ethernet network so you can choose I O Scanner instead of the Peer Cop This allows you to configure data blocks to be transferred between controllers on a TCP IP network There are three procedures to the configuration process Selecting Your PLC Accessing and Editing the Traffic Cop Setting the Number of NOE s and Configuring the Ethernet Address Parameters Continued on next page 840 USE 116 00 Version 1 0 79 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using ProWORX NXxT continued Selecting Your PLC Perform the following steps to select a CPU Step 1 Action Open ProWORX NxT on your programming panel PC Result ProWORX NXxT initial screen will appear controller Tools Help W Ctrl N Open Ctrl O Delete From the Fi
153. ridges 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 A computer process requesting service from other computer processes A software package that facilitates controller configuration Provides data transfer between two or more NOE 771 x0 controllers on a TCP IP network 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 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 is user customizable permitting user access to controller diagnostics and Ethernet configuration 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 firewall A gateway that controls access to a network or an application frame 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 222 840 USE 116 00 Version 1 0 Glossary framing types FTP full duplex gateway H half duplex host hostname HTTP hub ICMP Internet IP
154. rrar Quit F1 F2 Go To Node FB5 F7 Lev B8 FB FF FS8 Go To Node P Next Node PgDn HEAD SLOT 1 USED 19 OF 1066 WORDS Access to Mode 64 Previous Node PgUp MODE REFERENCE LEN TYPE INDEX PECIFIC INPUT B PECIFIC OUTPUT LOBAL INPUT LOBAL INPUT LOBAL INPUT LOBAL INPUT LOBAL INPUT LOBAL INPUT LOBAL INPUT LOBAL INPUT G3 GJ GJ GJ G3 G3 53 53 63 63 TO ALL NODES ON LINK GLOBAL OUTPUT BaBBBB1 BBBOB15 1 If you select GoToNode and the node number you enter is not found you are asked if it should be created for you You can also transverse the node structure using the PgUp and Pg dn keys This is very similar to GoToNode in that you select the Link and Node number that you want to add parameters for This field allows you to specify a value for the Health Time out interval The default value is 500 Milliseconds You can change it to any value in the range of 60ms to 2 seconds The value you use specifies the minimum time period that a Peer Cop configured communication must fail before the associated health bit is cleared You should choose values in 20 ms increments to account for implementation latency i e the configured time plus the time to assure the health bit is cleared For example if your choice is 60 ms the health bit is cleared no sooner than 60 ms and no later than 79 ms after communication has been lost Continued on next page 100 840USE 11600 Version 1 0 Ch
155. s I O Scanner has the following characteristics Modbus Il O Parameter Value Scanner Max No of Devices 64 Max No of Input Words 4 000 Max No of Output Words 4 000 HealthTimeout Value Individual Setting 1 Msec to 2 Secs in 1 mSec increments Input TimeOutState Individually Settable IP Address Individually Settable Remote Register Reference Configurable Min Update Rate Settable Refer to Chapter 5 to learn how to configure the Modbus I O Scanner Refer to Appendix D for detailed performance data Performance Refer to Appendix D for detailed performance data 840 USE 116 00 Version 1 0 17 Chapter 2 Product Description Peer to Peer Communications Introduction All NOE 771 x0 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 special MSTR master instruction All PLCs that support networking communication capabilities over Ethernet can use the MSTR ladder logic instruction to read or write controller information MSTR The MSTR instruction allows you to initiate one of 12 possible network Operations communications operations over the network Each operation is designated by a code The following table lists the 12 operations and indicates those that are supported on an Ethernet TCP IP network MSTR Operation Code
156. s are required to be on the same subnet as the NOE The device s IP address is calculated by AND ing the NOE s IP address with the NOE s subnet mask and then OR ing the result with the devices s MB address from the configuration extension table The following example illustrates the device IP generation NOE IP Address AAA BBB CCC DDD Subnet Mask 255 255 255 0 Device s Modbus Address from Configuration Extension Range of 1 64 MB Resulting Device IP Address AAA BBB CCC MB 840 USE 116 00 Version 1 0 101 Chapter 5 Transfering Data with the I O Scanner 102 840USE 11600 Version 1 0 Transferring Data with the MSTR Instruction 6 At a Glance Introduction What s in this Chapter This chapter describes how to transfer data to and from nodes on a TCP IP network through the use of a special MSTR master instruction Included in this chapter are the operational statistics and error codes for reading and writing the controller information This chapter contains the following topics Topic Page MSTR Description 104 MSTR Characteristics 105 MSTR Ladder Logic Representation 106 MSTR Function Error Codes 108 Read and Write MSTR Operations 111 Get Local Statistics MSTR Operation 112 Clear Local Statistics MSTR Operation 113 Get Remote Statistics MSTR Operation 114 Clear Remote Statistics MSTR Operation 115 Peer Cop Health MSTR Operation 116 Reset Option M
157. s versions being Page Overview used and the Physical Media in use Schneider ap Electric NOE Properties Exec Version version 1 01 Kernel Version version 1 01 Web Pages Version version 1 1 Physical Media 10 100BASE T Home Configure NOE NOE Diagnostics Support Copyright 1999 Schneider Automation Inc All rights reserved This is for information only The fields cannot be changed NOE Properties The following table details the links on the NOE Properties Page Page Links 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 Diagnostics Displays links to Ethernet Statistics and the Crash Log File Diagnostics Support Provides you with contact information for technical assistance sales and feedback 840 USE 116 00 Version 1 0 151 Chapter 7 Embedded Web Pages NOE Diagnostics Page NOE Diagnostics Page Overview NOE Diagnostics Page Links Schneider y Electric NOE Diagnostics Ethernet Statistics Crash Log File Diagnostics Home Configure NOE NOE Properties Support Copyright 1999 Sdmeider Automation Inc All rights reserved The following table details the links on the NOE Diagnostics Page Link Results Ethernet Statistics Displays the Ethernet Module Statistics Page where you can display the Ethernet statistics
158. scribed in the Description column Modules 1 Bits In 0 Status Table ASCII Port ii tea prev mes Module Bits Out 0 Bits In 0 Delete Params Gut Copy Paste Bits Out 0 Rack Slot Module Detected In Ref In End Out Ref Out End Description Sas ENET 10 100 TCP IP Repeat Steps 3 and 4 if other modules need to be added to the I O map Click the lt OK gt buttons to return to the PLC Configuration screen Next Next you will configure the Ethernet address parameters from the Ethernet I O Scanner screen 62 840USE 11600 Version 1 0 Chapter 4 Configuring the Module with Concept Configuring the Ethernet Address Parameters Introduction The NOE 771 x0 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 CAUTION DUPLICATE ADDRESS HAZARD Always obtain your IP addresses from your system administrator to avoid the possibility of duplicate addresses Having two devices with the same IP address can cause unpredictable operation of your network Failure to observe this pre
159. sfering Data with the I O Scanner Completing the I O Configuration continued Cut and Paste Delete Sort To move a row within the configuration list follow the directions for copying only use the Cut button instead of the Copy button To delete a row from the configuration list select the row by clicking on the row number at the far left Then click the Delete button To sort the I O configuration list select a column by clicking on the column heading i e Read Ref Master Then click the Sort button Continued on next page 840 USE 116 00 Version 1 0 77 Chapter 5 Transfering Data with the I O Scanner Completing the I O Configuration continued Fill Down To copy part of any row to the next row or to a series of adjoining rows use the Fill Down button following the steps in the table below Step Action 1 Use your mouse to select the data you would like to copy and the cells you would like to copy it to Note You must select one contiguous block of cells with the data to be copied in the first row You cannot select two separate blocks Se eee es E E E 1 128 7 32 54 7 0 10 400010 400050 12 7 E L3 5 E Es a 6 E Ea Ea L8 a L9 E 10 Z Ln E 12 d 2 Click the Fill Down button Result The data from the first row is copied to the selected cells below IP Add
160. side of your facility 840 USE 116 00 Version 1 0 33 Chapter 3 Installing the Module Installing the Module Before You Begin Backplane Slot Placement Tools Required Mounting the Locate the backplane that the NOE 771 module will be mounted in Ensure that an open slot is available to mount the module in Note The NOE 771 x0 module can only be installed in a local backplane The modules may be placed in any slot in the backplane They do not have to be placed next to each other You will need one Phillips head screw driver medium size Perform the following steps to mount the NOE 771 x0 module in a Quantum Module in the backplane Backplane E Step Action 1 Holding the module at an angle mount it on to the two hooks located near the top of the backplane Hook Aa een M ij Backplane pe AUR Connector Controller Backplane D ca 2 Swing the module down so its connector engages the backplane connector 3 Using a Phillips head screw driver tighten the screw at the bottom of the module between 2 and 4 in Ibs of torque 34 840USE 11600 Version 1 0 Chapter 3 Installing the Module Connecting the Cable tF Note The 140 NOE 771 x0 is capable of communicating over either a 10 100BASE T or a 100BASE FX Ethernet network at any given time but not both at the same time Shielded If you are using shielded twisted pair cable Schneider Electric rec
161. st Using Modsoft continued Utility GoToNode AddNode Timeout OnError Quit El F2 F3 F4 F5 FB F 7 Lev B8 FB FF FS8 PEER COP Timeout 568 ms HEAD SL T 2 On Error CLEAR USED 17 OF 1888 WORDS Access to Node 2 MODE REFERENCE LEN TYPE INDEX SPECIFIC INPUT 400100 400100 1 BIN SPECIFIC OUTPUT 400056 400050 1 BIN GLOBAL INPUT x GLOBAL INPUT z GLOBAL INPUT z GLOBAL INPUT z GLOBAL INPUT z GLOBAL INPUT GLOBAL INPUT GLOBAL INPUT TO ALL NODES ON LINK GLOBAL OUTPUT Given the proper configuration if you complete the above template for node 2 with a specific input of length of 1 and Specific output Length of 1 will result in reading of 1 word from node 2 destination of data is 400100 writing of 1 word to node 2 source of data is 400050 In addition to the Standard Utility Menu line entry you have Peer Cop related functions available from the GoToNode AddNode Timeout and OnError entries GoToNode Displays the Peer Cop menu that allows you to configure that node This function has a pulldown as shown in the figure on the following page Continued on next page 840 USE 116 00 Version 1 0 99 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft continued The GoToNode Function continued The AddNode Function The Timeout Function Utility GoToNode AddNode Timeout OnE
162. stall your module you need to determine how the NOE 771 x0 module will be assigned its Ethernet address parameters the default method is BOOTP verify that your Ethernet network is properly constructed 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 Having two devices with the same IP address can cause unpredictable operation of your network Failure to observe this precaution can result in network disruption leading to possible injury or equipment damage 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 follow the directions in Chapter 4 to configure the module from your programming panel Note If you will be changing the default configuration you should stop the controller then install the module then change the configuration before starting the controller again The NOE 771 x0 module only reads its configuration data at power up and when it is reset Whenever the configuration data is changed the module must be reset either by hot swapping or through a reset command in the MSTR block see Reset Option Module MSTR Operation section in Chapter 6 Once the module is installed
163. stopping and restarting the controller will not reset it Continued on next page 28 840USE 11600 Version 1 0 Chapter 3 Installing the Module Before You Begin continued Verifying the You should not connect an Ethernet web embedded server module directly to Network another device with a length of cable For the network to operate properly you must Topology route the cable for each device through an Ethernet hub switch Hubs switches are widely available and can be purchased from many suppliers NOE NOE Improper Network Topologies z o m z o m Hub Switch EUN CANNE Proper Network Topology 840 USE 116 00 Version 1 0 29 Chapter 3 Installing the Module Cabling Schemes Introduction In a standard Ethernet cabling scheme each device connects via a cable to a port on a central Ethernet hub switch Twisted Pair The maximum length of cable between devices depends on the type of device Length used as shown in the following table Type of Device Max Cable from Max Hubs Between Max Cable Between Most Device to Hub Any Two Nodes Distant Nodes on Network Hub 100m 4 500m Switch 100m Unlimited Unlimited For Fast Ethernet 100 Base T specifications please refer to the IEEE 802 3u Standard available from the IEEE www IEEE org Continued on next page 30 840 USE 11600 Version 1 0 Chapter 3 Installing the Module
164. system administrator This section contain information on how to access the web server for purposes of changing the FTP and HTTP passwords Chapter 7 contains detailed information on the web server pages and their functionality Each Quantum 140 NOE 771 x0 10 100 Megabit Ethernet module contains a World Wide Web embedded server that allows you to access diagnostics and online configurations for the module and it s associated controller PLC The web pages can only be viewed across the World Wide Web using version 4 0 or greater of either Netscape Navigator or Internet Explorer both of which support JDK 1 1 4 or higher For information on the additional functionality provided by the FactoryCast system in the 140 NOE 771 10 module see the FactoryCast Manual 890 USE 152 00 Before you can access the module s home page you must enter the full IP address or URL in the Address or Location box in the browser window For example http hostname hostname is full IP address or DNS host name Once you do this the Schneider Automation Web Utility home page will appear Continued on next page 840 USE 116 00 Version 1 0 41 Chapter 3 Installing the Module Establishing the FTP Password continued Schneider Web Utility Home Page Schneider ap Electric Schneider Automation Web Server Diagnostics and Online Configurations Operating System Windows 95 Screen Resolution 1230 x 1024 Browser Microsoft In
165. t TCP IP modules and serves as a sample application for developers Appendix C Describes the Modbus Application Protocol used to transport Quantum Ethernet Modbus Application Protocol PDUs over TCP IP TCP IP Modbus Application Protocol Appendix D NOE 771 00 Module VO Scanner Performance Statistics Provides graphs of performance statistics for the I O Scanner used with various CPUs 840 USE 116 00 Version 1 0 Chapter 1 Introduction System Requirements MinimumSystem The following table details the minimum versions for systems used with the NOE Requirements 771 x0 modules System Minimum Version Number Quantum Executive 2 0 Concept 2 2 Modlink 2 0 Modsoft 2 6 ProWORX NxT 2 0 IP Address Configuration 2 1 I O Scanning 840USE 11600 Version 1 0 Chapter 1 Introduction Related Documentation and Customer Support Related Paper Documentation Related Electronic Documentation Customer Support In addition to the manual the following documents may prove helpful to you Concept 2 2 User s Manual 840 USE 483 00 BOOTP Lite User Documentation 31002087 FactoryCast User Guide 890 USE 152 00 Ladder Logic Library User Guide 890 USE 100 00 Modbus Protocol Reference Guide PI MBUS 300 Open Modbus Specification www modicon com openmbus ProWORX NxT User Guide 372 SPU 680 01 NMAN RIO Manual 890 USE 101 00 The NOE 771 x0 contai
166. t 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 CSample View transaction processing consists of establishing a connection Processing 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 840 USE 116 00 Version 1 0 197 Appendix B Ethernet Developers Guide Transmit State Machine Description The transmit state machine establishes a connection and periodically transmits a request The different states for the transmit state machine are as follows IDLE In the IDLE state there is no connection 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 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 CONNECTED The CONNECTED state indicates that a connection has been successfully established WAIT TO TX Inthe WAIT TO TX state CSample
167. ter 2 Product Description l O Scanner 140 NOE 771 00 only Introduction Peer Cop Based 1 0 Scanner The functionality of your NOE 771 00 module is further enhanced by the addition of a Modbus I O Scanner which you can configure with either the Modsoft or Concept programming panel This allows you a way to transfer data between network nodes without using the MSTR instruction You can configure the NOE 771 Modbus I O Scanner by either of two methods Peer Cop Ethernet I O Scanner Note Itis recommended that the enhanced Modbus I O Scanner be used for all new installations Peer Cop functionality is provided only on as an easy migration path for an existing installation The enhanced Modbus I O Scanner provides greater functionality than the Peer Cop based I O scanner The Peer Cop based Modbus I O Scanner has the following characteristics Parameter Value Max No of Devices 64 Max No of Input Words 500 Max No of Output Words 500 HealthTimeout Value Global Setting 20 Msec to 2 Secs in 20 mSec increments Input TimeOutState Global Setting Zero or Hold IP Address Derived from Modbus Address must be on NOE s Subnet Remote Register Reference Not configurable 400001 is used Continued on next page 16 840 USE 11600 Version 1 0 Chapter 2 Product Description l O Scanner 140 NOE 771 00 only continued Enhanced The Enhanced based Modbu
168. ternet Explorer 4 Copyright 1999 Schneider Automation Inc All rights reserved From this page you can do the following Access the pages to change the FTP password Access the pages to change the HTTP password Access the pages for diagnostic and configuration information see Chapter 7 Embedded Web Pages for further information Continued on next page 42 840 USE 11600 Version 1 0 Chapter 3 Installing the Module Establishing the FTP Password continued Modifying the The following step details how to link to the web page that allows the modifying of FTP Server the FTP Password Password Step Action 1 Enter the URL for example http hostname secure embedded ftp_passwd_config htm Result The user is requested to supply a user name and password Enter Network Password 2 x Please enter your authentication information Cancel Resource NOE security User name Password Save this password in your password list Upon supplying the user name password and clicking the OK button the Modify FTP Server User Name and Password Page appears Note The default User Name is USER and the default Password is Ur USERUSER Both should be changed by the system administrator during module installation Continued on next page 840 USE 116 00 Version 1 0 43 Chapter 3 Installing the Module Establishing the FTP Password continued FTP Username and Password
169. ters 63 840 USE 116 00 Version 1 0 51 Chapter 4 Configuring the Module with Concept Selecting Your PLC Procedure Once the NOE 771 module has been installed in a Quantum backplane refer to Chapter 3 you can begin to configure it using Concept 2 2 You start by selecting your CPU PLC F Note For complete details on the use of Concept refer to the set of manuals shipped with the software Perform the following steps to select a CPU Step Action 1 Open Concept 2 2 on your programming panel PC 2 From the File menu select New project Result A new project is opened and the file name untitled appears over the menu bar From the Project menu select Configurator moca Online Options Window Properties lac Configurator Continued on next page 52 840 USE 11600 Version 1 0 Chapter 4 Configuring the Module with Concept Selecting Your PLC continued Procedure continued Step Action 3 Result The PLC Configuration screen appears con t PLC Configuration o x PLC Type Available Logic Area Exec Id Extended Memory Memory Size Ranges Loadables Coils Number installed Discrete Inputs mE Input Registers Holding Registers Specials Battery Coil Timer Register mE Time of Day Segment Scheduler Segments Co
170. th devices over an Ethernet network You are expected to have a knowledge of the use of Programmable Logic Controller Systems and possess of a working knowledge of either the Concept ProWORX NxT or Modsoft programming tools You also need to understand the use of an Ethernet network and TCP IP Continued on next page 840 USE 116 00 Version 1 0 Chapter 1 Introduction About this Manual continued How this Manual This manual is organized as follows is Organized Chapter Description Chapter 1 Presents an introduction to this manual its scope who should use Introduction it how it is organized and a listing of related publications Chapter 2 Describes the hardware makeup of the NOE 771 x0 10 100 Product Description Megabit Ethernet Module and discusses the capabilities of the features Chapter 3 Describes how to physically install the NOE 771 x0 module into a Installing the Module Quantum backplane and how to configure its IP parameters SNMP agent and BOOTP server Chapter 4 Describes how to configure the NOE 771 module from your Configuring the programming panel using Concept 2 2 or later Module with Concept Chapter 5 Discusses the NOE 771 00 module s I O scanner capabilities and Transferring Data with includes procedures for configuring the I O scan list using Concept the I O Scanner ProWORX NXxT and Modsoft Module configuration with ProWORX NxT and Modsoft is a
171. the Peer Cop capability is disabled If you want to use Peer Cop to handle Modbus Plus communications you need to enable this capability and adjust the amount of configuration extension memory Note If you are upgrading your network to Ethernet you should consider the option of ignoring Peer Cop and instead configuring extension memory to use the enhanced Modbus TCP IO Scanner feature of your NOE 771 00 module See Chapter 6 The minimum Peer Cop memory requirement is 20 words the maximum is 1366 words Follow these guidelines for estimating the amount of extension memory you will need for your Peer Cop database For Add Up to a maximum of Overhead 9 words Global output 5 words Global input number of words 1088 words number of devices x 1 2 x number of device subentries Specific output 2 words for every device entry in Peer Cop 128 words Specific input 2 words for every device entry in Peer Cop 128 words Continued on next page 90 840USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Establishing Configuration Extension Memory for Peer Cop continued Procedure From the PLC Configuration screen follow the steps below to enable Peer Cop and adjust the amount of Configuration Extension memory Step Action 1 From the Configure menu select Config extensions or double click anywhere in the Config E
172. the last word in the table Fourth implied Low byte Quantum backplane slot address of the NOE module Fifth Eighth Destination Each register contains one byte of the 32 bit IP implied address Continued on next page 116 840 USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction Peer Cop Health MSTR Operation continued Peer Cop The Peer Cop communications health table shown on next page comprises 12 Communications contiguous register that can be indexed in an MSTR operation as words 0 11 Health Status Each bit in each of the table words is used to represent an aspect of Information communications health relative to a specific node on the TCP IP network The bits in words 0 3 represent the health of the global input communication expected from nodes 1 64 Since global input is not supported these bits are Set to zero The bits in words 4 7 represent the health of the output from a specific node The bits in words 8 11 represent the health of the input to a specific node Continued on next page 840 USE 116 00 Version 1 0 117 Chapter 6 Transfering Data with the MSTR Instruction Peer Cop Health MSTR Operation continued Peer Cop Communications Health Status Type o
173. tics Request Total Transaction Count 840 USE 116 00 Version 1 0 165 Chapter 8 Using the Network Options Ethernet Tester Statistics Statistics The Network Options Ethernet Tester will provide the following statistics Description Total Transaction Count How many transactions have been completed P Address Status Information in the following form 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 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 1519 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 experienced 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 err
174. tion There are four types of Peer Cop requests Global data input not supported Global data output not supported Specific data input Specific data output CAUTION GLOBAL DATA EXTENSION HAZARD For the Ethernet TCP IP network operations only the specific data input and output are supported Do not fill in the Global input or Global output The NOE ignores global data configuration Failure to observe this precaution can result in injury or equipment damage Depending on your requirements you can estimate the memory needed where lf Specific Output is configured then add 2 words for each device entry 64 maximum Maximum is 64 x 2 128 words f Specific Input is configured then add 2 words for each device entry 64 maximum Maximum is 64 x 2 128 words Based on the above the minimum size Peer Cop could be 20 words while the maximum could be 1366 words for each of up to 3 links The default screen for Peer Cop entry is labeled Peer Cop see figure on next page The screen is a data entry template comprising all four data types and providing a summary of settings that apply to the specific link node as well as timeout error handling and statement of memory words used 96 840USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Configuring the I O Scan List Using Modsoft continued Specific Input Output MODSOFT Mm Ei Configuration
175. tions ssa dere do pes tiere s o lepus Mn 104 No of MSTR Instructions Allowed 104 x 840 USE 116 00 Version 1 0 Contents MSTR CharacteristicS 00000 eee eee eee 105 MSTR Characteristics 0 0 0 0 cee eee 105 MSTR Ladder Logic Representation 4 106 Ladder Logic Diagram 00 eee eee eee 106 INPUTS ts oo sce da arate exe Gis om aaa SENA BOS EO EN EOS 106 OUPS tanith ft Soir eo a eae ge ee ne Sie eg 106 Top Node Content erre bre On pelea nde we 107 Middle Node Content 0 0000 eee eee eee 107 Bottom Node Content 0 0000 cee eee 107 MSTR Function Error Codes 0 0 0 eee ee 108 Where Displayed 000 eee eee ees 108 TCP IP Ethernet Error Codes 000000 108 TCP IP Ethernet Network Errors lesse 109 CTE Error Codes 0 cece eee ee ee 110 Read and Write MSTR Operations 111 Introduction xx hie pene ae ek Ree Seed Sa da hee E E 111 Control Block Utilization leen 111 Get Local Statistics MSTR Operation 112 Introduction za elm Nri eua deeper des 112 Control Block Utilization lene 112 Clear Local Statistics MSTR Operation 119 Introduction eee iu e dee a cR ek 113 Control Block Utilization eene 113 Get Remote Statistics MSTR Operation 114 IMtROGUGTION t eic e Uem d e fe RP 114
176. ult the Modbus Protocol Reference Guide PI MBUS 300 206 840USE 11600 Version 1 0 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol PDU The Modbus Application Protocol 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 seven 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 O for Modbus services len 2 bytes the len field is a byte count of the remaining 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 two fields mb pdu func_code 1 data n 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
177. ults Home Displays the Quantum Welcome 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 Data Monitor Allows access to the Quantum PLC Data with editing capabilities 840 USE 116 00 Version 1 0 139 Chapter 7 Embedded Web Pages Quantum PLC Data Monitor Page Quantum PLC This is the web page that allows you to alter the displayed Quantum PLC data Quantum PLC Data Monitor Data Monitor Page Overview Home Configured Local Rack Controller Status Ethernet Statistics RIO Status Copyright 1999 Schneider Automation Inc All rights reserved You can insert additional rows of data by clicking on the Insert Rows button You can delete specific rows of data by clicking on the Cut Rows button You can copy in rows of data by clicking on the Paste Rows button Continued on next page 140 840 USE 116 00 Version 1 0 Chapter 7 Embedded Web Pages Quantum PLC Data Monitor Page continued Quantum PLC The following table details the links on the Quantum PLC Data Monitor Page Data Monitor Page Links 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 Configu
178. uration and scan attributes to name a few The class of service allows the user to start stop the PLC scan execution These Services require the user to be in an application login context which is obtained through other Modbus services 840 USE 116 00 Version 1 0 209 Appendix C Quantum Ethernet TCP IP Modbus Application Protocol Modbus Application Protocol PDU Analysis Introduction Analysis An analysis of the Modbus Application Protocol is described in the following paragraphs The Modbus Application Protocol 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 is IEEE 802 3 framing if length 21500 802 3 pdu dst addr 6 src addr 6 length 2 data 802 2 pdu an IEEE 802 3 PDU has a maxFrameSize of 1518 octets an IEEE 802 3 PDU has a minFrameSize of 64 octets 802 2 pdu dsap 1 ssap 1 frm cntri 1 snap hdr 5 data ip_pdu the snap hdr is associated with a well known 802 2 sap snap har z 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 ethertype parameter indicates the service ex ip or arp IP has a value 0x800 from the wire in for Ethernet Il framing is Ethernet II framing if length 21500 802 3 pdu dst addr 6 src addr
179. xtensions region of the screen em Project Online PLC type Memory partitions ASCII setup mm im D map Peer copy Date access protection Hot standby Ali extension ASI port settings Modbus port settings Specials Ethemet 71 7 Scanner Result The Configuration Extension dialog box appears Configuration Extensions LX ICP IP Ethernet Peer Cop Symax Ethernet IEC Hot Standby MMS Ethernet 0 v I 984 Hot Standby Profibus DP 0 CE Help Continued on next page 840 USE 11600 Version 1 0 91 Chapter 5 Transfering Data with the I O Scanner Establishing Configuration Extension Memory for Peer Cop continued Procedure continued Step Action 2 Click on the check box next to Peer Cop then click the OK button Result Peer Cop status changes from Disabled to Enabled in the PLC Configuration screen Config Extensions Data Protection Disabled Peer Cop Enabled Hot Standby Disabled Ethernet 0 Profibus DP 0 Continued on next page 92 840 USE 11600 Version 1 0 Chapter 5 Transfering Data with the I O Scanner Establishing Configuration Extension Memory for Peer Cop continued Procedure Continued Step Action 3 From the Configure menu select Peer Cop Configure 4 Modify the amount of configuration extension memory allocated to Peer Cop by typin
180. y 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 NOE77100 3 NOE77110 4 M1 IP Address Algorithm 0 Take IP Address from above definition default All modules support this 1 Always take IP Address from BOOTP Server M1 and NOE 771 x0 support this 2 Disable Ethernet functionality M1 only 124 840USE 11600 Version 1 0 Chapter 6 Transfering Data with the MSTR Instruction TCP IP Ethernet Statistics Introduction A TCP IP Ethernet board responds to Get Local Statistics and Set Local Statistics commands with the following information Word Meaning 00 02 MAC address 03 Board Status see following table for Board Status Bit Definition 04 and 05 Number of receiver interrupts 06 and 07 Number of transmitter interrupts 08 and 09 Transmit _ timeout error count 10 and 11 Collision_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 silo underflow 28 and 29 Late collision 30 and
181. yed the registers in the Control Block for TCP IP Ethernet Register Function Content Displayed Operation type 12 First implied Error status Exin ane nidicaung er MSTR Second implied Not applicable Third implied Map index Either a value displayed in the high byte of the register or not used Fourth implied Slot ID Number displayed in the low byte in a range 1 16 indicating the slot in the local backplane where the option resides Fifth Eighth implied Not applicable Continued on next page 840 USE 116 00 Version 1 0 123 Chapter 6 Transfering Data with the MSTR Instruction Write CTE Config Extension Table MSTR Operation continued 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 Write CTE operation is implemented The middle node contains the first of 11 contiguous 4x registers The registers display the following CTE data 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 the IP address Third implied Third byte of the IP address Fourth implied Fourth byte of the IP address Subnetwork mask Fifth implied Hi word Sixth implied Low word Gateway Seventh implied First byte of the gatewa
182. ys a hex value indicating an MSTR error when relevant Second implied Not applicable Third implied Not applicable Fourth implied High byte Destination index Fifth Eighth Destination Each register contains one byte of the 32 bit IP implied address 840 USE 116 00 Version 1 0 115 Chapter 6 Transfering Data with the MSTR Instruction Peer Cop Health MSTR Operation Introduction The Peer Cop Health operation operation type 9 in the displayed register of the top node reads selected data from the peer cop communications health table and loads that data to specified 4x registers in state RAM The Peer Cop communications health table is12 words long and the words are indexed via this MSTR operation as words O 11 Note The Peer Cop Health MSTR block is only operational when a Peer Cop Ur based I O Scanner has been configured Control Block The registers in the MSTR control block the top node contain information for a Utilization Peer Cop Health operation as described in the following table Register Function Content Displayed Operation Type 9 First implied Error status Displays a hex value indicating an MSTR error when relevant Second implied Data Size Number of words requested from Peer Cop table range 1 12 Third implied Index First word from the table to be read range O 11 where 0 the first word in the Peer Cop table and 11

Download Pdf Manuals

image

Related Search

Related Contents

Il nuovo Actros  freidora eléctrica serie ocf30  Cliquez ici - Tournay Distribution  Chief OFBLUB mounting kit  User Manual of Color Camera  WEG-cfw-11- Converter of frequency  fichier 7 - CRDP de Montpellier  Aladin TEC 2G  catalogo equipamiento_numerpag.qxd (Page 1)  Ilumipod 48 IP Optic RGBW  

Copyright © All rights reserved.
Failed to retrieve file