Schneider Electric PL7 Junior/Pro Communication Applications User Manual
PDF
Έγγραφο
Διαφήμιση
Διαφήμιση
PL7 Junior/Pro Communication Applications Vol. 3 35009572_00 eng March 2005 2 Document Set Document Set At a Glance This manual comprises 3 volumes: l Vol. 1 l Common Communication Function l Remote Nano PLCs l Communication in Character Mode l Communication via Uni-telway bus l Vol. 2 l Communication via Modbus l Communication via Modem l Communication via Modbus plus l Communication via FIPIO bus l Vol. 3 l Communication via FIPWAY network l Communication via ETHERNET network l Multinetwork architecture 3 Document Set 4 Table of Contents About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Part I Communication via FIPWAY network . . . . . . . . . . . . . . 13 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Chapter 1 1.1 1.2 Chapter 2 Communication via Fipway network: General . . . . . . . . . . . . . 15 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to Fipway communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary description of the FIPWAY network . . . . . . . . . . . . . . . . . . . . . . . . . . Communication function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using common words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using shared tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring Fipway communication. . . . . . . . . . . . . . . . . . . . . 29 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How to access the FIPWAY configuration screen. . . . . . . . . . . . . . . . . . . . . . . . FIPWAY configuration screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FIPWAY parameters linked to the telegrams and to the physical layer . . . . . . . FIPWAY parameters linked to the common data . . . . . . . . . . . . . . . . . . . . . . . . Example of configuration of shared table service . . . . . . . . . . . . . . . . . . . . . . . . Chapter 3 15 16 16 17 18 20 22 24 24 25 26 27 28 29 30 31 32 33 35 Debugging Fipway communication . . . . . . . . . . . . . . . . . . . . . 37 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FIPWAY debugging screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FIPWAY debugging parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Requests available for the communication channel test . . . . . . . . . . . . . . . . . . . How to test a channel with Identification and Mirror requests . . . . . . . . . . . . . . . How to test a channel with requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 38 39 41 42 44 5 Chapter 4 Language objects associated with FIPWAY communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Language object for implicit exchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Language objects in explicit exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Explicit exchange management and reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Language objects associated with the configuration . . . . . . . . . . . . . . . . . . . . . . 52 Part II Communication via ETHERNET network . . . . . . . . . . . . 53 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Chapter 5 Communication via Ethernet network . . . . . . . . . . . . . . . . . . 55 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 About ETHERNET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 General Information about the TSX ETY Modules. . . . . . . . . . . . . . . . . . . . . . . . 57 Details of Available Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Chapter 6 6.1 6.2 6.3 6.4 6 Facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 TCP/IP Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Summary of TCP/IP Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Address Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Sub addressing and subnetwork mask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 UNI-TE communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Modbus communication on the TCP/IP profile. . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Architecture supported by a Modbus communication on the TCP/IP profile.. . . . 73 Modbus messaging on the TCP/IP profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Managing the TCP connections for X-Way UNI-TE and Modbus . . . . . . . . . . . . 76 Opening a connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Closing a connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 What happens when a connection is broken . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 IO Scanning Facility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 IO Scanning Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Read and write zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Scanning Period. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 BOOTP/DHCP Address Server Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 BOOTP and DHCP Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 BOOTP Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 BOOTP and DHCP Servers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 SNMP Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 SNMP Communication on UDP/IP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 6.5 6.6 6.7 6.8 6.9 6.10 Chapter 7 7.1 7.2 7.3 7.4 7.5 Global Data Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Global Data Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Managing Faulty Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Replacing Faulty Remote Stations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Time Synchronization Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Time Synchronization Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 HTTP on-board server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Embedded HTTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 HTTP Server Home Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 HTTP Server Index Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 HTTP Server Security Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Address Server Page for the HTTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 HTTP Server Rack Display Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 HTTP Server Data Editor Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Ethernet Module Diagnostic Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 NTP Diagnostics Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 HTTP Server User Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Bandwidth Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Bandwidth Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 ETHWAY Facility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 ETHWAY profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration parameters for TCP/IP facilities . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Parameters Linked to TCP/IP Utilities. . . . . . . . . . . . . . . . . . . . . Configuration Parameters for IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . Connection configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ethernet configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration parameters for the IO Scanning facility. . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Parameters Linked to the IO Scanning Utility . . . . . . . . . . . . . . . Configuration of general parameters for IO Scanning facility . . . . . . . . . . . . . . Configuration of scanned peripheral devices . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Parameters for the Address Server Utility. . . . . . . . . . . . . . . . . . At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Parameters Linked to the Address Server Utility . . . . . . . . . . . . Address Server Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration parameters for the SNMP facility . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Parameters Linked to the SNMP Utility. . . . . . . . . . . . . . . . . . . . Configuration of the SNMP Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Parameters of the Global Data Utility . . . . . . . . . . . . . . . . . . . . . At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 134 134 135 136 138 140 141 141 142 144 145 147 147 148 149 150 150 151 152 154 154 7 7.6 7.7 Chapter 8 8.1 8.2 8.3 8.4 8 Configuration Parameters Linked to the Global Data Utility. . . . . . . . . . . . . . . . 155 Configuring the General Parameters for the Global Data Utility . . . . . . . . . . . . 157 Configuration of the Variables Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Configuration Parameters of the Time Synchronization Service . . . . . . . . . . . . 159 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 Configuration Parameters Linked to the Time Synchronization Service (NTP) . 160 Using the Time Synchronization Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Configuration of the Time Synchronization Service (NTP) . . . . . . . . . . . . . . . . 164 ETHWAY profile configuration paramaters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Configuration Parameters Linked to the ETHWAY Profile. . . . . . . . . . . . . . . . . 168 Configuration of ETHWAY data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 TSX ETY 110 Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 General points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 TSX ETY 110 Module : General points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Performances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Module TSX ETY 110 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Common functions on the ETHWAY and TCP/IP profile . . . . . . . . . . . . . . . . . . 177 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Module configuration screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Type of communication according to chosen configuration . . . . . . . . . . . . . . . . 181 Messaging configuration on the TCP/IP or ETHWAY profile . . . . . . . . . . . . . . . 182 Configuration of SNMP facility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Configuration of the Bridge function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Example of proprietary architecture ETHWAY. . . . . . . . . . . . . . . . . . . . . . . . . . 187 Example of the ETHWAY architecture connected to TCP/IP. . . . . . . . . . . . . . . 190 Example of connection to a non private TCP/IP network. . . . . . . . . . . . . . . . . . 193 Example of communication between Premium and Quantum . . . . . . . . . . . . . . 195 Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Module debugging screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 General debugging parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 Debugging parameters for TCP/IP facilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 How to test TCP/IP communication with a Ping request . . . . . . . . . . . . . . . . . . 202 Debugging parameters of ETHWAY facilities . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Requests available for the communication channel test . . . . . . . . . . . . . . . . . . 204 How to test a channel with Identification and Mirror requests . . . . . . . . . . . . . . 205 How to test a channel with requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Language objects associated with the TSX ETY 110 module . . . . . . . . . . . . . . 209 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Implicit Exchange Language Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 Language objects in explicit exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 Explicit exchange management and report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 Language objects associated with configuration. . . . . . . . . . . . . . . . . . . . . . . . 216 Chapter 9 9.1 9.2 9.3 9.4 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Type of Supported Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performance of IO Scanning Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Global Data Utility Performances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Modes for TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Migration of Applications using TSX ETY 410/5101 Modules . . . . . . . . . . . . . . Module Configuration Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Type of Communication According to Connection Configuration . . . . . . . . . . . Configuration of TCP/IP Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IO Scanning Utility Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BOOTP Server Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DHCP Address Server Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring the Global Data Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration of the SNMP Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring the Time Synchronization Service . . . . . . . . . . . . . . . . . . . . . . . . . Configuring the Bandwidth Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration of the Bridge Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module Debugging Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General debugging parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Debugging parameters for TCP/IP facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . How to test TCP/IP communication with a Ping request . . . . . . . . . . . . . . . . . . Requests available for the communication channel test . . . . . . . . . . . . . . . . . . How to test a channel with Identification and Mirror requests . . . . . . . . . . . . . . How to test a channel with requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Debugging Parameters for the IO Scanning Utility . . . . . . . . . . . . . . . . . . . . . . Debugging Parameters for the Global Data Utility . . . . . . . . . . . . . . . . . . . . . . Bandwidth Monitoring Diagnostic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . Language objects associated with TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 220 220 221 222 224 226 229 231 233 233 234 235 237 242 244 247 249 251 254 256 261 263 264 264 265 267 268 269 270 271 272 274 275 276 277 277 9 9.5 Implicit Exchange Language Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 Explicit Exchange Language Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 Explicit exchange management and report . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 Language Objects Associated with Configuration . . . . . . . . . . . . . . . . . . . . . . . 283 Questions/Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 Questions/Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 Part III Multi-network architectures . . . . . . . . . . . . . . . . . . . . . . 289 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 Chapter 10 Multi-network architectures: General . . . . . . . . . . . . . . . . . . 291 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Main address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 Addresses of a multi-module station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 Message handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 Common word service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 Shared table exchange service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Chapter 11 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 Configuration of mono-network services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Configuration of multi-network services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 How to configure a module as a bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 Examples of bridge stations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 Examples of partial routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310 Index 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 About the Book At a Glance Document Scope This manual deals with the software implementation of the communication application. Validity Note The update of this publication includes the functions of the PL7 V4.5 Related Documents User Comments Title of Documentation Reference Number Hardware Implementation Manual TSX DM 57 •• E We welcome your comments about this document. You can reach us by e-mail at [email protected]. 11 About the Book 12 Communication via FIPWAY network I Introduction Subject of this part This part introduces the principles of configuring and using FIPWAY communication via PL7 software. What’s in this Part? This part contains the following chapters: Chapter Chapter Name Page 1 Communication via Fipway network: General 15 2 Configuring Fipway communication 29 3 Debugging Fipway communication 37 4 Language objects associated with FIPWAY communication 45 13 FIPWAY communication 14 Communication via Fipway network: General 1 Introduction Subject of Chapter This Chapter introduces communication via the Fipway network and its services. What’s in this Chapter? This chapter contains the following sections: Section Topic Page 1.1 Introduction to Fipway communication 16 1.2 Characteristics 24 15 Fipway Communication: General 1.1 Introduction to Fipway communication Introduction Aim of this Section This Section gives a summary description of the Fipway network and its associated services. What’s in this Section? This section contains the following topics: 16 Topic Page Summary description of the FIPWAY network 17 Communication function 18 Using common words 20 Using shared tables 22 Fipway Communication: General Summary description of the FIPWAY network Introduction To decentralize the periphery, intelligence and services over large distances, Schneider Automation offers the local industrial network FIPWAY. The FIPWAY network complies totally with the FIP standard with access via a bus arbiter. A FIPWAY communication channel comprises three basic functions: l the inter-station messaging function which routes messages, l the send/receive telegram function, l a function for the production/consumption of common words (%NW) or shared tables. Associated manuals If you require further information you should consult the following manuals: Title Description FIPWAY network - User guide Detailed description of FIPWAY network and hardware installation Micro PLCs - Installation manual Hardware installation Premium TSX PLCs - Installation manual Hardware installation 17 Fipway Communication: General Communication function Introduction FIPWAY communication offers the following services: l the message handling service, l the common words service, l the shared table service. Message handling The PCMCIA card message handling service is used: l to exchange messages between two stations on the network, l to broadcast messages to all stations on the network, l the transmission and reception of telegrams between the stations at addresses 0 to 15. l to return to the device messages to be routed to another network (routing function). The exchange of messages between the PLC and the PCMCIA card is done synchronously. Common words The common words service is made up of a set of dedicated %NW words. Depending on its software configuration, each station on the network can access the database in read or write mode. Updating takes place implicitly at the beginning of the cycle for reading and at the end of the cycle for writing. The application program simply consists of writing or reading these words. The word addressing is as follows: %NW{n,s}k The following table describes the parameters for addressing common words: Parameters Description n Network number s Station number k Number of the word Note: The network number is used to select the network on which the common words are exchanged in the case of a multi-network configuration. 18 Fipway Communication: General Shared table This service is used to exchange a table of internal %MW words split into as many zones as there are stations in the FIPWAY network. The principle is based on the broadcast, by each PLC, of a word memory zone to the other stations in the network. Updating takes place implicitly and independently from the execution cycle of the application program. The program simply consists of writing or reading %MW words. Note: You must take care not to create memory conflicts between stations when configuring and assigning zones. 19 Fipway Communication: General Using common words Introduction The following examples show the use of the common word service in the case of a mono-network and multi-network architecture. Mono-network architecture The example is as follows: FIPWAY Station 1 %NW{1}0 %NW{1}1 %NW{1}2 %NW{1}3 Station 2 %NW{2}0 %NW{2}1 %NW{2}2 %NW{2}3 Station 3 %NW{3}0 %NW{3}1 %NW{3}2 %NW{3}3 Table of common words exchanged by stations 1, 2, 3 Three PLCs connected to a FIPWAY network exchange data between themselves via the intermediary of the common word service. This service corresponds to the exchange of 4 words (%NW) per PLC. 20 Fipway Communication: General Multi-network architecture The example is as follows: 2 4 5 Network #3 Network #1 %NW{1.2}0 %NW{1.2}1 %NW{1.2}2 %NW{1.2}3 Network #2 %NW{2.4}0 %NW{2.4}1 %NW{2.4}2 %NW{2.4}3 %NW{3.5}0 %NW{3.5}1 %NW{3.5}2 %NW{3.5}3 In a multi-network architecture, the common words are accessible via the network address of each module. Reading and writing common words The application program manages the content of the different common words: l reading common words from remote stations, l writing common words from the local station. The syntax for writing or reading a common word is identical to that of internal words: l %MW10:=%NW{2.1}0: reading a common word l %NW{2.2}3:= 357: writing a common word 21 Fipway Communication: General Using shared tables Introduction Three TSX 37 or TSX 57 PLCs connected to a FIPWAY network must exchange data between themselves (production parameter, action reports…) via the intermediary of the shared table service. This service corresponds to the exchange of 32 words (%MW) per station. There can be 32 stations on the FIPWAY network. Example The following illustration shows the example: FIPWAY network 17 {17.1} {17.2} {17.3} Station 1 exchanges a of 10 word table from %MW200 to %MW300 of station 2 and %MW400 of station 3. Station 2 exchanges a 20 word table from %MW310 to %MW210 of station 1 and %MW410 of station 3. Station 3 exchanges a 5 word table from %MW430 to %MW230 of station 1 and %MW330 of station 2. 22 Fipway Communication: General Word production The following chart shows the production synoptic of the shared table. Station 1 %MW200 Station 2 %MW300 Station 3 %MW400 %MW309 %MW310 %MW410 10 words produced %MW209 %MW210 %MW409 20 words produced %MW229 %MW329 %MW429 %MW230 %MW330 %MW430 5 words produced %MW234 %MW334 %MW434 Note: l From the address at the beginning of the configured table, the station reserves a table of 128 words dedicated to the shared table. The sum of the words produced by the other stations must be less than 128 words. If the length is less than 128, the unused words must not be written by the application program. l the data produced must be consecutive. l it is not necessary to have identical lengths. 23 Fipway Communication: General 1.2 Characteristics Introduction Aim of this Section This Section introduces the characteristics and constraints of using Fipway communication. What’s in this Section? This section contains the following topics: 24 Topic Page Hardware compatibility 25 Software compatibility 26 Performance 27 Operating mode 28 Fipway Communication: General Hardware compatibility General The binary output of the network is 1 Mbits/s. The length of a segment depends on the type of branching. The maximum length is 1000 meters without a repeater. When using repeaters (optic or electric), the maximum length between the two furthest stations depends on the number of repeaters which must be crossed. The maximum length in km is calculated with the following formula: L = 22 - (0,5 * R) where R is the number of repeaters crossed by the FIP data between the two stations. The FIPIO bus is connected to the Hirschmann optic transmitters, with the TSX FPP 200 PCMCIA card. Availability This type of communication is available for these PLCs: l Premium via the intermediary of: l the TSX FPP 20 PCMCIA card, l the TSX FPP 200 PCMCIA card. l Micro accepts the PCMCIA cards described below (TSX 37-21/22 PLCs). Capacity A FIPWAY network segment is used to connect 36 devices. The devices for a FIPWAY network can be: l stations with the constraint of a maximum of 32 stations per segment, l repeaters with the constraint of a maximum of 32 repeaters per segment, On all the segments, a maximum of 64 stations can be connected to the network. 25 Fipway Communication: General Software compatibility Message handling The maximum frame size depends on the type of transaction: l For a message, the maximum frame is 128 bytes. l For a telegram, the maximum frame is 16 bytes. Equally, the PCMCIA cards can process: 8 communication functions simultaneously (8 in receive and 8 in send mode). l for messages, 8 communication functions simultaneously (8 in send and 8 in receive mode). l for telegrams, one single communication function (one in send and one in receive mode). Common words The common words service is supported by the stations at addresses between 0 and 31. This database is made up of a maximum of 128 words for all the stations. Each station can produce a maximum of between 0 and 4 common words and consume the other common words on the network. Shared table The shared table service is supported by the stations at addresses between 0 and 31. This database is made up of a maximum of 128 words for all the stations. Each station can produce a maximum of between 1 and 32 words (defined in configuration mode) and consume the other words on the network. 26 Fipway Communication: General Performance Transaction time The following table gives the transaction time between two stations: Receiving station Cyclic Sending station Periodic 50 ms Cyclic 50 ms - Periodic 50 ms 120 ms 160 ms The telegram exchange time between two stations is 21 ms. 27 Fipway Communication: General Operating mode Introduction The following chart describes the operating modes of the TSX FPP 20 card. General chart The operating mode is as follows: Power up Module stopped Module off Communication function Module configured Module in self-test phase Reset Module not configured Self-tests OK Configuration Operation l After power-up the module self-tests. During this phase the LED indicators flash. l If there is no configuration, the card operates in message handling mode, and it can receive a PL7 configuration. l If there is a PL7 application in the PLC, the configuration of the application is transmitted to the module and the module starts up. l In case of power outage, the PLC processor performs a warm restart. The module then re-launches its self-test procedure. 28 Configuring Fipway communication 2 Introduction Subject of this Chapter This Chapter describes the Configuration process during set-up of Fipway communication. What’s in this Chapter? This chapter contains the following topics: Topic Page How to access the FIPWAY configuration screen 30 FIPWAY configuration screen 31 FIPWAY parameters linked to the telegrams and to the physical layer 32 FIPWAY parameters linked to the common data 33 Example of configuration of shared table service 35 29 Configuration How to access the FIPWAY configuration screen Introduction This operation describes how to access the configuration parameters of the FIPWAY link via the intermediary of the PCMCIA cards for Premium PLCs. How to access the link The following table shows the procedure for accessing the FIPWAY link: Step Action 1 Access the communication channel configuration screen. 2 Select the communication channel from the drop-down menu CHANNEL 1 Example CHANNEL 0 CHANNEL 1 (No PCMCIA submodule) CHANNEL 0 (Link not configured) MAST CHANNEL 1 3 Select one of the following PCMCIA cards from the drop-down menu: l TSX FPP 20 FIPWAY PCMCIA CARD l TSX FPP 200 FIPWAY PCMCIA CARD Example CHANNEL 1 CHANNEL 1 (No PCMCIA submodule) TSX SCP 112 PCMCIA CARD BC MP (Link not configured) MAST TSX SCP 114 PCMCIA CARD RS485 MP TSX FPP 20 PCMCIA FIPWAY CARD TSX FPP 200 PCMCIA FIPWAY CARD TSX FPP 10 PCMCIA FIPIO CARD TSX MBP 100 PCMCIA MODBUS+ CARD TSX MDM 10 PCMCIA MODEM CARD 30 Configuration FIPWAY configuration screen Introduction This screen, split into two zones, is used to declare the communication channel and to configure the necessary parameters for a FIPWAY link. Illustration The screen dedicated to FIPWAY communication looks like this: TSX 57352 [RACK 0 POSITION 0] Configuration Designation: PROCESSOR TSX P 57352 1 CHANNEL 1 CHANNEL 1 TSX FPP 20 PCMCIA FIPWAY CARD FIPWAY MAST Telegram Physical layer Telegram Management Event processing 2 Common Data None Common words: Shared table (ST) Elements and functions FIP 63 CB Bridge Network Number Table start address %MW Produced zone address %MW Length of produced zone in words 1 0 0 1 This table describes the different zones that make up the configuration screen: Address Zone Function 1 common See (Communication applications Volume 1 - Overwiew of configuration screen). 2 specific is used to select or complete the parameters of a FIPWAY link. It is split into three types of information: l Telegram management parameters, l the parameters for the physical layer, l the parameters for the common data. 31 Configuration FIPWAY parameters linked to the telegrams and to the physical layer Introduction Once the communication channel has been configured, complete the parameters dedicated to the telegrams and to the physical layer. They are split into two windows: l the Telegram window, l the Physical layer window. Telegram window The window looks like this: Telegram Telegram Management Event processing 63 It is used to complete: l Telegram management: if the box is checked, the card is used to manage the telegrams (default setting). l Event processing: this option is accessible only if telegram management has been activated. This option is used to manage the telegrams via an event task. If the box is checked, you must complete the number of the task where the telegrams will be processed. The possible values are: l between 0 and 15 for Micro PLCs, l between 0 and 31 for Premium PLCs of type TSX 57-10, l between 0 and 63 for Premium PLCs of type TSX 57-20 and higher. Note: If there is a PCMCIA in the module TSX SCY 21600/21601, telegram management is obligatory. Physical layer window The window looks like this: Physical layer FIP CB It is used to select the physical layer used for the communication. Note: Only the physical layer specific to FIP is available. 32 Configuration FIPWAY parameters linked to the common data Introduction The window looks like this: Common Data None Common Words Shared table (ST) Bridge Network Number Table start address %MW Produced zone address %MW Length of produced zone in words 1 0 0 1 It can be used to: l activate or deactivatethe exchange management of common data l select the type of common data to exchange, l complete the parameters necessary for this type of exchange. None Select this button if you wish to disable the management of common data in the application. Common words Select this button if you wish to have management of common data by common words (%NW). When selecting this field, you must enter the local Network number to which the database is connected. Note: The local network number corresponds to the number coded on the PCMCIA card. Shared table Select this button if you wish to have management of common data by shared table. When selecting this field, you must complete the following parameters: l Table start address : this parameter shows the start of the table of internal words reserved in the PLC. The 128 words following the start of the table will be reserved for the shared table function and are common to all stations. l Produced zone address: this parameter shows the address of the start of the zone of internal words produced by the station. The address entered must take into account zones of internal words of the other stations. You must avoid an overlap of word zones between two stations. l Length of produced zone: this parameter shows the length (in words) of the table of internal words produced by the PLC (from 1 to 32 words). 33 Configuration Bridge This button is used to configure the routing function between networks. See Multi-network architectures, p. 289 34 Configuration Example of configuration of shared table service Introduction The example shows how the stations are configured for using the shared table service. These configurations use the example described in using shared tables. Configuration of station 1 The example shows the configuration for station 1. Common Data None Common Words Shared table (ST) Configuration of station 2 Bridge Network Number Table start address %MW Produced zone address %MW Length of produced zone in words 17 200 200 10 The example shows the configuration for station 2. Common Data None Common Words Shared table (ST) Bridge Network Number Table start address %MW Produced zone address %MW Length of produced zone in words 17 300 310 20 The zone produced by the station starts at address %MW310. The corresponding zone of %MW300 to %MW309 is reserved for the words produced by station 1. 35 Configuration Configuration of station 3 The example shows the configuration for station 3. Common Data None Common Words Shared table (ST) Bridge Network Number Table start address %MW Produced zone address %MW Length of produced zone in words 17 400 430 5 The zone produced by the station starts at address %MW430. The corresponding zone of %MW400 to %MW409 is reserved for the words produced by station 1. The corresponding zone of %MW410 to %MW429 is reserved for the words produced by station 2. 36 Debugging Fipway communication 3 Introduction Subject of this Chapter This Chapter describes the Debugging process during set-up of Fipway communication. What’s in this Chapter? This chapter contains the following topics: Topic Page FIPWAY debugging screen 38 FIPWAY debugging parameters 39 Requests available for the communication channel test 41 How to test a channel with Identification and Mirror requests 42 How to test a channel with requests 44 37 Debugging FIPWAY debugging screen Introduction This screen, split into two zones, is used to debug a FIPWAY link. Illustration The screen dedicated to FIPWAY communication looks like this: TSX 57352 [RACK 0 POSITION 1] Debugging Designation: TSX P 57352 PROCESSOR Version: 3.3 DIAG... 1 CHANNEL 1 CHANNEL 1 FIPWAY TSX FPP 20 PCMCIA FIPWAY CARD MAST Channel Information Bus arb. Network address 23 Bridge Station Address 8 Common data Common Words 2 Elements and functions 38 Channel Test Identification Counters Reset Counters Enter Request Mirror Stations DIAG... Message Errors Messages sent and not acknowledged Message Refused Reset Counters 0 0 Receive Response ASCII Hex. This table describes the different zones that make up the debugging screen: Address Zone Function 1 common See (Communication applications Volume 1 - Description of communication debugging screens). 2 specific is used to access the debugging parameters of a FIPWAY link. It is split into three windows: l information on the channel, l information on the message errors, l the possibility of testing the communication channel. Debugging FIPWAY debugging parameters Introduction The specific part is split into three windows: l the Channel information window, l the Message errors window, l the Channel test window. Channel information The window looks like this: Channel Information Bus arb. Network address 23 Bridge Station Address 8 Common data Common Words It shows information concerning the communication channel: l Network address: this field indicates the network address coded on the PCMCIA card. l Station address: this field indicates the station address coded on the PCMCIA card. l Common data: this field shows the type of common data selected in configuration mode. l B.A.: this field indicates if the local PCMCIA card is the bus arbiter of the FIPWAY network. In this case, the box is shaded. l Router: this field indicates if the local PCMCIA card is configured as a Bridge (router). In this case, the box is shaded. Message errors The window looks like this: Message Errors Messages sent and not acknowledged Messages Refused Reset Counters 0 0 This window displays the PCMCIA card error counters: l Messages sent and not acknowledged, l Messages refused. The button Reset Counters resets these counters. 39 Debugging Channel test The window looks like this: Channel Test 6 Identification 14 Counters Stations Reset Counters Enter Request Mirror Receive Response ...TSX FPP20.../... ASCII Hex. This window is used to test a communication channel by sending a request to one of the stations on the network. 40 Debugging Requests available for the communication channel test Introduction This page describes the different possibilities for testing a communication channel from the debugging screen. Test conditions Sending a request to an unconnected station results in an error message. Available requests The Channel Test window allows the following requests: l Identification: prompts the Identification request to be sent to the designated slave, l Counters: prompts the Read error counters request to be sent to the designated station, l Reset Counters: prompts the designated station’s error counters to be reset to zero, l Enter request: allows a UNI-TE request, other than those provided by the command buttons, to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the parameters that are specific to the request (request code must be coded in hexadecimal), l Mirror: allows a mirror request to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the length of the character string to be sent (a maximum of 80 characters ). The PLC then sends this character string (ABCD….) to the destination device. The latter automatically sends the character string that was received back to the sender. 41 Debugging How to test a channel with Identification and Mirror requests Introduction This page indicates the procedure for testing a communication channel by means of Identification and Mirror requests. How to identify a station The following procedure is used to identify a designated station. Step Actions 1 Select the address of the station to be interrogated using the Station field. 2 Click on the Identification button. Result The response appears in the Receive Response window: Receive Response ...TSX FPP20.../... ASCII 42 Hex. Debugging How to send the Mirror request The following procedure is used to send the Mirror request and thus to test the routing of information between two devices. Step Action 1 Select the address of the station to be interrogated using the Station field. 2 Click on the Mirror button. Result The following window appears: Mirror Request Length of data to be sent 8 Cancel Send 3 Enter the length of data to be sent (maximum 80 characters). 4 Click on the Send button. Result The response appears in the Receive Response window: Receive Response ABCDEFGH ASCII Hex. The response contains: l the character string ABCDEFGH that corresponds to the length of data sent 8. 43 Debugging How to test a channel with requests Introduction This page indicates the procedure for testing a communication channel from the debugging screen using different requests. How to send a request The following procedure is used to send a request, other than those provided by the command buttons, to a designated station. Step Action 1 Select the address of the station to be interrogated using the Station field. 2 Click on the Enter Request button. Result The following window appears: Enter Request Request Code (Hexadecimal) fa Data (Hexadecimal) 1234db Cancel Send The data sent in this example is coded on 3 bytes. 3 Enter the function code (coded in hexadecimal on one byte), corresponding to the request that you want to send. 4 Enter the data to be sent by coding all the data in hexadecimal. Enter the data continuously without any intervening spaces. 5 Click on the Send button. Result The response appears in the Receive Response window: Receive Response 1234DB ASCII Hex. the response from the example has data on 3 bytes (12 43 DB). 44 Language objects associated with FIPWAY communication 4 Introduction Aim of this section This chapter introduces the language objects linked to FIPWAY communication. What’s in this Chapter? This chapter contains the following topics: Topic Page Language object for implicit exchange 46 Language objects in explicit exchange 48 Explicit exchange management and reports 51 Language objects associated with the configuration 52 45 FIPWAY language objects Language object for implicit exchange Introduction This page describes all the language objects for implicit exchange in FIPWAY communication that can be displayed or modified by the application program. (Communication applications Volume 1 - Default exchanges) Bit objects The table below shows the different bit objects for implicit exchange. Object (1) Function Meaning %Ixy.MOD.ERR Module error bit This bit set to 1, indicates a module error (at least one of the channels has an error, for instance. %Ixy.i.ERR This bit set to 1, indicates a line fault. Channel error bit Key (1) 46 Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l FIPWAY language objects Word objects The table below shows the different word objects for implicit exchange. Object (1) Function %IWxy.i.0 Network status %IWxy.i.1 Common data refresh flags Meaning l l l l l l l ... ... %IWxy.i.5 Common data refresh flags x0 = 1: if at least one of the stations is present x0 = 1: the common words or the words from the shared table from station 0 are refreshed. ... x7 = 1: the common words or the words from the shared table from station 7 are refreshed. x8 = 1: the common words or the words from the shared table from station 0 are refreshed. ... x15 = 1: the common words or the words from the shared table from station 7 are refreshed. ... l l l l l l x0 = 1: the common words or the words from the shared table from station 48 are refreshed. ... x7 = 1: the common words or the words from the shared table from station 55 are refreshed. x8 = 1: the common words or the words from the shared table from station 56 are refreshed. ... x15 = 1: the common words or the words from the shared table from station 63 are refreshed. Key (1) Common words Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l The following table describes the words of the input channels: Object Function Meaning %NW{n.s}0 to %NW{n.s}3 Common words corresponds to the exchanged common data 47 FIPWAY language objects Language objects in explicit exchange Introduction 48 This page describes all the language objects for explicit exchange in FIPWAY communication that can be displayed or modified by the application program. (Communication applications Volume 1 - Specified exchanges: General points) FIPWAY language objects Word objects The table below shows the different word objects for explicit exchange. Object (1) Function %MWxy.MOD.2 Module status Meaning l l l l l l %MWxy.i.2 Standard channel status l l l l l l l l l l %MWxy.i.3 Specific channel status x0 = 1: defective module x1 = 1: functional error (error between the processor and the module, adjustment or configuration error, etc.) x2 = 1: terminal block fault (not connected) x3 = 1: self-tests running x4 = 1: reserved x5 = 1: error in hardware or software configuration (the module present is not that declared in the configuration, the sub-modules are not compatible) x6 = 1: missing module x7 = 1: error in one of the sub-modules x0 = 1: only station on the network x1 = 1: not used x2 = 1: transmission line error x3 = 1: not used x4 = 1: internal software fault x5 = 1: hard- or software error or absence of configuration x6 = 1: communication problem with the processor x7 = 1: application fault (double address station) Byte 0: l x0 = 0: if bridge (0 if not router) Byte 1: l = 16#00: unsupported bus arbiter function l = 16#03: active bus arbiter function l = 16#20: bus arbiter function in standby %MWxy.i.4 Error counters Unacknowledged messages %MWxy.i.5 Error counters Refused messages %MWxy.i.6 Network/station address Byte 0: station number Byte 1: network number 49 FIPWAY language objects Object (1) Function Meaning %MWxy.i.7 Common words or shared table information Byte 0: l = 16#00: inactive service l = 16#01: read/write of common words l = 16#02: reading of common words l = 16#03: participation in the exchange of a shared table (operation without error) l = 16#04: overlap of the exchange zone of a shared table l = 16#05: exchange error of a shared table Byte 1: size %MWxy.i.8 Status of stations from 0 to 15 ... ... %MWxy.i.11 Status of stations from 48 to 63 l l l l l l l l l l l l l l l l x0 = 1: station 0 present (= 0 absent) x1 = 1: station 1 present (= 0 absent) x2 = 1: station 2 present (= 0 absent) x3 = 1: station 3 present (= 0 absent) x4 = 1: station 4 present (= 0 absent) x5 = 1: station 5 present (= 0 absent) x6 = 1: station 6 present (= 0 absent) x7 = 1: station 7 present (= 0 absent) x8 = 1: station 8 present (= 0 absent) x9 = 1: station 9 present (= 0 absent) x10 = 1: station 10 present (= 0 absent) x11 = 1: station 11 present (= 0 absent) x12 = 1: station 12 present (= 0 absent) x13 = 1: station 13 present (= 0 absent) x14 = 1: station 14 present (= 0 absent) x15 = 1: station 15 present (= 0 absent) ... l l l l l l x0 = 1: station 48 present (= 0 absent) ... x7 = 1: station 55 present (= 0 absent) x8 = 1: station 56 present (= 0 absent) ... x15 = 1: station 63 present (= 0 absent) Key (1) 50 Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l FIPWAY language objects Explicit exchange management and reports Introduction This page describes all the language objects that manage explicit exchanges. (Communication applications Volume 1 - Exchange and report management) Word objects The table below shows the different word objects for the management of explicit exchanges. Object (1) Function Meaning %MWxy.MOD.0 Module exchanges in progress l l l %MWxy.MOD.1 Module report l l %MWxy.i.0 Channel exchanges in progress l l l %MWxy.i.1 Channel report l l x0 = 1: status reading in progress x1 = 1: sending of command parameters to the communication module x2 = 1: sending of adjustment parameters to the communication module x1 = 0: command parameters received and accepted by the module x2 = 0: adjustment parameters received and accepted by the module x0 = 1: status reading in progress x1 = 1: sending of command parameters to the communication channel x2 = 1: sending of adjustment parameters to the communication channel x1 = 0: command parameters received and accepted by the communication channel x2 = 0: adjustment parameters received and accepted by the communication channel Key (1) Address xy.i l x: corresponds to the rack number l y: corresponds to the module number l i: corresponds to the channel number 51 FIPWAY language objects Language objects associated with the configuration Introduction This page describes all the configuration language objects for FIPWAY communication that can be displayed by the application program. Internal constants The following table describes the internal constants: 52 Object Function Meaning %KWxy.i.0 Type Byte 0 = 4 for FIPWAY communication %KWxy.i.1 Physical layer Byte 0: station address l = 0: FIP physical layer l = 1: WORLD FIP physical layer byte 1: reserved %KWxy.i.2 Supported services Byte 0: common data = 16#00: none = 16#01: common words = 16#02: shared table Byte 1: telegrams l = 16#00: unsupported services l = 16#01: supported %KWxy.i.3 Shared table information Address of the beginning of the shared table %KWxy.i.4 Common words and shared table Byte 0: the number of common words or size of production zone of the shared table Byte 1: Address (in bytes) of the beginning of the production zone of the shared table l l l Communication via ETHERNET network II Introduction Subject of this part This part introduces the Communication function on the Micro/Premium PLCand describes its implementation with PL7 software. What’s in this Part? This part contains the following chapters: Chapter Chapter Name Page 5 Communication via Ethernet network 55 6 Facilities 61 7 Configuration parameters 133 8 TSX ETY 110 Module 171 9 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 modules 219 53 ETHERNET communication 54 Communication via Ethernet network 5 Introduction Subject of this chapter This chapter introduces communication via Ethernet network and its facilities. What’s in this Chapter? This chapter contains the following topics: Topic Page About ETHERNET 56 General Information about the TSX ETY Modules 57 Details of Available Functions 59 55 General points About ETHERNET Introduction ETHERNET communication is essentially used for the following applications: l co-ordination between PLCs, l local or centralized monitoring, l communication with production management data processing, l communication with remote inputs/outputs. Two communication profiles are supported by the ETHERNET network modules: l the ETHWAY profile, which restarts all the devices of the X-WAY communication architecture: l X-WAY addressing system, l UNI-TE messaging, l distributed databases (common words). l TCP/IP profile on ETHERNET allowing communication in: l UNI-TE messaging with all of the X-WAY architecture, l Modbus messaging. The ETHERNET network modules also support the SNMP standard network management protocol as an agent. Associated manuals 56 If you require fuller information you should consult the following manuals: Title Description ETHERNET network - Reference manual Detailed description of the ETHERNET network Premium TSX PL7s - Set up manual Hardware set up Momentum Bases - Set up manual Hardware and software set up of the Momentum TSX General points General Information about the TSX ETY Modules At a Glance ETHERNET network communication is available for Premium PLCs using: l TSX ETY 110 and TSX ETY 110 WS modules, l TSX ETY 410•, TSX ETY PORT and TSX ETY 510• modules, l the TSX ETY 210 module. They have several types of interface. The TSX ETY 110 module Connection can be made: l to an ETHWAY profile network supporting the following utilities: l common words, l UNI-TE messaging, l to a TCP/IP profile network supporting the following utilities: l UNI-TE and Modbus messaging, l SNMP management. For the TSX ETY 110 WS module Connection can be made: l to an ETHWAY profile network supporting the following utilities: l common words, l UNI-TE messaging, l to a TCP/IP profile network supporting the following utilities: l UNI-TE and Modbus messaging, l SNMP management. l TCP direct access, l access to the Web-user pages HTTP server. TSX ETY 410• and TSX ETY PORT modules Connection can be made: l to a TCP/IP profile network supporting the following utilities: l UNI-TE and Modbus messaging, l SNMP management, l input/output management (I/O Scanner), l IP address management (BOOTP/DHCP), l access to the embedded Web server, l common data exchange between stations (Global Data), l diagnostics from Web pages. 57 General points The TSX ETY 510• module Connection can be made: l to a TCP/IP profile network, which is necessary when using FactoryCast and which supports the following utilities: l UNI-TE and Modbus messaging, l SNMP management, l time synchronization (NTP), l input/output management (I/O Scanner), l IP address management (BOOTP/DHCP), l access to the embedded Web server, l common data exchange between stations (Global Data), l diagnostics from Web pages, l access to the Web-user pages HTTP server, l with direct TCP access. The TSX ETY 210 module Connection can be made: l to an ETHWAY profile network supporting the following utilities: l common words, l UNI-TE messaging. l to a TCP/IP profile network supporting the following utilities: l UNI-TE and Modbus messaging, l SNMP management, l specific to redundancy. 58 General points Details of Available Functions At a Glance Depending on the type of ETHERNET module selected, certain functions will or will not be accessible. Selection Guide The summary table below shows the various selections possible: Function TSX ETY 110 TSX ETY 110 WS TSX ETY 410• / TSX ETY 510• TSX ETY PORT TSX ETY 210 Connection at 10 Mbits/s in Half/Full Duplex in Half/Full Duplex in Half/Full Duplex in Half/Full Duplex in Half/Full Duplex Connection at 100 Mbits/s - - in Half Duplex in Half Duplex - TCP/IP utility X X X X X Standard MIB X X X X X MIB Ethernet Transparent Factory - - X X - SNMP utility: IO Scanner Utility - - X X - Address Server utility (BOOT/DHCP) - - X X - UNI-TE messaging X X X X X Modbus messaging X X X X X ETHWAY profile X X - - X Software loading via FTP (firmware) X X X X X Embedded HTTP server - - X X - Global Data - - X X - Diagnostics from Web pages - - X X - User WEB pages HTTP server - X - X - Redundancy - - - - X TCP direct access - X - X - Time synchronization utility - - - X - Legend X Available - Not available 59 General points 60 Facilities 6 Introduction Subject of this chapter This chapter introduces the main points of the different facilities used by the modules. What’s in this Chapter? This chapter contains the following sections: Section Topic Page 6.1 TCP/IP Messaging 62 6.2 IO Scanning Facility 82 6.3 BOOTP/DHCP Address Server Utility 89 6.4 SNMP Facility 95 6.5 Global Data Utility 6.6 Managing Faulty Devices 101 6.7 Time Synchronization Service 102 6.8 HTTP on-board server 103 6.9 Bandwidth Monitoring 130 ETHWAY Facility 131 6.10 98 61 Facilities 6.1 TCP/IP Messaging Introduction Subject of this sub-chapter This sub-chapter mentions the functions and characteristics of the TCP/IP profile. What’s in this Section? This section contains the following topics: 62 Topic Page Summary of TCP/IP Characteristics 63 Address Management 64 IP Address 66 Sub addressing and subnetwork mask 68 UNI-TE communication 70 Modbus communication on the TCP/IP profile 71 Architecture supported by a Modbus communication on the TCP/IP profile. 73 Modbus messaging on the TCP/IP profile 74 Managing the TCP connections for X-Way UNI-TE and Modbus 76 Opening a connection 77 Closing a connection 79 What happens when a connection is broken 80 Facilities Summary of TCP/IP Characteristics TCP/IP Communication Profile The following diagram illustrates the make-up of a typical TCP/IP stack. OSI Model 7 - Application layer 4 - Transport layer 3 - Network layer ETHERNET Direct access UNI-TE X-WAY addressing Modbus HTTP ETHWAY BOOTP TCP SNMP UNI-TE COM UDP IP Adressing X-WAY 2 - Link layer ETHERNET II / 802.3 1 - Physical layer Communication Port The communication port reserved for the TSX ETY module is the TCP 502 port. When a client wants to access the module server, s/he should go to this port. Timeout on TCP Connection If a TCP connection cannot be established (when the destination is absent for example), the timeout error occurs after 80 seconds. Each communication function timeout must be set to a value higher than 80 seconds if the first exchange was not successfully completed. "Keep Alive" Frame The TCP layer sends a frame almost every 2 hours so that breaks in connection can be detected (i.e. cable disconnection, detection of power outage from the client by a server etc.). The use of this mechanism is detailed in the chapter called Managing the TCP connections for X-Way UNI-TE and Modbus, p. 76 in this part. 63 Facilities Address Management At a Glance When implementing ETHERNET modules, you can manage the following addresses: l MAC address, l IP address, l X-WAY address, CAUTION Address duplication Two devices with the same address can generate unpredictable events on the network. Failure to follow this precaution can result in injury or equipment damage. MAC Address General case This address is unique for each ETHERNET module. It is defined in the factory by the module manufacturer. Exception For the TSX ETY 110 module, this address is derived from the X-WAY address using the code selectors situated on the front panel of the module. It is defined in the following way: 00.80.F4.00.<network number>.<station number> Note: Given the risk of possible duplicate addresses, you must ensure that it conforms to the company’s addressing scheme. IP Address General case You define this address yourself when configuring the module. On the same local network, this address must be unique. Exception For the TSX ETY 110 module, this address can be derived from the MAC address. For TSX ETY 410•, PORT and 510• modules, in the absence of PL7 confirmation, this address is derived by default from the MAC address. 64 Facilities X-WAY Address General case All devices have an X-WAY address linked to the IP address by the module configuration. This address must be unique within the entire X-WAY architecture. Exception For the TSX ETY 110 module, the X-WAY address is defined using the code selectors on the module. These selectors code the network number and the station number. 65 Facilities IP Address At a Glance Each device connected to the network should have a unique IP address. When the type of network environment is open, the uniqueness of the address is guaranteed by the authorized organism in the country where the network is located by assigning it a network identifier. If the type of environment is closed, the uniqueness of the address is managed by the company’s network manager. Address Composition This address is made up of two identifiers, one of which identifies the network, the other identifies the connected machine. An IP address is defined on 32 bits. It is made up from 4 decimal numbers, each coded on a bit (example: 140.186.90.3). Depending on the network span, four address classes can be used: l Class A applies to large span networks, which have a large number of connected stations. l Class B applies to medium span networks, which have fewer connected stations. l Class C applies to small span networks, which have few connected stations. l Class D is used for multicast. 66 Facilities Structure Depending on the class, an address is structured in the following way: 7 bits Class A 0 24 bits Network identifier Machine identifier 14 bits Class B 1 0 16 bits Network identifier Machine identifier 21 bits Class C 1 1 0 8 bits Network identifier Machine identifier 28 bits Class D 1 1 1 0 Network/machine identifier The following table displays the spaces reserved for the different IP address classes: Class Range A 0.0.0.0 to 127.255.255.255 B 128.0.0.0 to 191.255.255.255 C 192.0.0.0 to 223.255.255.255 D 224.0.0.0 to 239.255.255.255 67 Facilities Sub addressing and subnetwork mask Introduction In an open environment, after a network identifier has been obtained from the accredited body, the local system administrator is able to manage several subnets. This will allow local networks to be installed without changing anything for the outside world which will still only be able to see the network indicated by the network identifier. Sub addressing This sub addressing function is possible by splitting the machine identifier into the following: l a subnet identifier, l a machine identifier. Example: sub addressing for a class B address (IP address in question: 140.186.90.3) 8 bits 16 bits Network 140.186 68 identifier = Subnetwork identifier = 90 8 bits Machine identifier = 3 Facilities Mask The subnet mask is used to find out the number of bits allocated respectively to the network identifier and the subnet indicator (bits to 1), and then to the machine identifier (bits to 0). The value of the subnet mask must be chosen to comply with the IP address class. It will have the value (xxx: value chosen left up to the user): l for a class A address: 255.xxx.xxx.xxx, l for a class B address: 255.255.xxx.xxx, l for a class C address: 255.255.255.xxx. Example: class C subnet mask (IP address in question :192.186.90.3) 8 bits 16 bits Network 192.186 identifier = Subnetwork mask (24 bits to 1) = 255.255.255 Subnetwork identifier = 90 8 bits Machine identifier = 3 Machine identifier (8 bits to 0) Note: This division allows 254 possible subnets with 254 machines per subnet. 69 Facilities UNI-TE communication Introduction Two data exchange services are offered according to the server type (Communication applications Volume 1 - Server Function) used : l either data exchanges sychronized on the MAST task, l or data exchanges performed by the end task in the following modes : l asynchronous server, l asynchronous client. Synchronous exchanges In server mode All UNI-TE requests from the PLC are supported by the ETHERNET module. In client mode This type of exchange allows the following UNI-TE requests to be sent out: l READ_VAR, l WRITE_VAR, l SEND_REQ, l DATA_EXCH, l ... Asynchronous exchanges In server mode This facility allows messages to be exchanged using the following requests: l READ_OBJECT l WRITE_OBJECT l READ_GENERIC_OBJECT l WRITE_GENERIC_OBJECT l MIRROR l READ_OBJECT_LIST l WRITE_OBJECT_LIST The consistency of the data read or written can be guaranteed (guarantee that the request is sent in one cycle) by setting the system bit %S91 to 1. In this configuration a jitter phenomenon of 1.5 ms can appear on the MAST task. In client mode This facility allows messages to be exchanged using the following requests: l READ_Asyn : allows up to 507 (%MW) words or 8112 (%M) bits to be read by the asynchronous messaging (Communication applications Volume 1 - Server Function) channel. l WRITE_Asyn : allows up to 510 (%MW) words or 8160 (%M) bits to be written by the asynchronous messaging channel. 70 Facilities Modbus communication on the TCP/IP profile Introduction This service is used for Modbus protocol communication between a Premium TSX PLC and a Quantum TSX PLC or a different Premium TSX PLC and control routine software on a PC or other devices conforming to the Modbus protocol. Client scheduler Modbus Protocol TCP/IP ETHERNET Modbus Protocol Quantum Server Premium 1 Client/Server Modbus Protocol Premium 2 Client/Server The same module can communicate with a remote device in client mode (for example a Quantum PLC) and other remote devices in server mode (for example a control routine PC). The Premium 1 PLC is the client to the Quantum PLC. It opens the TCP-IP connection and sends Modbus messages to the Quantum. The Premium 2 PLC is the server to the scheduler. The scheduler has opened a TCP/IP connection and is sending Modbus messages to the TSX Premium 2. 71 Facilities Precautions for use The profile pair UNI-TE and Modbus is not supported on the same Premium remote station. Special case for the TSX ETY 110 module The Client/Server modes are exclusive to a given remote device to improve communication performance. PLC applications and the network architectures will have to be designed so that switching from one mode to another between the same two devices is done as little as possible. Furthermore, frequent switching could lead to messages being lost: l If the Premium PLC communicates in server mode with a Quantum PLC after opening the TCP/IP connection, sending a message through the PL7 client application will cause the TCP/IP server connection to close after any server transactions that are in progress have been processed. l If after opening the TCP/IP connection the Premium PLC communicates in client mode with a Quantum PLC, a request to open the connection coming from the Quantum will cause the TCP/IP connection to close with the possible loss of any client transactions in progress. 72 Facilities Architecture supported by a Modbus communication on the TCP/IP profile. Introduction The following diagram illustrates the architecture supported. Programming terminal Scheduler Modbus Communication UNI-TE Communication Ethernet Quantum Modbus Modbus Bridge Ethernet Modbus series Modbus Premium Premium Slave 1 Modbus Plus Fipway Accessibility Modbus Slave n The Modbus protocol guarantees interoperability between the Premium station and the Quantum station on a TCP/IP Ethernet network. On the other hand access from a Premium PLC to a Modbus Plus network connected to the Quantum PLC is not possible via TCP/IP. In the same way the Modbus protocol cannot cross X-Way Premium bridges. Communication between a Premium PLC on the Ethernet network with a remote device connected to a Modbus series bus is possible if you use a series linked Ethernet/Modbus gateway (type 174 CEV 300 10). Special case for the TSX ETY 110 module For a TSX ETY 110 module, communication between a Premium PLC on the Ethernet network with a device connected to the Modbus series bus is not possible. 73 Facilities Modbus messaging on the TCP/IP profile At a Glance The communication functions are the same as those described in the communication functions on Modbus. Installation principle Although a remote Modbus station does not have an X-WAY format address, each communication function will use an X-WAY format address to designate a remote IP station. For each remote Modbus station you must configure the pair in the correspondence table (IP address, {network.station} X-WAY) with: l network: network number of the local X-WAY station, l station: 100 to 164 = logical number of the X-WAY station. Example: the X-WAY address {2.108} is associated with the IP address 139.160.2.8. This address will only be used by the local Premium module. It is not sent over the network. In the case of a remote Premium station configured with the Modbus protocol, it is advisable to give an X-WAY station address that is the same as the number of the local station, incremented by 100. Sending the communication function When the communication functions are being sent by the application to a remote device connected to a Modbus bus via a series linked ETHERNET/Modbus gateway, the function address must be as follows: ADR#{network number, station number}0.0.Modbus address of destination The network number and station number correspond to the X-WAY address of the ETHERNET/Modbus gateway. The Modbus destination address corresponds to the Modbus slave address. Example: a READ_VAR function is sent to slave 10 on the Modbus serial bus. The gateway IP address is 139.160.2.8 and the X-WAY address {2.108}. READ_VAR(ADR#{2.108}0.0.10, ...) 74 Facilities Data exchange The following requests are addressed to the device with which you wish to perform variable read or write operations. Modbus requests Function code Communication function Read bits 16#01 READ_VAR Read words 16#03 READ_VAR Write a bit or n bits 16#05 or 16#0F WRITE_VAR Write a word or n words 16#06 or 16#10 WRITE_VAR Read input bits 16#02 SEND_REQ Read input words 16#04 SEND_REQ Note: Write functions are supported in server mode only. Correspondence of object types This table describes object type correspondence between a Premium PLC and Momentum or Quantum PLC. Premium objects Quantum or Momentum objects %MW: internal words 4x... memory area %M: internal bits 0x... memory area %IW: input words 3x... memory area %I: input bits 1x... memory area 75 Facilities Managing the TCP connections for X-Way UNI-TE and Modbus Introduction The connection can be opened either by the local PLC or by a remote station which wants to communicate with the local PLC. A connection is characterized by the pair: (local TCP port, local IP address; remote TCP port, remote IP address) Note: Managing the connections is transparent for the user. 76 Facilities Opening a connection Introduction A connection can be opened: l either by a request from a remote device, l or by a request from the local PLC. With a remote device The module prepares for a connection coming from a remote device. When the connection is received, verification of the IP address of the remote machine is done if and only if access check is activated. This test consists of checking that this address is on a list of remote machines authorized to connect. If the test is positive the connection is opened. If not the connection remains closed. With a local PLC When a message is sent out by a communication function, if there is no connection with the remote device, this is opened automatically internally by the module to the remote 502 port. 77 Facilities Examples Example of connections Premium Premium {1,2} 192.168.1.2 {1,1} 192.168.1.1 Ethernet: TCP/IP Premium: Bridge {1,3} 192.168.2.4 {1,4} 192.168.1.4 PC Fipway In the example opposite, four TCP connections are open for communication between the terminal and the PLC stations or between two PLC stations. The terminal is always able to open connections. Either of two PLCs CANopen the connection between them (the client PLC). 78 Facilities Closing a connection Introduction Connections can be closed in two different ways: l by the remote station which decides to end communication and sends a TCP/IP connection closure, l by the local PLC when the maximum number of open connections has been reached (the connection that has been open the longest is then closed). Closure of a connection is indicated to the PLC application by an error report (message refused) on any exchanges in progress. 79 Facilities What happens when a connection is broken Introduction A break in connection can be of two types: l disconnection of the network cable (cable disconnected or cut…..) l disappearance of the remote device (break down, power cut…). Loss of connection is detected after 2 hours by the Keep Alive request. If within this time the connection is re-established, re-starting communications is different according to the type of break. Reconnecting the cable In this case the break in connection is caused by a network cable but the two stations remain operational. When the cable is reconnected communication between the ETY module and the remote device will start again on the TCP/IP connection that was opened previously. Server remote device The remote device that disappeared was the server. Client Remote device 1 2 Server 3 80 1 The client ETY module is still sending out data on the old connection (which remains half open). 2 The server receiving the information without associated connection sends out a Reset command and closes the old connection. 3 The client ETY module opens a new connection. Facilities Client remote device The remote device that disappeared was the client. Remote device 1 Client Server 2 3 1 The client opens a new connection. 2 The server ETY module receives the request to open a new connection. 3 The server ETY module closes the old connection (if there is nothing in progress) and authorizes the new one. 81 Facilities 6.2 IO Scanning Facility Introduction Aim of this Section This sub-chapter presents the functions and characteristics of the IO Scanning facility. What’s in this Section? This section contains the following topics: 82 Topic Page IO Scanning Service 83 Read and write zones 86 Scanning Period 88 Facilities IO Scanning Service At a Glance The input/output scanner is used, periodically, to read or write remote inputs/outputs on the ETHERNET network without specific programming. This service comprises the following essential elements: l a read zone which groups together all the remote inputs values, l a write zone which groups together all the remote outputs values, l scanning periods which are independent of the PLC cycle and are dedicated to each remote device. Recommendations for use Scanning is only performed when the PLC is in Run mode. This service operates with all devices supporting Modbus communication on the TCP/IP profile in server mode. The exchange mechanism, which is transparent to the user, is carried out with the following requests: l read requests, l or write requests, l or read and write requests. Note: Certain types of scanned devices, such as TSX ETY modules (See Modbus messaging on the TCP/IP profile, p. 74), only support read requests or write requests (simultaneous read/write requests are not supported). 83 Facilities Operation The following diagram shows how the scanning of remote inputs/outputs works. Application memory (%MW) Read zone Write zone 2 1 3 Device input Device output words words 1. As soon as the PLC switches to Run mode, the module opens up one connection per scanned device. 2. Then the module periodically reads inputs words, and periodically writes output words for each device. 3. If the PLC switches to Stop mode, the connections to each device are closed. 84 Facilities Summary of functionality The IO scanning service functionality is: l to manage the connection with each remote device (one connection per device scanned), l to scan the inputs/outputs of the device using Modbus read/write requests on the TCP/IP profile, l to update the read and write zones in the application memory, l to refresh the status bits for each remote device. Note: These bits show whether the module’s input/output words have been refreshed. 85 Facilities Read and write zones At a Glance These two zones in the application memory, managed by the Ethernet module, are tables of internal words (%MW), which contiguously group all input and output word values for connected remote devices. Remote input and output type of devices are supplied with: l input words used to send back the values of the inputs to the module, l output words used to assign the value of the outputs to the remote device. Note: Refer to the documentation for each device for the number and details of input and output words to be managed. 86 Facilities Example The Ethernet module scans three devices: l a Momentum at the address IP1 (type 170 AA1 140 00: 16 analogue inputs): this module has 16 input words and 4 output words. l a Momentum at the address IP2 (type 170 AA1 340 00: 16 discrete inputs): this module has one input word. l a Premium PLC at the address IP3 with the zone %MW1000 to %MW1125 reserved as input words. The read zone begins at %MW100 and the write zone at %MW400. Application memory Read zone 16 input words for device at IP 1 address %MW100 to %MW115 1 input word for device at IP 2 address %MW116 125 input words for device at IP 3 address %MW117 to %MW241 Write zone %MW400 to %MW403 4 output words for device at IP 1 address Note: The fields dedicated to remote devices must not have any overlap. Equally, the read and write zones must not have any overlap. Note: scanned devices (read or write) must be located on the same network as the scanner device. Crossing a bridge is not allowed. Note: a Momentum 170 can be read-scanned by several modules, but only one module is allowed to write-scan it. 87 Facilities Scanning Period At a Glance Remote input/outputs are scanned periodically depending on the application requirements. A scanning period is defined for each device through configuration, according to the update speed: l fast, l normal, l slow. Note: The lower the scanning period, the faster the input/outputs are updated. However, this speed increases the network load. Note: %SW8 and %SW9 do not stop remote station scanning, but inhibit the copying of I/Os to and from the application variables. 88 Facilities 6.3 BOOTP/DHCP Address Server Utility At a Glance Aim of this Section This Section introduces the functions and characteristics for the BOOTP/DHCP address server utility. What’s in this Section? This section contains the following topics: Topic Page BOOTP and DHCP Utilities 90 BOOTP Client 91 BOOTP and DHCP Servers 93 89 Facilities BOOTP and DHCP Utilities At a Glance BOOTP (Bootstrap Protocol) and DHCP (Dynamic Host Configuration Protocol) are the start up protocols for terminals or stations without disks via centralized management of network parameters. They are mainly used to supply an IP address to a station, which starts on the network. The TSX ETY 410•/PORT/510• module can be configured either as a BOOTP or DHCP server, or as a BOOTP client. BOOTP Utility This comprises the following essential elements: l client stations, which only have their own MAC address as information, and which need to be automatically configured in order to start up, l a server, which has a table (BOOPTAB) containing the IP address configuration for each client station. DHCP Utility It has the same following elements: l client stations, which only have their own MAC address or their Name (Role Name) as information, and which need to be automatically configured in order to start up, l a server, which has a table (BOOPTAB) containing the IP address configuration, Name, the Netmask and the Gateway for each client station. 90 Facilities BOOTP Client At a Glance In this context, the module, configured as a BOOTP client, transmits requests on the network every second while it is starting up until it obtains a reply. The remote device acting as the BOOTP server responds to this request and assigns to the client module: l an IP address, l the gateway IP address, l the corresponding subnetwork mask. Note: the display of this information from within a browser connected to the rack display (See HTTP Server Rack Display Page, p. 117) HTML pages on the web is sometimes inaccurate. Therefore you must connect to a PL7 software application on the PLC concerned in order to obtain the real values. Note: If the BOOTP server is missing or if there is no reply, the client module does not start. 91 Facilities Example The following diagram shows the routing of requests during start-up of a station on the network: Remote station BOOTP server containing the following table: MAC1 Address IP1 Address MAC2 Address IP2 Address MAC3 Address IP3 Address ... ... ETHERNET Bridge BOOTP relay ETHERNET BOOTP request: MAC1 Address BOOTP 2 Client 92 BOOTP 1 Client Facilities BOOTP and DHCP Servers At a Glance In this context, the module is used as a server for starting-up client stations. In listen mode, the server responds to the clients’ requests and sends them their IP address configuration. To do this, the server device has a table, which groups: l In the case of a BOOTP server: l correspondence between the MAC addresses and the IP addresses. l In the case of a DHCP server: l correspondence between the MAC addresses or the Names (Role Names) of the client stations and the IP addresses, l the Netmask and the Gateway, l The names and access paths to the parameter files (see Replacing Faulty Remote Stations, p. 101). Note: The BOOTP server (present on TSX ETY modules) only provides the network configuration data for the client stations connected to the local network. Precautions for Use When a module is used as a server for starting scanned stations (See IO Scanning Facility, p. 82), you must avoid configuring the PLC in automatic start in RUN mode . If you do not, there is a risk that stations such as the Momentum 170s will not be able to obtain their IP address when the BOOTP server restarts. 93 Facilities Example using a BOOTP/DHCP Server The following diagram shows the routing of requests when responding to a start-up request from the server: DHCP 2 Client DHCP response ETHERNET DHCP request BOOTP 1 Client Response to BOOTP request: IP1 Address Subnetwork mask Gateway address DHCP server containing the following table: MAC1 Address IP1 Address Role Name2 IP2 Address MAC3 Address IP3 Address ... ... Note: The subnetwork mask and the address of the gateway belong to the BOOTP server. The BOOTP server can broadcast a reply. The focus is on updating the switches. 94 Facilities 6.4 SNMP Facility SNMP Communication on UDP/IP At a Glance The SNMP (Simple Network Management Protocol) standard defines network management solutions in terms of protocol and the exchange of supervised data. The SNMP structure relies on the following essential elements: l The Manager allows entire or partial network supervision, l One or more Agents. Each supervised device has a software module named Agent used by the SNMP protocol. l A MIB (Management Information Base) is a data base or collection of objects. The SNMP module agent is implemented on the TSX ETY modules. This allows a Manager to access MIB-II standardized objects from the agent TSX ETY via the SNMP protocol. The MIB-II allows management of TCP/IP communication layers. On the TSX ETY 410•/PORT/510• module, it is possible to also access objects from the MIB Ethernet Transparent Factory, which provide specific information on Global Data, I/O Scanning and Messaging utilities. Branching view of the MIB Ethernet Transparent Factory: experimental private enterprises schneidergroup transparentFactoryEthernet switch port502Messaging ioScanning globalData web addressServer deviceProfile The source file of the private MIB Ethernet Transparent Factory is available on the TSX ETY 410•/PORT/510• module. It can be downloaded from an internet navigator by clicking on the "Download MIB file" link on the HTTP server index page (See Ethernet Module Diagnostic Pages, p. 121). This file may be compiled by the main SNMP Managers on the market. 95 Facilities The SNMP Protocol The SNMP protocol defines 5 types of message between the agent and the manager. These messages are encapsulated in the UDP datagrams. Messages from the manager to an agent: l Get_Request: message used to obtain the value of one or more variables. l Get_Next_Request: obtains the value of the next variables. l Set_Request : sets the value of a variable. Messages from an agent to the manager: l Get_Response: allows the agent to re-send the value of the requested variable. l Trap: allows asynchronous event signaling by the agent. 96 Facilities Description of the Utilities The SNMP manager transmits read or write requests (Set_Request, Get_Request, Get_Next_Request, etc.) for objects defined in the MIB - II SNMP, and the SNMP agent of the TSX ETY module responds. SNMP Manager Get_Response Trap Set_Request Get_Request Get_Next_Request SNMP Agent TSX ETY PLC Station The module’s SNMP agent transmits events (Traps) to the Manager. The managed Traps systems are as follows: l Coldstart Trap: l For the TSX ETY 110 module, the event is transmitted following a module supply Reset. l For TSX ETY 410•/PORT/510• modules, the event is transmitted following a module supply Reset, or following a processor Reset, or following the downloading of an application to the PLC. l Authentication Failure Trap: event transmitted following an authentication problem. The Community Name field in the received message is different to the one configured on the module. This trap can be checked when configuring the TSX ETY module. 97 Facilities 6.5 Global Data Utility Global Data Utility At a Glance 98 The aim of the Global Data utility, which is supported by the TSX ETY 410•/PORT/510• modules, is to provide an automatic data exchange for PLC application co-ordination. Facilities Operation The communication modules are grouped together in a Distribution Group to exchange the variables used for PLC co-ordination. Each communication module publishes a local application variable for the other communication modules in the Distribution Group. Each communication module can also subscribe to the application variables published by all other modules belonging to the Distribution Group, whatever its location. An Application Variable is a group of contiguous words from a PLC (%MW). The Global Data utility should be configured (See Configuring the Global Data Utility, p. 251) to determine the location and the number of application variables published and subscribed by each communication module. Once the module is configured, exchanges between the communication modules sharing the same Distribution Group are automatically carried out when the PLC is in RUN mode. Illustration: Distribution Group Multicast IP: 255 255 255 251 Data distribution Intranet control 2...n stations Data distribution Distribution Group Multicast IP: 255 255 255 250 A Distribution Group is a group of communication modules identified by the same multicast IP address. Exchanges in "multicasting" are used to distribute Global Data. Several independent Distribution Groups can co-exist on the same subnetwork with their own multicast address. A Publication/Subscription protocol on UDP/IP is used for data distribution. The publication of a variable is synchronized at the start of the PLC cycle. Subscribed variables are copied to the PLC application memory at the end of the cycle. 99 Facilities The PLC memory zones, which receive the various subscribed variables, should not be recovered Health Bits A Health bit (Status bit) is associated with each application variable. This status bit indicates the validity of each subscribed variable: it is at 1 if the variable has been published and received in the configured validity time limit (See Configuring Global Data, p. 253), otherwise it is at 0. Multicast Filtering The Global Data utility uses Multicasting. As a result of this broadcasting approach, the multicast frames transmitted by a module are repeated on all switch ports, which creates network congestion. When the switches possess this function, Multicast Filtering allows multicast frame spreading to be limited to only the ports that require it. The protocol used to establish the list of ports involved in data traffic is GMRP. Operating Mode The operating modes are as follows: l Stopping the PLC stops Global Data exchanges. l The use of the I/O forcing system bits (%S9, %SW8, %SW9) does not stop Global Data exchanges. Limits There are no theoretical limits for the number of stations sharing a Distribution Group. The main limitation is the number of variables exchanged in the Distribution Group (64 variables). 100 Facilities 6.6 Managing Faulty Devices Replacing Faulty Remote Stations At a Glance The objective of this utility is to provide automatic recovery of remote I/O module parameters or intelligent modules connected to a Transparent Factory Ethernet subsegment. This applies when exchanging a faulty module with a functioning module. Objective The objective of this utility is: l to supply an IP address to a remote station based on the Name given to this station (Role Name) l to give a remote station the capacity to store parameters and also to recover them, if required. Operation This utility requires the use of the DHCP address server (See BOOTP/DHCP Address Server Utility, p. 89) and the FTP/TFTP server of the TSX ETY 410•/PORT/510• modules. It can manage up to 96 remote stations. Utility operating principle: Initially: 1. The valid remote station obtains an IP address from the name that has been given to it (Role Name). 2. The valid station gives its configuration parameters to the server. Secondly: This station breaks down. It is replaced with a non-configured device of the same type, which has the same name as the station it replaces: 1. It then transmits a DHCP request to the server. 2. It receives its configuration file, which was saved first on the server. 3. The remote station restarts automatically. Note: The Role Name is limited to 16 characters in ASCII. 101 Facilities 6.7 Time Synchronization Service Time Synchronization Service General The time service synchronizes computer clocks over the Internet. For example, the time of one client is synchronized either with another server or to a referenced time source like a radio or satellite receiver. Typical time service configurations utilize multiple redundant servers and diverse network paths to achieve high accuracy and reliability. Time service accuracy can be within a millisecond on LANs and up to a few tens of milliseconds on WANs. Use the time service for l event recording—sequence events l event synchronization—trigger simultaneous events l alarm and I/O synchronization—time stamp alarms Time Synchronization and Time Stamps On an Ethernet network, all controllers should be synchronized with the same clock time, which is provided by an NTP server. In each application program, events or application data (IO values for example) can be time stamped using the application stacks. The Premium Ethernet interface module, an ETY 5103, connects to an NTP time server and provides the source-time synchronization signal, which is sent to the CPU. To read the clock, a function block is used in the controller’s project (application program). CPS CPU ETY Clock System Counter NTP Request NTP Client R_NTPC EN0 EN OUT1 OUT2 STATUS 102 Modicon Quantum System NTP Server NTP Response Ethernet Network Facilities 6.8 HTTP on-board server Introduction Subject of this sub-chapter This sub-chapter mentions the functions and characteristics of the on-board server. What’s in this Section? This section contains the following topics: Topic Page Embedded HTTP Server 104 HTTP Server Home Page 106 HTTP Server Index Page 109 HTTP Server Security Page 111 Address Server Page for the HTTP Server 114 HTTP Server Rack Display Page 117 HTTP Server Data Editor Page 119 Ethernet Module Diagnostic Pages 121 NTP Diagnostics Page 127 HTTP Server User Pages 129 103 Facilities Embedded HTTP Server At a Glance Some modules include an embedded Web server, which allows: l access to PLC data, l diagnostics to be carried out on the entire configuration. All the processor or module data is presented as standard Web pages in HTML format. It can therefore be accessed by any market Internet browser that can run embedded JAVA code. None of the functions supplied by the Web site require any prior configuration or programming within the module. The summary table below shows the various selections possible. According to the type of module, the ergonomics of these functions can change: Function TSX ETY 110 TSX ETY 110 WS TSX ETY 410• TSX ETY 510• TSX ETY PORT TSX ETY 210 Server - X - X X Predefined pages - - X X - Client pages - X - X - Client site size - 1.2 Mb - 6.5 Mb - Minimum FactoryCast version - V 2.0 - V 2.2.2 - Legend X Available - Not available Embedded Server Functions 104 The functions available on an embedded server are generally as follows: l statistics: this page shows the ETHERNET network statistics, l security: this page is used to modify the user name and the password to access the site, l address server: if the module is used as an address server, this page enables you to display and modify the server table, l displaying the rack: this page enables you to display the configuration of the PLC which is controlling the module, l data editor: this page allows you to display PLC data. l diagnostics functions: these pages allow network diagnostics. Facilities Connections to a TSX ETY Module The module Web-site shows static and dynamic pages (PLC data). To refresh dynamic pages, an X-WAY connection is automatically created between the Web browser and the module. Note: The browser connection X-WAY address is automatically derived from the module’s address by taking the same network number and a station number between 54 and 63. It is therefore essential to leave at least one X-WAY address free in this range of values. The number of connections is regulated: l it is not possible to connect several browsers on a given PC to the same TSX ETY module, l up to 10 PCs connected simultaneously to one module, l on a TSX ETY 410•/PORT/510•, it is possible to connect a browser and another application (for example: an XIP driver). 105 Facilities HTTP Server Home Page At a Glance This page is the Web site home page. It allows you to select: l the site language: by default the page is displayed in English, l to access the site utilities page. How to Access the Home Page The following procedure shows you how to access the web site home page. 106 Step Action 1 Open your usual browser. 2 Enter the IP address of the ETHERNET module in the line provided. Facilities Illustration The home page of a TSX ETY 410• or TSX ETY PORT looks like this, for example. e Welcome to the Premium Web Server – Microsoft Internet Explorer File Edit View Go to Favorites X Stop e ? Back Forward Refresh Home Address e http://139.160.234.18/index_french.htm Search Favorites History Channels Full scr. Links Schneider S Electric Fast Ethernet: Administration using the Web for Premium Diagnostics and Configuration Operating System: Windows 98 Screen Resolution: 1024 x 768 Browser: Microsoft Internet Explorer 4 English German Italian Spanish Copyright © 2000, Schneider Automation SA. All rights reserved. e e Internet zone Note: the TSX ETY 510• home page has several differences: l The heading is: FactoryCast Web Server. l Two hypertext links accessing client pages are offered: l Protected user pages l Unprotected user pages See the FactoryCast documentation for information on creating pages. 107 Facilities Language Management The site is multilingual. The language is selected by clicking on the link in the home page and it remains the language for subsequent connections. Note: Some displays are in the language of the Windows installation (e.g. address bar, etc.) 108 Facilities HTTP Server Index Page At a Glance This page displays the various utilities supported by the ETHERNET module and the link to access the required utility. How to Access the Page The following procedure shows how to access the index page from the home page. Step 1 Action Click on the Diagnostics and Configuration link on the home page. Result: a window requesting the user name and password appears. 2 Enter the user name and password using the correct case (i.e. upper or lower case). Note: the default values of the fields are: for the user name: USER for the password: USER l l 3 Confirm with OK. 109 Facilities Illustration The index page of a TSX ETY 410• or TSX ETY PORT looks like this, for example. e Welcome to the Premium Web Server – Microsoft Internet Explorer Edit File Back View Forward Address e Go to Favorites X Stop Refresh e ? Home Search Favorites History Channels Links http://139.160.234.18/secure/system/index_french.htm Schneider S Electric Fast Ethernet: Administration using the Web for Premium Home Security Address Server Rack Viewer Data Editor Ethernet Module Copyright © 2000, Schneider Automation SA. All rights reserved. e 110 Open page http://139.160.2 e Internet zone Facilities HTTP Server Security Page At a Glance This page can be used to modify: l the user name and the password for accessing the index page, l the password for writing variables in the data editor The user name and passwords are a maximum of 15 characters in non-extended ASCII. How to Access the Page The following procedure shows how to access the security page from the index page. Step 1 Action Click on the Security link. 111 Facilities Illustration The security page of a TSX ETY4102 or a TSX ETY PORT looks like this, for example. Access Rights User: New Password: Confirmation of Password: Change Password Data Editor Write Password: User: New Password: Confirmation of New Password: Change Write Password Home Statistics Bootp Server Rack Viewer Data Editor Copyright © 2000, Schneider Automation SA. All rights reserved. How to Modify HTTP Access Rights The procedure is as follows: Step Action 1 Enter the new User name. 2 Enter the new password. 3 Confirm the new password. 4 Confirm the modification using the Change password button. Result: an Ethernet Configuration page appears. 5 112 Click on the Reboot Device button to recognize the modification in the module. Facilities How to modify the Write password The procedure is as follows: Step 1 Action Enter the current password using the right case (i.e. upper or lower case). Note: the default value of this field is: USER. 2 Enter the new password. 3 Confirm the new password. 4 Confirm the modification with the Change password button. Result: an Ethernet Configuration page appears to indicate that the password has been modified. 113 Facilities Address Server Page for the HTTP Server At a Glance This page is used to display or modify the correspondence table between the MAC addresses or the Name (Role Name) and the IP addresses of the module if the latter is configured as a BOOTP server. See BOOTP/DHCP Address Server Utility, p. 89. This function is useful when replacing a failed remote device (e.g. replacing a faulty Momentum module). Note: This page does not allow the addition of new inputs, nor the modification of the Name (Role name) for a remote device. How to Access the Page The following procedure shows how to access the Address server page from the index page. Step 1 114 Action Click on the Address server link. Facilities Illustration The Address Server page of a TSX ETY4102 or a TSX ETY PORT looks like this, for example. Address Server Configuration Entry Name 1 1 ENTRY_1 IP Address MAC Address 192.168.2.7 00005410033A 192.168.2.6 Gateway Netmask 255.255.252.0 192.168.2.1 255.255.252.0 192.168.2.1 Update the address server table Entry modification Entry to be changed: 1 New IP Address: New Ethernet Address: New Netmask: New Gateway Address: Change entry Home | Statistics | Security | Bootp Server | Rack Viewer | Data Editor FactoryCast, Schneider Automation SA. All rights reserved. 115 Facilities How to Modify the Table Recognition of Modifications 116 The procedure is as follows: Step Action 1 Enter the entry number to be modified in the field provided. 2 Enter the new IP address to be modified in the field provided. 3 Enter the new MAC address to be modified in the field marked: New Ethernet Address. 4 Is the server locked in operation? l If so: enter the password associated to the address server then go to step 5. l If not: go to step 5. 5 Confirm the modification with the Change entry button. 6 Click on the Refresh Address server table button to display the modification on the screen. Configuration modifications are recognized either after a cold restart of the PLC, or on the next loading of the PLC application. Facilities HTTP Server Rack Display Page At a Glance This page allows you to carry out diagnostics on the modules in the local rack configuration that includes the ETHERNET module. By clicking on a module in the configuration, you obtain a set of diagnostic information on this module: l LED status display, l the type and the version of the module as well as its position in the rack, l information specific to the functions of the module. Note: For further information, refer to the FactoryCast User Guide documentation. How to Access the Page The following procedure indicates how to access the rack display page from the index page. Step 1 Action Click on the Rack Display link. 117 Facilities Illustration The TSX ETY 410 rack display page looks like this, for example. 0 F T i S X 0 5 7 3 5 2 1 2 T S X E T Y 4 1 0 3 4 T S X A E Y 1 6 0 0 5 6 7 8 9 10 11 12 Home Statistics Server Bootp Data editor Graphical Editor Alarm Indicator Copyright © 2000, Schneider Automation SA. All rights reserved. 118 13 14 Facilities HTTP Server Data Editor Page At a Glance This page is used to create animation tables containing lists of PLC variables to be displayed or modified. Variables can only be accessed via addresses. This function is useful when running diagnostics on an application. Note: Write access is managed by password. For further information, refer to the FactoryCast User Guide documentation. How to Access the Page The following procedure indicates how to access the data editor page from the index page. Step 1 Action Click on the Data Editor link. 119 Facilities Illustration The Data Editor page of a TSX ETY 410• or TSX ETY PORT looks like this, for example. <new> Save Delete... Find… Insert... Cut… Paste… The name of the PLC program is STATION:0.0. Variable Address Data type 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 The list of variables is not available. Cannot find variables. 120 Value Format State Password Facilities Ethernet Module Diagnostic Pages Home Page This page contains a list of links for accessing the different diagnostic pages for the Ethernet module: l Global Data Utility l I/O Scanning utility l Messaging utility l Bandwidth monitoring utility l Ethernet module statistics A link also allows the downloading of the private MIB source file. View of the Diagnostics Utilities home page: e Welcome to the Premium Web Server – Microsoft Internet Explorer File Edit View Go to Favorites e ? X Back Forward Stop Refresh Home Search Favorites Address e http://139.160.234.18/secure/system/index_french.htm History Channels Links Schneider S Electric Ethernet Module Diagnostic Global Data I/O Scanning Messaging Bandwidth Statistics Download MIB file Copyright © 2001, Schneider Automation SA. All rights reserved. e Open page http://139.160.2 e Internet zone Click on a link to access the desired diagnostics page. 121 Facilities Global Data Page Information on the general diagnostics of Global Data can be found above this page: l State l Number of publications per second l Number of subscriptions per second This page also shows a table that lists all published and subscribed variables in the same distribution group. Each variable is identified by its Identifier. l Green for the subscribed variables l Yellow for the published variables l White for all unconfigured variables l Red for variables with communication faults View of the Global Data diagnostics page: e Welcome to the Premium Web Server – Microsoft Internet Explorer File Edit View Go to Favorites e ? X Forward Stop Refresh Home Search Favorites Back Address e http://139.160.234.18/secure/system/index_french.htm History Channels Links GLOBAL DATA DIAGNOSTIC Global Data Status: OK Number of subscriptions per sec. : 300 | Number of publications per sec. : 100 Global Data Status 16 1 32 17 48 33 64 49 Not configured Sub Variable Pub Variable Fault Home | Ethernet Module e 122 Open page http://139.160.2 e Internet zone Facilities I/O Scanning Page Information on the general diagnostics of the I/O Scanning utility can be found above this page: l State l Number of transactions per second l Number of connections per second This page also displays a summary of the status of all modules: Green for the scanned modules White for the unconfigured modules Red for faulty modules Black for the modules which are temporarily unscanned. l l l l View of the I/O Scanning diagnostics page: e Welcome to the Premium Web Server – Microsoft Internet Explorer File Edit View Go to Favorites e ? X Back Forward Stop Refresh Home Search Address e http://139.160.234.18/secure/system/index_french.htm Favorites History Channels Links I/O SCANNING DIAGNOSTICS I/O Scanning Status: OK Number of transactions per sec. : 1000 | Number of connections: 20 Scanned Stations Status 16 1 32 17 48 33 64 49 Not configured Scanned Unscanned Fault Home | Ethernet Module e Open page http://139.160.2 e Internet zone 123 Facilities Messaging Page This page provides current information on the open TCP connection on port 502. The number of sent/received messages on the port can be found at the top of this page. A table provides, for each connection (numbered from 1 to 64): l The remote IP Address l The remote TCP port l The local TCP port l The number of messages sent from this connection l The number of messages received from this connection l The error number on this connection View of the messaging diagnostics page: e Welcome to the Premium Web Server – Microsoft Internet Explorer File Edit View Go to Favorites e ? X Back Forward Stop Refresh Home Search Favorites Address e http://139.160.234.18/secure/system/index_french.htm History Channels Links MESSAGING DIAGNOSTICS Number of Messages sent: 150 | Number of Messages received: 50 Conn.# Remote addr. Remote port Local Port Mess. sent Mess. Err. received sent. 1 192.160.10.20 1920 502 20 12 0 2 139.160.235.90 2020 502 0 30 02 3 192.160.10.21 502 3000 3 60 0 4 139.160.234.20 1050 502 15 42 0 5 139.160.234.18 5120 502 0 39 1 Home | Ethernet Module e 124 Open page http://139.160.2 e Internet zone Facilities Bandwidth monitoring page This page displays the load distribution of the TSX ETY 410•/PORT/510• module between the Global Data utilities, I/O Scanning, Messaging and other utilities. View of the Bandwidth monitoring page: e Welcome to the Premium Web Server – Microsoft Internet Explorer File Edit View Go to Favorites e ? X Back Forward Stop Refresh Home Search Favorites Address e http://139.160.234.18/secure/system/index_french.htm History Channels Links BANDWIDTH MONITORING Global data: 30% | I/O Scanner: 20% | Messaging: 40% | Others: 10% Home | Ethernet Module e Open page http://139.160.2 e Internet zone 125 Facilities At a Glance This page shows the ETHERNET network statistics. It is used to perform diagnostics on a disturbed network. View of the TSX ETY4102 or the TSX ETY PORT statistics pages: e Premium Ethernet Module Statistics - Microsoft Internet Explorer File Edit View Go to Favorites ? Back Forward Address e X Stop Refresh Home Search e Favorites History Channels Full scr. Mail ETHERNET MODULE STATISTICS Status Reference Rack Slot Software version Name MAC Address IP Address Subnetwork mask Gateway 10 Mb/s TSX ETY 410 0 2 0.6 Send statistics Receive statistics 139.160.234.18 00 80 f4 01 00 41 139.160.234.18 255.255.255.0 139.160.234.1 Other faults Sent 887 Received 883999 Missing packets 0 Re-Sent 0 Frame errors 0 Collisions 0 Loss of data carrier 0 Overflow errors 0 Transmission timeouts 0 Late collisions 0 CRC errors 0 Memory errors 0 Buffer errors 0 Buffer errors 0 Resets 0 Underflow 0 Zero Counters Home Bootp Server Rack Viewer Data Editor Graphical Editor Alarm Indicator Copyright © 2000, Schneider Automation SA. All rights reserved. e 126 Applet launched Print Links http://139.160.234.18/secure/system/ethernet.htm e Internet zone Facilities NTP Diagnostics Page NTP Diagnostic Dialog Time synchronization service parameters: Parameter Description NTP status Service is correctly configured (OK) NTP server status NTP client is connected to the NTP server, and if the server is Primary or Standby NTP requests Total number of client requests sent to the NTP server NTP responses Total number of server responses sent from the NTP server Number of errors Total number of unanswered NTP requests Last error code Last error code received from the NTP client Date Date in d/m/y format Time Time Time zone Time zone plus or minus Universal Time, Coordinated (UTC) DST Daylight saving time (DST) parameter is either 1. on (enabled) 2. off (disabled) The dialog: NTP Diagnostics NTP Status: OK NTP Server Status ### Link to the NTP Server: Server: Server Time Quality within microsec/sec 0 Primary NTP Request Statistic Number of Requests: 2 Number of Errors: 0 Number of Responses: 2 Last Errors: 0 NTP Date and Time Date: 05 Apr 2004 Time Zone: Time: 16:51:15 DST Status: ON (GMT-05:00)Eastern Standard Time[New York] 127 Facilities Last Error Field Last Error field displays values, which indicate the type of error. Type of Error Component OK and running 128 Value 0 Excessive network traffic or server overload 1 Bad parameters in the configuration 3 Component is disabled 4 Incorrect IP 9 Time zone file absent 14 Syntax error in the customrules file 15 Facilities HTTP Server User Pages At a Glance It is possible to create complete pages about certain modules. To do this, the FactoryCast software and a guide for creating and publishing user pages are delivered with these modules. Note: The TSX ETY5102 module is delivered with the FactoryCast V2.2.2 (or above) CD and the accompanying guide for creating and publishing user pages. There are two types of pages: l pages that are protected by passwords, l and pages that are not protected by passwords. How to Access Protected User Pages How to Access Unprotected User Pages The following procedure shows how to access the protected user pages from the home page. Step Action 1 Click on the Protected user pages link. Result: the dialog box for entering the password appears. 2 Enter your user name and password, then confirm. Result: the first branch page on the created site appears. The following procedure shows how to access the unprotected user pages from the home page. Step 1 Action Click on the Unprotected user pages link. Result: the first branch page on the created site appears. 129 Facilities 6.9 Bandwidth Monitoring Bandwidth Monitoring At a Glance Ethernet Transparent Factory offers two types of utilities: l Real time utilities, which must have a performance guarantee and predictable behavior: l periodic utilities: I/O Scanner and Global Data, l non-periodic utilities: Messaging on port 502 (UNI-TE, Modbus). l Non real time utilities: Web utilities and network management utilities Once the I/O Scanner and Global Data utilities have been configured, it is possible to estimate the load percentage of the TSX ETY 410•/PORT/510• module for each of the utilities. The Bandwidth Monitoring function carries out this estimation during configuration. In online mode, it shows the actual distribution of the utilities (on the diagnostic module screen as well as on the Diagnostic Services° Web Page "Bandwidth Monitoring." Operation In order to estimate this load, the PL7 software asks you to complete two pieces of information during configuration (See Configuring the Bandwidth Utility, p. 261): l an estimation of the number of messaging transactions per second, l the PLC cycle time. With the help of this information the PL7 software is able to show how the TSX ETY 410•/PORT/510• module will be used: l display of the load percentage of the module to process the I/O Scanning configuration, l display of the load percentage of the module to process the Global Data configuration, l display of the load percentage of the module to process the messaging module, l display of the load percentage of the module to process the remaining non real time utilities, Note: During the configuration phase, these pieces of information are only estimates. The actual distribution is displayed in offline mode. 130 Facilities 6.10 ETHWAY Facility ETHWAY profile Introduction The ETHWAY profile offers the following data exchange facilities: l data exchanges synchronized on the MAST task, l or data exchanges in : l asynchronous server mode, l asynchronous client mode. l or common data exchanges (common words). In the following only common exchanges of data will be described. For the description of synchronous and asynchronous exchanges refer to UNI-TE communication, p. 70. Common words All the common words make up a database distributed amongst all or part of the devices on the same network. Depending on the number of stations transmitting common words on the network, you can have at the most: l 4 common words per station for 64 active stations, l 8 common words per station for 32 active stations, l 16 common words per station for 16 active stations, l 32 common words per station for 8 active stations, l 64 common words per station for 4 active stations. Note: The common words facility itself can take up a large part of the messaging bandwidth of the module if there are a number of stations connected and if the configured PLC cycle time is very short. In fact the common words are transmitted at each PLC cycle if there are changes in state and every 10 cycles if the value has not been modified. You must therefore make sure that you do not exceed the module’s maximum capacity. Updating the (%NW) common words is done automatically. The application program consists simply of writing or reading these words. Examples l %NW{1.7}0:= %MW10 (writing a value for transmission) l %MW50:=%N{1.8}2 (receiving a value) 131 Facilities 132 Configuration parameters 7 Introduction Subject of this chapter This chapter introduces the configuration parameters for the different facilities used by the modules. What’s in this Chapter? This chapter contains the following sections: Section Topic Page 7.1 Configuration parameters for TCP/IP facilities 134 7.2 Configuration parameters for the IO Scanning facility 141 7.3 Configuration Parameters for the Address Server Utility 147 7.4 Configuration parameters for the SNMP facility 150 7.5 Configuration Parameters of the Global Data Utility 154 7.6 Configuration Parameters of the Time Synchronization Service 159 7.7 ETHWAY profile configuration paramaters 167 133 Configuration parameters 7.1 Configuration parameters for TCP/IP facilities Introduction Subject of this sub-chapter This sub-chapter introduces the configuration parameters linked to the TCP/IP facility. What’s in this Section? This section contains the following topics: 134 Topic Page Configuration Parameters Linked to TCP/IP Utilities 135 Configuration Parameters for IP Addresses 136 Connection configuration parameters 138 Ethernet configuration parameters 140 Configuration parameters Configuration Parameters Linked to TCP/IP Utilities At a Glance The TSX ETY modules are comprised of configuration parameters linked to TCP/IP utilities. Depending on the TSX ETY module selected, some configuration parameters cannot be accessed on the configuration screen. They are either not shown on the screen or are grayed out. Availability of Parameters The following table shows, for each ETHERNET module, the parameters that can be accessed from the configuration screen and the values that they can have. Parameters TSX ETY 110 TSX ETY 410•/ PORT/510• X-WAY Address By code selectors By PL7 IP Address Default IP address Configured Connections X X X Subnetwork mask X X Gateway address X X Client/Server configuration - X Connections which can be opened from 1 to 32 - Access control X X X X Correspondence table ETHERNET X IP Address X-WAY Address IP Address X X Protocol UNI-TE or Modbus UNI-TE or Modbus Direct X X Mode - Mono- or Multiconnections ETHERNET II X X 802.3 X X Legends: X Accessible - Not accessible 135 Configuration parameters Configuration Parameters for IP Addresses At a Glance This zone allows the IP address of a module to be defined in three distinct ways: l either using a default configuration, l by manual configuration, l or by using a configuration supplied by a BOOTP/DHCP server device. By Default Selecting the IP Address by default field allows the module’s IP address to be calculated from the code selectors. See Common functions on the ETHWAY and TCP/IP profile, p. 177. In this instance, you must code the network and station numbers on the code selectors located on the front of the module. With this coding, the IP address is automatically derived by the system and the IP Address, Subnetwork mask and Gateway Address fields are not significant and are grayed out. Note: The default parameters should not be selected when the module is connected to a closed or private network. Configured Selecting the Configured field allows manual configuration according to your own requirements: l module IP address, l the subnetwork mask, which defines the part allocated to the subnetwork identifier in the IP address, l the IP address of the default gateway, to which messages for other networks are transmitted. Note: If the module is connected to an existing TCP/IP network, the IP addresses are administered globally, therefore the IP parameters must be configured. Otherwise there is a risk of disturbance on the existing network caused by possible double allocation of the IP addresses. 136 Configuration parameters Client/Server Configuration Selecting the Client/Server configuration field allows the module’s IP address to be configured from a remote device acting as a BOOTP server. See BOOTP and DHCP Utilities, p. 90. In this instance, the IP address, Subnetwork mask and Gateway Address fields are not significant and are grayed out. 137 Configuration parameters Connection configuration parameters Introduction This field enables you to : l configure the number of connections that can be opened by the module, l activate an access check service, l list the remote devices which can be connected to the module according to the communication protocol. Connections which can be opened The Connections that can be opened field gives the maximum number of devices that can be connected in parallel to the module: l The default value is 8 connections. l The value is between 1 and 32 connections. Note: You are recommended to set this parameter to the useful value in order to optimize the communication resources for each connection point. Access control The Access check box is used to activate or deactivate the check on remote devices that want to open a TCP connection to the module. l If the box is checked, access check management is activated and the Access column in the table is de-grayed (active). If the module is operating in server mode, only the remote devices selected by the Access box in the table are authorized to be connected as a client and then to communicate. l If the box is unchecked, check management does not operate and the Access column in the table is grayed out (not active). If the module is operating in server mode, third party remote devices can be connected as a client and then communicate with the module without having to be declared in the table. Note: The access check only works on the TCP/IP profile and is used for the module to operate in server mode. 138 Configuration parameters Function table This table enables you: l to list the remote devices with which the local module wishes to open a TCP connection and then transmit (module operating in client mode), l to provide a cross reference between the X-WAY address {network, station} and the IP address, l the network number must be less than or equal to 127, l the station number is between 0 and 63 for a connection in UNITE or between 100 and 163 for a connection in Modbus. l to specify the communication protocol for each remote device during the connection using a scrolling menu: l UNI-TE (default value), l Modbus, l when managing access checks, to nominate the remote devices authorized to open a TCP connection and then to send to the local module (module operating in server mode), l for each remote IP address, to choose the Connection mode using a scrolling menu : l Monoconnection : the module only allows one connection with the same remote IP address, l Multiconnection : the module allows only one connection with the same remote IP address in client mode and several connections with the same remote IP address in server mode. 139 Configuration parameters Ethernet configuration parameters Introduction 140 This field is used to define the format of the Ethernet frame via TCP/IP: l the Ethernet II format: complying with the FRC 894 standard (the most commonly used), l the 802.3 format: complying with the FRC 1042 standard. This format is to be selected if the remote devices use this format. Configuration parameters 7.2 Configuration parameters for the IO Scanning facility Introduction Subject of this sub-chapter This sub-chapter introduces the configuration parameters linked to the IO Scanning facility. What’s in this Section? This section contains the following topics: Topic Page Configuration Parameters Linked to the IO Scanning Utility 142 Configuration of general parameters for IO Scanning facility 144 Configuration of scanned peripheral devices 145 141 Configuration parameters Configuration Parameters Linked to the IO Scanning Utility At a Glance The TSX ETY modules are comprised of configuration parameters for the IO Scanning utility. Depending on the TSX ETY module selected, some configuration parameters cannot be accessed on the configuration screen. They are either not shown on the screen or are grayed out. 142 Configuration parameters Availability of Parameters The following table shows, for each ETHERNET module, the parameters that can be accessed from the configuration screen and the values that they can have. Parameters TSX ETY 110 TSX ETY 410•/ PORT/510• Input fallback - Fallback to 0/ Maintain Scanning adjustment Master %MW zones Peripherals scanned Fast - set at 10 ms Normal - from 15 to 240 ms Slow - from 150 to 1000 ms Read Ref. - X Write Ref. - X IP Address - X Unit ID - X Repetitive rate - None/Fast/Normal/ Slow Master RD ref. - automatic Slave RD ref. - X RD count - X Master WR ref. - automatic Slave WR ref. - X WR count - X Description - X Legends: X Accessible - Not accessible 143 Configuration parameters Configuration of general parameters for IO Scanning facility Introduction To configure the IO Scanning service some parameters are general at the remote inputs/outputs: l the input fallback mode, l adjusting the scanning periods, l the read and write zones. Input fallback This sub window is used to configure the behavior of inputs when the inputs have not been refreshed (example : PLC set to Stop, device disconnection, …) : l Fallback to 0 l Maintain Adjusting the scanning This sub window is used to configure the scanning period in milliseconds : l the Fast period : this period cannot be configured (field grayed out) and is set at 10 ms. l the Normal period : this period can be configured from 30 - 240 ms by increments of 15 ms. l the Slow period : this period can be configured from 150 - 1000 ms by increments of 50 ms. Note: The value of the Normal period cannot be less than the value of the Slow period. Master %MW fields This sub window is used to define the internal word formats from the (%MW) memory application dedicated to the read and write zones. For that you have to enter the following: l for the read zone Read Ref., the address of the start of the internal words table for reading inputs, l for the writing field Write Ref., the address of the start of the internal words table for writing outputs., The length of the tables has a maximum exchange capacity of: l 2 Kwords for the read zone, l 2 Kwords for the write zone. Note: The tables must not overlap each other and an overrun check is carried out in the global validation. 144 Configuration parameters Configuration of scanned peripheral devices At a Glance Scanned peripheral devices are configured in a table which is used: l to list remote devices to be scanned, using the IP address, l to specify the scanning period allotted to it for each remote device, l to configure, for each device, the amount of space the input and output words take up in the read and write zones, l to add comments for each device. The IP Address and Unit ID fields The IP Address field is used to list the devices which must be scanned by the ETHERNET module. TheUnit ID field is used to associate the slave address of the device connected to an ETHERNET/Modbus gateway with the IP address. See Architecture supported by a Modbus communication on the TCP/IP profile., p. 73. l values are from 0 to 255, l the default value is 255. Repetitive rate The Repetitive rate field is used to associate an IP address with its scanning period. See IO Scanning Facility, p. 82. The type of period is selected using a pull-down menu and can have the following values: l NONE: this selection is used to deactivate scanning of the corresponding IP address, l FAST: for fast scanning periods, l NORMAL: for nominal scanning periods, l SLOW: for slow scanning periods. Note: When NONE is selected, the internal words reserved for the corresponding IP address are saved in the read and write zones but are not updated. 145 Configuration parameters Master RD ref. and master WR ref. These parameters give the addresses of the beginning of each range reserved for the device. These parameters cannot be accessed. They are calculated automatically as the sum of: l the address of the beginning of the Read Ref. table and the Write Ref. table, l and the length of the RD count and WR count fields. Example The ETHERNET module scans two devices: l a Momentum at the address IP1, which has 4 input words. l a Momentum at the address IP2, which has one input word. Furthermore, the read field address starts at %MW100. In this case, master RD ref. for the address IP1 equals 100. The internal word range reserved for the address IP1 starts at %MW100 and is made up of 4 words. Therefore, master RD ref. for the address IP2 equals 104. The internal word range reserved for the address IP2 starts at %MW104 (=%MW100 + 4 input words). Slave RD ref. and slave WR ref. These fields correspond to the indices of the first word to be read and written for remote devices to be scanned. l slave RD ref.: specifies the address of the first word to be read l slave WR ref.: specifies the address of the first word to be written RD count and WR count These fields contain the number of words to be transmitted per device in read and write. These values conveyed by the Modbus requests vary: l from 0 to 125 for the RD count field (if it equals 0,the read request is not sent), l from 0 to 100 for the WR count field (if it equals 0,the write request is not sent), Note: If the device to be scanned does not respond to the Modbus (17) read/write requests, the remote device must be configured over two lines, one for reading with the WR count value at zero, and the other for writing with the RD count value at zero. Note: These two fields cannot both have the value 0. Otherwise, the remote device will not be managed. Description 146 This field is not used by the module. It is only used to locate the device in the configuration more easily. It has a maximum size of 32 characters. Configuration parameters 7.3 Configuration Parameters for the Address Server Utility At a Glance Aim of this Section This Section introduces the configuration parameters linked to the BOOTP/DHCP address server. What’s in this Section? This section contains the following topics: Topic Page Configuration Parameters Linked to the Address Server Utility 148 Address Server Configuration 149 147 Configuration parameters Configuration Parameters Linked to the Address Server Utility At a Glance The TSX ETY modules are comprised of configuration parameters linked to the address server utility. Depending on the TSX ETY module selected, some configuration parameters cannot be accessed on the configuration screen. They are either not shown on the screen or are grayed out. Availability of Parameters The following table shows, for each ETHERNET module, the parameters that can be accessed from the configuration screen and the values that they can have. Parameters HTTP modification TSX ETY 110 TSX ETY 410•/ PORT/510• Locked in operation - X Password - X - X BOOTP/DHCP address table Legends: X Available - Not available 148 Configuration parameters Address Server Configuration At a Glance Parameters linked to the address server are divided into 3 categories: l The type of server: BOOTP or DHCP l rights to modify the utility via the HTTP server, l the table of addresses for which service is provided. Utility This zone allows the type of server to be selected (BOOTP or DHCP): l The BOOTP mode can be used when the "Replace faulty remote stations" is not wanted. l The DHCP mode is essential if the "Replace faulty remote stations" utility is required. Note: BOOTP mode is the mode automatically selected if the applications have been created with PL7 (version V4.0 and later) and configure the TSX ETY 410•/PORT/510• modules. HTTP modification This zone is used to define the access rights to the DHCP or BOOTP address table via the HTTP server. The access rights are configured by two parameters: l the Locked in operation check box: which activates or deactivates access control to the table, l the Password field: the table is accessed via the HTTP server by means of a password of no more than 8 ASCII characters. Address Tables Depending on the selection made in the Utility zone, The BOOTP table can be used: l to list, by their MAC address, the remote stations which need the BOOTP server to start up, l to provide a correspondence between the MAC and IP addresses, The DHCP table can be used: l to list, by their MAC address or by name (16 character ASCII), the remote stations which need the DHCP server to start up, l to supply a connection between the MAC address or the name and the IP address of the remote station, the Netmask and the Gateway. 149 Configuration parameters 7.4 Configuration parameters for the SNMP facility Introduction Subject of this sub-chapter This sub-chapter introduces the configuration parameters linked to the SNMP facility. What’s in this Section? This section contains the following topics: 150 Topic Page Configuration Parameters Linked to the SNMP Utility 151 Configuration of the SNMP Utility 152 Configuration parameters Configuration Parameters Linked to the SNMP Utility At a Glance The TSX ETY modules are comprised of configuration parameters linked to the SNMP utility. Depending on the TSX ETY module selected, some configuration parameters cannot be accessed on the configuration screen. They are either not shown on the screen or are grayed out. Availability of Parameters The following table shows, for each ETHERNET module, the parameters that can be accessed from the configuration screen. Parameters TSX ETY 110 TSX ETY 410•/ PORT/510• IP Address Managers X X Agent Community names Security Location (SysLocation) X X Contact (SysContact) X X SNMP Manager - X Set X X Get X X Trap X X Enable "Authentication Failure" trap X X Legends: X Accessible - Not accessible 151 Configuration parameters Configuration of the SNMP Utility At a Glance Parameters linked to the SNMP module are divided into 4 categories: l the IP addresses of the SNMP module administrative devices, l the agents, l the community names, l security. Note: Only 7-bit ASCII characters can be used in the character string entry fields. Administrators IP Addresses This zone allows the completion of the SNMP administrators IP addresses. The modules authorize a maximum of two administrators. These addresses are used during possible transmission of events (TRAP). See SNMP Communication on UDP/IP, p. 95. Agent This zone allows the localization and identification of an agent from the SNMP administrator. It comprises two fields: l The Location (SysLocation) field: indicates the physical location of the device (32 characters maximum). l The Contact (SysLocation) field: indicates the personnel to contact for device management and the method of contact (32 characters maximum). l It is possible to select information assignment by a "SNMP Manager" tool for network management, rather than by PL7 software. To do this, check the SNMP Manager box. 152 Configuration parameters Community Name This zone allows the definition of a community name by utility family Set, Get and Trap. It comprises three fields: l The Set field defines the community name for the Set utility (16 characters maximum). The default value of the field is Public. l The Get field defines the community name for the Get utility (16 characters maximum). The default value of the field is Public. l The Trap field defines the community name for the Trap utility (16 characters maximum). The default value of the field is Public. The purpose of these fields is to define the access rights for SNMP agent MIB objects (local module) in relation to requests transmitted by the administrator. Example If the administrator transmits a SetRequest request with the community name Test and the module has the community name Public, the request will not be executed. Security This zone contains the Enable "Authentication Failure" trap check box. Enabling this box allows the transmission of an event (TRAP) of an authentication failure to be confirmed from the SNMP agent to the administrator that originally posted the request. In this way, the agent warns the administrator that the request has been refused following an identification error (community name configured in the administrator is different to the one configured in the agent). CAUTION Modifications to the SNMP parameters The SNMP administrator is able to modify the value of certain parameters, which can be configured by PL7 (Enabling "Authentication failure", Location, Contact. etc.) When there is a cold start, warm restart or application download, the values initially configured in PL7 are then restored. Failure to follow this precaution can result in injury or equipment damage. 153 Configuration parameters 7.5 Configuration Parameters of the Global Data Utility At a Glance Aim of this Section This Section introduces the configuration parameters linked to the Global Data utility. What’s in this Section? This section contains the following topics: 154 Topic Page Configuration Parameters Linked to the Global Data Utility 155 Configuring the General Parameters for the Global Data Utility 157 Configuration of the Variables Table 158 Configuration parameters Configuration Parameters Linked to the Global Data Utility At a Glance Availability of Parameters The TSX ETY modules are comprised of configuration parameters linked to the Global Data utility. Parameters Global Data configuration Table of variables Group address TSX ETY 110 TSX ETY 410•/ PORT/510• - X Distribution Period - X Validity time out - X Multicast Filtering - X %MW Zone - X Ident - X Type - X Symbol - X Address - X Length - X Legends: X Accessible - Not accessible 155 Configuration parameters Properties The following table provides the Global Data utility properties. Type Value Number max. of publications 1 Size of a variable at publication 1 to 512 words Number max. of subscriptions 64 Maximum variable size at subscription Total of 2K words The application variables are stored in a contiguous %MW zone. Each published or subscribed application variable in a Distribution Group is linked to a Global Data. Each Global Data has a unique identification (Ident.) on the inside of a Distribution Group. This identification corresponds to the status bit position in the Global Data status bit zone. The link between published/subscribed application variable and Global Data is established during the configuration phase. 156 Configuration parameters Configuring the General Parameters for the Global Data Utility At a Glance The following parameters can be entered in the Global Data Configuration zone of the configuration (See Configuring the Global Data Utility, p. 251) screen: l Group address l Distribution period l Validity time out l Multicast filtering l %MW Zone Group Address This zone allows the multicast IP address (class D) to be entered for the group to which the station belongs. The value 239.255.255.255 is the default value. Distribution Period This zone allows the distribution period of the publication to be selected. The publication is synchronized with the PLC master task. The publication can be performed at each cycle of the Mast task (default value), or every n cycles of the Mast. task. Validity Time Out This zone allows the validity "time-out" value to be adjusted. An associated status bit (%IW zone) is linked to each Global Data and allows monitoring if the data has been published and received by the end of the time indicated in this window. If yes, the value is 1, otherwise the bit is set to 0. Multicast Filtering This check box activates the multicast filtering. This function allows the reduction of data flow on large networks. Multicast filtering requires the use of commutators that support this function (GMRP IEEE 802.1D protocol). %MW Zone This zone allows the configuration of the start word address in the memory zone reserved for variables. According to the variable used, the end zone word address is calculated automatically by the program and displayed. An error appears if the maximum length is exceeded. 157 Configuration parameters Configuration of the Variables Table At a Glance The Table of variables zone of the Global Data configuration screen enables you to configure the station variables. Several zones are available: l Ident. l Type l Symbol and button labeled Update symbols l Address l Length Ident. Zone This column, numbered from 1 to 64, indicates the identification numbers of the configurable variables. Type Zone This column enables you to choose the type of each variable: l NONE: variable that is neither published nor subscribed l PUB: published variable l SUB: subscribed variable Symbol Zone This column enables you to display the symbol given to a %MW zone, defined in the PL7 application variables editor. Use the Update symbols button to update the value following a modification. Address zone This column displays the zone start address of a variable in %MW. The word index of the preceding variables is automatically updated according to the length and the choice of address of the first word of the zone (See %MW Zone, p. 157). Length Zone In this column enter the length of the variable wanted in number of words. The %MW zone is thus updated. Error Monitoring There is no monitoring of consistency between the configurations of the different stations. In the case of a configuration error, the %MWxy.i.13 internal word indicates the type of error (see Internal Words, p. 280). 158 Configuration parameters 7.6 Configuration Parameters of the Time Synchronization Service At a Glance Aim of this Section This section introduces the configuration parameters linked to the time synchronization service, which uses the Network Time Protocol (NTP). What’s in this Section? This section contains the following topics: Topic Page Configuration Parameters Linked to the Time Synchronization Service (NTP) 160 Using the Time Synchronization Service 163 Configuration of the Time Synchronization Service (NTP) 164 159 Configuration parameters Configuration Parameters Linked to the Time Synchronization Service (NTP) List of Parameters Configure or change the following parameters on the NTP Configuration page. 1. IP address of primary NTP server l Enter a valid IP address 2. IP address of secondary NTP server l Enter a valid IP address 3. Polling Period (in seconds) Enter a value l min = 1sec l max = 120sec l default = 5 sec 4. Time Zone l Select from drop-down menu Universal Time, Coordinated (GMT) = default l Custom time zone 5. Automatically adjust clock for daylight saving change l Parameter is selected by default (check mark appears) if daylight saving time is chosen. Time Zones Available Select one from drop-down menu. Time Zone Description Custom 160 DST Available Yes (GMT-12:00) Dateline Standard Time [Eniwetok Kwajalein] No (GMT-11:00) Samoa Standard Time [Midway Is Samoa] No (GMT-10:00) Hawaiian Standard Time [Hawaii Honolulu] No (GMT-09:00) Alaskan Standard Time [Anchorage] Yes (GMT-08:00) Pacific Standard Time [Los Angeles Tijuana] Yes (GMT-07:00) Mexican Standard Time [Chihuahua La Paz Mazatlan] Yes (GMT-07:00) Mountain Standard Time [Arizona Phoenix] No (GMT-07:00) Mountain Standard Time [Denver] Yes (GMT-06:00) Central Standard Time [Chicago] Yes (GMT-06:00) Mexico Standard Time [Tegucigalpa] No (GMT-06:00) Canada Central Standard Time [Saskatchewan Regina] No (GMT-06:00) Central America Standard Time [Mexico_city] Yes (GMT-05:00) SA Pacific Standard Time [Bogota Lima Quito] No (GMT-05:00) Eastern Standard Time [New York] Yes Configuration parameters Time Zone Description DST Available (GMT-05:00) Eastern Standard Time [Indiana (East)] [Indianapolis] No (GMT-04:00) SA Western Standard Time [Caracas La Paz] No (GMT-04:00) Pacific SA Standard Time [Santiago] Yes (GMT-03:30) Newfoundland Standard Time [Newfoundland St Johns] Yes (GMT-03:00) E. South America Standard Time [Brasilia Sao_Paulo] Yes (GMT-03:00) SA Eastern Standard Time [Buenos Aires Georgetown] No (GMT-02:00) Mid-Atlantic Standard Time [South_Georgia] No (GMT-01:00) Azores Standard Time [Azores Cape Verde Island] Yes (GMT) Universal Coordinated Time [Casablanca, Monrovia] No (GMT0) Greenwich Mean Time [Dublin Edinburgh Lisbon London] Yes (GMT+01:00) Romance Standard Time [Amsterdam CopenHagen Madrid Paris Vilnius] Yes (GMT+01:00) Central European Standard Time [Belgrade Sarajevo Skopje Sofija Zagreb] Yes (GMT+01:00) Central Europe Standard Time [Bratislava Budapest Ljubljana Prague Warsaw] Yes (GMT+01:00) W. Europe Standard Time [Brussels Berlin Bern Rome Stockholm Vienna] Yes (GMT+02:00) GTB Standard Time [Athens Istanbul Minsk] Yes (GMT+02:00) E. Europe Standard Time [Bucharest] Yes (GMT+02:00) Egypt Standard Time [Cairo] Yes (GMT+02:00) South Africa Standard Time [Johannesburg Harare Pretoria] No (GMT+02:00) FLE Standard Time [Helsinki Riga Tallinn] Yes (GMT+02:00) Israel Standard Time [Israel Jerusalem] Yes (GMT+03:00) Arabic Standard Time [Baghdad] Yes (GMT+03:00) Arab Standard Time [Kuwait Riyadh] No (GMT+03:00) Russian Standard Time [Moscow St. Petersburg Volgograd] Yes (GMT+03:00) E. Africa Standard Time [Nairobi] No (GMT+03:30) Iran Standard Time [Tehran] Yes (GMT+04:00) Arabian Standard Time [Abu Dhabi Muscat] No (GMT+04:00) Caucasus Standard Time [Baku Tbilisi] Yes (GMT+04:00) Afghanistan Standard Time [Kabul] No (GMT+05:00) Ekaterinburg Standard Time [Ekaterinburg] Yes (GMT+05:00) West Asia Standard Time [Islamabad Karachi Tashkent] No 161 Configuration parameters Time Zone 162 Description DST Available (GMT+05:30) India Standard Time [Bombay Calcutta Madras New Delhi] No (GMT+06:00) Central Asia Standard Time [Almaty Dhaka] Yes (GMT+06:00) Sri Lanka Standard Time [Columbo] No (GMT+07:00) SE Asia Standard Time [Bangkok Hanoi Jakarta] No (GMT+08:00) China Standard Time [Beijing Chongqing Hong Kong Urumqi] No (GMT+08:00) W. Australia Standard Time [Perth] No (GMT+08:00) Singapore Standard Time [Singapore] No (GMT+08:00) Taipei Standard Time [Taipei] No (GMT+09:00) Tokyo Standard Time [Osako Sapporo Tokyo] No (GMT+09:00) Korea Standard Time [Seoul] No (GMT+09:00) Yakutsk Standard Time [Yakutsk] Yes (GMT+09:30) Cen. Australia Standard Time [Adelaide] Yes (GMT+09:30) AUS Central Standard Time [Darwin] No (GMT+10:00) E. Australia Standard Time [Brisbane] No (GMT+10:00) AUS Eastern Standard Time [Canberra Melbourne Sydney] Yes (GMT+10:00) West Pacific Standard Time [Guam Port Moresby] No (GMT+10:00) Tasmania Standard Time [Hobart] Yes (GMT+10:00) Vladivostok Standard Time [Vladivostok] Yes (GMT+11:00) Central Pacific Standard Time [Magadan Solomon Is New Caledonia] Yes (GMT+12:00) New Zealand Standard Time [Auckland Wellington] Yes (GMT+12:00) Fiji Standard Time [Fiji Kamchatka Marshall Is] No Configuration parameters Using the Time Synchronization Service Establishing Accuracy at Power Up Before starting a system, the Ethernet network must be configured for a predefined interval within which the accuracy is established. Accuracy is established at powerup—the Ethernet module boots and then obtains the time from the NTP Server. Several updates may be required to achieve peak accuracy. Once an accurate time is obtained, the time synchronization service sets the STATUS in the associated time service register. Obtaining and Maintaining Accuracy The time service clock starts at 0 and increments until the Ethernet network time is fully updated from the module. Model Starting Date Premium with PL7 January 1st 1980 00:00:00.00 l Clock accuracy is not affected by issuing Stop/Run commands on the PLC l Clock updates are not affected by issuing Stop/Run commands on the PLC l Mode transitions do not affect the accuracy of the Ethernet network Reinitializing the Time Service Register After a download or an NTP server swap, the status clock value associated with the time service register in the CPU is reinitialized. Two polling periods elapse before an accurate time is re-established. 163 Configuration parameters Configuration of the Time Synchronization Service (NTP) Configuring the Time Service with the NTP Configuration Page You must use the module’s embedded Web page to configure the time service. No other method is available. NTP Configuration NTP Server Configuration IP Address of Primary NTP Server: 192.168.5.100 IP Address of Secondary NTP Server: 0.0.0.0 Polling Period: 15 sec Time Zone (GMT-05:00)Eastern Standard Time[New York] Automatically adjust clock for daylight saving change Save Time Service Command Buttons 164 Cancel Disable NTP Execute the following commands Command Button Description Save Stores new NTP (time service) configuration. Previous configuration is no longer valid. Cancel Cancels new NTP (time service) configuration. Previous configuration is valid Disable NTP IP of Primary and Standby set = 0. NTP server not polled Time in controller not updated. Configuration parameters Changing Time Service Parameters Important Information about the Time Service To make any changes to the time synchronization service, Step Action 1 Enter changes in the appropriate field on the NTP Configuration page for one or all of the configurable parameters. 2 Click Save. Note: About the Time Service 1. Enable/Disable Daylight Savings Time parameter If the Enable/Disable check box is selected, the module automatically corrects the local time to account for daylight savings time. Therefore, requiring no action, as the daylight savings time start and end are automatically changed each year. 2. Polling Time Parameter The time (in seconds) is the time between time updates from the NTP server. The default is 5 Seconds. 3. Storing the Time Service Configuration The last time service configuration is saved internally in the Ethernet module. 4. Replacing the Ethernet Module If the Ethernet module has to be replaced, the stored configuration is lost, and the system returns to the default configuration. 165 Configuration parameters Customizing Time Zone Parameters 166 If you want a time zone not listed in the time zone table, Step Action Comment 1 Write the text rules for the custom time zone. 2 Using an FTP client, store your rules in the file: /FLASH0/wwwroot/conf/NTP/customrules user ID: ntpupdate password: ntpupdate Root directory to store ’customrules’ is set by the FTP server as /FLASH0/wwwroot/conf/NTP 3 When the rules are written, choose the drop down menu on the NTP Configuration web page, and configure (or reboot) the module by selecting Time Zone = Custom The NTP component looks for customrules, calls the tz compiler and generates a new file called ’tz_custom’. This file is binary file and should not be edited. If the tz compiler detects a syntax error in customrules, the error is logged in the file: /FLASH0/wwwroot/conf/NTP/ error.log 1. NTP component is not launched 2. NTP Status field in diagnostic web page displays NOT OK. 4 If you want more information, the syntax to write those rules along with a few examples are found in the module in /FLASH0/wwwroot/conf/NTP/instructions.txt Configuration parameters 7.7 ETHWAY profile configuration paramaters Introduction Subject of this sub-chapter This sub-chapter introduces the configuration parameters linked to the ETHWAY profile. What’s in this Section? This section contains the following topics: Topic Page Configuration Parameters Linked to the ETHWAY Profile 168 Configuration of ETHWAY data 169 167 Configuration parameters Configuration Parameters Linked to the ETHWAY Profile At a Glance The TSX ETY modules have associated with them configuration parameters for the ETHWAY profile. Depending on the TSX ETY module selected, some configuration parameters cannot be accessed on the configuration screen. They are either not shown on the screen or are grayed out. Availability of Parameters The following table shows, for each ETHERNET module, the parameters that can be accessed from the configuration screen and the values that they can have. Parameters ETHWAY data (common words) TSX ETY 110 TSX ETY 410•/ PORT/510• None X - Common read words X - Common read/write words X - Word size/station 4 X - 8 X - 16 X - 32 X - 64 Network address Legends: X Accessible - Not accessible 168 X - X - Configuration parameters Configuration of ETHWAY data Introduction The ETHWAY data parameters are used to configure the common words by: l selecting the type of service supported, l the number of words allocated per station, l the network address of the local station. None The selection of this field invalidates the management of common words in the application. The module does not manage the common database. Common reading words The application has read only access to the common words. Common reading /writing words The application has read and write access to the common words. Size of words/ station This field can be accessed when selecting Common reading words or Common reading/writing words. Filling in this field configures the number of common words managed by the local module. Note: The size of common words must be the same for each network station. Network address This field can be accessed when selecting Common reading words or Common reading/writing words. Filling in this field identifies the network which supports the common words service. 169 Configuration parameters 170 TSX ETY 110 Module 8 Introduction Subject of this chapter This chapter describes the implementation of a TSX ETY 110 module. What’s in this Chapter? This chapter contains the following sections: Section Topic Page 8.1 General points 172 8.2 Configuration 178 8.3 Debugging 197 8.4 Language objects associated with the TSX ETY 110 module 209 171 TSX ETY 110 8.1 General points Introduction Subject of this sub-chapter This sub-chapter introduces Ethernet communication from the TSX ETY 110 coupler and its characteristics. What’s in this Section? This section contains the following topics: 172 Topic Page TSX ETY 110 Module : General points 173 Characteristics 174 Performances 175 Module TSX ETY 110 operating modes 176 Common functions on the ETHWAY and TCP/IP profile 177 TSX ETY 110 TSX ETY 110 Module : General points Introduction The communication channel of the ETHERNET TSX ETY 110 module offers two connection types : l connection to an ETHWAY network with common word and X-WAY messaging facilities on an ETHWAY profile, l connection to a TCP/IP network with X-WAY UNI-TE and Modbus messaging facility on a TCP/IP profile, Because it functions as an SNMP agent, the module can be supervised by one or two SNMP managers. Architecture type This module can be used in three different situations: l in a closed proprietary ETHWAY architecture l in a proprietary ETHWAY architecture connected to a TCP/IP network by an intermediate gateway l in open TCP/IP architecture via direct connection to the network. According to your choice of architecture, the recommended method of use is different. See Example of proprietary architecture ETHWAY, p. 187. Note: When the ETHERNET network load passes 30%, it is recommended that you use : l the TCP/IP profile instead of the ETHWAY profile, l switch type accessories, routers to reduce the load. 173 TSX ETY 110 Characteristics Messaging The TSX ETY 110 module supports: l maximum 32 parallel connections on TCP/IP, l but only one connection to a remote device. The maximum frame size depends on the type of transaction : l In synchronous messaging, the maximum frame size is 256 bytes. l In asynchronous messaging, the maximum frame size is 1 Kbyte. The number of communication functions handled simultaneously depends on the type of profile: l where a TCP/IP profile is used, maximum 16 simultaneous messages, l where an ETHWAY profile is used, maximum 16 simultaneous messages. Maximum capacity of the module The module provides the following capacities: l in the case of ETHWAY messaging : 130 messages per second, l in the case of X-Way messaging on TCP/IP : 140 messages per second, l in the case Modbus messaging on TCP/IP : 100 messages per second. Note: A message can be: l sending a communication function, l the response to a communication function. Common words A common word message is equivalent to 0.5 data messages. Example of application dimensioning : 5 stations exchange common words every 100 ms and X-Way messaging on TCP/IP. The flow of common words received by each module is 50 messages per second of common words, around 25 messages per second on TCP/IP. So the remaining maximum capacity on each module on TCP-IP is: 140 – 25 + 115 messages per second 174 TSX ETY 110 Performances Example The performances below are given for a communication between two PLCs equipped with TSX 57-30 processors. The values are expressed in ms and represent an average period of time described in the table. Opening time of a TCP/IP connection 10 ms Transaction time for a UNI-TE request of 128 bytes in 50 ms periodic mode (MAST task) 150 ms Transaction time for a UNI-TE request of 128 bytes in 4 ms cyclic mode (MAST task) 80 ms Transfer time for common words (turnaround ) in 50 ms periodic mode 250 ms Module feed-through time 15 to 30 ms The transaction time takes into account the time it takes to send a message and receive a reply. 175 TSX ETY 110 Module TSX ETY 110 operating modes Introduction The following graph describes the TSX ETY 110 module’s operating modes. General chart Module stopped Module off Module configured Function of communication Power up Module at self-test stage Reset Configuration Operation Module not configured Self-tests OK l After power-up the module self-tests. During this stage the warning indicators flash. l The module does not operate with a default configuration. This has to be transmitted to it by the local PLC’s PL7 application. The configuration values are given in the list of %KW language objects. The network, station address is given by the code selectors on the front panel. l When the configuration is received, the module resets the current communication to zero before configuring itself (terminates current exchanges, shuts down TCP connections). 176 TSX ETY 110 Common functions on the ETHWAY and TCP/IP profile Duplicate MAC address Detecting a duplicate MAC address (defined by the code selector) between stations which have a Schneider MAC address is done when the device is switched on. So that this detection is operational, the connection cable to the network must be plugged in before being switched on. The RUN and ADR LEDs light up on the front panel of the module when a duplicate is detected. Managing IP parameters In a closed architecture you may choose not to configure IP parameters and to keep the default values. In an open TCP/IP architecture, the IP parameters (IP address, subnet mask, gateway address) must be configured. The default value of the local IP address is derived from the MAC address (its uniqueness is not guaranteed in an open TCP/IP architecture). It is a class A IP address. MAC Address 16# 00 80 F4 00 <network address> <station address> Default IP address 16# 54 00 <network address> <station address> The default value of the subnet mask is 0.0.0.0 (no subnet knowledge). The default value of the default gateway is 0.0.0.0 (no IP gateway knowledge). 177 TSX ETY 110 8.2 Configuration Introduction Subject of this sub-chapter This sub-chapter describes the implementation of the TSX ETY 110 module during its configuration. What’s in this Section? This section contains the following topics: 178 Topic Page Module configuration screen 179 Type of communication according to chosen configuration 181 Messaging configuration on the TCP/IP or ETHWAY profile 182 Configuration of SNMP facility. 184 Configuration of the Bridge function 186 Example of proprietary architecture ETHWAY 187 Example of the ETHWAY architecture connected to TCP/IP 190 Example of connection to a non private TCP/IP network 193 Example of communication between Premium and Quantum 195 TSX ETY 110 Module configuration screen Introduction This screen, split into six areas, is used to register the communication channel and to configure the necessary parameters for an ETHERNET link. Illustration The screen dedicated to ETHERNET communication looks like this : TSX SAY 110 [RACK 0 POSITION 1] Configuration Designation : TCP/IP ETHWAY MODULE 1 2 3 4 Configuration of Connections Connections Protocol Net.Sta IP address allowed 1 36.2 139.160.65.109 UNITE 8 139.160.65.110 UNITE 2 36.10 3 Access 4 control IP address configuration IP default address Configured 139 160 65 106 IP address 255 255 252 0 Subnetwork mask Gateway address 139 160 64 1 Client/Server Ethernet configuration Ethernet II 802.3 Access Ethway data None Bridge ... Common words R Common words R/W No. of words/station 4 8 16 32 64 Network address 0 Advanced SNMP ... 5 6 179 TSX ETY 110 Elements and functions 180 This table describes the different areas that make up the configuration screen: Area Address Function common 1 common section at the communication configuration screens (Communication applications Volume 1 - Overwiew of configuration screen) specific 2 is used to configure TCP/IP connections. See Connection configuration parameters, p. 138. 3 is used to configure the IP address of the module. See Configuration Parameters for IP Addresses, p. 136. 4 is used to configure the ETHERNET type of frame. See Ethernet configuration parameters, p. 140. 5 is used to configure the ETHWAY profile. See Configuration of ETHWAY data, p. 169. 6 is used to configure the SNMP facility. See Configuration of the SNMP Utility, p. 152. TSX ETY 110 Type of communication according to chosen configuration Introduction Depending on the configuration of the TSX ETY 110 module, you can carry out messaging : l either on the ETHWAY profile, l or on the TCP/IP profile. Module in client mode When the module is the client, the ETHWAY or TCP/IP profile is fixed by the configuration of stations in the module’s connection table. The following table specifies which profile is used according to the configuration of the table. If the address of the remote station is … Communication profile referenced in the table. not referenced in the table. TCP/IP ETHWAY Note: If no station is recorded in the table, the communication profile is ETHWAY. Module in server mode When the module is the server, the ETHWAY or TCP/IP profile is fixed according to the client device : l If the client transmits on the ETHWAY profile, the module responds on the ETHWAY profile. l If the client transmits on the TCP/IP profile, the module responds on the TCP/IP profile. Note: Where access control is activated, compatibility must be ensured between the client and server’s connection tables. If the client’s address is referenced in the server’s table, the client must communicate on the TCP/IP profile. 181 TSX ETY 110 Messaging configuration on the TCP/IP or ETHWAY profile Introduction 182 In order to use the TSX ETY 110 module to communicate on ETHERNET, it is necessary to adjust the configuration parameters. TSX ETY 110 How to configure the module Before configuring data module, access the configuration screen. Start of messaging configuration Do you want the module to communicate on the profile … ? TCP/IP Select the number of Connections which can be opened Fill in the fields of the connection table for each remote server device Adr X-WAY IP Address Protocol ETHWAY Does the module exchange common words? Yes Select the common words exchanged in read or read/write No Select the check box Access control Yes If the module is a server, do you want to have access control? No In the connections table, select the Access check box of each remote client device Select the number of words exchanged per station and the number of the network. Do you want to address the module by default? No Select the box Configured Yes Select the box Default IP address Fill in the fields IP Address Subnetwork mask Gateway Address Select the ETHERNET Configuration End of messaging configuration 183 TSX ETY 110 Configuration of SNMP facility. Introduction In order to use the TSX ETY 110 module as an SNMP agent, it is necessary to regulate the configuration parameters of the SNMP facility. How to access the SNMP facility The procedure for accessing the configuration parameters of the SNMP facility is as follows. Step Action 1 Access the module configuration screen. 2 Click on the SNMP button. Result The following window appears. SNMP Configuration IP address managers IP address manager 1 196 211 185 50 IP address manager 2 0 0 0 Agent Location (SysLocation) Factory Contact (SysContact) Manager Community names public Set Get public Trap public Security Enable “Authentification Failure”trap OK Ready 184 Cancel 0| TSX ETY 110 How to configure SNMP The procedure for configuring the SNMP facility is as follows. Step 1 2 3 Action Input the addresses of SNMP managers : l IP Manager 1 addresses l IP Manager 2 addresses Fill in the fields : Location (SysLocation) Contact (SysLocation) . l l If you want to set access rights, fill in the community names : Set Get Trap l l l 4 If you want to activate transmission of an event to the module, check off the Activate "Authentication Failure" trap box. 5 Accept the configuration with the OK button. 185 TSX ETY 110 Configuration of the Bridge function Introduction The TSX ETY 110 module can be used as an X-WAY bridge station. This guarantees clear communication between different networks. Note: To find out about the implementation of this function, refer to the multinetwork communication part (See Multi-network architectures, p. 289). Subsequently, only the procedure for access to the bridge function will be developed. How to access the bridge function 186 The procedure for accessing the configuration parameters of the bridge function is as follows. Step Action 1 Access the module configuration screen. 2 Select the Bridge button. TSX ETY 110 Example of proprietary architecture ETHWAY Introduction The following figure illustrates the implementation of a TSX ETY 110 data module in a proprietary ETHWAY architecture. Programming terminal Scheduler X-WAY: {1.3} IP: 84.0.1.3 X-WAY: {1.4} IP: 84.0.1.4 1 1 ETHERNET Premium 2 X-WAY: {1.2} IP: 84.0.1.2 Station 2 Premium X-WAY: {1.1} IP: 84.0.1.1 Station 1 FIPWAY 1 ETHWAY or TCP/IP TCP/IP communication 2 ETHWAY communication 187 TSX ETY 110 Recommended method of use l The IP addressing is not set by the administrator (default value). It is derived from the values set on the module’s code selector. l Communication between the PLCs is by means of ETHWAY facilities (COM, UNI-TE). l Communication between the PLC and the scheduler or the programming terminal makes use of ETHWAY facilities or UNI-TE on TCP/IP. l The format of the frames used is ETHERNET II. Note: In the sequence of examples, it is assumed that the communication with the terminals is done on TCP/IP. Configuration of the local address of the data module from station 2 In a closed environment, it is possible not to administrate the IP addresses; mode Default IP address is selected. Configuration of the connections of the data module from station 2 The field to input is the X-WAY address of the remote stations with which one wishes to communicate (X-WAY 1.3 address), the other fields are automatically initialized. Access protection is disabled by default and the maximum number of connections is 32. IP address configuration IP default address Configured 0 0 0 IP address Subnetwork mask 0 0 0 Gateway address 0 0 0 Client/Server configuration 0 0 0 Configuration of Connections Connections Net.Sta IP address allowed 1 1.3 84.0.1.3 32 2 3 Access 4 Control: Protocol UNITE Access Note: As the PLC is always the server with regard to the programming terminal, this does not have to be registered. ETHERNET configuration of the data module from station 2 188 The ETHERNET frame format selected for TCP/IP is Ethernet II because in the example the terminals use this format. Ethernet Configuration Ethernet II 802.3 TSX ETY 110 Configuration of the common words of the data module from station 2 Station 2 exchanges 16 common R/W words with the other PLCs connected to the network. Ethway data None Bridge ... Common words R Common words R/W No. of words/ 4 8 16 32 64 Network address 5 The configuration required is: l the type of facility, l the length of the common words, l the network number. 189 TSX ETY 110 Example of the ETHWAY architecture connected to TCP/IP Introduction The following figure illustrates the implementation of a TSX ETY 110 data module in an ETHWAY architecture connected to a TCP/IP network. Scheduler {1.3} 140.252.1.11 ETHERNET Network 1: 140.252 factory level Programming terminal Gateway 140.252.2.255 {1.4} 140.252.2.4 1 Sub-network 140.252.2.0 cellular level ETHERNET Station 2 2 {1.2} 140.252.2.2 190 1 ETHWAY or TCP/IP TCP/IP communication 2 ETHWAY communication Station 1 {1.1} 140.252.2.1 TSX ETY 110 Recommended method of use l IP addressing is administrated globally, because it is connected to an existing factory TCP/IP network. l Communication between the PLCs, at the cellular level, is by means of ETHWAY facilities (COM, UNI-TE). l Communication between the PLC and the programming terminal, at the cellular level, makes use of ETHWAY facilities or UNI-TE on TCP/IP. l Communication between the PLC and the scheduler makes use of UNI-TE functionality on TCP/IP. l The format of the frames used is ETHERNET II. Note: The ETHWAY functionality at cellular level is identical to the functionality described in the previous example. This example only describes the communication between the scheduler at factory level and a PLC Premium at cellular level. Configuration of the local address of the data module from station 2 As it is necessary to administrate the IP addresses, configured IP address mode is selected. IP address configuration IP default address Configured 140 252 2 IP address 255 255 0 Subnetwork mask Gateway address 140 252 2 Client/Server configuration 10 0 255 You should enter the IP parameters listed below. These values are taken from the installation’s global addressing scheme managed by the network manager. It is possible to ensure its uniqueness by having the network ID (140.252) assigned by an accredited body. The network at cellular level is an IP sub-network. This permits the attribution of a unique network ID (140.252) for the whole of the architecture. The sub-networks are then defined by the user of the sub-network mask 255.255.0.0. The class of address chosen (here class B) depends on the number of machines and the number of networks in the installation. 191 TSX ETY 110 Configuration of the connections of the data module from station 2 You must input both the X-WAY address and the IP address of the devices with which the module must communicate. Configuration of Connections Connections Net.Sta IP address allowed 1 1.3 140.252.1.11 5 140.252.2.4 2 1.4 3 Access: 4 control Protocol UNITE UNITE Access Click on the Access control button to activate this control, then check off the corresponding box in the column Access The maximum number of connections in the application can be adjusted. ETHERNET configuration of the data module from station 2 192 The ETHERNET frame format selected for TCP/IP is Ethernet II because in the example the terminals use this format. Ethernet Configuration Ethernet II 802.3 TSX ETY 110 Example of connection to a non private TCP/IP network Introduction The following figure illustrates the implementation of a TSX ETY 110 data module connected to an existing TCP/IP network. Scheduler {1.3} 140.252.2.11 Programming and debugging terminal {1.4} 140.252.2.9 Gateway 140.252.2.255 1 ETHERNET TCP/IP 1 {1.2} 140.252.2.10 1 {1.1} 140.252.2.8 FIPWAY 1 Recommended method of use TCP/IP Communication l IP addressing must be administrated because you are connecting to a non private TCP/IP network. l Communication between the PLCs makes use of the UNI-TE facilities on TCP/IP. l Communication between the PLC and the scheduler or the programming terminal makes use of UNI-TE facilities on TCP/IP. l The format of the frames used is ETHERNET II. 193 TSX ETY 110 Configuration of the local address of the data module Configuring the connections of the data module The IP addresses must be set, Configured IP address is selected, you must enter the IP parameters. IP address configuration IP default address Configured 140 252 2 IP address 255 255 0 Subnetwork mask Gateway address 140 252 2 Client/Server configuration 10 0 255 You must input both the X-WAY address and the IP address of the devices with which the module must communicate. Configuration of Connections Connections Net.Sta IP address allowed 1 1.3 140.252.1.11 5 2 1.4 140.252.2.4 3 Access 4 control Protocol UNITE UNITE Access Click on the Access control button to activate this control, then check off the corresponding box in the column Access. The maximum number of connections allowed in the application can be adjusted. ETHERNET configuration of the data module 194 The ETHERNET frame format selected for TCP/IP is Ethernet II because in the example the terminals use this format. Ethernet Configuration Ethernet II 802.3 TSX ETY 110 Example of communication between Premium and Quantum Introduction The following figure illustrates the implementation of a TSX ETY 110 module to communicate with a Quantum PLC. Programming and debugging terminal {1.3} 140.252.2.11 Gateway 140.252.2.255 1 1 ETHERNET TCP/IP {1.101} 140.252.2.8 Network 1 X-WAY 140.52 2 {1.2} 140.252.2.10 Modbus Plus FIPWAY Recommended method of use l The IP addressing is administrated because of the risk of duplicating IP addresses with default values. l Communication between the PLCs makes use of the Modbus facilities on TCP/IP. 195 TSX ETY 110 Configuration of the local address of the data module Configuring the connections of the data module The IP address must be set, Configured IP address is selected, you must enter the IP parameters. IP address configuration IP default address Configured 140 252 2 IP address 255 255 0 Subnetwork mask Gateway address 140 252 2 Client/Server configuration 10 0 255 You must input both the X-WAY address and the IP address of the devices with which the module must communicate. Configuration of Connections Connections Net.Sta IP address allowed 1 1.3 140.252.2.11 5 140.252.2.8 2 1.101 3 Access 4 control Protocol UNITE MODBUS Access Click on the Access control button to activate this control, then check off the corresponding box in the column Access. The maximum number of connections in the application can be adjusted. Note: Communication with the Quantum PLC requires the configuration of the Modbus protocol. ETHERNET configuration of the data module 196 The ETHERNET frame format selected for TCP/IP is Ethernet II because in the example the terminals use this format. Ethernet Configuration Ethernet II 802.3 TSX ETY 110 8.3 Debugging Introduction Subject of this sub-chapter This sub-chapter describes the debugging of the TSX ETY 110 module. What’s in this Section? This section contains the following topics: Topic Page Module debugging screen 198 General debugging parameters 200 Debugging parameters for TCP/IP facilities 201 How to test TCP/IP communication with a Ping request 202 Debugging parameters of ETHWAY facilities 203 Requests available for the communication channel test 204 How to test a channel with Identification and Mirror requests 205 How to test a channel with requests 207 197 TSX ETY 110 Module debugging screen Introduction This screen, split into five areas, is used to debug an ETHERNET link. Illustration The screen dedicated to ETHERNET communication looks like this : 1 TSX SAY 110 [RACK 0 POSITION 5] Debug Designation : TCP/IP ETHWAY MODULE IP address ADR DIAG... Network address 5 words 19 Station Address IP address Subnetwork mask Gateway address 4 Version 2.0 RUN ERR 196 211 185 22 255 255 255 0 196 211 185 55 IP address module MAC address Communication test Number of 196.211.185.21 open 0 Ping Response reception Time ms Size 64 Bytes Addresses Message traffic (msg./min) 2000 msg./min Common data None Bridge Station test Identification Counters Enter Request Reset counters Mirror Response reception Station no. Message errors ASCII 5 Hex. Reset counters 2 Min. 0 198 Avg. 0 Max. 0 Reset Messages sent and not acknowledged Messages refused 0 0 3 TSX ETY 110 Elements and functions This table describes the different areas that make up the configuration screen: Address Area Function 1 common common section at the communication debugging screens (Communication applications Volume 1 - Description of communication debugging screens) 2 Message traffic (See Message traffic, p. 200) is used to view graphically the number of messages handled by the module: 3 Message errors (See Message errors, p. 200) used to view the number of unacknowledged or refused messages. 4 TCP/IP facilities used to : (See Debugging l view configuration of TCP/IP facilities, parameters for l test communication on the TCP/IP profile. TCP/IP facilities, p. 201) 5 ETHWAY facilities (See Requests available for the communication channel test, p. 204) used to : view configuration of ETHWAY facilities, test communication on the ETHWAY profile. l l 199 TSX ETY 110 General debugging parameters Introduction The general debugging parameters are grouped into two windows : l the Message traffic window, l the Message errors window. Message traffic The window looks like this : Message traffic (msg./min) Min. 493 Avg. 849 6000 msg./min Max. 1206 Reset It shows graphically the number of messages per minute handled by the module (sending and receiving). This number can be compared to the maximum flow rate offered by the module (7800 or 8400 messages of 128 bytes per minute) in order to determine whether the latter is working in a normal use range or in overload. The Reset button resets to zero the three countersMin.,Av. and Max.. Message errors The window looks like this : Message errors Reset counters Messages sent and not acknowledged Messages refused 12 2 The message errors window shows the number of unacknowledged messages on ETHWAY and the number of refused messages on ETHWAY or TC/IP. You can reset these counters to zero by clicking on the Init counters button. 200 TSX ETY 110 Debugging parameters for TCP/IP facilities Introduction The debugging parameters for TCP/IP facilities are grouped in two windows : l the IP Address window, l the Communication test window. IP Address The window looks like this : IP address IP address Subnetwork mask 196 211 185 22 Gateway address 196 211 185 55 IP address module 255 255 255 0 MAC address It shows the configuration data for the IP address: l IP Address l Subnetwork mask l Gateway Address : gateway address Communication test The window looks like this : Communication test Number of connections 196.211.185.21 open 0 Ping Response reception Time ms Size 64 Bytes Addresses This window is used to test the IP communication with another station registered in the table of remote devices. 201 TSX ETY 110 How to test TCP/IP communication with a Ping request Introduction This page indicates the procedure to be followed to test a TCP/IP communication by means of a Ping request. Steps to follow The following procedure allows the sending of the Ping request and thus tests the routing of information between two devices. Step Action 1 Select the address of the station to be interrogated with the help of the Addresses field. 2 Select the number of bytes to be transmitted using the Size field. This specifies the length of the message to be sent between 64 and 1472 bytes. 3 Press the button Ping. Result The reply appears in the field Time : Response reception Time 17 ms Size 64 Bytes The time returned corresponds to the turnaround time for the message in ms. Type of response The following table groups together the different types of response to the Ping request. If the response is… then … positive The window indicates the turnaround time for the message in ms. negative l l 202 a window with the message Timeout specifies the absence of response from the remote device. a window with the message Host unreachable specifies that the remote device has not been reached in the network architecture. TSX ETY 110 Debugging parameters of ETHWAY facilities Introduction The debugging parameters for TCP/IP facilities are grouped in two windows : l the IP Address station window, l the Station test window. Station address The window looks like this : Station Address Network address 5 Common data words 19 None Bridge It shows the configuration data : l Network address and Station : shows the network and station address coded on the module’s code selectors l Common data : shows the type of facility selection in configuration mode for common data l Bridge : if the box is checked off, it shows that the station has been registered as an X-WayBridge. Station test The window looks like this : Station test Identification Counters 10 Enter Request Reset counters Mirror Response reception Station no. ASCII Hex. This window is used to test a communication channel by sending a request to one of the existing stations on the network. 203 TSX ETY 110 Requests available for the communication channel test Introduction This page describes the different possibilities for testing a communication channel from the debugging screen. Test conditions Sending a request to an unconnected station results in an error message. Available requests Window Test station allows the following requests : l Identification (See How to identify a station, p. 205) : prompts the Identification request to be sent to the designated remote station, l Counters : prompts the sending of the request for the Reading of the error counters to the designated station, l Counters : prompts the designated station’s error counters to be reset to zero, l Request input (See How to test a channel with requests, p. 207): allows a UNI-TE request, other than those provided by the command buttons, to be sent to the designated station. The choices available in this function give access to a screen that allows you to select the parameters that are specific to the request (request code must be coded in hexadecimal), l Mirror (See How to send the Mirror request, p. 206): allows a mirror request to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the length of the character string to be sent (a maximum of 80 characters ). The PLC then sends this character string (ABCD….) to the destination device. This automatically sends the character string that was received back to the sender. 204 TSX ETY 110 How to test a channel with Identification and Mirror requests Introduction This page indicates the procedure to follow to test a communication channel by means of Identification and Mirror requests. How to identify a station The following procedure allows the identification of a designated station. Step Actions 1 Select the address of the station to be interrogated with the help of the field Station. 2 Click on the button Identification. Result The response appears in the window Receive Response : Response reception ..’.TSX ETY 110..!.... ASCII Hex. 205 TSX ETY 110 How to send the Mirror request The following procedure allows the sending of the Mirror request and thus tests the routing of information between two devices. Step Action 1 Select the address of the station to be interrogated with the help of the field Station. 2 Click on the button Mirror. Result The following window appears : Mirror Request Length of data to be sent 8 Cancel Send 3 Input the length of data to be sent (maximum 80 characters). 4 Click on the button Send. Result The response appears in the window Receive Response: Response reception ABCDEFGH ASCII Hex. The response contains: the character string ABCDEFGH that corresponds to the length of data sent 8. l 206 TSX ETY 110 How to test a channel with requests Introduction This page indicates the procedure to follow to test a communication channel from the debugging screen through different requests. 207 TSX ETY 110 How to send a request The following procedure allows a request, other than those provided by the command buttons, to be sent to a designated station. In this example, the request sent is used to read 10 words (from %MW1 to %MW10). Step Action 1 Select the address of the station to be interrogated with the help of the field Station. 2 Click on the button Input Request. Result The following window appears : Enter Request Request code (hexadecimal) 36 Data (Hexadecimal) 680701000A00 Send Cancel The data sent in this example is coded on 6 bytes. 3 Input the function code (coded in hexadecimal on one byte), corresponding to the request that you want to send. For this example the read request code is 16#36. 4 Input the data to be sent by coding all the data in hexadecimal. The data is sent non-stop without any time intervals between them. When the data is coded on one word, the most significant and least significant bytes are reversed. For this example the data is as follows : l 16#68 : on one byte, defines the segment (internal data), l 16#07 : on one byte, defines the object type (words), l 16#0100 : on one byte, defines the first word to read, l 16#0A00 : on one byte, defines the number of words to read. 5 Click on the button Send. Result The response appears in the Receive Response window : Response reception 07 00 C2 92 20 24 Ascii Hexa The response from the example has data on 21 bytes. 16#07 : corresponds to object type (words), 16#00C2 : corresponds to the value of the first word (the most significant and least significant bytes are reversed, its value is 16#C200), l ... l l 208 TSX ETY 110 8.4 Language objects associated with the TSX ETY 110 module Introduction Subject of this sub-chapter This sub-chapter presents the different language objects specific to the TSX ETY 110 module. What’s in this Section? This section contains the following topics: Topic Page Implicit Exchange Language Objects 210 Language objects in explicit exchange 213 Explicit exchange management and report 215 Language objects associated with configuration 216 209 TSX ETY 110 Implicit Exchange Language Objects At a Glance This page describes all the implicit exchange (Communication applications Volume 1 - Default exchanges) language objects for ETHERNET communication with the TSX ETY 110 module that can be displayed or modified by the application program. Bit Objects The table below shows the various bit objects for implicit exchange. Object (1) Function Meaning %Ixy.MOD.E Module error bit RR This bit set to 1 indicates a module error (at least one of the channels has an error, for instance) %Ixy.i.ERR This bit set to 1 indicates a line fault. Channel error bit Legend (1) 210 Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l TSX ETY 110 Word Objects The table below shows the various word objects for implicit exchange. Object (1) Function Meaning %IWxy.i.0 Network status l %IWxy.i.1 Common data update indicators ... ... %IWxy.i.4 Common data update indicators l l l l l l x0 = 1: if common words are received from at least one of the remote stations x0 = 1: station 0 common words are updated. ... x7 = 1: station 7 common words are updated. x8 = 1: station 8 common words are updated. ... x15 = 1: station 15 common words are updated. ... l l l l l l x0 = 1: station 48 common words are updated. ... x7 = 1: station 55 common words are updated. x8 = 1: station 56 common words are updated. ... x15 = 1: station 63 common words or shared table words are updated. Legend (1) Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l 211 TSX ETY 110 Common Words Common words are exchanged on the ETHWAY profile and their number depends on the size of words per configured station. The following table describes the common words: Object (1) Function %NW{n.s}0 Common words to %NW{n.s}64 Meaning corresponds to exchanged common data Legend (1) Address n.s n: corresponds to the network number s: corresponds to the station number l l WARNING The update bit switches to 1 at the beginning of the PLC cycle if it receives common words from the corresponding station. At the end of the cycle the update bits automatically return to 0. Consequently, common words can only be considered valid if the update bit of the corresponding station is set to 1. After power up, common words are set to value 0. Failure to follow this precaution can result in death, serious injury, or equipment damage. 212 TSX ETY 110 Language objects in explicit exchange Introduction This page describes all the language objects for explicit exchange (Communication applications Volume 1 - Specified exchanges: General points) for ETHERNET communication with the TSX ETY 110 module that can be displayed or modified by the application program. Word objects The table below shows the different word objects for explicit exchange. Object (1) Function %MWxy.MOD.2 Module status Meaning l l l l l l l l l l l l x0 = 1 : defective module x1 = 1 : functional error (error between the processor and the module, adjustment or configuration error, …) x2 = 1 : terminal block fault (not connected) x3 = 1 : self-tests running x4 = 1 : reserved x5 = 1 : error in hardware or software configuration (the module present is not that declared in the configuration, the sub-modules are not compatible) x6 = 1 : missing module x7 = 1 : error in one of the sub-modules %MWxy.i.2 Standard channel status %MWxy.i.3 Specific channel status Byte 0 : l x0 = 1 : if X-WAY bridge (0 if not bridge) Byte 1 : number of TCP connections open %MWxy.i.4 Error counters on ETHWAY Unacknowledged messages on ETHWAY %MWxy.i.5 Error counters on ETHWAY Refused messages on ETHWAY %MWxy.i.6 Network/station address Byte 0 : station number Byte 1 : network number %MWxy.i.7 Information on common words or shared tables Byte 0 : l = 16#00 : inactive facility l = 16#01 : read/write of common words l = 16#02 : reading of common words Byte 1 : size of common words produced x0 à x3 = 0 : reserved x4 = 1 : module error or self-tests running x5 et x6 = 0 : reserved x7 = 1 : application error (error in the configuration) 213 TSX ETY 110 Object (1) Function Meaning %MWxy.i.8 Counter of messages on TCP/IP Number of messages refused on X-WAY on TCP/IP %MWxy.i.9 Message counters on and %Mwxy.i.10 the link level Number of messages received on the link level %MWxy.i.11 Message counters on and %Mwxy.i.12 the link level Number of messages sent on the link level Key (1) 214 Address xy.i x : corresponds to the rack number y : corresponds to the module number i : corresponds to the channel number l l l TSX ETY 110 Explicit exchange management and report Introduction This page describes all the language objects that manage explicit exchanges (Communication applications Volume 1 - Exchange and report management). Word objects The table below shows the different word objects for the management of explicit exchanges. Object (1) Function Meaning %MWxy.MOD.0 Module exchanges in progress l l l %MWxy.MOD.1 Module report l l %MWxy.i.0 Channel exchanges in progress l l l %MWxy.i.1 Channel report l l x0 = 1 : status reading in progress x1 = 1 : sending of command parameters to the communication module x2 = 1 : sending of adjustment parameters to the communication module x1 = 0 : command parameters received and accepted by the module x2 = 0 : adjustment parameters received and accepted by the module x0 = 1 : status reading in progress x1 = 1 : sending of command parameters to the communication channel x2 = 1 : sending of adjustment parameters to the communication channel x1 = 0 : command parameters received and accepted by the communication channel x2 = 0 : adjustment parameters received and accepted by the communication channel Key (1) Address xy.i l x : corresponds to the rack number l y : corresponds to the module number l i : corresponds to the channel number 215 TSX ETY 110 Language objects associated with configuration Introduction This page describes all the configuration language objects for ETHERNET communication with the TSX ETY 110 module that can be displayed by the application program. Internal constants The following table describes the internal constants: 216 Object Function Meaning %KWxy.i.0 Type Byte 0 = 11 for ETHWAY communication Byte 1 : reserved %KWxy.i.1 Physical layer Byte 0 : reserved Byte 1 : reserved %KWxy.i.2 Supported facilities Byte 0 : common data x0 = 1 : activation of ETHWAY common words x1 = 0 : reserved x2 = 1 : common read only words x3 = 1 : common R/W words x4 to x7 = 0 : reserved Byte 1 : reserved %KWxy.i.4 Common words Byte 0 : number of common words Byte 1 : reserved %KWxy.i.5 X-WAY network address Byte 0 : network number (0 by default) Byte 1 : reserved %KWxy.i.6 Type of ETHERNET driver for TCP/IP Byte 0 : l = 16#00 : AUI (default value) l = 16#01 : RJ45 Byte 1 : l = 16#00 : ETHERNET II (default value) l = 16#01 : 802.3 %KWxy.i.7 TCP/IP configuration : address type Byte 0 : reserved Byte 1 : inherited address l = 16#00 : default address l = 16#01 : from the application-specific function l = 16#03 : from a server %KWxy.i.8 and %KWxy.i.9 Local IP address Example with the address 139.160.650.109 Byte 0 = 109 (least significant bit) Byte 1 = 65 Byte 2 = 160 Byte 3 = 139 (most significant bit) l l l l l TSX ETY 110 Object Function Meaning %KWxy.i.10 and %KWxy.i.11 IP address of gateway Example with the address 139.160.65.1 Byte 0 = 1 Byte 1 = 65 Byte 2 = 160 Byte 3 = 139 %KWxy.i.12 and %KWxy.i.13 Subnetwork mask Example with the address 255.255.255.0 Byte 0 = 0 Byte 1 = 255 Byte 2 = 255 Byte 3 = 255 217 TSX ETY 110 218 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 modules 9 At a Glance Aim of this Chapter This chapter describes how to install TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 modules. The TSX WMY module offers the same services than the other modules, except the following ones : l IO Scanning, l Global Data, l Address server, l Bandwidth Monitoring. What’s in this Chapter? This chapter contains the following sections: Section Topic Page 9.1 General 220 9.2 Configuration 233 9.3 Debugging 264 9.4 Language objects associated with TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Modules 277 9.5 Questions/Answers 285 219 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 9.1 General At a Glance Aim of this Section This section introduces ETHERNET communication from a TSX ETY 410• , TSX ETY PORT, TSX ETY 510• or TSX WMY 100 module, and their properties. The TSX WMY module offers the same services than the other modules, except the following ones : l IO Scanning, l Global Data, l Address server, l Bandwidth Monitoring. What’s in this Section? This section contains the following topics: Topic General 220 Page 221 Characteristics 222 Type of Supported Connections 224 Performance of IO Scanning Utility 226 Global Data Utility Performances 229 Operating Modes for TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Modules 231 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 General At a Glance The communication channel of the ETHERNET TSX ETY 410•/PORT/510• or TSX WMY 100 module offers connection to a TCP/IP network supporting the UNITE messaging utility and Modbus on a TCP/IP profile. The four modules, TSX ETY 410•, TSX ETY PORT also offer the following utilities: l Thanks to their SNMP agent functionality, the modules can be supervised by one or two SNMP managers. l They are able to perform the role of the BOOTP/DHCP server or the BOOTP client (no address server for TSX WMY 100). l Using their IO Scanning utility, they can drive remote inputs/outputs on the ETHERNET network (no IO Scanning for TSX WMY 100). l They integrate an embedded HTTP server. l Thanks to the Global Data utility, the modules allow the exchange of data between IEC standard PLC stations (no Global Data for TSX WMY 100). l The Bandwidth monitoring utility, which makes it possible to check how resources are shared between the utilities on the module (no Bandwidth Monitoring for TSX WMY 100). l The Replace faulty device utility, which allows the device configuration to be saved in the module. In case of breakdown, another installed blank module can be restarted with the configuration parameters of the previous one. l The time synchronization utility makes it possible to update the PLC clocks to UTC (Universal Time Coordinated) from a data source. In addition, the TSX ETY 510• and TSX WMY 100 modules offer the option of creating user Web pages. 221 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Characteristics Maximum Capacity of the Module The maximum frame size depends on the type of transaction: l In synchronous messaging, the maximum frame size is 256 bytes. l In asynchronous messaging, the maximum frame size is 1 KBytes. TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 modules allow you: l to manage 64 TCP connections using the port 502 messaging utility, l to scan up to a maximum of 64 devices using the IO Scanning utility (No IO Scanning for TSX WMY 100), l to act as the DHCP or BOOTP server for a maximum of 96 devices requiring this utility (No Address server for TSX WMY 100), In conjunction with a processor dedicated to this sort of handling, the module can be used: l for synchronous X-WAY messaging on TCP/IP (UNI-TE server): l with a TSX P57 453 processor: 800 messages per second, l with a TSX P57 303 processor: 490 messages per second, l in the case of asynchronous X-WAY messaging on TCP/IP: l between 600 and 1200 messages per second (number varies depending on the size of the messages, the number of clients and the application execution time). IO Scanning Utility Note: No IO Scanning for TSX WMY 100 The module can scan a maximum of 64 remote devices. For the same station, the application can process: l a maximum total volume of inputs to be scanned of 2 Kwords, l a maximum total volume of outputs to be scanned of 2 Kwords. When using the IO Scanning utility, the PLC cycle is impacted by about 1 ms per volume of 512 I/O words scanned. In the same way, the size of the application is impacted by 6 KBytes per configured TSX ETY 410•/PORT/510• module. 222 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Global Data Utility Note: No Global Data for TSX WMY 100 The user interface is a %MW zone defined in configuration. l Each module can issue a variable of between 1 and 512 words, l Each module can subscribe to 1 to 64 variables. The total data cannot exceed 2 Kwords. Time synchronization service The time synchronization service is available on the TSX ETY 5103 with a processor version of V5.8 or later and PL7 version V4.5. Replace Faulty Equipment The module reserves a 512 KBytes zone for this function. l Up to 96 remote devices can be configured in the DHCP address server utility. l The 96 remote devices should share the 512 KBytes reserved for their parameters. Compatibility The modules TSX ETY 410•, TSX ETY PORT and TSX ETY 510• are based on the modules TSX ETY 410 and TSX ETY 5101. They have new utilities, yet remain compatible with TSX ETY 410 and TSX ETY 5101 modules. The TSX ETY 410•, TSX ETY PORT and TSX ETY 510• modules can only be configured in a Premium with a V5.1 or higher processor. The functional level of the TSX ETY 410•/510• modules requires version V4.1 of the PL7 software. For the TSX ETY PORT, version V4.3 of the PL7 software is required with a version V5.5 processor or higher. Otherwise (PL7 V4.0, TSX ETY 410/5101), the new utilities (Global data, Bandwidth monitoring, DHCP server) will not be available. Note: If the module physically present is a TSX ETY 410 or a TSX ETY 510 and the configured module is a TSX ETY 410•, the application will function normally if the utilities of the TSX ETY 410• are not used. Otherwise, the module will remain faulty. 223 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Type of Supported Connections At a Glance Number of maximal HTTP connections. TSX ETY 410• 8 TSX ETY PORT 8 TSX ETY 510• 16 TSX WMY 100 16 The TSX ETY 410•/PORT/510• and TSX WMY 100 modules authorize a maximum of 64 parallel connections on TCP/IP. Connection to a Premium Between two Premium PLCs using UNI-TE messaging on the TCP/IP profile, the TSX ETY 410•/PORT/510• or TSX WMY 100 module only allows one connection in client/server mode. ETHERNET A UNI-TE client/server messaging connection Premium with a TSX ETY 410•/PORT/510• module or TSX WMY 100. 224 Premium with a TSX ETY 410•/PORT/510• or TSX ETY 110 module TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Connection to a Quantum Between a Premium PLC and a Quantum PLC using Modbus messaging on the TCP/IP profile, the TSX ETY 410•/PORT/510• or TSX WMY 100 module allows: l a single connection in Modbus client mode, l a single connection in Modbus server mode. Example ETHERNET A Modbus client messaging connection Premium with a TSX ETY 410•/PORT/510• module or TSX WMY 100. Connection to a Third Party Device A Modbus server messaging connection Quantum Between a Premium PLC and a third party device, the TSX ETY 410•/PORT/510• and TSX WMY 100 module allows: l a single connection in UNI-TE or Modbus client mode, l several connections in UNI-TE or Modbus server mode. Example ETHERNET A UNI-TE or Modbus messaging connection in client mode Premium with a TSX ETY 410•/PORT/510• module or TSX WMY 100. Several UNI-TE or Modbus messaging connections in server mode with different X-WAY addresses PC (third party device) 225 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Performance of IO Scanning Utility At a Glance Note: No IO Scanning for TSX WMY 100 The performances presented below are the performances of module TSX ETY 410•/PORT/510• while using the IO Scanning utility. Restart Time for an IO Scanning Configuration This time corresponds to the time between the power up of the complete configuration and the moment when all the remote inputs/outputs become operational (the status bits are activated, the word bits %IWxy.i.l to %IWxy.i.4 = 1). Values are given in seconds: l T= 35s, if the TSX ETY 410•/PORT/510• module is used as a BOOTP server to connect the scanned devices. l T = 17s, if the scanned devices use another BOOTP/DHCP server. Input/Output Restart Time This time corresponds to the time between the power up of the remote inputs/ outputs and the moment when all the status bits are activated (word bits %IWxy.i.l to %IWxy.i.4 = 1). The value is given in seconds: l T=5s 226 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Application Response Time This time corresponds to the elapsed time between the acquisition of a remote input and the positioning of a remote output. This is a logic response time, which does not take filtering time and actuator and sensor interface response times into account. This is an example of time elapsed from acquiring an input to the positioning of an output: I1 O1 Response time MAST cycle time: 20 ms or 80 ms I1 O1 227 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Response time with a cycle of 20 ms 100 Max. T 90 Response time in ms 80 Min. T 70 60 50 0 10 20 30 40 50 60 Number of devices scanned Response time with a cycle of 80 ms 220 Max. T 210 Response time in ms 200 Min. T 190 180 170 0 10 20 30 40 50 60 Number of devices scanned 228 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Global Data Utility Performances At a Glance Note: No Global Data for TSX WMY 100 The values presented below are given to evaluate the Global Data utility performance. Definition Global Data return time: This time corresponds to the time elapsed between the publication of a variable value by the local PLC application, the subscription by a remote PLC application, the publication of the same value by the remote PLC application and the subscription by the local PLC application. 229 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Values Measurement conditions: l The cycle time for local and remote PLC applications are identical. l Only one variable is exchanged in each direction. Result: PLC cycle time Return time >= 10 ms 3 times the PLC cycle time = 5 ms 5 to 6 times the PLC cycle time Illustration: 60 50 Return time in ms 40 30 20 10 0 5 10 15 Cycle time in ms 230 20 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Operating Modes for TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Modules At a Glance The following diagram describes the TSX ETY 410•/PORT/510• and TSX WMY 100 module operating modes. General Diagram Stop module Module off Module configured Power up Communication function Module in self-test phase Reset Configuration Operation Module not configured Self-tests OK l After power-up, the module carries out self-testing. During this phase, the STS LED is lit. After the self tests, the RUN LED lights up. l The module does not operate with a default configuration. This has to be transmitted to it by the local PLC’s PL7 application. The configuration values are given in the %KW language object list and in particular provide the IP address and the X-WAY address of the module. The configuration is retransmitted upon every PLC restart (warm or cold). l When the configuration is received, the module resets the current communication to zero before configuring itself (terminates current exchanges, shuts down TCP connections). The module is now operational. The RUN and STS LEDs are lit up. l The IO Scanning function starts when the PLC transfers to RUN mode. It stops when it transfers to STOP mode. 231 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Special Cases If a TSX ETY 410•/PORT/510• or TSX WMY 100 module is not configured in the PL7 application (RUN LEDs go out and ERR LEDs flash), it takes the IP address constructed from its MAC address: 085.016.xxx.yyy where xxx and yyy are the last two numbers of the MAC address. Example The module’s MAC address is (in hexadecimal): 00 80 F4 01 12 20 In this case the default IP address is (in decimal): 085.016.018.032 The module also transmits BOOTP/DHCP requests to obtain another IP address. These requests are sent until a BOOTP/DHCP server responds or until configured via PL7. If the module detects a duplicated IP address, the STS LED flashes 4 times during a minute (as does that of the module having the same IP address). 232 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 9.2 Configuration At a Glance Aim of this Section This section describes the implementation of the TSX ETY 410•, TSX ETY PORT, TSX ETY 510• or TSX WMY 100 modules during its configuration. The TSX WMY module offers the same services than the other modules, except the following ones : l IO Scanning, l Global Data, l Address server, l Bandwidth Monitoring. What’s in this Section? This section contains the following topics: Topic Page Migration of Applications using TSX ETY 410/5101 Modules 234 Module Configuration Screen 235 Type of Communication According to Connection Configuration 237 Configuration of TCP/IP Messaging 242 IO Scanning Utility Configuration 244 BOOTP Server Configuration 247 DHCP Address Server Configuration 249 Configuring the Global Data Utility 251 Configuration of the SNMP Utility 254 Configuring the Time Synchronization Service 256 Configuring the Bandwidth Utility 261 Configuration of the Bridge Function 263 233 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Migration of Applications using TSX ETY 410/5101 Modules Procedure To migrate an application based on a TSX ETY 410/5101, to an application based on a TSX ETY 410•/PORT/510• in order to benefit from the new utilities, follow the procedure below: Step Action 1 Make sure you have: l PL7 version V4.1 or higher (V4.3 for a TSX ETY PORT), l a processor of V5.1 version or higher (5.5 for a TSX ETY PORT), l a TSX ETY 410•/PORT/510• module. 2 Open the application in the PL7 software. 3 Click on the TSX ETY 410 or TSX ETY 5101 module in configuration mode: In the Module Utilities zone, certain utilities are grayed out. 4 Click on New utilities: Illustration Module utilities IO Scanning Address Server Global Data Bandwidth New utilities The application recognizes the modification. The new utilities are now accessible. 234 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Module Configuration Screen At a Glance This screen, separated into two zones, allows the declaration of the communication channel and the configuration of the necessary parameters for an ETHERNET link. Illustration The screen dedicated to ETHERNET communication is displayed as follows: 1 2 3 TSX ETY 410 [RACK 0 POSITION 2] Configuration Designation: TCP/IP 10/100 MODULE Module IP address IP address Subnetwork mask Gateway address 139, 160, 234, 18 255 , 255 , 255 , 0 139 , 160, 234,1 Messaging I/O Scanning Address Server SNMP Global Data Configuration of Connections XWAY address Network 10 4 5 Module utilities IO Scanning Address Server Station 40 IP address configuration Configured 139 160 234 18 IP address 255 160 255 0 Subnetwork mask Gateway address 139 160 234 1 Client/Server configuration Ethernet configuration Ethernet II 802.3 1 2 3 4 5 6 7 8 9 10 11 12 Xway IP address Addr. 4.10 139.160.234.10 4.11 139.160.234.11 5.121 139.160.234.21 4.12 139.160.234.12 4.13 139.160.234.13 5.122 139.160.234.22 5.123 139.160.234.23 4.15 139.160.234.14 Bandwidth Global Data Bandwidth Bridge Access control Protocol Access Mode UNITE UNITE MODBUS UNITE UNITE MODBUS MODBUS UNITE UNITE UNITE UNITE UNITE 6 MULTI MONO MULTI MULTI MONO MULTI MULTI MONO MONO MONO MONO MONO 10 9 8 7 235 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Elements and Functions This table describes the different zones, which make up the configuration screen: Zone Address Function common 1 common part of the configuration screens (Communication applications Volume 1 - Overwiew of configuration screen) for communicating specific 2 allows the display of the module address. 3 allows configuration of the TCP/IP utilities. See Configuration parameters for TCP/IP facilities, p. 134. 4 allows configuration of the IO Scanning utility (except TSX WMY 100). See Configuration parameters for the IO Scanning facility, p. 141. 5 allows configuration of the address server (except TSX WMY 100). See Configuration Parameters for the Address Server Utility, p. 147. 6 allows selection of the utilities used by the module. 7 allows configuration of the SNMP utility. See Configuration parameters for the SNMP facility, p. 150. 8 allows configuration of the Global Data utility (except TSX WMY 100). See Configuration Parameters of the Global Data Utility, p. 154. 9 allows configuration of the Bandwidth management utility (except TSX WMY 100). 10 allows configuration of the module in Bridge. the time synchronization utility (See Configuration Parameters Linked to the Time Synchronization Service (NTP), p. 160) is configured from Web pages built into the Ethernet module. 236 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Type of Communication According to Connection Configuration At a Glance Depending on the connection configuration of the TSX ETY 410•/PORT/510• or TSX WMY 100 module, you can carry out messaging: See Connection configuration parameters, p. 138 l in mono-connection l in multi-connection. According to the type of protocol and access control management, multi-connection mode requires a specific configuration of the correspondence table. Note: In the following, only examples of multi-connection will be dealt with. Furthermore, the emphasis is placed on communication between the module and a remote PC device containing several applications. Configuration Rules Several connections can be configured with the same IP address. They must be defined with the same protocol, the same access rights, and the same connection mode. In the case of a Modbus connection, only two connections can be configured with the same IP address. Addresses associated with these connections are: l an X-WAY address (for example: {2.103}) for the Modbus client connection, l an X-WAY address equal to {x.x} for Modbus server connections. 237 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Multi-connection in UNI-TE Protocol with Access Management In this example, the PC contains four applications with a unique X-WAY address and one single IP address: l The module opens a connection and communicates with the server application with the address {1.1}. l Each of the other client applications with the address {1.2}, {1.3}, {1.4} is authorized to open a connection and communicate with the module. Exchanges are carried out according to the UNI-TE protocol and the module’s access control utility is enabled. Premium client/ server 139.160.65.157 139.160.65.156 Server application {1.1} Client application {1.2} Client application {1.3} Client application {1.4} PC In order to implement this example, you must: l activate connection management by checking the module’s Access control box, l configure communication from the module to the PC’s server application in the table l X-WAY address: 1.1 l IP address: 139.160.65.156 l Protocol: UNI-TE l Access: authorized (cell checked) l Mode: Multi l configure communication of each of the PC’s client applications to the server module in the table: l X-WAY address: 1.2 and 1.3 and 1.4 l IP address: 139.160.65.156 l Protocol: UNI-TE l Access: authorized (cell checked) l Mode: Multi 238 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Multi-connection in UNI-TE protocol without access management This example is the same as the previous one, except that access control is not configured. In this case, if the application {1.1} is the only server application, the module’s correspondence table only contains the following line: l X-WAY address: 1.1 l IP address: 139.160.65.156 l Protocol: UNI-TE l Access: the cell is grayed out l Mode: Multi 239 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Multi-connection in Modbus Protocol with Access Management In this example, the PC contains four applications. The server application has an imaginary X-WAY address and the other client applications do not need an X-WAY address: l The module opens a connection and communicates with the server application with the imaginary address {1.103}. l Each of the client applications has no address but is authorized to open a connection and communicates with the module. Exchanges are carried out according to the Modbus protocol and the module’s access control utility is enabled. Premium client/ server 139.160.65.157 139.160.65.156 Server application {1.103} Client application Client application} Client application PC In order to implement this example, you must: l activate connection management by checking the module’s Access control box, l configure communication from the module to the PC’s server application in the table l X-WAY address: 1.103 (address between 100 and 163) l IP address: 139.160.65.156 l Protocol: Modbus l Access: the cell is grayed out l Mode: Multi l configure communication of all the PC’s client applications to the server module in the table: l X-WAY address: x.x (this address allows you to specify that other applications exist for the same IP address) l IP address: 139.160.65.156 l Protocol: Modbus l Access: authorized (allows you to specify that other applications are authorized to connect and communicate) l Mode: Multi 240 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Note: If you want to prevent connection by client applications you must configure l X-WAY address: x.x (this address allows you to specify that other applications exist for the same IP address) l IP address: 139.160.65.156 l Protocol: Modbus l Access: not authorized (cell unchecked) l Mode: Multi Multi-connection in Modbus protocol without access management This example is the same as the previous one, except that access control is not configured. In this case, if the application {1.103} is the only server application, the module’s correspondence table only contains the following line: l X-WAY address: 1.103 l IP address: 139.160.65.156 l Protocol: Modbus l Access: the cell is grayed out l Mode: Multi 241 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuration of TCP/IP Messaging At a Glance In order to use the TSX ETY 410•/PORT/510• or TSX WMY 100 module to communicate on ETHERNET, it is necessary to adjust the messaging configuration parameters (See Configuration parameters for TCP/IP facilities, p. 134). How to Access the Messaging The procedure for accessing the configuration parameters for TCP/IP utilities is as follows. Step Action 1 Access the module configuration screen. 2 Select the Messaging tab. Result Messaging I/O Scanning Address Server SNMP Bridge Global Data Bandwidth Configuration of connections XWAY address Access control XWAY IP Address Protocol Access Mode Network 10 Station 40 Addr. MULTI 1 4.10 139.160.234.10 UNITE IP address configuration MONO 2 4.11 139.160.234.11 UNITE MULTI 3 5.121 139.160.234.21 MODBUS Configured 139.160.234.12 UNITE MULTI 4.12 4 139 160 234 18 IP Address MONO 5 4.13 139.160.234.13 UNITE 255 160 255 0 Subnetwork mask 6 5.122 139.160.234.22 MODBUS MULTI Gateway Address 7 5.123 139.160.234.23 MODBUS MULTI 139 160 234 1 139.160.234.14 UNITE MONO 8 4.15 Client/Server configuration 9 UNITE MONO 10 MONO UNITE Ethernet Configuration 11 MONO UNITE Ethernet II 802.3 MONO UNITE 12 242 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Configure Messaging The following procedure gives the configuration principles. Start of messaging configuration Enter the X-WAY Address by filling in the numbers relating to the network and station Fill in the fields of the connection table for each remote server device X-WAY Addr. IP Address Protocol Mode If the module is a server, do you want to set access control? Yes No Is the module a BOOTP client? Select the check box Access control In the connection table, select the Access check box of each remote client device No Select the box Configured Yes Select the box Client/Server configuration Fill in the fields IP Address Subnetwork mask Gateway Address Select the ETHERNET configuration End of messaging configuration 243 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 IO Scanning Utility Configuration At a Glance Note: No IO Scanning for TSX WMY 100 In order to use the TSX ETY 410•/PORT/510• module to control remote I/Os, it is necessary to adjust the configuration parameters of the IO Scanning utility. How to Access IO Scanning Step The procedure for accessing the configuration parameters for the IO Scanning utility is as follows. Action 1 Access the module configuration screen. 2 In the Module utilities zone select the IO Scanning check box. Illustration Module utilities IO Scanning Address Server Global Data Bandwidth The IO Scanning tab is no longer grayed out. 3 Select the IO Scanning tab. Result ID Scanning Address Server Messaging Bridge SNMP Global Data Bandwidth Input fallback Scanning adjustment (ms) Master %MW zones Read Ref. Write Ref. Fallback to 0 Normal: Fast: Slow: 750 105 10 From 0 to 468 From 0 to 180 Maintain Scanned peripherals IP address Unit Repetitive Master Slave RD Master Slave WR RD ref. RD ref. count WR ref. WR ref. count ID rate 139.160.234.30 255 FAST 32 100 0 22 0 282 139.160.234.31 200 100 32 01 20 0 NORMAL 304 139.160.234.32 16 300 132 9 40 88 SLOW 305 139.160.234.33 2 400 148 8 60 22 NORMAL 314 139.160.234.34 9 50 150 0 80 10 NONE 322 139.160.234.35 22 700 159 22 23 10 NORMAL 322 139.160.234.36 233 FAST 0 800 181 56 125 344 FAST NORMAL SLOW NONE 244 Description Device number 1 Device number 2 Momentum TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Configure IO Scanning The following procedure gives the configuration principles for the IO Scanning utility. Step Action 1 Select the Input fallback mode. 2 If they are used, set the scanning periods (See Adjusting the scanning, p. 144) to: l the Normal period, l the Slow period. 3 Set the address of the beginning of the internal words (See Master %MW fields, p. 144) (in the application memory) which are dedicated to I/O scanning: l Read Ref. l Write Ref. 4 For each device, enter the IP address. 5 Enter for each device, if necessary, the Unit ID (See The IP Address and Unit ID fields, p. 145) Modbus slave address. 6 For each device, select the period in which it will be scanned. 7 For each device, enter the read destination address in Slave RD ref. (See Slave RD ref. and slave WR ref., p. 146). 8 For each device, enter the number of words to be sent in read format in RD count (See RD count and WR count, p. 146). 9 For each device, enter the read destination address in Slave WR ref. (See Slave RD ref. and slave WR ref., p. 146). 10 For each device, enter the number of words to be sent in write format in WR count (See RD count and WR count, p. 146). 11 For each device enter, if necessary, a comment in Description. 245 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Configure a Specific Read and Write Scenario 246 When scanned, certain devices, such as TSX ETY modules, do not support simultaneous read/write requests. In this case, to carry out an I/O read/write, the following procedure must be performed. Step Action 1 Enter the IP address for the device 2 If necessary, enter the device’s Unit ID (See The IP Address and Unit ID fields, p. 145) Modbus slave address. 3 Select the period which scans the device. 4 Enter the read destination address in the device’s Slave RD ref. (See Slave RD ref. and slave WR ref., p. 146). 5 Enter the number of words to be sent in read format in the device’s RD count (See RD count and WR count, p. 146). 6 Enter 0 in Slave WR ref. (See Slave RD ref. and slave WR ref., p. 146). 7 Enter 0 in WR count (See RD count and WR count, p. 146). 8 On the following line, enter the same IP address 9 Enter, if necessary, the same Unit ID (See The IP Address and Unit ID fields, p. 145) Modbus slave address. 10 Select the same period. 11 Enter 0 in Slave RD ref. (See Slave RD ref. and slave WR ref., p. 146). 12 Enter 0 in RD count (See RD count and WR count, p. 146). 13 Enter the write destination address in Slave WR ref. (See Slave RD ref. and slave WR ref., p. 146). 14 Enter the number of words to be sent in write format in WR count (See RD count and WR count, p. 146). TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 BOOTP Server Configuration At a Glance Note: No Address server for TSX WMY 100 In order to use the TSX ETY 410•/PORT/510• module as a BOOTP server, it is necessary to adjust the configuration parameters of the BOOTP utility (See Address Server Configuration, p. 149). How to Access the BOOTP Server Step The procedure for accessing the configuration parameters for the BOOTP server utility is as follows. Action 1 Access the module configuration screen. 2 In the Module utilities zone, select the Address Server check-box. Illustration Module utilities IO Scanning Address Server Global Data Bandwidth The Address Server tab is no longer grayed out. 3 Select the Address Server tab. Result Messaging Utility IO Scanning BOOTP Address Server Global Data SNMP HTTP modification DHCP Bandwidth √ Locked in operation SUN Bridge Password Client/Server address table MAC Address 1 2 3 4 5 6 7 8 9 4 00.54.1.05.F5 00.54.1.05.F4 00.54.1.05.E2 00.54.1.05.13 00.54.1.05.22 Name IP Address Netmask Gateway 139.160.234.30 139.160.234.31 139.160.234.32 139.160.234.33 139.160.234.34 In the Utility zone, set the radio button to BOOTP 247 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Configure the BOOTP Server The following procedure gives the configuration principles for the BOOTP server. Fill in the fields of the BOOTP table for each device (which require the module as BOOTP server) MAC Addresses IP Address Do you want modification by the HTTP server to be subject to a password? Yes Check the box Locked in operation Enter the password End of BOOTP server configuration 248 No TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 DHCP Address Server Configuration At a Glance Note: No Address server for TSX WMY 100 In order to use the TSX ETY 410•/PORT/510• module as a DHCP server, it is necessary to adjust the configuration parameters of the DHCP utility (See Address Server Configuration, p. 149). How to Access the DHCP Server Step The procedure for accessing the configuration parameters for the DHCP server utility is as follows. Action 1 Access the module configuration screen. 2 In the Utility zone, select the BOOTP checkbox. Illustration Module utilities IO Scanning Address Server Global Data Bandwidth The BOOTP Server tab is no longer grayed out. 3 Select the Address Server tab. Result Messaging IO Scanning Address Server Utility DHCP BOOTP SNMP Global Data HTTP modification Bandwidth √ Locked in operation BISCUIT Bridge Password Client/Server address table MAC Address 1 2 00.54.1.05.F4 3 00.54.1.05.E2 4 5 6 7 8 9 4 Name device_IO_1 device_IO_2 IP Address 139.124.10.50 139.124.10.51 139.124.10.52 139.124.10.53 139.124.10.54 Netmask 255.255.0.0 255.255.0.0 255.255.0.0 255.255.0.0 255.255.0.0 Gateway 139.124.10.1 139.124.10.1 139.124.10.1 139.124.10.5 139.124.10.1 In the Utility zone, set the radio button to DHCP 249 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Configure the DHCP Server The following procedure gives the configuration principles for the DHCP server. Fill in the fields of the DHCP table for each device (requiring the module as DHCP server) MAC Address or Name IP Address Netmask Gateway Do you want modification by the HTTP server to be subject to a password? Yes Check the box Locked in operation Enter the password End of DHCP server configuration 250 No TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuring the Global Data Utility At a Glance Note: No Global Data for TSX WMY 100 In order to use the TSX ETY 410•/PORT/510• module to use the Global Data utility, it is necessary to adjust the configuration parameters (See Configuration Parameters Linked to the Global Data Utility, p. 155). 251 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Access the Global Data Utility Step To access the Global Data utility, proceed in the following way: Action 1 Access the module configuration screen 2 In the Module utilities zone select the check box labeled Global Data Illustration Module utilities IO Scanning Address Server Global Data Bandwidth The Global Data tab is no longer grayed out 3 Select the tab labeled Global Data Result Messaging IO Scanning Global data configuration Group address 239 Address Server Global Data SNMP Bandwidth Bridge Distribution Period 255 255 255 Validity time out 300 Multicast Filtering Cycle 2 ms %MW zone 500 to Table of variables 252 Ident. Type Symbol Address Length 1 2 3 4 5 6 7 8 SUB SUB NONE SUB SUB PUB NONE NONE Data_1 %MW500 %MW533 33 50 %MW583 %MW683 %MW693 100 10 20 Published Update symbols 712 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuring Global Data To configure the Global Data utility execute the following steps in the Global data configuration zone: Step Table of variables Action 1 Indicate the Distribution Group Address of the group which the station belongs to, between 224.0.0.0 and 239.255.255.255. 2 Adjust the Distribution Period between 1 and 50 PLC cycles. 3 Enter the %MW exchange zone start address in the: %MW zone entry field. 4 Define the Validity time out. This value can be adjusted from 50 to 1000 ms (in increments of 50ms). To configure Global Data in the Table of Variables zone, follow the instructions below: Step Action 1 Choose the identification (Ident.) of the Global Data to be published (only one possible). Warning : make sure that the variable identification is not already used by another station. 2 select the PUB type from the drop-down list. 3 In the Length field, enter the number of %MW words (up to a maximum of 512). The end %MW value of the zone is then updated in the Global data configuration zone. 4 Choose the identification (Ident.) of a Global Data to be subscribed to. 5 select the SUB type from the drop-down list. 6 In the Length field, enter the number of %MW words (up to a maximum of 512). The end %MW value of the zone is then updated in the Global data configuration zone. NB: the total size of the subscribed zone cannot exceed 2 Kwords. 7 To view the associated Symbol, click the Update symbols button (the symbol is entered in the PL7 symbol editor). 8 Redo steps 4 to 7 for each Global Data to subscribe (up to a maximum of 64). 9 If necessary, check the Multicast Filtering box. 253 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuration of the SNMP Utility At a Glance In order to use the TSX ETY 410•/PORT/510• or TSX WMY 100 module as an SNMP agent, it is necessary to adjust the configuration parameters of the SNMP utility (See Configuration of the SNMP Utility, p. 152). How to Access the SNMP Utility The procedure for accessing the configuration parameters for the SNMP utility is as follows. Step Action 1 Access the module configuration screen. 2 Select the SNMP tab. Result Messaging ID Scanning Address Server IP Address Managers IP Address manager 1 139 160 234 50 SNMP Global Data IP Address manager 2 Bandwidth Bridge 139 160 234 53 Agent Location (SysLocation) Schneider Electric Sophia SNMP Manager Contact (SysContact) Community names 254 Security Set Public Get Public Trap Public Enable “Authentication Failure” trap TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to Configure SNMP The following procedure gives the configuration principles for the SNMP utility. Step 1 2 3 4 Action Enter the SNMP manager addresses: l Manager 1 IP addresses l Manager 2 IP addresses Fill in the fields: Location (SysLocation) Contact (SysLocation). Or alternatively check the SNMP Manager box to indicate that the information will be completed by the SNMP in use. l l If you want to set access rights, fill in the community names: Set Get Trap l l l If you want to activate transmission of an event to the module, check the Activate "Authentication Failure" trap box. 255 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuring the Time Synchronization Service Configuring the Time Service with the NTP Configuration Page You must use the module’s embedded Web page to configure the time service. No other method is available. NTP Configuration NTP Server Configuration IP Address of Primary NTP Server: 192.168.5.100 IP Address of Secondary NTP Server: 0.0.0.0 Polling Period: 15 sec Time Zone (GMT-05:00)Eastern Standard Time[New York] Automatically adjust clock for daylight saving change Save Time Service Command Buttons 256 Cancel Disable NTP Execute the following commands Command Button Description Save Stores new NTP (time service) configuration. Previous configuration is no longer valid. Cancel Cancels new NTP (time service) configuration. Previous configuration is valid Disable NTP IP of Primary and Standby set = 0. NTP server not polled Time in controller not updated. TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configurable Time Service Parameters Configure or change the following parameters on the NTP Configuration page. 1. IP address of primary NTP server l Enter a valid IP address 2. IP address of secondary NTP server l Enter a valid IP address 3. Polling Period (in seconds) Enter a value l min = 1sec l max = 120sec l default = 5 sec 4. Time Zone l Select from drop-down menu Universal Time, Coordinated (GMT) = default l Custom time zone 5. Automatically adjust clock for daylight saving change l Parameter is selected by default (check mark appears) if daylight saving time is chosen. Changing Time Service Parameters To make any changes to the time synchronization service, Important Information about the Time Service Step Action 1 Enter changes in the appropriate field on the NTP Configuration page for one or all of the configurable parameters. 2 Click Save. Note: About the Time Service 1. Enable/Disable Daylight Savings Time parameter If the Enable/Disable check box is selected, the module automatically corrects the local time to account for daylight savings time. Therefore, requiring no action, as the daylight savings time start and end are automatically changed each year. 2. Polling Time Parameter The time (in seconds) is the time between time updates from the NTP server. The default is 5 Seconds. 3. Storing the Time Service Configuration The last time service configuration is saved internally in the Ethernet module. 4. Replacing the Ethernet Module If the Ethernet module has to be replaced, the stored configuration is lost, and the system returns to the default configuration. 257 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Customizing Time Zone Parameters Time Zone Parameters If you want a time zone not listed in the time zone table, Step Action Comment 1 Write the text rules for the custom time zone. 2 Using an FTP client, store your rules in the file: /FLASH0/wwwroot/conf/NTP/customrules user ID: ntpupdate password: ntpupdate Root directory to store ’customrules’ is set by the FTP server as /FLASH0/wwwroot/conf/NTP 3 When the rules are written, choose the drop down menu on the NTP Configuration web page, and configure (or reboot) the module by selecting Time Zone = Custom The NTP component looks for customrules, calls the tz compiler and generates a new file called ’tz_custom’. This file is binary file and should not be edited. If the tz compiler detects a syntax error in customrules, the error is logged in the file: /FLASH0/wwwroot/conf/NTP/ error.log 1. NTP component is not launched 2. NTP Status field in diagnostic web page displays NOT OK. 4 If you want more information, the syntax to write those rules along with a few examples are found in the module in /FLASH0/wwwroot/conf/NTP/instructions.txt Select one from drop-down menu. Time Zone Description Custom 258 DST Available Yes (GMT-12:00) Dateline Standard Time [Eniwetok Kwajalein] No (GMT-11:00) Samoa Standard Time [Midway Is Samoa] No (GMT-10:00) Hawaiian Standard Time [Hawaii Honolulu] No (GMT-09:00) Alaskan Standard Time [Anchorage] Yes (GMT-08:00) Pacific Standard Time [Los Angeles Tijuana] Yes (GMT-07:00) Mexican Standard Time [Chihuahua La Paz Mazatlan] Yes (GMT-07:00) Mountain Standard Time [Arizona Phoenix] No (GMT-07:00) Mountain Standard Time [Denver] Yes (GMT-06:00) Central Standard Time [Chicago] Yes (GMT-06:00) Mexico Standard Time [Tegucigalpa] No TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Time Zone Description DST Available (GMT-06:00) Canada Central Standard Time [Saskatchewan Regina] No (GMT-06:00) Central America Standard Time [Mexico_city] Yes (GMT-05:00) SA Pacific Standard Time [Bogota Lima Quito] No (GMT-05:00) Eastern Standard Time [New York] Yes (GMT-05:00) Eastern Standard Time [Indiana (East)] [Indianapolis] No (GMT-04:00) SA Western Standard Time [Caracas La Paz] No (GMT-04:00) Pacific SA Standard Time [Santiago] Yes (GMT-03:30) Newfoundland Standard Time [Newfoundland St Johns] Yes (GMT-03:00) E. South America Standard Time [Brasilia Sao_Paulo] Yes (GMT-03:00) SA Eastern Standard Time [Buenos Aires Georgetown] No (GMT-02:00) Mid-Atlantic Standard Time [South_Georgia] No (GMT-01:00) Azores Standard Time [Azores Cape Verde Island] Yes (GMT) Universal Coordinated Time [Casablanca, Monrovia] No (GMT0) Greenwich Mean Time [Dublin Edinburgh Lisbon London] Yes (GMT+01:00) Romance Standard Time [Amsterdam CopenHagen Madrid Paris Vilnius] Yes (GMT+01:00) Central European Standard Time [Belgrade Sarajevo Skopje Sofija Zagreb] Yes (GMT+01:00) Central Europe Standard Time [Bratislava Budapest Ljubljana Prague Warsaw] Yes (GMT+01:00) W. Europe Standard Time [Brussels Berlin Bern Rome Stockholm Vienna] Yes (GMT+02:00) GTB Standard Time [Athens Istanbul Minsk] Yes (GMT+02:00) E. Europe Standard Time [Bucharest] Yes (GMT+02:00) Egypt Standard Time [Cairo] Yes (GMT+02:00) South Africa Standard Time [Johannesburg Harare Pretoria] No (GMT+02:00) FLE Standard Time [Helsinki Riga Tallinn] Yes (GMT+02:00) Israel Standard Time [Israel Jerusalem] Yes (GMT+03:00) Arabic Standard Time [Baghdad] Yes (GMT+03:00) Arab Standard Time [Kuwait Riyadh] No (GMT+03:00) Russian Standard Time [Moscow St. Petersburg Volgograd] Yes (GMT+03:00) E. Africa Standard Time [Nairobi] No (GMT+03:30) Iran Standard Time [Tehran] Yes (GMT+04:00) Arabian Standard Time [Abu Dhabi Muscat] No 259 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 260 Time Zone Description DST Available (GMT+04:00) Caucasus Standard Time [Baku Tbilisi] Yes (GMT+04:00) Afghanistan Standard Time [Kabul] No (GMT+05:00) Ekaterinburg Standard Time [Ekaterinburg] Yes (GMT+05:00) West Asia Standard Time [Islamabad Karachi Tashkent] No (GMT+05:30) India Standard Time [Bombay Calcutta Madras New Delhi] No (GMT+06:00) Central Asia Standard Time [Almaty Dhaka] Yes (GMT+06:00) Sri Lanka Standard Time [Columbo] No (GMT+07:00) SE Asia Standard Time [Bangkok Hanoi Jakarta] No (GMT+08:00) China Standard Time [Beijing Chongqing Hong Kong Urumqi] No (GMT+08:00) W. Australia Standard Time [Perth] No (GMT+08:00) Singapore Standard Time [Singapore] No (GMT+08:00) Taipei Standard Time [Taipei] No (GMT+09:00) Tokyo Standard Time [Osako Sapporo Tokyo] No (GMT+09:00) Korea Standard Time [Seoul] No (GMT+09:00) Yakutsk Standard Time [Yakutsk] Yes (GMT+09:30) Cen. Australia Standard Time [Adelaide] Yes (GMT+09:30) AUS Central Standard Time [Darwin] No (GMT+10:00) E. Australia Standard Time [Brisbane] No (GMT+10:00) AUS Eastern Standard Time [Canberra Melbourne Sydney] Yes (GMT+10:00) West Pacific Standard Time [Guam Port Moresby] No (GMT+10:00) Tasmania Standard Time [Hobart] Yes (GMT+10:00) Vladivostok Standard Time [Vladivostok] Yes (GMT+11:00) Central Pacific Standard Time [Magadan Solomon Is New Caledonia] Yes (GMT+12:00) New Zealand Standard Time [Auckland Wellington] Yes (GMT+12:00) Fiji Standard Time [Fiji Kamchatka Marshall Is] No TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuring the Bandwidth Utility At a Glance Note: No Bandwidth Monitoring for TSX WMY 100 In order to use the TSX ETY 410•/PORT/510• module with the Bandwidth utility, it is necessary to adjust the configuration parameters of this utility. Accessing Bandwidth Step The procedure for accessing the configuration parameters for the Bandwidth utility is as follows. Action 1 Access the module configuration screen. 2 In the Module utilities zone, select the Bandwidth checkbox. Illustration Module utilities IO Scanning Address Server Global Data Bandwidth The Bandwidth tab is no longer grayed out. 3 Select the Bandwidth tab. Result Messaging IO Scanning Address Server SNMP MAST task Global Data Bandwidth Bridge Messaging flux estimation Periodic Time period Cyclic 10 ms 0 Number of messaging transactions per second Distribution estimation Estimation of the bandwidth distribution Update distribution estimation 12 % IO scanning 50 % Global data 55 % Messaging 21 % Other 261 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Using the Bandwidth Utility Step To use the Bandwidth utility, proceed in the following way: Action 1 Once you have configured the I/O scanning and/or Global data utilities, enter the estimated messaging flux to be processed by the module in the Number of messaging transactions per second window. 2 If the Mast task is cyclic, enter the value in the Time period window (if the task is periodic, the value is read directly in the configuration). 3 To view the bandwidth distribution estimation, click the button Update distribution estimation. A graphic appears. Illustration Distribution estimation Estimation of the bandwidth distribution Update distribution estimation 12 4 262 % IO scanning 12 % Global data 55 % Messaging 21 % Other If the module load is exceeded, the message: "Module load cannot exceed 100%" appears. Redo steps 1 to 3 to adjust the configuration parameters until the module load is correct. TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Configuration of the Bridge Function At a Glance The TSX ETY 410•/PORT/510• or the TSX WMY 100 modules can be used as an X-WAY bridge station. This guarantees transparent communication between different networks. Note: To find out about the implementation of this function, refer to the multinetwork communication part (See Multi-network architectures, p. 289). Only the procedure for accessing the bridge function is explained here. How to Access the Bridge Function The procedure for accessing the configuration parameters for the bridge function is as follows. Step Action 1 Access the module configuration screen. 2 Select the Bridge tab. 263 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 9.3 Debugging At a Glance Aim of this Section This section describes the implementation of the TSX ETY 410•, TSX ETY PORT, TSX ETY 510• or TSX WMY 100 module during debugging. The TSX WMY module offers the same services than the other modules, except the following ones : l IO Scanning, l Global Data, l Address server, l Bandwidth Monitoring. What’s in this Section? This section contains the following topics: Topic Module Debugging Screen 264 Page 265 General debugging parameters 267 Debugging parameters for TCP/IP facilities 268 How to test TCP/IP communication with a Ping request 269 Requests available for the communication channel test 270 How to test a channel with Identification and Mirror requests 271 How to test a channel with requests 272 Debugging Parameters for the IO Scanning Utility 274 Debugging Parameters for the Global Data Utility 275 Bandwidth Monitoring Diagnostic Parameters 276 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Module Debugging Screen At a Glance This screen, separated into six zones, allows debugging via an ETHERNET link. Illustration The screen dedicated to ETHERNET communication is displayed as follows: 3 1 5 4 TSX ETY 4102/3 [RACK 0 POSITION 2] Debugging Designation: FACTORYCAST MODULE Version: 2.0 RUN Address information Address IP servie ERR STS MAC address 00.80.F4.01.00.41 Messages Open connections 2 IP Address 139.160.234.18 Non-authorized access 0 Gateway Address 139.160.234.1 Band width Remote IP Address ms IO Scanning activated 4000 msg/min. Max. 2660 2 Elements and Functions Station number 0 Identification Mirror Enter request Global Data activated Reset 8 Ascii Hexa 16 Not configured 32 Scanned 48 Unscanned 64 Faulty or missing 1 17 33 49 16 32 48 64 1 17 33 49 Global Data Avg. 1330 10.40 Response reception Reset counters IO Scanning Message traffic (msg./min) Min. 0 Local address Messages sent 702 Communication test Time XWAY test station Messages refused 0 Messages received 703 Subnetwork mask 255.255.255.0 Ping DIAG... Not configured SUB variable PUB variable Fault 7 6 This table describes the different zones that make up the debugging screen: Address Zone Function 1 common common part of the debugging screens (Communication applications Volume 1 - Description of communication debugging screens) for communicating 2 Message traffic (See Message traffic, p. 267) allows the graphical display of the number of messages processed by the module: 3 Messages (See Messages, p. 267) allows the display of the number of unacknowledged or refused messages and connections. 265 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 266 Address Zone Function 4 TCP/IP utilities (See Debugging parameters for TCP/IP facilities, p. 268) allows: l display of TCP/IP utilities configuration, l communication testing of the TCP/IP profile. 5 XWAY test station (See Requests available for the communication channel test, p. 270) allows UNI-TE communication testing on the TCP/IP profile. 6 IO Scanning (See allows display of the status for each remote input/output Debugging module (Except TSX WMY 100). Parameters for the IO Scanning Utility, p. 274) 7 Global Data (See Debugging Parameters for the Global Data Utility, p. 275) allows display of the status for Global Data variables (Except TSX WMY 100). 8 Bandwidth (See Bandwidth Monitoring Diagnostic Parameters, p. 276) allows access to the Bandwidth diagnostics (Except TSX WMY 100) TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 General debugging parameters Introduction The general debugging parameters are grouped into two windows : l the Message traffic window, l the Messages window, Message traffic The window looks like this : Message trafic (msg./min.) 4000 msg.min Min 0 Avg 1243 Max 2486 RESET It shows graphically the number of messages per minute handled by the module (sending and receiving). For a better view, the scale automatically adapts according to flow rate fluctuations. The Reset button resets to zero the three countersMin.,Av. and Max.. Messages The window looks like this : Messages Connections allowed Access denied Messages refused Messages received Messages sent 1 0 0 6632 6628 Reset Counters This window relates to the TCP/IP messaging facility: l number of connections open, l number of non authorized accesses, l number of messages refused, received, and sent. You can reset these counters to zero by clicking on the Init counter button. 267 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Debugging parameters for TCP/IP facilities Introduction The debugging parameters for TCP/IP facilities are grouped in two windows : l the Address information window, l the Communication test window. Address information The window looks like this : IP address IP Address MAC address 00.80.F4.01.00.05 module IP Address 222.111.3.88 Subnetwork mask 255.255.255.0 Gateway address 222.111.3.0 It shows the configuration data for the IP address: l MAC address : unique and fixed address for a module l IP Address l Subnetwork mask l Gateway Address : gateway address Communication test The window looks like this : Communication test Remote IP address 222.111.3.88 Ping Time 1 ms This window is used to test the IP communication with another station. 268 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to test TCP/IP communication with a Ping request Introduction This page indicates the procedure to be followed to test a TCP/IP communication by means of a Ping request. Steps to follow The following procedure allows the sending of the Ping request and thus tests the routing of information between two devices. Step Action 1 Input the address of the station to be interrogated with the help of the field Remote IP address. 2 Press the button Ping. Result The reply appears in the field Time : Time 1 ms The time returned corresponds to the turnaround time for the message in ms. Type of response The following table groups together the different types of response to the Ping request. If the response is… then … positive The window indicates the turnaround time for the message in ms. negative a window with the message Host unreachable specifies that the remote device has not been reached in the network architecture. 269 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Requests available for the communication channel test Introduction This page describes the different possibilities for testing a communication channel from the debugging screen. Test conditions Sending a request to an unconnected station results in an error message. The test is applied to stations from the same local network. Available requests WindowX-WAY Station test allows the following requests : l Identification (See How to identify a station, p. 271) : prompts the Identification request to be sent to the designated remote station, l Mirror (See How to send the Mirror request, p. 271) : allows a mirror request to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the length of the character string to be sent (a maximum of 80 characters ). The PLC then sends this character string (ABCD….) to the destination device. This automatically sends the character string that was received back to the sender. l Request input (See How to test a channel with requests, p. 272) : allows a UNI-TE request, other than those provided by the command buttons, to be sent to the designated station. Selecting this function gives access to a screen that allows you to select the parameters specific to the request (the request code must be coded in hexadecimal). Note: The UNITE server of the TSX ETY or TSX WMY 100 data module is the destination of the first two requests. The processor server is the destination of the third. 270 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to test a channel with Identification and Mirror requests Introduction This page indicates the procedure to follow to test a communication channel by means of Identification and Mirror requests. How to identify a station The following procedure allows the identification of a designated station. Step Actions 1 Select the address of the station to be interrogated with the help of the field Station number. 2 Click on the button Identification. Result The response appears in the Receive Response window : Response reception ..’.TSX ETY 410..!.... ASCII How to send the Mirror request Hex. The following procedure allows the sending of the Mirror request and thus tests the routing of information between two devices. Step Action 1 Select the address of the station to be interrogated with the help of the field Station. 2 Click on the button Mirror. Result The following window appears : Mirror Request Length of data to be sent 8 Cancel Send 3 Input the length of data to be sent (maximum 80 characters). 4 Click on the button Send. Result The response appears in the Receive Response window : Response reception ABCDEFGH ASCII Hex. The response contains: l the character string ABCDEFGH that corresponds to the length of data sent 8. 271 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 How to test a channel with requests Introduction This page indicates the procedure to follow to test a communication channel from the debugging screen through different requests. How to send a request The following procedure allows a request, other than those provided by the command buttons, to be sent to a designated station. In this example, the request sent is used to read 10 words (from %MW1 to %MW10). Step Action 1 Select the address of the station to be interrogated with the help of the field Station. 2 Click on the button Input Request. Result The following window appears : Enter Request Request code (hexadecimal) 36 Data (hexadecimal) 680701000A00 Send Cancel The data sent in this example is coded on 6 bytes. 3 Input the function code (coded in hexadecimal on one byte), corresponding to the request that you want to send. For this example the read request code is 16#36. 4 Input the data to be sent by coding all the data in hexadecimal. The data is sent non-stop without any time intervals between them. When the data is coded on one word, the most significant and least significant bytes are reversed. For this example the data is as follows : l 16#68 : on one byte, defines the segment (internal data), l 16#07 : on one byte, defines the object type (words), l 16#0100 : on one byte, defines the first word to read, l 16#0A00 : on one byte, defines the number of words to read. 272 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Step 5 Action Click on the Send button. Result The response appears in the Receive Response window : Response reception 07 00 C2 92 20 24 40 00 ASCII Hex. The response from the example has data on 21 bytes. l 16#07 : corresponds to object type (words), l 16#00C2 : corresponds to the value of the first word (the most significant and least significant bytes are reversed, its value is 16#C200), l ... 273 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Debugging Parameters for the IO Scanning Utility At a Glance Note: No IO Scanning for TSX WMY 100 When the IO Scanning utility is activated, the status of each configured device is displayed on the screen. IO Scanning The window is displayed as below: IO Scanning √ IO Scanning activated 16 Not configured 32 Scanned 48 Unscanned 64 Faulty or missing 1 17 33 49 A device referenced in the IO Scanning configuration tab can have the following states: l Scanned: green, l Not configured: white, l Unscanned: black (caused by IO Scanning utility not being activated, none selected in configuration), l Faulty or absent: red, Note: In the cases of Not configured and Unscanned, no Modbus request is generated towards the device. 274 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Debugging Parameters for the Global Data Utility At a Glance Note: No Global Data for TSX WMY 100 When the Global Data utility is activated, the status of a Global Data variable is displayed on the screen. Global Data The window is displayed as below: Global Data √ Global Data activated Not configured SUB variable PUB variable Fault 16 32 48 64 1 17 33 49 A Global Data variable can have the following status: l Not configured: white, l PUB variable: published variable, black, l SUB variable: subscribed variable received in the validity timeout limit, green, l Fault: subscribed variable not received in the validity time out limit, red. 275 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Bandwidth Monitoring Diagnostic Parameters At a Glance Note: No Bandwidth Monitoring for TSX WMY 100 When bandwidth monitoring is activated, the load of module TSX ETY 410•/PORT/510• is displayed on the screen. Bandwidth The window is displayed as below: Distribution of Utilities 20 % IO scanning 30 % Global data 40 % Messaging 10 % Others (idle) OK This graphic displays the actual load distribution, between I/O Scanning , Global Data, Messaging and other utilities: l l l l %IO Scanning: yellow, % Global Data: blue, % Messaging: green, % Others: gray. Return to configuration (See Module Configuration Screen, p. 235) if you wish to modify this distribution. 276 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 9.4 Language objects associated with TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Modules At a Glance Aim of this Section This section presents the different language objects specific to TSX ETY 410•, TSX ETY PORT, TSX ETY 510• or TSX WMY 100 modules. What’s in this Section? This section contains the following topics: Topic Page Implicit Exchange Language Objects 278 Explicit Exchange Language Objects 280 Explicit exchange management and report 282 Language Objects Associated with Configuration 283 277 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Implicit Exchange Language Objects At a Glance Note: For TSX WMY 100, all IO Scanning and GlobalData objects have a reserved status. This page describes all the implicit exchange (Communication applications Volume 1 - Default exchanges) language objects for ETHERNET communication with the TSX ETY 410•/PORT/510• module that can be displayed or modified by the application program. Bit Objects The table below shows the various implicit exchange bit objects. Object (1) Function Meaning %Ixy.MOD.ERR Module error bit This bit set to 1 indicates a module error (at least one of the channels has an error, for instance) %Ixy.i.ERR This bit set to 1 indicates a line fault. Channel error bit Legend (1) 278 Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Word Objects The table below shows the various implicit exchange word objects. Object (1) Function %IWxy.i.0 Reserved %IWxy.i.1 Refresh remote input/ output indicators (IO Scanning utility) Meaning - l l l l l l ... ... %IWxy.i.4 Refresh remote input/ output indicators (IO Scanning utility) ... l l l l l l %IWxy.i.5 Reserved %IWxy.i.6 to %IWxy.i.9 Global Data validity indicators x0 = 1: status bit for device 1, specifying that it has been scanned. ... x7 = 1: status bit for device 8, specifying that it has been scanned. x8 = 1: status bit for device 9, specifying that it has been scanned. ... x15 = 1: status bit for device 16, specifying that it has been scanned. x0 = 1: status bit for device 49, specifying that it has been scanned. ... x7 = 1: status bit for device 56, specifying that it has been scanned. x8 = 1: status bit for device 57, specifying that it has been scanned. ... x15 = 1: status bit for device 64, specifying that it has been scanned. - l l l l l x0 = 1: status bit indicating that the Ident. 1 has been received. ... x15 = 1: status bit indicating that the Ident. 16 has been received. ... x63 = 1: status bit indicating that the Ident. 64 has been received. Legend (1) Address xy.i x: corresponds to the rack number y: corresponds to the module number i: corresponds to the channel number l l l 279 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Explicit Exchange Language Objects At a Glance Note: For TSX WMY 100, all IO Scanning and GlobalData objects have a reserves status. This page describes all the explicit exchange (Communication applications Volume 1 - Specified exchanges: General points) language objects for ETHERNET communication with the TSX ETY 410•/PORT/510• or TSX WMY 100 module that can be displayed or modified by the application program. Internal Words The following table describes the internal words: Object (1) Function %MWxy.MOD.2 Module status Meaning l l l l l l 280 l l l l l l x0 = 1: defective module x1 = 1: functional error (error between the processor and the module, adjustment or configuration error, etc.) x2 = 1: terminal block fault (not connected) x3 = 1: self-tests running x4 = 1: reserved x5 = 1: error in hardware or software configuration (the module present is not that declared in the configuration, the submodules are not compatible) x6 = 1: module missing x7 = 1: error in one of the sub-modules %MWxy.i.2 Channel standard status %MWxy.i.3 Specific channel status Byte 0: l x0 = 1: if X-WAY bridge (0 if not bridge) Byte 1: number of TCP connections open %MWxy.i.4 Error counters Number of connection requests refused %MWxy.i.5 Error counters Number of messages refused %MWxy.i.6 Network/station address Byte 0: station number Byte 1: network number %MWxy.i.7 and %Mwxy.i.8 Message counters on the link layer Number of messages sent on the link layer x0 to x3 = 0: reserved x4 = 1: module error or self-tests running x5 and x6 = 0: reserved x7 = 1: application error (error in the configuration) TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Object (1) Function Meaning %MWxy.i.9 Message counters on and %Mwxy.i.10 the link layer Number of messages received on the link layer %MWxy.i.11 Activity of the IO Scanning utility Number of frames received per second for the IO Scanning utility %MWxy.i.12 IO Scanning utility connections Number of active connections for the IO Scanning utility (corresponds to the number of refreshed status bits) %MWxy.i.13 Global Data distributed x0 and x1: configuration error 00 : no error detected. 01 : one piece of Global Data is published with a different length to that of the corresponding Subscription (even Ident.) in the same Distribution Group. 10 : two pieces of Global Data are published with the same Ident. in the same Distribution Group. %MWxy.i.14 Module loading rate %Mwxy.i.15 Module loading rate Byte 0: I/O Scanning loading rate Byte 1: l Global Data loading rate l Byte 0: l Messaging loading rate Byte 1: l Other utilities loading rate Legend (1) Address xy.i l x: corresponds to the rack number l y: corresponds to the module number l i: corresponds to the channel number 281 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Explicit exchange management and report Introduction This page describes all the language objects that manage explicit exchanges (Communication applications Volume 1 - Exchange and report management). Word objects The table below shows the different word objects for the management of explicit exchanges. Object (1) Function Meaning %MWxy.MOD.0 Module exchanges in progress l l l %MWxy.MOD.1 Module report l l %MWxy.i.0 Channel exchanges in progress l l l %MWxy.i.1 Channel report l l x0 = 1 : status reading in progress x1 = 1 : sending of command parameters to the communication module x2 = 1 : sending of adjustment parameters to the communication module x1 = 0 : command parameters received and accepted by the module x2 = 0 : adjustment parameters received and accepted by the module x0 = 1 : status reading in progress x1 = 1 : sending of command parameters to the communication channel x2 = 1 : sending of adjustment parameters to the communication channel x1 = 0 : command parameters received and accepted by the communication channel x2 = 0 : adjustment parameters received and accepted by the communication channel Key (1) 282 Address xy.i x : corresponds to the rack number y : corresponds to the module number i : corresponds to the channel number l l l TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 Language Objects Associated with Configuration At a Glance This page describes all the configuration language objects for ETHERNET communication with the TSX ETY 410•/PORT/510• or TSX WMY 100 module that can be displayed by the application program. Internal Constants The following table describes the internal constants: Object Function Meaning %KWxy.i.0 Type Byte 0 = 11 for ETHERNET communication Byte 1: reserved %KWxy.i.1 Physical layer Byte 0: fixed at 16#01 (corresponds to GPX2) Byte 1: reserved %KWxy.i.2 Reserved - %KWxy.i.3 Reserved - %KWxy.i.4 Reserved - %KWxy.i.5 X-WAY network address Byte 0: network number (0 by default) Byte 1: reserved %KWxy.i.6 Type of ETHERNET driver for TCP/IP Byte 0: fixed at 16#01 (corresponds to RJ45) l = 16#01 : RJ45 Byte 1: l = 16#00 : ETHERNET II (default value) l = 16#01 : 802.3 %KWxy.i.7 TCP/IP configuration: address type Byte 0: reserved Byte 1: inherited address l = 16#01 : from the application-specific function l = 16#03 : from a server %KWxy.i.8 and %KWxy.i.9 Local IP address Example with the address 139.160.650.109 Byte 0 = 109 Byte 1 = 65 Byte 2 = 160 Byte 3 = 139 %KWxy.i.10 IP address of gateway and %KWxy.i.11 Example with the address 139.160.65.1 Byte 0 = 1 Byte 1 = 65 Byte 2 = 160 Byte 3 = 139 283 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 284 Object Function Meaning %KWxy.i.12 and %KWxy.i.13 Subnetwork mask Example with the address 255.255.255.0 Byte 0 = 0 (least significant) Byte 1 = 255 Byte 2 = 255 Byte 3 = 255 (most significant) %KWxy.i.14 Utilities used Byte 0: x0 = 1: IO Scanning utility is used x1 = 1: BOOTP server utility is used x2 = 1: global data utility is used x3 = 1: the utility to adjust bandwidth is used Byte 1: reserved %KWxy.i.15 TCP utilities used Byte 0: l x0 = 1: Modbus communication on TCP/IP is used l x1 = 1: access control is activated Byte 1: reserved l l l l TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 9.5 Questions/Answers Questions/Answers General Below you will find a list of the most frequently asked questions and answers regarding communication by Ethernet network. Can a Momentum be searched by several ENTs at a time? Yes, in read only. Only one IO Scanner at a time should access the ENT in write mode. Do I have to configure the IO Scanner connections in the connections table ("Messaging" tab)? No. What should I do if the TSX ETY 410•/PORT/510• or TSX WMY 100 module displays the LED status "Not configured" (Flashing ERR)? l Check that it is configured in PL7. l Check that there is no other module with the same X-WAY network number in the PLC configuration. l If the module is configured in "Client/Server address", make sure that a BOOTP server is operational and accessible. What should I do if the module displays a correct LED status (STS=RUN=ON) but does not respond to requests? Try a Ping command to this IP address, from a device on the same network: l No response: l Check the network configuration: wiring, status of "hubs", IP addresses, masks and gateways if there are routers in the configuration. l Correct response to the Ping: l Check the module’s X_WAY address. l Check whether access control is activated or not. l Try to connect to the Rack Viewer page by http. If this connection works, check the X-WAY address of the client application. Can I change the MAC address of the module? No. This is fixed for every Ethernet device to guarantee its unicity. How can I find out the speed with which the module communicates? Via an internet browser, by connecting to the Ethernet Module Statistics page. What should I do if the messaging EFs do not get a response? 285 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 l Check that the X-WAY destination address is part of the IP/X-WAY connections table. l Check that the configuration of the destination module does not prohibit this connection (access control). l In debug mode, try the "Ping" command towards the IP address of the destination PLC, then try an "Identification" request towards the destination address, if it is part of the same X-WAY network. What should I do if I receive the 0xFF12 refusal code on the messaging EFs? This code indicates that the module is full. Reduce the transition rate. What should I do if the READ_ASYNC, WRITE_ASYN messaging EFs do not get a response (time out)? Check that the "mast" tasks of the client and server PLCs are configured to "periodic", with a sufficient period to ensure that the PLCs do not overrun. When should I configure my connections to "Mono-Connection"? When this connection has to be established to a TSX ETY 110, MODBUS protocol. The destination PLC of my messages is a bridge. Which Xway destination address should I configure in the connections table? The X-WAY address of the first communication module of the PLC bridge (it is the address of the processor’s PCMCIA card, if there is one present). I have changed the IP addresses in the Address Server and IO Scanner configuration. Should I restart my client/server devices? Yes. The devices only receive their IP address when starting up. This restart should be carried out once the TSX ETY 410•/PORT/510• module has been reconfigured (fixed RUN and STS LEDs). In the module configuration screens, the last entry inserted into one of the grids has not been taken into account on validation. Why? You need to remove the focus (the scale indicator) from the last cell of the grid in which new data has been entered in order to take this modification into account. Why is the Bridge tab grayed out when I use a TSX / PMX / PCX processor of type 571xx and 572xx? These processors do not manage bridge data. Why is the Bridge tab grayed out when I have already changed the position of the processor? After this type of modification, you have to validate the new hardware configuration to access and modify the bridge data managed globally at processor level. 286 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 The momentum 170 ENT modules do not manage to obtain their client/server address from the address server of the TSX ETY 410•, TSX ETY PORT, TSX ETY 510• or TSX WMY 100 modules. l Check in the TSX ETY 410•/PORT module configuration that the subnetwork mask is correct for the IP address class. l Check the software version of the 170 ENT module. 287 TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100 288 Multi-network architectures III Introduction Aim of this part This part introduces the principles of configuring and using a multi-network architecture via PL7 software. What’s in this Part? This part contains the following chapters: Chapter Chapter Name Page 10 Multi-network architectures: General 291 11 Configuration 301 289 Multi-network architectures 290 Multi-network architectures: General 10 Introduction Subject of this chapter This chapter introduces multi-network architectures and associated services. What’s in this Chapter? This chapter contains the following topics: Topic Page General 292 Functions 293 Main address 295 Addresses of a multi-module station 297 Message handling 298 Common word service 299 Shared table exchange service 300 291 Multi-network architectures: General General Introduction A multi-network architecture is made up of several networks. Two levels of architecture are distinguished: l Multi-module architectures in which there are several networks but where no communication between these different segments is provided by the communication system. l Multi-network architectures composed of several network segments interconnected by bridge stations. Transparency of communication is then provided between the group of equipment present in this type of architecture. This Chapter describes the set-up of the bridge function in a Premium PLC station, as well as the use of communication services in a multi-network architecture. The multi-network architecture complies with X-Way communication standards. To set up stations on different networks, refer to the documentation corresponding to the module being used. 292 Multi-network architectures: General Functions Introduction An X-WAY multi-network automation architecture is composed of several levels of networks interconnected via intermediary stations. In a multi-network architecture, there must be one logic link between two terminal stations. Example Terminal stations Station {1.1} Station {1.2} network #1 1 3 Station {1.3} and {2.1} network #2 2 4 Intermediate stations 1 Station {1.4} and {3.1} 1 2 Station {2.2} network #3 2 Terminal stations Station {3.2} Terminal stations A terminal station is addressed by the module (network address, station address). The terminal stations receive the messages destined for their network address as well as the messages for general broadcast, and send all the messages destined for a remote station to their network connection. Intermediary stations An intermediary station has as many network addresses as it does connection points to different networks. One of its addresses is considered as the main address; it guarantees access to all the communication entities of a bridge station. The intermediary stations are classified into two categories: l Multi-module stations l Bridge stations 293 Multi-network architectures: General Multi-module stations These manage several network modules; they guarantee all the mono-network services on the different network segments (common words, telegrams, message handling). They do not provide the function of routing between the different network connections. Note: The telegram exchange service is provided exclusively on the FIPWAY link managed by a Premium or Micro processor. Bridge stations 294 They supply the same services as the multi-module stations and guarantee transparency of communication between the different network connections. Multi-network architectures: General Main address Introduction A station which is configured in bridge mode has as many addresses as it does network connection points. The network address which corresponds to the network module with the lowest module address (module the farthest to the left in the station rack) is regarded as the main address of the station. Using the main address of a station guarantees access to a bridge station. Rule A bridge station must always be accessed by its main address. 295 Multi-network architectures: General Examples of addressing The example shows the communication between stations connected on the Fipway networks. network #1 Ethernet 1 0 2 2 5 4 5 Uni-Telway R2 56 R1 C Fipway 3 Fipway 4 7 network #12 network #11 B 5 Fipway 4 0 5 network #13 R3 Fipway 6 network #21 A l For a communication from station A to station R2, the main address of station R2 is {11.3}. l For a communication from station A to station R1, the main address of station R1 is {12.7}. l For a communication from station A to station R3, the main address of station R3 is {13.5}. l For a communication from station A to station C, the address of station C is {12.7}5.0.56. 296 Multi-network architectures: General Addresses of a multi-module station Introduction A station which is configured in multi-module mode has as many addresses as it does network connection points. There is no main address for the station. It will be addressed according to the network which communicates with it. Rule A multi-module station must always be accessed via the network address which corresponds to the network module enabling entry to the station. Example In the following example, station R1 does not have the bridge function between its modules 2, 4 and 5. Ethernet 2 2 5 4 R1 7 7 Fipway network #12 5 4 B Fipway network #13 A l For a communication from station A to station R1, the address is {13.5}SYS. l For a communication from station B to station R1, the address is {12.7}SYS. 297 Multi-network architectures: General Message handling With multimodule stations Messages destined for a network are sent to the module connected to the destination network. The configuration phase is used to determine the destination module. Exception Messages destined for an unknown network address are sent to the station network with the main address, as well as messages whose the network number equals 0. Example network #3 2 4 READ_VAR(ADR#{3.2}4.1,...) READ_VAR(ADR#{2}SYS,...) READ_VAR(ADR#{1.2}SYS,...) READ_VAR(ADR#{15.2}SYS,...) 4 network #1 All the messages destined for network #3 are sent to address module 4, and those for which the destination network is 1 to the network link integrated in the processor. All messages of which the network number address is not equal to 1 or 3 are sent to the processor which manages the main network. In a multi-module architecture, communication is limited to one single network level. With bridge stations Messages destined for a network are sent to the module which has access to this network. The configuration phase is used to determine the networks accessible to each station module. Exception Messages whose network number is equal to 0 are sent to the station’s main address network. 298 Multi-network architectures: General Common word service Introduction Exchanges of common words are only mono-network; they are linked to each module. There can therefore be as many zones of common words as there are network modules in a station. The access syntax to common words in a configuration is the following: %NW {N° network. N° station} N° of word Exchanges of common words are managed by the PLC system. The update bits associated with each zone of exchanged words are %IWxy.i.1 à %IWxy.i.4. Please refer to language objects of each module. Example In the example below, the station has two common word production zones. Common word zone %NW{3.2}0...3 network #3 2 4 %NW{3.2}0...3 %NW{1.4}0...3 4 network #1 Common word zone %NW{1.4}0...3 The network number allows the accessed zone to be distinguished. On network #3, it produces 4 mots: %NW {3.2}0..3. The update bits are stored in words: %IW 4.1.1.., %IW 4.1.2. On network #1, it produces 4 mots: %NW {1.4}0..3. The update bits are stored in words: %IW 0.1.1.., %IW 0.1.2. 299 Multi-network architectures: General Shared table exchange service Introduction Exchange of shared tables and the exchange of common words are self-exclusive. Exchanges of shared tables are only possible in a mono-network architecture. The exchange zone is in the %MWs defined by the PL7 application. In a multinetwork application, there can be several shared tables with one per network. A refresh bit which indicates the producer status of a common word zone is associated with each table zone. The bit i = 1 if the station has produced its shared table zone. This information is updated periodically by the system. Example In the following example, the station has two shared table zones. Network #3 shared table 2 %MW10 network #3 4 %MW20 ... %MW30 ... %MW137 %MW200 %MW210 ... %MW230 ... %MW337 4 network #1 Network #1 shared table The zone between the words %MW10 and %MW137 corresponds to the shared table exchanged on network 3. Only the words %MW20 to %MW30 are produced on the network by the station; the other words are the image of words sent by the other stations. The zone between the words %MW200 and %MW337 corresponds to the shared table exchanged on network 1. Only the words %MW210 to %MW230 are produced on the network by the station; the other words are the image of words sent by the other stations. 300 Configuration 11 Introduction Subject of this chapter This chapter describes the Configuration process during set-up of multi-network architectures and associated services. What’s in this Chapter? This chapter contains the following topics: Topic Page Configuration 302 Configuration of mono-network services 303 Configuration of multi-network services 304 How to configure a module as a bridge 306 Examples of bridge stations 308 Examples of partial routing 310 301 Multi-network architectures: Configuration Configuration Introduction In an intermediary station, the management of several network modules requires a configuration phase to distribute the operating characteristics to the different network entities. Station {1.1} 1 Terminal stations Station {1.2} 2 network #1 4 Intermediate stations Station {1.4} and {3.1} network #3 1 2 Terminal stations Station {2.2} Station {3.2} PL7 Station configuration CAUTION Coherence of routing data Multi-network routing information is put together at station level during PL7 configuration of each bridge. No verification of the coherence of the routing data of one network architecture is made. Failure to follow this precaution can result in injury or equipment damage. 302 Multi-network architectures: Configuration Configuration of mono-network services Introduction The PL7 configuration screen of the application-specific function (FIPWAY, ETHERNET) is used to enter the information necessary for the operation of the different types of exchange on the network: telegrams, common words, shared tables, mono-station message handling. Exchanges of common words and shared tables are exclusive to one network. However, it is possible to combine them in a multi-module configuration. For example, a station can participate in an exchange of common words on one network, and in a shared table exchange on its second network attachment. Telegrams can be used only on the Fipway channel managed by the PCMCIA card of the processor reception channel. 303 Multi-network architectures: Configuration Configuration of multi-network services Introduction In a station which supports several network modules, each network connection point is regarded as an address for the station. During configuration of each module, it is necessary to define the list of accessible network numbers for each connection point. Depending on the processor which has been chosen in the hardware configuration, a bridge station can only manage 3 or 4 network modules; the table will therefore have a maximum of 4 elements. Illustration A specific screen is used for entering the routing data for all the network modules of a station. 1 2 Bridge Configuration Data module Data module Data module Data module 2 3 4 FIPWAY ETHWAY 1 11 12 3 FIPWAY 13 21 Select accessible networks Access. networks Avail. networks 12 Save 4 304 Delete Cancel Accept 2 3 4 5 6 7 8 9 10 Cancel Multi-network architectures: Configuration Elements and functions This table describes the different areas that make up the configuration screen: Address Zone Function 1 module slot allows you to view the position of the module in the rack. 2 Network type allows you to view the network type. 3 List of Accessible Networks It is used: l for the non grayed out Module zone, to enter the list of networks accessible from this module, l for the grayed out Module zones, to view the list of networks accessible to these modules, 4 Select Accessible Networks is used to select the networks accessible to a module configured as a bridge. A list of numbers from 1 to 127 represents the networks available for a connection point. Each network number selected as being accessible is removed from the list of available networks in order to avoid configuration errors. 305 Multi-network architectures: Configuration How to configure a module as a bridge Introduction Before configuring the module as a bridge, access the Bridge Configuration screen. Note: Access to this screen depends on the type of module configured in the station. Refer to the module which you are configuring. Procedure The following procedure is used to configure the station module as a bridge. Step 1 Action Double-click on the zone in reverse video. Result The Select accessible networks window appears. Select accessible networks Access. networks Avail. networks 12 2 3 4 5 6 7 8 9 10 Accept Cancel If the list of networks accessible to the module is empty, the window appears automatically (without double-clicking). 2 Double-click on the network number in the drop-down list Available networks. Result The network number is assigned to the drop-down list Accessible networks. 306 3 Perform operation 3 as many times as is necessary to define all the networks which are accessible to the module. Then proceed to step 5. 4 Confirm the selection by clicking on Ok. 5 Confirm the bridge configuration by clicking on Save. Multi-network architectures: Configuration How to delete the bridge function How to delete access to a network It is possible to delete the module bridge function. Step Action 1 Access the Bridge Configuration screen. 2 Click on Delete. 3 Confirm the deletion by clicking on Save. It is possible to delete access to one network only. Step Action 1 Access the Bridge Configuration screen. 2 Double-click on the zone in reverse video. 3 Double-click on the network number in the drop-down list Accessible networks. Result The network number is reassigned to the drop-down list Available networks. 4 Confirm the selection by clicking on Ok. 5 Confirm the bridge configuration by clicking on Save. 307 Multi-network architectures: Configuration Examples of bridge stations Introduction Each station must be configured in order to define the list of accessible networks. network #1 ETHERNET 1 0 2 2 5 4 5 UNI-TELWAY R2 R1 C FIPWAY 3 4 7 FIPWAY network #12 network #11 B 5 FIPWAY 4 0 5 network #13 R3 FIPWAY 6 network #21 A Configuration of station R1 The module at slot 2 can only access network #12. The module at slot 4 can access networks #1 and #11. The module at slot 5 can access networks #13 and #21. The bridge configuration of the station is therefore as follows: Bridge Configuration Data module Data module Data module 2 3 4 FIPWAY 12 1 11 Save 308 ETHWAY Data module FIPWAY 13 21 Delete Cancel Multi-network architectures: Configuration Configuration of station R2 The module at slot 0 can only access network #11. The module at slot 5 can access networks #1, #2, #13 and #21. The bridge configuration of the station is therefore as follows: Bridge Configuration Data module Data module Data module Data module 0 5 FIPWAY 11 ETHWAY 1 12 13 21 Save Configuration of station R3 Delete Cancel The module at slot 0 can access networks #13, #2, #1 and #11. The module at slot 5 can only access network #21. The bridge configuration of the station is therefore as follows: Bridge Configuration Data module Data module Data module Data module 0 5 FIPWAY 1 11 12 13 FIPWAY 21 Save Delete Cancel 309 Multi-network architectures: Configuration Examples of partial routing Introduction During configuration of a module as a bridge, it is possible not to assign it all the accessible networks, but to assign only a part of them to it. This selection defines a partial routing. Illustration Each station must be configured in order to define the list of accessible networks. network #1 ETHERNET 1 0 2 2 5 4 5 UNI-TELWAY R2 R1 C FIPWAY 3 4 FIPWAY network #12 network #11 B 7 5 FIPWAY 4 0 5 network #13 R3 FIPWAY 6 network #21 A 310 Multi-network architectures: Configuration Configuration of station R1 The module at slot 2 does not participate in data routing. The module at slot 4 can access networks #1 and #11, The module at slot 5 can access networks #13 and #21. The bridge configuration of the station is therefore as follows: Bridge Configuration Data module Data module Data module Data module 4 5 ETHWAY 1 11 FIPWAY 13 21 Save Configuration of station R2 Delete Cancel The module at slot 0 can only access network #11. The module at slot 5 can access networks #1, #13 and #21. Network #12 is inaccessible. The bridge configuration of the station is therefore as follows: Bridge Configuration Data module Data module Data module Data module 0 5 FIPWAY 11 ETHWAY 1 13 21 Save Delete Cancel 311 Multi-network architectures: Configuration Configuration of station R3 The module at slot 0 can access networks #13, #1 and #11. Network #12 is no longer accessible. The module at slot 5 can only access network #21. The bridge configuration of the station is therefore as follows: Bridge Configuration Data module Data module Data module Data module 0 5 FIPWAY 1 11 13 21 Save 312 FIPWAY Delete Cancel Index A Accessing the configuration FIPWAY, 30 address IP, 66 Adressing Multi-network architectures, 295 B bandwidth, 130 BOOTP, 89 Bridge, 289 Broken connection, 80 C Characteristics ETHERNET (TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100), 222 Fipway, 24 characteristics TCP/IP, 63 Common words, 20 Multi-network architectures, 299 Communication channel test FIPWAY, 41 Compatibility FIPWAY, 25 Fipway, 26 B AC Configuration Bandwidth, 261 BOOTP, 247 DHCP, 249 Ethernet (TSX ETY 110), 178 ETHERNET (TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100), 233 Fipway, 29 Global Data, 251 IO Scanning, 244 Multi-network architectures, 301 configuration BOOTP, 147 DHCP, 147 Global Data, 154 Configuration parameters FIPWAY, 32, 33 Configuration screen ETHERNET (TSX ETY 110), 179 FIPWAY, 31 configuration screen ETHERNET (TSX ETY 410), 235 Connection closure, 79 Connection opening, 77 connections ETHERNET (TSX ETY 410•/PORT/510• and TSX WMY 100), 224 313 Index D F debugging ETHERNET (TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100), 264 Global Data, 275 IO Scanning, 274 Debugging parameters FIPWAY, 39 Debugging screen ETHERNET (TSX ETY 110), 198 FIPWAY, 38 debugging screen ETHERNET (TSX ETY 410•), 265 DHCP, 89 Diagnostics Bandwidth, 276 FAST, 102 faulty device, 101 FIPWAY, 13 function blocks FAST, 102 MAST, 102 E ETHERNET, 53 Introduction, 56 Modbus, 71 UNI-TE, 70 Ethernet Configuration parameters, 133 Facilities, 61 Ethernet (TSX ETY 110) characteristics, 174 Debugging, 197 general points, 172 ETHWAY TCP/IP, 131 ETHWAY Profile Configuration, 167 Exchange management FIPWAY, 51 Explicit exchange ETHERNET (TSX ETY 110), 213 ETHERNET (TSX ETY 410•/PORT/510• and TSX WMY 100), 280 FIPWAY, 48 314 G General ETHERNET (TSX ETY 410•, TSX ETY PORT, TSX ETY 510• and TSX WMY 100), 220 Fipway, 15 Multi-network architectures, 291 General points Ethernet, 55 Global Data, 98 H HTTP, 103, 104 address server, 114 Data editor, 119 Ethernet module diagnostics, 121 Rack display, 117 security, 111 user pages, 129 I Identification ETHERNET, 271 Ethernet, 205 FIPWAY, 42 Implicit exchange ETHERNET (TSX ETY 410•/PORT/510• and TSX WMY 100), 278 FIPWAY, 46 implicit exchange ETHERNET (TSX ETY 110), 210 Introduction Fipway, 16 Index IO Scanning, 82 Configuration, 141 L Language objects ETHERNET (TSX ETY 110), 209 ETHERNET (TSX ETY 410•,TSX ETY PORT, TSX ETY 510• and TSX WMY 100), 277 FIPWAY, 45 M Management of exchanges ETHERNET (TSX ETY 110), 215 ETHERNET (TSX ETY 410), 282 MAST, 102 migration, 234 Mirror ETHERNET, 271 Ethernet, 205 FIPWAY, 42 Multi-network architectures, 289 Q questions/answers, 285 R Read IO Scanning, 86 Report ETHERNET (TSX ETY 110), 215 ETHERNET (TSX ETY 410), 282 FIPWAY, 51 Requests Ethernet, 207, 272 FIPWAY, 44 S Services FIPWAY, 18 Shared tables, 22 Multi-network architectures, 300 SNMP, 95 Configuration, 150 Sub addressing Subnetwork mask, 68 O Operating mode ETHERNET (TSX ETY 410•,TSX ETY PORT, TSX ETY 510• and TSX WMY 100), 231 FIPWAY, 28 P parameters setting daylight savings time, 165, 257 setting NTP server IP address, 165, 257 setting synchronization period, 165, 257 setting time zone, 165, 257 Partial routing, 310 Performance Fipway, 27 TSX ETY 410• module, 226 Ping, 202, 269 T TCP/IP, 62 Configuration, 134 ETHWAY, 131 time zones, 160, 258 customizing, 166, 258 traps setting, 165, 257 TSX ETY 110, 171 TSX ETY 110 Coupler Performances, 175 TSX ETY 410•, 219 TSX ETY 510•, 219 TSX ETY PORT, 219 TSX WMY 100, 219 tz compilers, 166, 258 315 Index W Web pages NTP Configuration, 164, 256 Write IO Scanning, 86 316 ">
/
Λήψη
Μια φιλική υπενθύμιση. Μπορείτε να δείτε το έγγραφο εδώ. Αλλά το πιο σημαντικό, η AI μας το έχει ήδη διαβάσει. Μπορεί να εξηγήσει πολύπλοκα πράγματα με απλούς όρους, να απαντήσει στις ερωτήσεις σας σε οποιαδήποτε γλώσσα και να σας βοηθήσει να πλοηγηθείτε γρήγορα ακόμη και στα πιο μακροσκελή ή περίπλοκα έγγραφα.
Διαφήμιση