M340 Ethernet Communications Modules and Processors 2009 Eng
M340 Ethernet Communications Modules and Processors 2009 Eng
M340 Ethernet Communications Modules and Processors 2009 Eng
31007131.04
www.schneider-electric.com
Schneider Electric assumes no responsibility for any errors that may appear in this document. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric. All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to help ensure compliance with documented system data, only the manufacturer should perform repairs to components. When devices are used for applications with technical safety requirements, the relevant instructions must be followed. Failure to use Schneider Electric software or approved software with our hardware products may result in injury, harm, or improper operating results. Failure to observe this information can result in injury or equipment damage. 2009 Schneider Electric. All rights reserved.
31007131 04/2009
Table of Contents
9 11
13
15
16 17 18 19 20 21 22 28
31
32 33
35
36 37 38 40
41
42 44 46 51 54
31007131 04/2009
55
57
58 60 62 64 67
69
69
77
78 79 82 83 84 85 86 88 89 91 93 94 94 97 97 98 99 100 102 103 104 107 108 111 112 114 115 116 117 120
31007131 04/2009
121
123
124 127 128
Chapter 9 The BMX P34 2020 and BMX P34 2030 CPUs. . . . . . . . .
BMX P34 20x0 Ethernet Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BMX P34 20x0x Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . .
129
130 132
133
135
136 136 138 139 141 142 143 144 146 147 148 152 154 156 159 162 163 165 166 167 168 169 171 173 174 175 177 178 179 180 182 184 184
5
Bandwidth Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bandwidth Checking Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.9 Electronic Mail Notification Service Configuration Parameters . . . . . . . . The SMTP Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.10 Time Synchronization Service Configuration Parameters . . . . . . . . . . . . The NTP Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.8
197
198 200
205
206 209 212 213 214
215
216 217 218 219 221 222 224 227 228 229 230 232 235 235
13.2
13.3
13.4
237
238 239 244 245 246
31007131 04/2009
Associate the Network with the Module . . . . . . . . . . . . . . . . . . . . . . . . . . Build a Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connect the System and Download the Configuration . . . . . . . . . . . . . . . Debugging the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
257
259
260 261 263 264 265 266 267 268 269 270 272 273 274 275 276 277 278 279 280 281 282 284 289 292 294 295 297 316
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A TCP/IP Technical Characteristics . . . . . . . . . . . . . . . . . .
Summary of TCP/IP Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Address Management for Ethernet Modules. . . . . . . . . . . . . . . . . . . . . . . Modbus Communication on the TCP/IP Profile. . . . . . . . . . . . . . . . . . . . . Managing TCP Connections for Modbus . . . . . . . . . . . . . . . . . . . . . . . . . Opening a TCP/IP Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Closing a TCP/IP Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Broken TCP/IP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
327
329
330 331 332 335 336 338 339
31007131 04/2009
341
342 347
349
349
353
354 356 364 365 366 367 368 369 370 371 373 374 375 376
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
379 393
31007131 04/2009
Safety Information
Important Information
NOTICE Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.
31007131 04/2009
PLEASE NOTE Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material.
10
31007131 04/2009
At a Glance
Document Scope This manual describes the implementation of the BMX NOE 01x0 communication module and the BMX P34 20x30 CPU platforms with embedded ports on Ethernet networks using Unity Pro Version 4.0 or later software. Validity Note This document is valid for Unity Pro 4.0 or later. Related Documents
Title of Documentation Modicon M340 using Unity Pro: Processors, Racks and Power Supply Modules Reference Number 35012676 (E), 35012677 (F), 35013351 (G), 35013352 (I), 35013353 (S), 35013354 (C) 31006929 (E), 31006930 (F), 31006931 (G), 31006932 (S) 35015192 (E), 35015193 (F), 35015194 (G), 35015195 (S), 35015196 (I)
You can download these technical publications and other technical information from our website at www.schneider-electric.com.
31007131 04/2009
11
WARNING
UNINTENDED EQUIPMENT OPERATION The application of this product requires expertise in the design and programming of control systems. Only persons with such expertise should be allowed to program, install, alter, and apply this product. Follow all local and national safety codes and standards. Failure to follow these instructions can result in death, serious injury, or equipment damage. User Comments We welcome your comments about this document. You can reach us by e-mail at [email protected].
12
31007131 04/2009
About this Part This part contains an overview of hardware and communications requirements for the BMX NOE 01x0 modules and BMX P34 20x0 CPUs on Ethernet networks. For Modicon M340 system installation and specifications, see the book Modicon M340 using Unity Pro: Processors, Racks and Power Supply Modules. NOTE: The BMX NOE 01x0 modules have an embedded Web server. You can access the website for monitoring, diagnosing or setting up the module. Refer to the FactoryCast for Modicon M340 User Manual for a description of the website. What's in this Part? This part contains the following chapters:
Chapter 1 2 3 4 Chapter Name Modicon M340 Modules for Ethernet Communications Modicon M340 Ethernet Module Overview Choosing an Ethernet Communications Module or Processor for Modicon M340 Hardware Installation Page 15 31 35 41
31007131 04/2009
13
14
31007131 04/2009
Introduction This chapter provides graphic representations of the Modicon M340 modules that can be used for communications between Ethernet networks and Modicon M340 rack assemblies. The appropriate modules are: BMX NOE 0100 and BMX NOE 0110: These network option modules are dedicated to Ethernet communications. BMX P34 2020 and BMX P34 2030: In addition to their functionality as processors, these CPU modules have embedded ports for Ethernet communications. Elsewhere in this guide is information about selecting the appropriate hardware for your system and application needs (see page 35). What's in this Chapter? This chapter contains the following sections:
Section 1.1 1.2 External Features Common Features of Modicon M340 Modules and Processors Topic Page 16 20
31007131 04/2009
15
1.1
External Features
About this Section This section identifies the external features and ports on the BMX NOE 01x0 modules and BMX P34 20x0 CPUs. What's in this Section? This section contains the following topics:
Topic BMX NOE 01x0 Physical Description BMX P34 2020 Physical Description BMX P34 2030/20302 Physical Description Page 17 18 19
16
31007131 04/2009
Legend: 1 LED display (see page 22) 2 Ethernet port (see page 28) 3 memory card slot A memory card can be used to store files, such as Web pages and log files. Elsewhere in this guide are performance characteristics of standard and optional memory cards (see page 46). 4 reset button Press this button to cold start the module. (After the reset, the network recognizes the module as a new device.)
31007131 04/2009
17
Legend: 1 LED display (see page 22) 2 USB port 3 Ethernet port (see page 28) 4 memory card slot Used to: store files, such as Web pages and log files back up code back up application Elsewhere in this guide are performance characteristics of standard and optional memory cards (see page 46). 5 Modbus serial port
18
31007131 04/2009
Legend: 1 LED display (see page 22) 2 USB port 3 Ethernet port (see page 28) 4 memory card slot Used to: store files, such as Web pages and log files back up code back up application Elsewhere in this guide are performance characteristics of standard and optional memory cards (see page 46). 5 CANopen port
31007131 04/2009
19
1.2
About this Section This section describes the common physical features of the BMX NOE 01x0 modules and BMX P34 20x0 CPUs. What's in this Section? This section contains the following topics:
Topic Module Dimensions Ethernet LED Indicators 10/100 BASE-T Interface Page 21 22 28
20
31007131 04/2009
Module Dimensions
Dimensions The dimensions of the Modicon M340 modules conform to the characteristics of the BMX XBP rack. The following figure shows the dimensions (in mm) for the BMX NOE 01x0 modules and BMX P34 20x0 CPUs:
31007131 04/2009
21
These LEDs provide information on: PLC functioning the memory card communication with the modules serial communication communication on the CANopen network communication on the Ethernet network BMX NOE 01x0 LEDs The following diagram shows the diagnostic LEDs on the BMX NOE 01x0 modules. Note that two displays exist, depending on whether you are using firmware V1 or V2 (or greater) of the module.
22
31007131 04/2009
The colors and blink patterns of the LEDs indicate the status and operating conditions of Ethernet communications on the module:
Label Pattern Indication Module is operating and configured. Module is blocked by a software detected error. Module is not configured (application is absent, invalid, or incompatible). Processor, system, or configuration detected error Module is not configured (application is absent, invalid, or incompatible). Module is blocked by a software detected error. Normal (no detected errors) Communication OK Invalid MAC address Link not connected Duplicate IP address Waiting for a server IP address Secure and safe mode (with default IP address) Configuration conflict between rotary switches and internal configuration Memory card is missing. Memory card is not usable (bad format, unrecognized type). Memory card had been removed and reinserted. Memory card is valid and recognized.
RUN (green): operational state on flashing off ERR (red): detected error on flashing
off ETH STS (green): Ethernet communication status on 2 flashes 3 flashes 4 flashes 5 flashes 6 flashes 7 flashes CARDERR (red): memory card on detected error
off
Note 1: Rapid flashing is defined as ON for 50 ms and OFF for 50 ms. Note 2: Slow flashing is defined as ON for 200 ms and OFF for 200 ms.
31007131 04/2009
23
BMX P34 2020, BMX P34 2030/20302 Processor LEDs The following diagram shows the diagnostic LEDs on the BMX P34 2020 processor. Note that two displays exist, depending on whether you are using firmware V1 or V2 (or greater) of the processor.
The following diagram shows the diagnostic LEDs on the BMX P34 2030/20302 processor. Note that two displays exist, depending on whether you are using firmware V1 or V2 (or greater) of the processor.
The colors and blink patterns of the LEDs indicate the status and operating conditions of Ethernet communications on the module:
Label Pattern Indication PLC hardware and PLC program operations are normal. Module is in RUN state. PLC is in STOP mode or a blocking error in the application has been detected. Processor is configured but not in RUN state. PLC is not configured (application is absent, invalid, or incompatible). Processor, system, or configuration detected error PLC is not configured (application is absent, invalid, or incompatible). PLC is in STOP mode or a blocking error in the application has been detected. Normal (no detected errors)
flashing
off
24
31007131 04/2009
Indication Communication OK Invalid MAC address Link not connected Duplicate IP address Waiting for a server IP address Secure and safe mode (with default IP address) Configuration conflict between rotary switches and internal configuration Memory card is missing. Memory card not usable (bad format, unrecognized type). Memory card content is inconsistent with internal RAM application. Memory card is valid and recognized. Application on card is consistent with the internal RAM application. Error detected on a configured module or CPU channel Configuration mismatch with the application (module missing...) Normal (no detected errors) Data exchange (send/receive) on the serial connection in progress No data exchange on the serial connection CANopen network operational Automatic detection of data flow or LSS services in progress (alternates with CAN ERR). CANopen network is pre-operational.
off
on
off SER COM (yellow): serial data flashing status off CAN RUN (green): CANopen operations on rapid flashing (note 1) slow flashing (note 2) 1 flash 3 flashes
31007131 04/2009
25
Pattern on rapid flashing (note 1) slow flashing (note 2) 1 flash 2 flashes 3 flashes off
Indication CANopen bus is stopped. Automatic detection of data flow or LSS services in progress (alternates with CAN RUN). CANopen configuration is not valid.
At least one error counter has reached or exceeded alert level. A guard event (NMT slave or NMT master) or a heartbeat event has occurred. The SYNC message was not received before the end of the communication cycle period. No error detected on CANopen. Access to the card is enabled. Activity on the card: during each access, the card LED is set to OFF, then back to ON. Access to the card is disabled. You can remove the card after you disable card access by setting system bit %S65 to 0.
CARDAC (green): memory card access Note: This LED is located under the memory card door (see page 17).
on flashing off
Note 1: Rapid flashing is defined as ON for 50 ms and OFF for 50 ms. Note 2: Slow flashing is defined as ON for 200 ms and OFF for 200 ms.
LED Differences Between Firmware V1 and V2 Modules for both BMX NOE 01x0 and BMX P34 20x0x The following table describes the meaning of the ETH ACT and ETH 100 LEDs on the front panel for firmware V1 NOE and CPU modules.
Label ETH ACT (green): Ethernet communication (transmission/reception activity) Pattern on off flashing on off Indication Ethernet link detected: no communications activity. No Ethernet link detected. Ethernet link detected: receiving or sending packets. Ethernet transmission at 100 Mbit/s (Fast Ethernet). Ethernet transmission at 10 Mbit/s (Ethernet) or no link detected.
26
31007131 04/2009
The following table describes the meaning of the ETH ACT and ETH LNK LEDs on the front panel for firmware V2 NOE and CPU modules.
Label ETH ACT (green): Ethernet communication (transmission/reception) activity Pattern on off Indication Communications activity detected. No communications activity detected.
NOTE: Rapid flashing is defined as ON for 50 ms and OFF for 50 ms. Slow flashing is defined as ON for 200 ms and OFF for 200 ms.
31007131 04/2009
27
Pin 4 5 6 7 8
NOTE: If there is a connection via a shielded cable, the connector casing on the module is linked up to the ground connection. Line Speed The different line speeds that are available for the BMX NOE 01x0 and the integrated Ethernet port of the BMX P34 2020/2030/20302 CPUs are: 100 Mb in half duplex 100 Mb in full duplex 10 Mb in half duplex 10 Mb in full duplex The user can not configure the line speed. Characteristics of speed adaptation are: Auto-sensing and auto-negotiation allow the Ethernet module to quickly configure itself to the local Ethernet switch's speed and duplex mode. The negotiated speed between two Ethernet devices is limited to the speed of the slower device. Port Status Elsewhere in this guide is a discussion of the Ethernet port status (see page 67).
31007131 04/2009
29
30
31007131 04/2009
Introduction This chapter contains an overview of the BMX NOE 01x0 modules and BMX P34 20x0 CPUs on Ethernet networks. What's in this Chapter? This chapter contains the following topics:
Topic General Presentation of an Ethernet Network Rack Position: BMX NOE 01x0 and BMX P34 20x0x Page 32 33
31007131 04/2009
31
NOTE: Be careful routing the Ethernet cable through the factory as the cable may be damaged by other equipment within the factory.
32
31007131 04/2009
0 1 2 3 4-7 8
BMX P34 2030 CPU at rack position 0 discrete I/O module at rack position 1 counter module at rack position 2 BMX NOE 0100 Ethernet communications module at rack position 3 available rack positions Modicon M340 extension module at rack position 8
31007131 04/2009
33
Module Positioning Mechanically, it is possible to position the BMX P34 CPU or the I/O modules in any slot. However, we recommend placing the modules in these positions: BMX P34 20x0: You must place the CPU at position 0. Position 0 also conforms to the CPU form factor. BMX NOE 01x0: Modules that conform to the Modicon M340 I/O form factor, such as the BMX NOE 010 modules, can be placed in any other available slot. BMX CPS 2000: The double-wide rack power supply is mounted at the beginning of the assembly on the left. BMX P34 200 Processors The following table shows the rack operations and communications details for the BMX P34 20x0x CPUs:
CPU BMX P34 2020 Physical Maximum Number of I/O* Maximum Format Discrete Memory Size Analog simple 1024 1024 256 256 4096 Kb 4096 Kb Integrated Port CANopen X Ethernet X X Modbus Serial X
BMX P34 2030/ simple 20302 *: per rack X: available : not available
34
31007131 04/2009
Introduction This section helps you select the hardware that is most appropriate for your Ethernet application and system requirements. Ethernet networks can be complex. Therefore, the BMX NOE 01x0 communication modules and BMX P34 20x0 CPUs support a variety of network services. What's in this Chapter? This chapter contains the following topics:
Topic Communication Module Features and Selection Guide BMX P34 xxxxx Processors Catalog Ethernet Service Selection Table Compatibility: BMX NOE 01x0 and BMX P34 20x0 Page 36 37 38 40
31007131 04/2009
35
The locations of the ports are shown at External Features (see page 16).
36
31007131 04/2009
20 Expert channels (counting, PTO, MPS, NOM, etc.) Maximum Number of modules Embedded Serial port Embedded Ethernet port Embedded CANopen port Network communication (TCP/IP) AS-i fieldbus1 communication Memory size Legend User application 1 1 2
1 3
1 1 3
1 1 3
1 1 3
2 2048 Kb
4 4096 Kb
4 4096 Kb
4 4096 Kb
4 4096 Kb
The AS-i field bus requires at least PLC Operating System V2.10 and Unity Pro 4.1.
31007131 04/2009
37
X X X X X X X X X X X X X with an installed class C memory card (BMX NOE 0110 modules only) N/A
X X X X X X X X X
X X X X X X X X X
CANopen
Serial
38
31007131 04/2009
See the detailed descriptions for: Ethernet services (see page 77) Schneiders Transparent Ready service classes (see page 349) Class C services for the BMX NOE 01x0 modules (see page 349)
31007131 04/2009
39
* In this case, the NOE module will be not recognized as correct by the CPU when the application starts. An I/O error message will be displayed, as if a module other than an NOE were inserted in the slot.
40
31007131 04/2009
Hardware Installation
4
Introduction This chapter describes the installation of the BMX NOE 01x0 modules and BMX P34 20x0 CPUs. What's in this Chapter? This chapter contains the following topics:
Topic Assembling a Modicon M340 Station Grounding of Installed Modules Modicon M340 Memory Cards Memory Card Features BMX NOE 01x0 and BMX P34 20x0 Wiring Considerations Page 42 44 46 51 54
31007131 04/2009
41
Installation
WARNING
LOSS OF APPLICATION Because you can not hot swap the CPU modules, disconnect all power to the rack before the installation of the BMX P34 20x0 CPUs. Failure to follow these instructions can result in death, serious injury, or equipment damage. This topic provides steps for installing the Modicon M340 communication modules and CPUs on the BMX XBP rack. Modicon M340 modules and processors are powered by the backplane bus. Fitting operations (installation, assembly, and disassembly) are described below. Elsewhere in this guide is a discussion of the proper address locations on the backplane for BMX NOE 01x0 and Modicon M340 CPUs (see page 33). Installing a Processor A BMX P34 20x0 processor is always installed on the BMX XBP rack in slot marked 00 (address 0). The following diagram shows a BMX P34 20x0 processor mounted on a BMX XBP rack in the slot marked 00 (address 0):
NOTE: Before installing a module, take off the protective cap from the module connector located on the backplane.
42
31007131 04/2009
Installation
Mounting Instructions NOTE: The mechanical assembly instructions for the BMX NOE 01x0 and the BMX P34 20x0 CPUs are identical. To mount a module or processor on the BMX XBP rack:
Step 1 Action Illustration
The following diagram describes steps 1 and 2: Position the two pins on the reverse side of the module or CPU (at the bottom) in the corresponding slots on the rack. Note: Before positioning the pins, make sure you have removed the protective cover. Incline the module or CPU towards the top of the rack so that the module sits flush with the back of the rack. It is now set in position. Tighten the safety screw to The following diagram describes step 3: ensure that the module or CPU is held in place on the rack. The recommended tightening torque is between 0.4 and 1.5 Nm .
31007131 04/2009
43
Installation
DANGER
HAZARD OF ELECTRIC SHOCK Ensure ground connection contacts are present and not bent out of shape. If they are, do not use the module and contact your Schneider Electric representative. Failure to follow these instructions will result in death or serious injury.
WARNING
UNEXPECTED BEHAVIOR OF APPLICATION Tighten the clamping screws of the modules to guarantee the system characteristics. A break in the circuit could lead to an unexcepted behavior of the system. Failure to follow these instructions can result in death, serious injury, or equipment damage.
44
31007131 04/2009
Installation
All Modicon M340 modules are equipped with ground connection contacts at the rear for grounding purposes:
These contacts ensure the linking to the grounding bus of the modules on the rack.
31007131 04/2009
45
Installation
WARNING
RISK OF LOST APPLICATION Do not remove the memory card from the module while the PLC is running. Remove the memory card only when the power is off. Failure to follow these instructions can result in death, serious injury, or equipment damage. This topic discusses the Schneider memory cards that are available for Modicon M340 CPUs and the BMX NOE 01x0 modules. Elsewhere in this guide is a discussion of the card location on the modules (see page 16). Card Functionality The following table describes the functionality of the different memory cards when inserted in Modicon M340 CPUs and BMX NOE 01x0 modules:
Memory Card Part Functionality BMX P34 CPUs BMX RMS 008MP application backup Web server activation on the embedded Ethernet port (Transparent Ready class B) BMX NOE 01x0 Comment Delivered with the BMX P34 CPUs
application backup Web server activation on the embedded Ethernet port (Transparent Ready class B) 8 MB file storage (usability) application backup Web server activation on the embedded Ethernet port (Transparent Ready class B) 128 MB file storage (usability)
Order separately
Order separately
BMXRWSB000M
46
31007131 04/2009
Installation
Functionality BMX P34 CPUs BMX NOE 01x0 services for Transparent Ready class C30 Web page memory (16 MB) services for Transparent Ready class C30 FactoryCast services Web page memory (64 MB) Comment No longer sold. Nevertheless, it can be updated to BMX RWSFC016M. Delivered with the BMX NOE 0110. This card is required for user-customizable Web pages and FactoryCast services.
BMX RWSF016M
BMX RWSFC016M
Note: See the detailed discussions for: Ethernet service classes A, B, C, and D (see page 349) Class C services for the BMX NOE 0100 module (see page 349)
Card Services
CAUTION
MEMORY CARD RUINED Do not format the memory card with a non-Schneider tool. The memory card needs a structure to contain program and data. Formatting with another tool destroys this structure. Failure to follow these instructions can result in injury or equipment damage.
CAUTION
UNINTENDED EQUIPMENT OPERATION Do not use a write-protected memory card with the module. Write-protected cards prevent some services from operating properly. Failure to follow these instructions can result in injury or equipment damage.
31007131 04/2009
47
Installation
The following table lists the services that are available when the memory card is inserted in various Modicon M340 modules:
Memory Card BMX RMS 008MP Module BMX P34 1000 BMX P34 2000 BMX P34 2010 Program Backup Yes Yes Yes File Storage No No No No No No No No Yes Yes Yes Yes No Yes Yes Yes Yes FDR Server No No No No No No No Yes Yes Yes Web Server Class B B B B B B B B C C FactoryCas t Yes
BMX P34 20102 Yes BMX P34 2020 BMX P34 2030 Yes Yes
BMX P34 20302 Yes BMX RMS 008MPF BMX P34 1000 BMX P34 2000 BMX P34 2010/ 20102 BMX P34 2020 BMX P34 2030/ 20302 BMX RMS 128MPF BMX P34 1000 BMX P34 2000 BMX P34 2010/ 20102 BMX P34 2020 BMX P34 2030/ 20302 BMXRWSB000M BMXRWSC016M BMXRWSFC016M Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
B = embedded web page C = user-customized web page Elsewhere in this guide is a description of the Web server classes (see page 349).
NOTE: The NOE module works only with a memory card that is present at boot-up time. A memory card that is inserted during NOE operations is not recognized. Although operation is possible without a valid memory card inserted in the module, a valid memory card should be present at all times in the module to ensure correct operation of the module and all its services.
48
31007131 04/2009
Installation
Card Compatibility with NOE Versions The following table lists the compatibility issues between memory card versions and BMX NOE 01x0 versions:
Memory Card BMX RWS C016M Class C V1 NOE NOE 0100 Firmware V1 NOE 0100 Firmware V2 NOE 0110 Firmware V1 NOE 0110 Firmware V2 Compatible Compatible (with a V1 application) Not supported Not supported *Incompatible *Incompatible *Incompatible *Incompatible *Incompatible Not supported Compatible Compatible (with a V1 application) Compatible Compatible (with a V1 application) BMX RWS C016M upgraded to FactoryCast V1.1 BMX RWS C01 6M upgraded to FactoryCast V2 BMX RWSF C032M V1.1 BMX RWSF C032M V2 BMX_RWS B 000M Class B
* In these cases, the Web server is embedded in the memory card, then loaded into the NOE module. At start-up, the NOE will block this memory card. Card Compatibility with CPU Versions The following table lists the compatibility issues between memory card versions and BMX P34 200 versions:
Memory Card CPU CPU Firmware V1 CPU Firmware V2 (with an application for a CPU V1) CPU Firmware V2 (with an application for a CPU V2) Compatible Compatible (with a V1 application) Compatible Compatible (with a V1 application) Compatible (with a V1 application) Compatible BMX RMS 008MP / MPF Web Pages V1 or V1.1 BMX RMS 008MP / MPF Web Pages V2
31007131 04/2009
49
Installation
Precautions
CAUTION
ENVIRONMENTAL HAZARDS To keep the memory card in normal working order, the following precautions should be taken: Avoid removing the memory card from its slot when the module is accessing it (green access LED on or flashing). Avoid touching the memory card connections. Keep the memory card away from electrostatic and electromagnetic sources as well as heat, sunlight, water and moisture. Avoid impacts to the memory card. Before sending a memory card by postal service, check the postal services security policy. In some countries the postal service exposes mail to high levels of radiation, as a security measure. These high levels of radiation may erase the contents of the memory card and render it unusable. Failure to follow these instructions can result in injury or equipment damage.
50
31007131 04/2009
Installation
31007131 04/2009
51
Installation
Card Features The following table describes the features and services of the different memory cards when inserted in Modicon M340 CPUs and the BMX NOE 01x0:
Memory Card BMXRMS008MP / BMXRMS008MPF / BMXRMS128MPF BMXRWSB000M BMXRWSFC032M
Module TR Class level Monitoring Data Editor Data Editor Lite Graphic Editor Graphic Viewer Symbol, unlocated access Custom Web pages Diagnostic Ethernet services Lite Ethernet services Rack Viewer Lite Multi-Rack Viewer Zoom module in rack Zoom bus CANopen Alarm Viewer Setup HTTP security FTP security FactoryCast SOAP XML support RDE on Pocket PC Widget library NTP FTP Web Designer support Legend X: service is present : service is not available
NOTE: You can update the content of the BMXRWSC016M card to include the features and services of the BMXRWSFC032M card using Unity Loader.
52
31007131 04/2009
Installation
Without Memory Card If no memory card is inserted in the module, you cannot access the website. The following error message appears: "Access Error: Site temporary unvailable. Try again. No SD card present." Also, if no memory card is inserted in the module: The address server will not work (NOE modules only). NTP has no time zone files (NOE modules only). Unity Loader will not work (NOE and CPU modules).
31007131 04/2009
53
Installation
WARNING
UNINTENDED EQUIPMENT OPERATION Although you can wire or unwire the BMX NOE 01x0 module and BMX P34 20x0 CPUs while the power to the BMX XBP station is on, doing so can interrupt the application in progress. Failure to follow these instructions can result in death, serious injury, or equipment damage. RAM
WARNING
LOSS OF APPLICATION Do not interrupt power to the module while an application is being written to the memory card. Failure to follow these instructions can result in death, serious injury, or equipment damage. The module does not have an internal RAM backup function. The RAM is erased when the power is switched off. The Link The following situations can create a temporary disruption in the application or communications: The RJ45 10/100 BASE-T interface connector is connected or disconnected when the power is on. Modules are re-initialized when the power is switched back on.
54
31007131 04/2009
Ethernet Communications
II
About this Part This part describes Ethernet communications. What's in this Part? This part contains the following chapters:
Chapter 5 6 7 IP Parameters Multi-Module Communication Description of Ethernet Communications Services Chapter Name Page 57 69 77
31007131 04/2009
55
Ethernet Communications
56
31007131 04/2009
IP Parameters
5
About this Chapter This chapter describes the assignment of IP parameters to the BMX NOE 01x0 and BMX P34 20x0 CPUs. Each network address must be valid and unique on the network. Elsewhere in this guide you can find information about: address management for Ethernet modules (see page 331) IP address classes (see page 342) What's in this Chapter? This chapter contains the following topics:
Topic Methods for IP Addressing Modicon M340 Rotary Switches Deriving IP Parameters from the MAC Address The IP Address Assignment Process Ethernet Port Status Page 58 60 62 64 67
31007131 04/2009
57
IP Parameters
58
31007131 04/2009
IP Parameters
Description A server-assigned IP address can then be obtained from either a BOOTP or DHCP server (see page 83). BOOTP: Set the lower rotary switch to one of its STORED positions. Select From a server on the IP Configuration tab (see page 139). Leave the Device Name field empty. DHCP: Set the lower rotary switch to one of its STORED positions. Select From a server on the IP Configuration tab (see page 139). Enter a valid device name in the Device Name field. Note: The M340 Ethernet modules will not receive an IP address from a BOOTP/DHCP server on application download if the IP configuration has not changed.
disabled
Note: An error can occur when the assigned address is a mismatch for the address in the application. Details of these errors are at Ethernet Port Status (see page 67).
31007131 04/2009
59
IP Parameters
NOTE: Set the arrow firmly into the desired position. If you do not feel the switch click into place, the value of the switch may be incorrect or undetermined. Summary of Valid IP Address Settings Each rotary switch position that you can use to set a valid IP address is marked on the module. The following information summarizes the valid address settings: device name: For a switch-set device name, select a numeric value from 00 to 159. You can use both switches: On the upper switch (Tens digit), the available settings are 0 to 15. On the lower switch (Ones digit), the available settings are 0 to 9. The device name is calculated from the sum of the two switch values. For example, a BMX P34 2020 CPU with the switch setting in the above figure is assigned the DHCP device name BMX_2020_123. The selection on the lower switch of any non-numeric (BOOTP, STORED, CLEAR IP, DISABLED) makes the setting on the upper switch inconsequential. BOOTP: To get an IP address from a BOOTP server, select either of the two BOOTP positions on the bottom switch. STORED: The device uses the applications configured (stored) parameters.
60
31007131 04/2009
IP Parameters
CLEAR IP: The device uses the default IP parameters. DISABLED: The device does not respond to communications. The functionality of the rotary switch when used in conjunction with the Unity Pro IP Configuration tab (see page 139) is discussed throughout the IP Address chapter (see page 57). Switch Labels To assist you in setting the rotary switches to their proper positions, a label is affixed to the right side of the module. The switch settings are described in this table:
Upper Switch 0 to 9: Tens value for the device name (0, 10, 20 . . . 90) 10(A) to 15(F): Tens value for the device name (100, 110, 120 . . . 150) Lower Switch 0 to 9: Ones value for the device name (0, 1, 2 . . . 9) BOOTP: Set the switch to A or B to receive an IP address from a BOOTP server. Stored: Set the switch to C or D to use the applications configured (stored) parameters. Clear IP: Set the switch to E to use the default IP parameters. Disabled: Set the switch to F to disable communications.
31007131 04/2009
61
IP Parameters
Ignore the first 3 bytes of the 6-byte MAC For a MAC address of 0000531201C4, address. concern yourself only with the last three bytes, 12-01-C4. In the first relevant byte (12), multiply the Subtotal = 16 (1 x 16 = 16) value in the second digit column (1) by 16. Add the value in the lowest digit column (2) to the subtotal (16). Hexadecimal value = 18 (16 + 2)
62
31007131 04/2009
IP Parameters
Step 4 5
Action
Comment
Convert the second relevant byte (01) in Hexadecimal value = 01 ((0 x 16 = 0) + 1 the same manner. = 1) In the third relevant byte (C4), multiply Subtotal = 192 (The sequence of basethe second digit column with the value of 16 hexadecimal values is 1, 2, 3, 4, 5, 6, C in hex (or 12 in decimal) by 16. 7, 8, 9, A, B, C, D, E, F. Therefore, the hexadecimal value C has a decimal value of 12.) Add the second digit (4) to the subtotal (192). Hexadecimal value = 196 (192 + 4)
6 7
Add the three decimal values to the fixed Default IP address = 84.18.1.196 address value of 84.
31007131 04/2009
63
IP Parameters
64
31007131 04/2009
IP Parameters
31007131 04/2009
65
IP Parameters
Frame Format Priorities The module supports communications in the Ethernet II and 802.3 frame formats. (Ethernet II is the default.) When communicating with a BOOTP or DHCP server, the module makes 4 requests based on the configured frame type. To avoid flooding the server with simultaneous requests, the transmission time of each request is base on the backoff algorithms defined by the respective BOOTP and DHCP RFCs. NOTE: In addition, modules that communicate with DHCP servers make requests in this order: first: 4 requests in the DHCP format defined by RFC 2132 second: 4 requests in the DHCP format defined by RFC 1533
66
31007131 04/2009
IP Parameters
None
DEFAULT: Get IP DEFAULT: Get IP DEFAULT: Use address. (1) address. (1) default IP address. (1) MISMATCH: Get IP address. (1) NO ERROR: Get IP address. (2) NO ERROR: Get IP address. Device name derived from switches (2) (5) MISMATCH: Get IP address. (1) NO ERROR: Get IP address. (2) MISMATCH: Get IP address. (1) NO ERROR: Get IP address from application. (2) NO ERROR: Get IP address with BOOTP. (2) NO ERROR: Get IP address with DHCP (device name from application). (2)(4)
Configured
From a server without device name (3) From a server with device name
DEFAULT: This switch setting implements devices default IP parameters regardless of the application type.
LED off. This switch setting stops communications between the module and the network, so the application type is inconsequential.
Note 1: start default services only Note 2: start application-configured services Note 3: Leaving the From a server/Device Name field empty on the IP Configuration tab (see page 139) facilitates communications that are compatible with any rotary switch setting. Note 4: To use the device name from the IP Configuration tab (see page 139) in the Unity Pro application, the lower rotary switch much be set to one of its STORED positions. Note 5: When the server returns a name that matches the one you configure on the IP Configuration tab (see page 139), communications are OK. When there is a mismatch, there is a communications error. Note 6: The M340 Ethernet modules will not receive an IP address from a BOOTP/DHCP server on application download if the IP configuration has not changed.
Elsewhere in this guide is a detailed discussion about deriving the default IP address (see page 62).
31007131 04/2009
67
IP Parameters
Device Name
CAUTION
UNINTENDED EQUIPMENT OPERATION The communications port can enter the idle state when the position of the rotary switches does not match the port network configuration in the application. For example, the switches may be set to BOOTP or DHCP while the application calls for a fixed IP address. Failure to follow these instructions can result in injury or equipment damage. The device name generated by the rotary switch setting follows this format: BMX P34 2020 CPU: BMX_2020_xxy BMX P34 2030 CPU: BMX_2030_xxy BMX P34 20302 CPU: BMX_20302_xxy BMX NOE 0100 module: BMX_0100_xxy BMX NOE 0110 module: BMX_0110_xxy (Note that xx is the value of the upper rotary switch and y is the value of the lower rotary switch.) NOTE: For information about how the module prioritizes IP addressing options, refer to the discussion on IP address assignment (see page 57).
68
31007131 04/2009
Multi-Module Communication
6
Multi-Module Communication
At a Glance This topic explains communication capabilities across modules and devices in a PLC configuration. Different modules and devices are available providing access to USB, Modbus and/or Ethernet communication: CPU devices with embedded USB, Modbus and/or Ethernet ports NOE modules for Ethernet communication Overview A maximum of two NOE modules can be installed on a PLC configuration. Therefore, the maximum number of configured Ethernet links is three: one link via the CPU with embedded Ethernet port two links via the NOE modules (more are not allowed, even if the CPU configured has no Ethernet port) The following illustration shows a possible configuration:
31007131 04/2009
69
Multi-Module Communication
This example describes a rack with four modules: the CPU at rack module address [0.0] the NOE1 at rack module address [0.1] the NOE2 at rack module address [0.2] an I/O module or function module (in this example, we show a DDM 16025 discrete module at rack module address [0.3]). NOTE: To define the rack/slot combination [x.x]: first digit = rack number second digit = slot number
70
31007131 04/2009
Multi-Module Communication
Communication Overview and Definitions The following illustration presents the overall installation:
In this example, there are: two NOE modules that are connected to two different Ethernet networks a CPU that is connected to a third Ethernet network and to a modbus slave
31007131 04/2009
71
Multi-Module Communication
The following table defines the terms that are used to describe communication methods using multiple communication modules:
Term Channel Channel Server Definition Represents the communication channel itself, able to manage the dispatching of the messaging flow. A server dedicated to the management of the communication channel itself. For example, it provides statistical information on an Ethernet link. Unity Pro accesses this server to display information related to an NOE module, for example. This server answers all requests sent to the CPU, whatever the communication media used to access it.
CPU Server
Routing Table The following table describes the communication capabilities across the different modules:
Destination NOE1 Channel Server NOE1 Channel NOE2 Channel Server NOE2 Channel CPU Ethernet Channel CPU Modbus Master
Source NOE1 Channel NOE2 Channel CPU Ethernet CPU USB CPU Modbus Slave supported supported supported supported supported not supported not supported not supported supported supported supported supported supported supported supported not supported not supported not supported supported supported not supported not supported not supported supported supported supported supported supported supported not supported
72
31007131 04/2009
Multi-Module Communication
Example 1: NOE2 Channel to NOE1 Channel Server The following illustration describes the connection from an NOE2 channel (source) to an NOE1 channel server (destination). The same methodology can be implemented from an NOE1 channel to an NOE2 channel server:
31007131 04/2009
73
Multi-Module Communication
Example 2: CPU Modbus Slave to NOE Channel, NOE Server Channel, CPU Ethernet Channel This example describes the connection from a CPU Modbus slave to: an NOE1 channel server (1) an NOE2 channel (2) a CPU Ethernet channel (3)
74
31007131 04/2009
Multi-Module Communication
Example 3: CPU Ethernet to NOE Channel Server, CPU Modbus Master This example describes the connection from a CPU Ethernet to: an NOE1 channel server (1) a CPU Modbus Master (2)
31007131 04/2009
75
Multi-Module Communication
Example 4: Not Supported - NOE1 Channel to NOE2 Channel Not Supported This example illustrates a configuration that is not supported, with communication from an NOE1 channel to an NOE2 channel:
76
31007131 04/2009
About this Chapter This chapter briefly describes the services that are available for Modicon M340 modules that support Ethernet communications (BMX NOE 01x0 and BMX P34 20x0 CPUs). NOTE: Not all services are available for all modules at all times. Elsewhere in this guide is a list of the services that are available for each Ethernet communications module (see page 38). What's in this Chapter? This chapter contains the following sections:
Section 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 I/O Scanning Service Address Assignment through DHCP and BOOTP SNMP Global Data Faulty Device Replacement Bandwidth Monitoring TCP/IP Messaging Time Synchronization Service Electronic Mail Notification Service Topic Page 78 83 88 94 97 98 102 107 114
31007131 04/2009
77
7.1
About this Section This section presents some functions, characteristics, and configuration options for the I/O scanning service. What's in this Section? This section contains the following topics:
Topic I/O Scanning Service Read and Write Zones Page 79 82
78
31007131 04/2009
31007131 04/2009
79
I/O Scanner Operation This figure illustrates the scanning of remote inputs and outputs:
2 3
As soon as the PLC switches to Run mode, the module successfully opens a connection for each scanned device. (One connection is made for each line entered in the table of scanned devices.) Then the module periodically reads input words and reads/writes output words for each device. If the PLC switches to Stop mode, the connections to all devices are closed.
80
31007131 04/2009
Summary of Functionality The I/O scanning service: manages the connection with each remote device (one connection per remote device) scans the inputs/outputs of the device using Modbus read/write requests on the TCP/IP server mode updates the read and write zones in the application memory refreshes the status bits for each remote device Each I/O Scanner device can be enabled/disabled (see page 171). NOTE: These status bits show whether the module's input/output words have been refreshed.
31007131 04/2009
81
NOTE: The fields dedicated to remote devices must not have any overlap. Equally, the read and write zones must not have any overlap. NOTE: Not all devices can be write-scanned by multiple modules. Check the remote devices documentation to see if it can be accessed by the I/O Scanner.
82
31007131 04/2009
7.2
About this Section This section explains how the BMX NOE 01x0 modules or the Ethernet ports on the BMX P34 20x0 CPUs get their IP addresses through DHCP or BOOTP, network protocols that can dynamically assign IP addresses to network devices. What's in this Section? This section contains the following topics:
Topic Address Assignment Through DHCP/BOOTP Modicon M340 DHCP/BOOTP Example BMX NOE 01x0 as a DHCP Server Page 84 85 86
31007131 04/2009
83
Note: The display of this information from a browser connected on the HTML pages of the rack display on the web server is not constantly updated. Therefore, connect a Unity Pro application on the correct PLC to obtain the actual values.
In the absence of an address server or if there is no server response, the client module can not get a stable IP address. Therefore, its services are not available. The client continues to issue periodic BOOTP/DHCP requests until it receives a response from the server. NOTE: Setting the rotary switch position to Clear IP is one way to force the client module to use its default IP address to start basic services, including Modbus TCP messaging. These concepts are graphically represented in the IP address assignment process flowchart (see page 64).
84
31007131 04/2009
A1 A2 B1 B2
request from BMX NOE 0100 at device name 2 response from DHCP/BOOTP server request from BMX P34 2030 at MAC1 address response from DHCP/BOOTP server
The DHCP server in the above figure contains the following table:
MAC Address MAC1 Address device name 2 MAC3 Address device name 4 ... IP Address IP1 Address IP2 Address IP3 Address IP4 Address ...
31007131 04/2009
85
CAUTION
UNINTENDED EQUIPMENT OPERATION Do not configure the PLC to automatically start in RUN mode when a module acts as a server for starting scanned devices. Doing so risks that some devices (such as Momentum 170s) will not obtain IP addresses when the DHCP server restarts. Failure to follow these instructions can result in injury or equipment damage. The server responds to client requests and sends them their IP address configurations. To do this, the server device has a table, which groups: correspondence between the MAC addresses or the Names (device names) of the client stations and the IP addresses the Netmask and the Gateway the names and access paths to the parameter files NOTE: The server on the BMX NOE 01x0 supplies network configuration data only to client stations connected to the LAN. Talk to your system administrator about LAN connections on your network.
86
31007131 04/2009
You may experience a time delay for DHCP server responses if your DHCP server module is busy with other higher priority services (such as IO Scanning, Global Data, or Modbus Messaging): For general DHCP server use (such as IP address configuration), the maximum server performance is achieved through the use of a dedicated DHCP server. If you plan to use the Faulty Device Replacement (FDR) service, we recommend that you configure a lightly utilized Schneider Ethernet module with an FDR server for maximum performance. Example of DHCP Server This figure shows request routing during the response to a start-up request from the client:
NOTE: The subnetwork mask and the address of the gateway are provided by the DHCP server.
31007131 04/2009
87
7.3
SNMP
About this Section This section describes the Simple Network Management Protocol (SNMP). What's in this Section? This section contains the following topics:
Topic SNMP and Schneider Private MIB Overview SNMP Communication SNMP Operations Example Page 89 91 93
88
31007131 04/2009
31007131 04/2009
89
Transparent Ready products support two SNMP network management levels: Standard MIB II: This first level of network management can be accessed via this interface. It lets the manager identify the devices that create the architecture and retrieve general information on the configuration and operation of the Ethernet TCP/IP interface. MIB Transparent Ready interface: Schneider has obtained a private MIB, groupeschneider (3833) (see page 353). Under the Groupe Schneider private MIB is a Transparent Factory Ethernet (TFE) private MIB. The Transparent Factory SNMP embedded component controls the Schneider private MIB function. This MIB includes a set of data that enables the network management system to supervise all the Transparent Ready services. The Transparent Ready private MIB can be downloaded from the Web server on any Transparent Ready module in a PLC.
90
31007131 04/2009
SNMP Communication
Overview SNMP defines network management solutions in terms of network protocols and the exchange of supervised data. The SNMP structure relies on the following essential elements: Manager: The manager allows entire or partial network supervision. Agents: Each supervised device has one or more software modules named "Agent" that are used by the SNMP protocol. MIB: The Management Information Base is a database or collection of objects. The SNMP agent is implemented on the Modicon M340 modules and on the Ethernet port of the processors. This allows a manager to access MIB-II standardized objects from the Modicon M340 agent through the SNMP protocol. The MIB-II allows management of TCP/IP communication layers. On the modules that support Ethernet communications, it is possible to access objects from the MIB Transparent Factory, which provides specific information about Global Data, I/O Scanning, and Messaging. The following figure shows the tree structure of the TFE Ethernet MIB:
The source file of the TFE private MIB (see page 353) is available on modules and CPUs that support Ethernet communications. The MIB can be uploaded from the modules web page by selecting Upload MIB File (see page 272). This file may be compiled by the major SNMP managers on the market.
31007131 04/2009
91
The SNMP Protocol The SNMP protocol defines 5 types of messages between the agent and the manager. These messages are encapsulated in UDP datagrams. Messages from the manager to an agent: Get_Request: message used to obtain the value of one or more variables Get_Next_Request: obtains the value of the next variables Set_Request : sets the value of a variable Messages from an agent to the manager: Get_Response: allows the agent to re-send the value of the requested variable. Trap: allows asynchronous event signaling by the agent.
92
31007131 04/2009
1 2 3 4
SNMP manager SNMP agent (Modicon M340) Get_Response trap Set_Request, Get_Request, Get_Next_Request
The module's SNMP agent transmits events (traps) to the Manager. The managed traps systems are as follows: Coldstart Trap: On the BMX NOE 01x0 modules and on the Ethernet port of the BMX P34 20x0 CPUs, the event is transmitted following a module supply Reset, a processor Reset, or the downloading of an application to the PLC. 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 enabled during module configuration.
31007131 04/2009
93
7.4
Global Data
Introduction
Global Data
Global Data, which is supported by the BMX NOE 01x0 modules, provides an automatic data exchange for the coordination of PLC applications. NOTE: Global Data is not supported by the Ethernet port of BMX P34 20x0 CPUs. Global Data Key features of Global Data: Data exchanges are based on a standard producer/consumer protocol, giving optimal performance while maintaining a minimum network load. The Global Data service provides real-time exchanges between stations in the same distribution group, which share variables used for PLC coordination. Global Data can synchronize remote applications or share a common database among several distributed applications. A maximum of 64 stations can participate in Global Data within the same distribution group. Operation An application variable is a group of contiguous words from a PLC. Communication module stations can publish or subscribe to application variables: publish: Communication modules can publish one 1024-byte local application variable for other communication modules in the time-based distribution group. The publication period can be configured from 10 ms to 15000 ms (in 10 ms increments). subscribe: A communication module can subscribe to between 1 and 64 application variables that are published by other modules in their distribution group, regardless of their location. The validity for each variable is controlled by health status bits, linked to a refresh timeout configurable between 50 ms and 15 s (15000 ms). Access to a variable element is not possible. The maximum size of the subscribed variables is 4 Kbytes. Through Global Data configuration you can define: the number of valid published and subscribed variables the group with which these variables are associated for the communications module
94
31007131 04/2009
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.
A distribution group is a group of communication modules identified by the same multicast IP address. Multicast exchanges (see page 347) distribute Global Data. Several independent distribution groups can co-exist on the same subnetwork with different multicast addresses. Important points: A publish/subscribe protocol on UDP/IP is used for data distribution. The content of the publication variable is synchronized during the out section of the MAST task. The content of the subscribed variables are copied to the PLC application memory during the in section of the MAST task. The PLC memory zones that receive the various subscription variables should not overlap. Do not use these variables for any other purpose. Health Bits A health bit (status bit) is associated with each application variable. This bit indicates the validity of each subscription variable. It is 1 if the variable has been published and the subscriber has received it in the configured validity time. Otherwise, it is 0.
31007131 04/2009
95
Multicast Filtering Global Data uses multicast addressing. In accordance with the nature of broadcast messages, the multicast frames transmitted by a module are repeated on all switch ports, generating 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 GMRP protocol establishes the list of ports involved in data traffic. Operating Modes The operating modes are as follows: Stopping the PLC stops Global Data exchanges. 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 that share a distribution group. There is a limit on the number of variables (64) that can be exchanged within the distribution group. For more information, refer to the table describing the parameters for the BMX NOE 01x0 modules (see page 125) later in this user manual. NOTE: It is recommend to use fewer than 200 modules in any single distribution group.
96
31007131 04/2009
7.5
31007131 04/2009
97
7.6
Bandwidth Monitoring
About this Section This section describes the bandwidth monitoring function of the BMX NOE 01x0 communication modules and the Ethernet channel of the BMX P34 20x0 CPUs. Bandwidth monitoring tracks the module allocation for each of these services: messaging (see page 102) I/O scanning (see page 78) Global Data (see page 94) With the workload data that it retrieves, the bandwidth monitoring service reports: the available resources for the module the current working capacity of the module What's in this Section? This section contains the following topics:
Topic Bandwidth Monitoring Static and Dynamic Bandwidth Monitoring Page 99 100
98
31007131 04/2009
Bandwidth Monitoring
Introduction Transparent Ready offers two types of services: real time: High-performance and predictable behavior are expected from services such as: periodic services: I/O Scanner and Global Data non-periodic services: Messaging on port 502 (Modbus) other: for Web and network management After you configure the I/O Scanner, it is possible to estimate the load percentage of the module for this service. The Bandwidth Monitoring function carries out this estimate during configuration. The actual distribution of service loads is shown on the modules Unity Pro diagnostics screen and on the diagnostics services bandwidth monitoring Web page. Operation In order to estimate this load, Unity Pro asks you to supply two pieces of information during configuration: an estimate of the number of messaging transactions per second an estimate of the number of Global Data subscriptions received per second Using this information, the software is able to display the load percentage of the module for: I/O Scanner (see page 78) Global Data (see page 78) messaging services (see page 102) remaining services (see page 77) NOTE: During the configuration phase, these pieces of information are only estimates. The actual distribution is displayed in online mode.
31007131 04/2009
99
100
31007131 04/2009
Dynamic Bandwidth Monitoring For the BMX NOE 01x0 and BMX P34 20x0 CPUs, the Bandwidth Monitoring service allows dynamic monitoring by tracking the total number of: packets processed per second broadcast packets processed per second multicast packets processed per second unicast packets processed per second useless packets (dropped by software) processed per second As part of Ethernet Statistics, the service tracks the total number of dropped packets: total packets dropped by the hardware, due to buffer Elsewhere in this guide is an illustration of the bandwidth debugging window (see page 211). The Bandwidth Monitoring service tracks these counters to allow for dynamic monitoring:
Packets Total Broadcast Multicast Unicast Useless Dropped Message Type All packets All ARP, etc. All non-filtered multicast Modbus 502, FTP, HTTP, SNMP Software dropped Lost Dropped by hardware Includes non-subscribed Global Data Comment
31007131 04/2009
101
7.7
TCP/IP Messaging
About this Section This section describes the functions and characteristics of the TCP/IP profile. NOTE: Elsewhere in this guide is reference material for the detailed technical characteristics of TCP/IP communication (see page 329). What's in this Section? This section contains the following topics:
Topic Data Exchange Transparent Device Access Page 103 104
102
31007131 04/2009
Data Exchange
Exchanges Data exchanges take place in one of two modes: server mode: All Modbus-over-TCP requests from the PLC are supported by the Ethernet module. client mode: This type of exchange enables Modbus-over-TCP requests to be sent using the functions: READ_VAR (see page 334) WRITE_VAR (see page 334) DATA_EXCH (see the Communication Block Library (see Unity Pro, Communication, Block Library) for Unity Pro)
31007131 04/2009
103
104
31007131 04/2009
Legend: A1: Data is sent over USB source port on a BMX P34 2030 CPU in slot position 0 of a Modicon M340 station. A2: The program is downloaded to an Ethernet module (192.168.1.100) in a Premium rack. (For scenario A, the Unity Pro address syntax is SYS\\CPU Ethernet port rack.slot.channel{destination IP address}. Therefore, the address in the figure is SYS\\0.0.3{192.168.1.100}.) B1: Data is sent over Modbus source port on a BMX P34 2020 CPU (Modbus address: 2) at slot position 0 of a Modicon M340 station. B2: The program is downloaded via Ethernet to a Modbus end device (192.168.1.150). (For scenario B, the Unity Pro address syntax is CPU Modbus address\\CPU Ethernet port rack.slot.channel{destination IP address}. Therefore, the address in the figure is 2\\0.0.3{192.168.1.150}.) C1: Data is sent over the Ethernet source port on a BMX P34 0100 CPU in slot position 0 of a Modicon M340 station. C2: The BMX NOE 010 transmits over Ethernet to the Ethernet module (10.10.10.200) in a Quantum rack assembly in another network.
105
31007131 04/2009
(For scenario C, the Unity Pro address syntax is source IP address\\source port rack.slot.channel{destination IP address}. Therefore, the address in the figure is 192.168.1.3\\0.3.0{10.10.10.200}.)
106
31007131 04/2009
7.8
About this Section This section describes the time synchronization service, which establishes an accurate local clock by referencing a network time protocol (NTP) server via the network transfer protocol (NTP). What's in this Section? This section contains the following topics:
Topic Introducing the Time Synchronization Service Using the Time Synchronization Service Using the R_NTPC Block for Time Synchronization Page 108 111 112
31007131 04/2009
107
108
31007131 04/2009
Time Synchronization and Time Stamps The BMX NOE 01x0 Ethernet communications modules send a source timesynchronization signal to a CPU. The NOEs firmware includes an NTP client, which provides time synchronization. The synchronization process occurs as follows:
The NTP Client ... 1 Result
... requests a time synchronization signal The NTP server sends a signal. from the NTP server over an Ethernet network. ... stores the time. ... sends a message to the clock system counter in the CPU. The CPU updates its internal clock. The CPUs clock is now typically within 5 ms of the NTP server, with a worst case of 10 ms. Before the next time synchronization signal, the CPUs clock is updated each ms by an internal timer.
2 3
Use the R_NTPC function block (see page 112) in either MAST, FAST, or Interrupt sections to read the clock from the PLC application. All the CPUs on an Ethernet network should be synchronized with the same NTP server.
31007131 04/2009
109
time accuracy
time zone
110
31007131 04/2009
Clock characteristics: Clock accuracy is not affected by issuing stop/run commands on the PLC Clock updates are not affected by issuing stop/run commands on the PLC 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 reestablished.
31007131 04/2009
111
R_NTPC block has a 16-bit status word. R_NTPC Parameter Description Description of parameters:
Parameter Display_NT PC (OUT1) Data Type DT + INT Description NTP clock value displayed in: year, month, day, hours, minutes, and seconds using the DT format milliseconds as an INT NTP clock value displayed in: seconds as an UDINT fractions of a second as an INT
112
31007131 04/2009
Parameter Status
Description Low Byte 0 1 0 High Byte 0 0 1 Description un-initialized state illegal The CPU is out of synchronization with the NTP server, but the clock has been updated at least once by an external server. normal operation
The low byte is managed by the controller Set = 0 The clock value is NOT available. The date/time is NOT updated within last two minutes. Set = 1 The date/time is updated within the last two minutes. The date/time is acceptable. The high byte is managed by the NOE. Set = 0 The NTP server clock value is not available. Set = 1 The updated date/time is received from server and sent to the module (at least once). within two-minute time interval acceptable (10 ms or less error) For a valid time in the CPU, the low and high bytes of the STATUS parameter must be set to 1.
31007131 04/2009
113
7.9
About this Section This section describes the electronic mail notification service, which uses SMTP to send e-mail messages. What's in this Section? This section contains the following topics:
Topic Introducing the Electronic Mail Notification Service Using the Electronic Mail Notification Service Using the SEND_EMAIL Block for Electronic Mail Notification Electronic Mail Notification Service Error Codes Page 115 116 117 120
114
31007131 04/2009
Mail System Types SMTP provides two mechanisms for the transmission of email messagesdirect connection and a relay system:
Mechanism Direct connection Relay system Condition Sender and receiver are connected to the same transport service. Sender and receiver are connected to different transport services. Result Email messages are sent to host.
Email messages are relayed from one server to another. The SMTP server must be supplied with the address of both the destination host and the destination mailbox.
Operating Modes and Sending Requests Because the application program sends the email request, a controller cannot send an email message either while in the stopped mode or while downloading a project. As soon as the controller is in run mode, the function block sends a request during the first project scan. Diagnostic counters are reset to 0 after either a power-up, a project download, or a reconfiguration of the electronic mail notification service.
31007131 04/2009
115
116
31007131 04/2009
ARRAY [0...7] OF INT Use the ADDM function block to build this field. Note that this email service is limited to the embedded Ethernet port on the CPU. If the application sends an email to an NOE module, you will get a destination address incorrect (see page 119) error code. INT STRING STRING Corresponds to the emails addresses handled with Unity Pro software (only 1, 2, and 3 are accepted). Represents the dynamic part of the email subject that is appended to the static subject string. Represents the body of the email.
31007131 04/2009
117
ARRAY [0...3] OF INT Exchange management table consisting of four words (activity, report, timeout, length) used to control parameters of the execution. The length parameter (4th word of the management table) is an output parameter. This word is written by the system with the total length of the email (dynamic subject + body). The maximum size of the dynamic subject + body is 1 024 characters. If the size of the dynamic subject + body exceeds 1 024 characters, an incorrect send length (see page 119) error code is generated.
SEND_EMAIL Rules After the launch of a SEND_EMAIL function block, the activity bit is set until the email is sent. There is no confirmation that the email has arrived to the destination address. If a timeout is programmed (third management word <> 0), the email is cancelled if it has not been sent within this time. In this case, the second management word receives an exchange stop on timeout (0x01) (see page 119) error code. You may send four simultaneous emails, using four function blocks. A fifth function block trying to send an email will receive a no processor system resources (0x0B) (see page 119) error code until one of the resources is free. SEND_EMAIL Example
118
31007131 04/2009
NOTE: The SEND_EMAIL EF local error codes provide more information than the Ethernet channel diagnostic information (in the Unity Debug screen). For example, when the message body is greater than allowed, the email is truncated and sent. Whereas, with the Ethernet diagnostic, there is no error, while the EF displays the code 16#0E.
31007131 04/2009
119
120
31007131 04/2009
III
About this Part This part describes physical characteristics and technical specifications for the Modicon M340 modules that support Ethernet communications: BMX NOE 0100 module BMX NOE 0110 module BMX P34 2020 CPU BMX P34 2030 CPU NOTE: Elsewhere in this book is a guide for selecting the appropriate hardware for your system and application requirements (see page 35). For Modicon M340 system installation and specifications, see the book Modicon M340 using Unity Pro: Processors, Racks and Power Supply Modules. What's in this Part? This part contains the following chapters:
Chapter 8 9 Chapter Name The BMX NOE 01x0 Communication Module The BMX P34 2020 and BMX P34 2030 CPUs Page 123 129
31007131 04/2009
121
122
31007131 04/2009
About this Chapter The BMX NOE 01x0 is the network option module for communications on Ethernet systems with Modicon M340 range I/O rack-based modular platforms. What's in this Chapter? This chapter contains the following topics:
Topic BMX NOE 01x0 Ethernet Services BMX NOE 01x0 Electrical Characteristics Modicon M340H (Hardened) Equipment Page 124 127 128
31007131 04/2009
123
124
31007131 04/2009
Value Range for Option Module 0 ... 60,000 msec contiguous %IW, %MW 1 bit for each variable in the IODDT
DHCP
CAUTION
UNINTENDED EQUIPMENT OPERATION Do not use a write-protected memory card with the module. The DHCP server service writes to the card during operations, so a write-protected card prevents the service from starting. Failure to follow these instructions can result in injury or equipment damage. DHCP (dynamic host configuration protocol) is a TCP/IP protocol that allows a server to assign an IP address with a device name that corresponds to a network node. The DHCP server supplies other parameters to clients on the network. SNMP SNMP (simple network management protocol) is a UDP/IP standard protocol used to monitor and manage nodes on an IP network. The SNMP agent supports both the MIB II and the Transparent Ready Private MIB (see page 353). Global Data Global data provides the automatic exchange of data variables for the coordination of PLC applications. The BMX NOE 01x0 modules support Global Data. The table describes the parameters for the BMX NOE 01x0 modules in the Transparent Ready service:
Parameter Value Range for Option Module
Number of variables in the distribution 0 ... 64 variables group Number of publications per device Size of published variables Publication rate Number of subscriptions per device Size of subscribed variables 0 ... 1 variable Up to 512 words each, total size of 512 words per module 10 ms ... 15000 ms (in 10 ms increments) 0 ... 64 variables Up to 512 words each, mapped to several noncontiguous application areas, total size of 2048 words 125
31007131 04/2009
Value Range for Option Module non-contiguous %IW, %MW and unlocated 1 bit for each variable in the IODDT
Every Ethernet port can manage only one distribution group, identified with an IP multicast address. The range of IP multicast addresses for global data is between 224.0.0.0 and 239.255.255.255. Faulty Device Management The FDR (faulty device replacement) service on the BMX NOE 01x0 offers a method of handling device replacement without disrupting the system nor interrupting service. The FDR server parameter files are stored on a memory card (see page 46). The FDR server uses the device path to initialize the rest of the FDR system on bootup, as shown in the table below.
Parameters Number of I/O devices memory size (max) BMX NOE 01x0 64 256K bytes
NOTE: Memory card considerations: The FDR server does not run on a write-protected memory card. FDR server operations require 256 Kbytes of available space on the memory card. Bandwidth Monitoring The bandwidth monitoring service indicates how a communication module's CPU is shared between services (such as gobal data, I/O scanner, messaging, etc.). NTP The NOEs firmware includes an NTP client, which provides time synchronization. The time synchronization service establishes accuracy among computer clocks on an Ethernet system. For example, the time of one client may be synchronized either with another server, a referenced time source such as a radio or satellite receiver, or a GPS time server. Use the time synchronization service for: event recording (for example, tracking a sequence of events) event synchronization (for example, triggering simultaneous events) alarm and I/O synchronization (for example, time stamping alarms)
126
31007131 04/2009
NOTE: At the temperature extremes (-25... 0C and 60... 70C) (-13...32F) and (140...158F), the BMX NOM 01x0H operating characteristics are the same as the BMX NOM 01x0 characteristics within its (060C)(32...140F) temperature range.
31007131 04/2009
127
CAUTION
UNINTENDED EQUIPMENT OPERATION Do not operate M340H equipment outside of its temperature range. Failure to follow these instructions can result in injury or equipment damage. Hardened equipment has a conformal coating applied to its electronic boards. This protection, when associated with appropriate installation and maintenance, allows it to be more robust when operating in harsh chemical environments.
128
31007131 04/2009
About this Chapter This chapter describes the physical characteristics of the embedded Ethernet ports on the BMX P34 2020 and BMX P34 2030 CPUs. What's in this Chapter? This chapter contains the following topics:
Topic BMX P34 20x0 Ethernet Services BMX P34 20x0x Electrical Characteristics Page 130 132
31007131 04/2009
129
130
31007131 04/2009
Bandwidth Monitoring The Bandwidth Monitoring service (see page 98) indicates how a communication module's CPU is shared between services (such as global data, I/O scanner, messaging, etc.). SMTP The BMX P34 20x0 processors include an SMTP client, which is an electronic mail notification service that allows controller-based projects to report alarms or events. The controller monitors the system and dynamically creates an electronic mail message to alert local or remote users. The PLC sends the mail message to a mail server on the network for distribution.
31007131 04/2009
131
These values do not include the consumption of devices connected on the communication ports 5V supply.
132
31007131 04/2009
IV
About this Part This part describes the Unity Pro configuration of the BMX NOE 01x0 communication modules and BMX P34 20x0 CPUs. What's in this Part? This part contains the following chapters:
Chapter 10 11 12 13 14 Chapter Name Software Configuration Parameters Configuring an Ethernet Network Debugging with Unity Pro Ethernet Language Objects M340 Ethernet Communications Quick Start Page 135 197 205 215 237
31007131 04/2009
133
134
31007131 04/2009
10
About this Chapter This chapter introduces the configuration parameters for the different facilities used by the BMX NOE 01x0 modules and the BMX P34 20x0 CPUs. What's in this Chapter? This chapter contains the following sections:
Section 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10.10 The Configuration Screen IP Configuration Parameters Messaging Configuration Parameters I/O Scanner Configuration Parameters Global Data Configuration Parameters SNMP Configuration Parameters Address Server Configuration Parameters Bandwidth Checking Electronic Mail Notification Service Configuration Parameters Time Synchronization Service Configuration Parameters Topic Page 136 138 143 147 173 179 184 186 188 191
31007131 04/2009
135
10.1
136
31007131 04/2009
The configuration screen is divided into several zones: Model Family: Select the model family for configuration. Module Address: When the selected network is associated with a module, the rack, module, and channel appears in this zone. Module Utilities: Select the utilities used by the module. Module IP Address: This field displays the modules IP address. service tabs: To configure a particular service, select the appropriate tab. NOTE: The SMTP utility is only available on the CPU modules, and the NTP utility is only available on the NOE modules. NOTE: Instructions on configuring an Ethernet network (see page 244) from the communication module in the project browser are found in a later chapter.
31007131 04/2009
137
10.2
IP Configuration Parameters
About this Section This section introduces the configuration parameters on the IP Configuration tab. What's in this Section? This section contains the following topics:
Topic The IP Configuration Tab Configuration Parameters for IP Addresses Ethernet Frame Format Page 139 141 142
138
31007131 04/2009
The following figure shows the IP Configuration tab: NOE configuration screen:
31007131 04/2009
139
The IP configuration parameter zones are discussed in detail elsewhere in this guide: IP Address configuration (see page 141) Ethernet configuration (see page 142)
140
31007131 04/2009
31007131 04/2009
141
142
31007131 04/2009
10.3
About this Section The section discusses the configuration of IP messaging parameters. What's in this Section? This section contains the following topics:
Topic The Messaging Configuration Tab Messaging Configuration Parameters Page 144 146
31007131 04/2009
143
144
31007131 04/2009
The messaging configuration parameters are discussed in detail on the following pages.
31007131 04/2009
145
146
31007131 04/2009
10.4
About this Section This section introduces the configuration parameters linked to the I/O Scanner. An I/O Scanner in the BMX NOE 01x0 communication modules transfer data between network devices and allows a CPU to regularly read data from and write data to scanned devices. The I/O Scanner is configured with Unity Pro. What's in this Section? This section contains the following topics:
Topic The I/O Scanning Tab I/O Scanning Contextual Menu for Copy/Cut/Paste I/O Scanning with Multiple Lines Introduction to Configuring Advantys from Unity Pro Property Box Saving an Advantys Configuration in an Unity Pro Application Managed Variables I/O Scanner Concepts Scanning Period Configuration of Parameters Linked to the I/O Scanner Utility Configuration of General Parameters for the I/O Scanner I/O Scanner: Health Block Bits I/O Scanner: Device Control Block Page 148 152 154 156 159 162 163 165 166 167 168 169 171
31007131 04/2009
147
Select the I/O Scanning tab to open the I/O scanning configuration screen:
148
31007131 04/2009
Step 6 7
Action Enter the parameter settings under each of the column headings for one line of the I/O Scanner Configuration. Refer to I/O Scanning Parameters (below) to see the settings used for this example. Click the validate check box in the upper tool bar to confirm the I/O scanning parameter settings.
A pair of data boxes The values in these boxes define the range of destination address From and to values in the CPU for the data read from each device. The addresses you enter here are displayed in the RD Master Object column of the dialog. In the example above, the Read Ref. values range from 0 to 599; notice that these values are displayed as %MW0, %MW599, etc. in the Master Object column. A pair of data boxes The values in these boxes define the range of source address From and to values in the CPU. The address you enter here is displayed in the WR Master Object column. In the example above, values starting at %MW2000 are shown in the WR Master Object column.
Write Ref.
149
I/O Scanner Table Parameters The I/O Scanner table configuration parameters are:
Parameter Entry # Description This is the first column; it has no name. Valid range: 1 ... 64 Each entry represents an I/O Scanning exchange on the network. This is the IP address of the scanned Ethernet slave device. 192.168.1.100 Example
To configure a device (Advantys island), click the ... button to MySTB1 open the Property box (see page 159) to start the device configuration software. For an introduction to this procedure for Advantys, go here (see page 156). NOTE: While the Property box is open, I/O scanning cannot be edited. This field associates the slave address of the device connected to an Ethernet/Modbus gateway with the IP address of that gateway: Value range: 1 to 255 Default value: 255 When using a bridge, enter the bridge index (1 to 255) in this field. 255
Unit ID
Slave Syntax
Use this drop-down menu to pick the way RD Ref Slave and WR Ref Slave values are displayed. The 4 choices are (with an example): Index: 100 Modbus: 400101 IEC 0: %MW100 IEC 1: %MW101
Health Timeout This field sets the maximum interval between the responses (ms) from a remote device. After this time period expires, the received data is invalid. The health timeout should be longer than the repetitive rate. For a NOE Ethernet module, it also should be longer than the CPU scan time. Range: 1ms to 50 seconds Interval: 1ms Repetitive rate (ms) The rate at which data will be scanned, from 0...60000 in multiples of the Repetitive Rate Step.
1500ms
60ms
150
31007131 04/2009
Description Destination address in the master PLC where, from each device, newly read information is stored. This parameter cannot be accessed. It is calculated automatically as the sum of: The From address (beginning) of Read ref. (in the zone above the table) The RD length value (in the table below) Source address index in the slave/remote device
Example %mw10
RD Slave Ref.**
The format of this value depends on the Slave Syntax: Index: 5 Modbus: 400006 IEC 0: %MW5 IEC 1: %MW6 10 Hold last
Number of words to read This field configures the behavior of inputs in the event of an access error in relation to the remote device (for example: inoperative network or device power supply, etc.): Set to 0: fall back to 0 Hold last: maintain last value
WR Master Object*
Source address of the master PLC whose data is being written %mw20 into the slave/remote device. This parameter cannot be accessed. It id calculated automatically as the sum of: The From address (beginning) of Write ref. (in the zone above the table) The WR length value (in the table below) Write operations are always performed at the word level.
WR Slave Ref.**
The address of the first word written into the slave/remote device.
The format of this value depends on the Slave Syntax: Index: 1 Modbus: 400002 IEC 0: %MW1 IEC 1: %MW2 10
WR length Description
*Master refers to the client PLC that makes the request. **Slave refers to the server from which data is read or to which data is written.
NOTE: Refer to information about the I/O Scanning table Contextual Menu for Copy/Cut/Paste (see page 152) NOTE: Refer to information about the I/O Scanning with Multiple Lines (see page 154).
31007131 04/2009
151
152
31007131 04/2009
Description Insert empty line inserts an empty line above the line selected line. Inserting an empty line does not desynchronize the devices below the line, but using this line for a new device can desynchronize the devices below the line. Pack all lines removes any empty lines between the top of the I/O Scanning table and the last non-empty of the table.
31007131 04/2009
153
Multiple Line Length Configuration Example In this example, the first (the main) I/O Scanning line 2 contains all the information for the exchanges with the device including the totals for the RD length and WR length. The second line 2 contains the specific word lengths (125 and 100) needed so that it can also be used for part of the exchanges. Line 2 needs a RD length of 300 word and a WR length of 110 words. How many extra lines are needed: RD length = 300/125 = 2.72 = 3 lines needed. WR length = 110/110 = 1.10 = 2 lines needed. The larger of the 2 numbers is used: Three lines are needed to accommodate the RD length: 125 words, 125 words, 50 words for a total of 300 words. The 3 lines for the WR length are: 100 words, 10 words, 0 words for a total of 110 words. The second line 2, line 3 and line 4 correspond to the Modbus exchange queries. When multiple lines are used only the RD length and WR length columns of these new lines can be edited. In the case of ACS, it supplies the RD length and WR length and they cannot be changed in the I/O Scanning table. NOTE: It is not necessary to have a Device Name defined to use multiple lines.
154
31007131 04/2009
The total number of words allowed in a I/O Scanning table is: 4 kW for Premium extended and Quantum networks 2 KW for Premium ETY and M340 NOE modules Line Length for Multiple Word Variables When using variables with 2 or more words, the RD and WR lengths must be adjusted so that a variable is not partly on one I/O Scanning line and partly on the next. Because the 2 newly created lines result in two independent Modbus exchanges that can be sent unsynchronised to the device. The variables can receive the wrong values (if the two parts are received at different times). It may be necessary to use a RD length < 125 and a WR length < 100 for some of the scanned lines, in order to get each variable on only one exchange line.
WARNING
UNEXPECTED SYSTEM BEHAVIOR Verify that multiple word variables are completely on the same I/O Scanning line to avoid sending parts of a variable data in two unsynchronized I/O Scanning Modbus exchanges. Failure to follow these instructions can result in death, serious injury, or equipment damage.
31007131 04/2009
155
WARNING
UNEXPECTED SYSTEM BEHAVIOR Always launch ACS from Unity Pro in order to synchronize variables and data between Unity Pro and ACS. Failure to follow these instructions can result in death, serious injury, or equipment damage. The following procedure configures an Advantys STB or OTB island:
Step 1 2 3 4 5 Action Open the Ethernet module configuration screen. In the Module Utilities zone select YES for IO Scanning. Select the I/O Scanning tab. Enter, on a free line, the IP address for the connection you want to use to communicate with the Advantys island. Enter RD length and WR length on the same line. The lengths must be long enough for the expected Advantys configuration. Validate the I/O Scanning screen. Click on the ... button (that is next to Device Name cell on the The Advantys Property box same line). (see page 159) opens. Select STB or OTB in the Device Type drop-down menu. Enter a Device Name (following the naming rules (see page 161)). I/O Scanning screen opens. Results
6 7 8 9
156
31007131 04/2009
Step 10
Action
Results
Results for both 1. and 2. are: You have 2 choices: A Unity Pro Message Box opens: The 1. If you want to go to ACS now to configure an island, click device name and device type wont be on the Launch Advantys Configuration Software modifiable. Do you want to confirm the button. device name and device type? Click on Yes in the Confirm device name and type The Device Type and Device Name Message Box and go to Step 11. are verified and saved. The Property box closes. 2. If you want to configure the Advantys island later, click on the OK button. Click on Yes in the Confirm device name and type Message Box. To open the ACS later: Carry out Step 7. Click on the Launch Advantys Configuration Software button. Go to Step 11. After ACS opens, configure your Advantys island. NOTE: While the ACS is open Ethernet screen is locked and cannot be edited, but the other Unity Pro services can be edited. When your Advantys island has been built and validated, close ACS. A Unity Pro Message Box opens Do you want to update your symbols now?
11
12 13
You have 2 choices: 1. Click on Yes in the update Message Box and go to Step 14. If you clicked on No: You are returned to I/O Scanning 2. Click on No in the update Message Box. without carrying out the results in Step You are returned to the I/O Scanning screen without 14. carrying out the Yes results. The Device Name is displayed in the Later, when you want to update the Advantys symbols I/O Scanning in red. This indicates into Unity Pro: that the island configuration has not Carry out Step 7 been synchronized with Unity Pro. In the Property box, click on the Update button and go to Step 14. Your Advantys island configuration is being synchronized with Unity Pro. After the synchronization is finished, you are returned to I/O Scanning. Verify that the Device Name is now displayed in black. The results are: The Advantys island modifications are synchronized with the Unity Pro application. The Advantys island symbols are imported into the Unity Pro Data Editor. The Advantys Device Name is displayed in the I/O Scanning in black. This indicates that the island configuration is synchronized.
14
15
31007131 04/2009
Step 16 17
Action STOP the PLC. Transfer: Unity Pro application to the PLC STB or OTB configuration to the Advantys island using ACS RUN your application in the PLC.
Results
18
WARNING
UNEXPECTED SYSTEM BEHAVIOR Stop the PLC before transferring an ACS configuration and/or I/O Scanning modifications. Failure to follow these instructions can result in death, serious injury, or equipment damage. Copy an Existing Island This following procedure copies an existing Advantys island file (*.isl) into a new Advantys island configuration:
Step 1 2 3 4 5 Action From Unity Pro, open a new Advantys island in ACS. In ACS, select File menu => Copy Island Contents In the Open island window, select the island file (*.isl) to copy. Click on Yes in the Do you want to proceed? message box. The message Island file has been saved. in the Log Window verifies that the operation was successful.
Copy an Island File to a New Location The following procedure copies an Advantys island file (*.isl) to a new directory:
Step 1 2 3 4 Action In ACS, open an island configuration, for example, STB1. Select File menu => Copy STB1 Contents In the Copy STB1.isl to window, select the target directory. The message A copy of the island file has been saved with another name. includes in the Log Window verifies that the operation was successful. The name is new because its path has changed.
158
31007131 04/2009
Property Box
At Glance The Property box is the link between Unity Pro and a device configuration tool. It is used to select and name a device and to launch the configuration tool for the device. Property Box for Advantys This Property box allows you to choose the name and type of Advantys island to be configured using the Advantys Configuration Software (ACS). The following illustration is the Property box for Advantys before Device Type and Device Name validation:
Property Device Type ... ... STB OTB Device Name MySTB1
OK
Launch No Tool
Update
Close
31007131 04/2009
159
The following illustration is the Property box for Advantys after Device Type and Device Name validation:
OK
Update
Close
Property Box for Advantys Elements The elements of the Property box are:
Element Device Type Description Selection of a device is made from this drop-down list. After the first validation (using the OK or Launch Advantys button) the Device Type cannot be changed. The Device Name is used as a prefix to all variables created for an Advantys island in ACS. This allows unique variables for duplicated islands. After validation (using the OK or Launch Advantys button) the Device Name cannot be changed. These are the minimum number of words necessary for communication between Unity Pro and the device configuration tool. These values cannot be changed via the Property box. NOTE: Increasing the RD/WR lengths via the I/O Scanning tab ensures enough data exchange words for the future expansion of your Advantys island. Expanding an island that does not use the last line in the I/O Scanning table would require changing the values for all the lines below the line that needs the additional exchange words.
Device Name
160
31007131 04/2009
Element OK
Description This button is only available after entering the Device Type and Device Name. When clicked, the Device Type and Device Name are checked to see if they are valid. If there is a problem, a message box opens explaining the why they were not validated. OK is only available during the first use of the Property box for a new island.
Launch Advantys This button is only available if both: The Device Type and Device Name have been entered Configuration ACS is installed Software This button does two things: It carries out the action of the OK button If there is no problem during validation, it launches ACS Update When clicked, the ACS modifications are synchronized with your Unity Pro application (after these modifications have been validated in ACS). It also imports and updates all ACS symbols and variables into the Unity Pro variable manager. This button closes the Property box without saving anything.
Close
Valid Device Name A valid Device Name: Does not already exist in the application Is not a empty name Starts with a letter Has a maximum of 8 characters Only ASCII characters, not Unicode characters Has no spaces Follows the Windows file naming conventions: no slashes, question marks, etc. Follows Unity Pro variable naming conventions
31007131 04/2009
161
162
31007131 04/2009
Managed Variables
At a Glance Variables of devices that are linked to Unity Pro through I/O Scanning are managed variables They are created by the device configuration tool and are imported into Unity Pro. They are named as a concatenation of the Property box (see page 159) Device Name + device symbol name. Managed Variables in the Data Editor Advantys symbols become managed variables when imported into Unity Pro. An Advantys managed variable name is a concatenation of: the Advantys island name + Advantys symbol name. This Data Editor illustration shows Advantys managed variables with their device name prefixes and their Owner attributes:
Managed variables follow the usual rules for Unity Pro and ACS naming. The optional Owner column lists the owner attribute of the Advantys variables. This allows you to filter the variables according to their Device Name. The Unity Pro managed variables are locked and cannot be modified, except for deletion through the Data Editor. You have to use the device configuration tool (ACS) to modify these variables.
31007131 04/2009
163
Importing Managed Variables for an Advantys Island Using the Update button on the Property box (see page 159) imports Advantys Symbols into the Data Editor as Unity Pro managed variables. In the case of a conflict between an Advantys Symbol and an existing variable: If the Unity Pro variable is not managed, a message box allows you to replace this variable with the managed variable coming from ACS. If the Unity Pro variable is already managed, the update is cancelled. You have 2 options: You can re-launch ACS to rename the variable. You can delete the managed variable using the Data Editor, then use the Update button again without a conflict. Permanent Deletion of a Managed Variable Removing a managed variable from a configuration must be done in the device configuration software (ACS) not in the Data Editor. A managed variable deleted in the Data Editor reappears after the next synchronization with the device configuration software (ACS). This is because all managed variables are deleted and recreated during synchronization between Unity Pro and the device configuration software (ACS).
164
31007131 04/2009
31007131 04/2009
165
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. 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 memory. NOTE: If you configure a scanning period of 0, the request is sent immediately after the response to the previous request is received. NOTE: The entry in the Repetitive rate step field should be a multiple of 10. Any other number will not work correctly.
166
31007131 04/2009
31007131 04/2009
167
168
31007131 04/2009
31007131 04/2009
169
The bits in the health block (mapped to %IW topological objects) correspond to the different data types:
Table Entry 1 2 3 ... 17 18 19 ... 33 34 35 ... 49 50 51 ... 64 %IWr.m.c.4.15 %IWr.m.c.4.0 %IWr.m.c.4.1 %IWr.m.c.4.2 %IWr.m.c.3.0 %IWr.m.c.3.1 %IWr.m.c.3.2 %IWr.m.c.2.0 %IWr.m.c.2.1 %IWr.m.c.2.2 Health Bits %IWr.m.c.1.0 %IWr.m.c.1.1 %IWr.m.c.1.2 Comment r: rack number m: slot number located by the module c: module channel number (always 0 for BMX NOE 01x0) Example: If a BMX NOE 01x0 module is configured in rack 0, slot 3, then the health bit for table entry 2 is stored in $IW0.3.0.1.1.
170
31007131 04/2009
NOTE: A value of 1 in the device control block bit disables the I/O Scanner table entry. A value of 0 in the device control block bit enables the entry. Each entry corresponds to a particular logical device in the IO Scanning configuration table.
31007131 04/2009
171
Each I/O Scanner table entry can be disabled by setting the corresponding device control bit to 1. The following table shows the mapping between the I/O Scanner table entries and the device control bits stored in %QW topological objects:
Table Entry 1 2 3 ... 17 18 19 ... 33 34 35 ... 49 50 51 ... 64 %QWr.m.c.3.15 %QWr.m.c.3.0 %QWr.m.c.3.1 %QWr.m.c.3.2 %QWr.m.c.2.0 %QWr.m.c.2.1 %QWr.m.c.2.2 %QWr.m.c.1.0 %QWr.m.c.1.1 %QWr.m.c.1.2 The device control block bits are mapped to I/O Scanner entries (%QWrack.slot.channel.word(0-3). Example: Table entry 2 can be disabled by setting %QWr.m.0.0.1 to 1. (%QWr.m.0.0.1 is associated with DISABLE_IO_2 in the predefined IODDT type T_COM_ETH_BMX for the BMX NOE 01x0 modules.) Device Control Bits %QWr.m.c.0.0 %QWr.m.c.0.1 %QWr.m.c.0.2 Comment r: rack number m: slot number located by the module c: module channel number (always 0 for the BMX NOE 01x0)
NOTE: M340 devices use topological addresses to represent device control block bits. Premium and Quantum PLCs have data structures that differ from this.
172
31007131 04/2009
10.5
About this Section This section introduces the configuration parameters linked to Global Data. What's in this Section? This section contains the following topics:
Topic The Global Data Configuration Tab Configuration of Global Data Variables Configuration of General Parameters for Global Data Configuration of Parameters Linked to Global Data Page 174 175 177 178
31007131 04/2009
173
4 5
In accordance with your system and application needs, elect and assign the global data configuration parameters (see page 177). Configure the global data variables (see page 175).
174
31007131 04/2009
To make the Global data column visible, right-click in the first row on the Data Editor screen, and scroll down to Customize Columns. The Customize Columns window appears (see figure at right). Select the Global Data check box, and press OK.
31007131 04/2009
175
Step 3
In the Global data column, there are three Definition of variable types: NO: neither published nor subscribed choices for variable configuration: NO, PUB, PUB: published and SUB. SUB: subscribed Give the Global Data group a name in the Group field. Fill in the DataID field: identifier of a remote stations in a distribution group.
5 6
NOTE: IODDT data structures for M340 devices are different from the data structures for Premium and Quantum PLCs.
176
31007131 04/2009
Group address
Distribution period
Group name
Multicast filtering
31007131 04/2009
177
Note: The combined total number of variables is 64. Therefore, when 1 publication variable is configured only 63 subscription variables are available.
178
31007131 04/2009
10.6
About this Section This section introduces the configuration parameters linked to SNMP. What's in this Section? This section contains the following topics:
Topic Configuring SNMP as an Agent SNMP Configuration Parameters Page 180 182
31007131 04/2009
179
180
31007131 04/2009
Configuring SNMP The following procedure gives the configuration principle for SNMP:
Step 1 Action Enter the IP Address Managers addresses: IP address manager 1 IP address manager 2 Fill in the Agent fields: Location (SysLocation) Contact (SysLocation) Or alternatively check the SNMP manager box to indicate that the information will be completed by the SNMP manager. 3 If you want to set access rights, fill in the Community names: Set Get Trap
Note: Elsewhere in this guide are discussions of: SNMP configuration parameters (see page 182) SNMP message types (see page 92)
31007131 04/2009
181
Security
CAUTION
Modifications to the SNMP parameters The SNMP manager is able to modify the value of certain configurable parameters (Enabling "Authentication failure," Location, Contact. etc.) If the SNMP Manager box is not checked and there is a cold start, warm restart, or application download, the initially configured values are restored. Failure to follow these instructions can result in injury or equipment damage. This zone contains the Enable "Authentication Failure" trap check box. Checking this box allows you to validate the transmission of an authentication failure event (TRAP) from the SNMP agent to the configured manager. In this way, the agent warns the manager that the request has been refused following an identification error (community name configured in the manager is different from the one configured in the agent).
31007131 04/2009
183
10.7
Address Server
Introduction
The BMX NOE 01x0 modules use the Address Server tab to configure the correspondence table between the MAC addresses or the Name (device name) and the IP addresses of the module if the latter is configured as a DHCP/BOOTP server. Address management is performed in a dedicated IP address server. To avoid the task of managing each devices IP address individually, BOOTP/DHCP automatically provides devices with IP parameters. The address server employs DHCP (an extension of BOOTP), to automatically assign IP configuration parameters to devices. This function is useful when replacing a failed remote device (for example, a faulty Momentum module). Address Server Tab The following procedure describes access the Address Server page from the index page:
Step 1 2 Action Access the module configuration screen (see page 136). In the Module Utilities field, select Yes in the Address Server menu.
184
31007131 04/2009
Address Server Configuration The Address Server tab has only one zone, the Client/Server address table. This table: lists by MAC address or name (16 ASCII characters) the remote stations that need the DHCP server to start up provides a correspondence between the MAC address or name and the IP address of the remote station, subnetwork mask, and gateway To configure the address server, fill in the fields of the table for each device that requires the module as DHCP server: MAC Address or Name IP Address Netmask
31007131 04/2009
185
10.8
Bandwidth Checking
Access the module configuration screen (see page 136). Select the Bandwidth tab. Select the appropriate Ethernet Environment zone for the BMX P34 20x0 CPUs. Enter the estimate for the Global Data information zone. See the illustration below. These parameters are not available (or visible) for the BMX NOE 01x0 modules. This is an estimate of the number of publication periods. The value entered must be the estimated average publication frequency of the distribution (local and remote) group stations. This is an estimate of the number of transactions per second.
6 7
If the module overflows, the message "The maximum number of messages for the Extended Ethernet network must not exceed 2000 messages" appears.
186
31007131 04/2009
NOTE: An explanation of Isolated, Mastered, and Open (see page 100) are discussed earlier in this manual.
31007131 04/2009
187
10.9
The figure shows the SMTP dialog box for BMX P34 20x0 processors:
188
31007131 04/2009
31007131 04/2009
189
190
31007131 04/2009
10.10
31007131 04/2009
191
The figure shows the NTP dialog box for BMX NOE 01x0 modules:
Configuring NTP Configure or change the following parameters on the NTP configuration page: 1. IP address of Primary NTP Server Enter a valid IP address. 2. IP address of Secondary NTP Server Enter a valid IP address. 3. Polling period (in seconds) (the time between time updates from the NTP server) Enter a value: min = 1 sec max = 120 sec default = 5 sec 4. Time Zone (see the following table for available times zones) Select from drop-down menu. Universal Time, Coordinated (GMT) = default Custom time zone 5. Automatically adjust clock for daylight saving change Parameter is selected by default (check mark appears) if daylight saving time is chosen.
192
31007131 04/2009
Time Zones Available Select a time zone the from drop-down menu.
Time Zone Custom (GMT-12:00) (GMT-11:00) (GMT-10:00) (GMT-09:00) (GMT-08:00) (GMT-07:00) (GMT-07:00) (GMT-07:00) (GMT-06:00) (GMT-06:00) (GMT-06:00) (GMT-06:00) (GMT-05:00) (GMT-05:00) (GMT-05:00) (GMT-04:00) (GMT-04:00) (GMT-03:30) (GMT-03:00) (GMT-03:00) (GMT-02:00) (GMT-01:00) (GMT) (GMT0) (GMT+01:00) (GMT+01:00) (GMT+01:00) Dateline Standard Time [Eniwetok Kwajalein] Samoa Standard Time [Midway Is Samoa] Hawaiian Standard Time [Hawaii Honolulu] Alaskan Standard Time [Anchorage] Pacific Standard Time [Los Angeles Tijuana] Mexican Standard Time [Chihuahua La Paz Mazatlan] Mountain Standard Time [Arizona Phoenix] Mountain Standard Time [Denver] Central Standard Time [Chicago] Mexico Standard Time [Tegucigalpa] Canada Central Standard Time [Saskatchewan Regina] Central America Standard Time [Mexico_city] SA Pacific Standard Time [Bogota Lima Quito] Eastern Standard Time [New York] Eastern Standard Time [Indiana (East)] [Indianapolis] SA Western Standard Time [Caracas La Paz] Pacific SA Standard Time [Santiago] Newfoundland Standard Time [Newfoundland St Johns] E. South America Standard Time [Brasilia Sao_Paulo] SA Eastern Standard Time [Buenos Aires Georgetown] Mid-Atlantic Standard Time [South_Georgia] Azores Standard Time [Azores Cape Verde Island] Universal Coordinated Time [Casablanca, Monrovia] Greenwich Mean Time [Dublin Edinburgh Lisbon London] Romance Standard Time [Amsterdam CopenHagen Madrid Paris Vilnius] Central European Standard Time [Belgrade Sarajevo Skopje Sofija Zagreb] Central Europe Standard Time [Bratislava Budapest Ljubljana Prague Warsaw] Description DST Available Yes No No No Yes Yes Yes No Yes Yes No No Yes No Yes No No Yes Yes Yes No No Yes No Yes Yes Yes Yes
31007131 04/2009
193
Time Zone (GMT+01:00) (GMT+02:00) (GMT+02:00) (GMT+02:00) (GMT+02:00) (GMT+02:00) (GMT+02:00) (GMT+03:00) (GMT+03:00) (GMT+03:00) (GMT+03:00) (GMT+03:30) (GMT+04:00) (GMT+04:00) (GMT+04:00) (GMT+05:00) (GMT+05:00) (GMT+05:30) (GMT+06:00) (GMT+06:00) (GMT+07:00) (GMT+08:00) (GMT+08:00) (GMT+08:00) (GMT+08:00) (GMT+09:00) (GMT+09:00) (GMT+09:00) (GMT+09:30) (GMT+09:30) (GMT+10:00) (GMT+10:00) (GMT+10:00) 194
Description W. Europe Standard Time [Brussels Berlin Bern Rome Stockholm Vienna] GTB Standard Time [Athens Istanbul Minsk] E. Europe Standard Time [Bucharest] Egypt Standard Time [Cairo] South Africa Standard Time [Johannesburg Harare Pretoria] FLE Standard Time [Helsinki Riga Tallinn] Israel Standard Time [Israel Jerusalem] Arabic Standard Time [Baghdad] Arab Standard Time [Kuwait Riyadh] Russian Standard Time [Moscow St. Petersburg Volgograd] E. Africa Standard Time [Nairobi] Iran Standard Time [Tehran] Arabian Standard Time [Abu Dhabi Muscat] Caucasus Standard Time [Baku Tbilisi] Afghanistan Standard Time [Kabul] Ekaterinburg Standard Time [Ekaterinburg] West Asia Standard Time [Islamabad Karachi Tashkent] India Standard Time [Bombay Calcutta Madras New Delhi] Central Asia Standard Time [Almaty Dhaka] Sri Lanka Standard Time [Columbo] SE Asia Standard Time [Bangkok Hanoi Jakarta]
DST Available Yes Yes Yes Yes No Yes Yes Yes No Yes No Yes No Yes No Yes No No Yes No No
China Standard Time [Beijing Chongqing Hong Kong Urumqi] No W. Australia Standard Time [Perth] Singapore Standard Time [Singapore] Taipei Standard Time [Taipei] Tokyo Standard Time [Osako Sapporo Tokyo] Korea Standard Time [Seoul] Yakutsk Standard Time [Yakutsk] Cen. Australia Standard Time [Adelaide] AUS Central Standard Time [Darwin] E. Australia Standard Time [Brisbane] AUS Eastern Standard Time [Canberra Melbourne Sydney] West Pacific Standard Time [Guam Port Moresby] No No No No No Yes Yes No No Yes No
31007131 04/2009
Description Tasmania Standard Time [Hobart] Vladivostok Standard Time [Vladivostok] Central Pacific Standard Time [Magadan Solomon Is New Caledonia] New Zealand Standard Time [Auckland Wellington] Fiji Standard Time [Fiji Kamchatka Marshall Is]
Important Information about the Time Service NOTE: Without an SD card in an NOE module, time zones will not function correctly when changing from daylight saving time. Customizing Time Zone Parameters If you want a time zone not listed in the time zone table:
Step 1 Action Comment
Write the text rules for the custom time If you want more information, the syntax to zone. write those rules along with a few examples are found in the module in: /FLASH0/wwwroot/conf/NTP/instructions.tx t Using an FTP client, store your rules Root directory to store 'customrules' is set by the FTP server as in the file: /FLASH0/wwwroot/conf/NTP/customr /FLASH0/wwwroot/conf/NTP ules user ID: ntpupdate password: ntpupdate When the rules are written, choose the drop down menu on the NTP configuration screen, 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 syntax error is logged in the file: /FLASH0/wwwroot/conf/NTP/error.log 1. NTP component is not launched. 2. NTP Status field in the diagnostic screen displays NOT OK.
31007131 04/2009
195
196
31007131 04/2009
11
About this Chapter This chapter describes the creation and configuration of an Ethernet network for BMX P34 20x0 CPUs through these major stages:
Stage 1 2 3 3 4 Description creation of an Ethernet logic network configuration of an Ethernet logic network choose a logical network family declaration of the module run from the hardware configuration association of the module with the logic editor network Comment run from the project browser
Note: The benefit of this method is that from the second stage onwards, you can design your communication application and use the simulator to test its operation. (You do not have to have the hardware to start working.)
31007131 04/2009
197
Choose Ethernet in the List of available networks and choose a meaningful name for your selection:
Note: If desired, a comment may be added by clicking on the Comment tab. 3 Click OK, and a new logic network is created. The new Ethernet network appears in the project browser:
Note: As you can see, a small icon indicates that the logical network is not associated with a PLC device.
198
31007131 04/2009
Right-click the Ethernet logic network to be configured and select Open. The Ethernet configuration screen is displayed.
31007131 04/2009
199
Note: In the case of Ethernet solutions integrated in the processors, the Ethernet communication channel is automatically declared when a processor is chosen: BMX NOE 01x0 modules: Channel 0 BMX P34 20x0 Ethernet port: Channel 3
NOTE: You can also use the drag and drop method to add a module (see page 239) to an Ethernet network.
200
31007131 04/2009
Associate the Module with the Network To associate the logical Ethernet network with the module you have just declared:
Step 1 2 Action Open the hardware configuration editor. Double-click the module.
31007131 04/2009
201
Step 3
Action In the Function menu, scroll to a network to associate with the module. Then, in the Net link menu, scroll to the logic network you wish to associate with the Ethernet channel of the module.
202
31007131 04/2009
Step 4
Action Confirm your choice and close the window. The Ethernet factory_2 logic network is associated with the Ethernet BMX NOE 0100 module. The module address is written in the logic network's configuration window. The icon associated with this logic network changes and indicates the links with a PLC.
31007131 04/2009
203
204
31007131 04/2009
12
About this Chapter This chapter describes procedures for debugging the configuration of the BMX NOE 01x0 communication modules and BMX P34 20x0 CPUs with Unity Pro. What's in this Chapter? This chapter contains the following topics:
Topic Module Debugging Screen General Debugging Parameters Debugging Parameters for TCP/IP Utilities Debugging Parameters for I/O Scanning Debugging Parameters for Global Data Page 206 209 212 213 214
31007131 04/2009
205
CPU screen:
206
31007131 04/2009
31007131 04/2009
207
3: Parameters general parameters zone 4: Debug tab Address information Messages displays TCP/IP utility configuration tests communication of the TCP/IP profile displays the number of open connections and the number of messages that are unauthorized, refused, received, and sent. displays the number of messages processed by the module per minute displays the status for each remote input/output module displays the status of global data variables displays the status of the NTP server (NOE modules only) displays the status of the SMTP server (CPU modules only)
208
31007131 04/2009
It graphically shows the number of Ethernet packets per second handled by the module (sent and received). The Reset button resets the Min., Av., and Max counters to 0. Messages The Messages window looks like this:
This window reports the number of: open TCP/IP connections (the combined number of server, client, and Transparent Device Access connections that are open) non-authorized TCP/IP connections refused TCP/IP messages received TCP/IP messages sent TCP/IP messages
31007131 04/2009
209
This window includes three buttons: Reset counters: Press this button to reset the counters to 0. Ping (see below) Bandwidth (see below) Ping You can test the routing between your module and another device through a PING request:
Step 1 Action Comment
Enter the IP address of the device for which you want to test communications and press Ping.
The COMMUNICATION window informs you that the exchange was successful.
Press OK.
210
31007131 04/2009
Bandwidth Press the Bandwidth button to see the number of messages received per second in the Bandwidth window. Available bandwidth and network load are reported in terms of dynamic bandwidth monitoring (see page 101).
31007131 04/2009
211
This window displays the configuration of: MAC Address IP Address Subnetwork mask Gateway Address
212
31007131 04/2009
A device referenced in the I/O Scanning configuration tab can have the following states: Not configured (white) Scanned (green) Unscanned (black): caused by the I/O Scanner not being activated (nothing selected in configuration) Faulty or Absent (red) NOTE: In the cases of Not configured or Unscanned, no Modbus request is sent to the device. NOTE: This is the same information as seen in the IODDT (see page 215) for the module.
31007131 04/2009
213
A Global Data variable can have the following status: Not configured (white) SUB variable (green): subscribed variable received in the health timeout limit Default SUB (red): subscribed variable not received in the health time out limit PUB variable (black): published variable
214
31007131 04/2009
13
About this Chapter This chapter describes the language objects associated with the Ethernet communication modules. There is also a discussion of IODDTs. The IODDT (Input/Output Derived Data Type) is a data type associated with a PLC channel or module. Expert modules are associated with specific IODDTs. What's in this Chapter? This chapter contains the following sections:
Section 13.1 13.2 13.3 13.4 Topic Language Objects and IODDTs of Ethernet Communication Exchange Objects of Type T_COM_ETH_BMX Language Objects Associated with BMX NOE 01x0 and BMX P34 20x0 CPU Configuration Language Objects and Generic IODDT Applicable to All Communication Protocols Page 216 221 228 235
31007131 04/2009
215
13.1
About this Section This section provides a general overview of language objects and IODDTs of Ethernet communication. What's in this Section? This section contains the following topics:
Topic Language Objects and IODDTs of Ethernet Communication Implicit Exchange Language Objects Associated with the Application-Specific Function Explicit Exchange Language Objects Associated with the Application-Specific Function Page 217 218 219
216
31007131 04/2009
31007131 04/2009
217
218
31007131 04/2009
31007131 04/2009
219
General Principle for Using Explicit Instructions The diagram below shows the different types of explicit exchanges that can be made between the application and module.
Managing Exchanges During an explicit exchange, it is necessary to check performance to ensure data is only taken into account when the exchange has been correctly executed. To do this, two types of information is available: information concerning the exchange in progress (see Unity Pro, I/O Management, Block Library) the exchange report (see Unity Pro, I/O Management, Block Library) The following diagram describes the management principle for an exchange.
NOTE: In order to avoid several simultaneous explicit exchanges for the same channel, it is necessary to test the value of the word EXCH_STS (%MWr.m.c.0) of the IODDT associated to the channel before calling any EF addressing this channel.
220
31007131 04/2009
13.2
About this Section The section describes the implicit and explicit exchange objects of type T_COM_ETH_BMX. What's in this Section? This section contains the following topics:
Topic Details of Implicit Exchange Objects of the IODDT Type T_COM_ETH_BMX Details of Explicit Exchange Objects of the IODDT Type T_COM_ETH_BMX Details of Explicit Exchange Objects of the Non-IODDT Type T_COM_ETH_BMX Page 222 224 227
31007131 04/2009
221
Reserved for L2 (for future use) %IWr.m.c.0.6 indicates that the inputs/outputs %IWr.m.c.1.0 to of the I/O Scanner from stations %IWr.m.c.1.15 1 to 16 are refreshed indicates that the inputs/outputs %IWr.m.c.2.0 to of the I/O Scanner from stations %IWr.m.c.2.15 17 to 32 are refreshed indicates that the inputs/outputs %IWr.m.c.3.0 to of the I/O Scanner from stations %IWr.m.c.3.15 33 to 48 are refreshed indicates that the inputs/outputs %IWr.m.c.4.0 to of the I/O Scanner from stations %IWr.m.c.4.15 49 to 64 are refreshed indicates that Global Data from stations 1 to 16 are refreshed indicates that Global Data from stations 17 to 32 are refreshed %IWr.m.c.5.0 to %IWr.m.c.5.15 %IWr.m.c.6.0 to %IWr.m.c.6.15
31007131 04/2009
REFRESH_IO_17 to REFRESH_IO_32
BOOL
REFRESH_IO_33 to REFRESH_IO_48
BOOL
REFRESH_IO_49 to REFRESH_IO_64
BOOL
BOOL BOOL
R R
222
Acces s R R R/W
Meaning indicates that Global Data from stations 33 to 48 are refreshed indicates that Global Data from stations 49 to 64 are refreshed
enables/disables the refreshing %QWr.m.c.0.0 of inputs/outputs of the I/O to Scanner for stations 1 to 16 %QWr.m.c.0.15 enables/disables the refreshing %QWr.m.c.1.0 to of inputs/outputs of the I/O Scanner for stations 17 to 32 %QWr.m.c.1.15 enables/disables the refreshing %QWr.m.c.2.0 of inputs/outputs of the I/O to Scanner for stations 33 to 48 %QWr.m.c.2.15 enables/disables the refreshing %QWr.m.c.3.0 of inputs/outputs of the I/O to Scanner for stations 49 to 64 %QWr.m.c.3.15
DISABLE_IO_17 to DISABLE_IO_32
BOOL
R/W
DISABLE_IO_33 to DISABLE_IO_48
BOOL
R/W
DISABLE_IO_49 to DISABLE_IO_64
BOOL
R/W
31007131 04/2009
223
command parameter write %MWr.m.c.0.1 in progress adjust parameter exchange in progress reconfiguration in progress channel report error while reading channel status error while sending a command on the channel error while adjusting the channel error while reconfiguring the channel %MWr.m.c.0.2 %MWr.m.c.0.15 %MWr.m.c.1 %MWr.m.c.1.0 %MWr.m.c.1.1 %MWr.m.c.1.2 %MWr.m.c.1.15
Status Words The table below gives the meanings of the status word bits CH_FLT (%MWr.m.c.2). The reading is taken by a READ_STS:
Standard Symbol INTERNAL_FLT APPLI_FLT R = read only Type BOOL BOOL Access R R Meaning internal or channel self-test fault application fault (adjustment or configuration fault) Address %MWr.m.c.2.4 %MWr.m.c.2.7
224
31007131 04/2009
number of received %MWr.m.c.7 messages on the Ethernet port per second number of useless messages dropped by the Ethernet port per second number of messages dropped by the Ethernet port per second maximum number of received messages on the Ethernet port per second maximum number of useless messages filtered by the Ethernet port per second maximum number of messages dropped by the Ethernet port per second maximum number of multicast messages received per second maximum number of broadcast messages received per second reserved for future use %MWr.m.c.8
BW_NB_MSG_FILTER
INT
BW_NB_MSG_DROP
INT
%MWr.m.c.9
BW_MAX_MSG_IN
INT
%MWr.m.c.10
BW_MAX_MSG_FILTER
INT
%MWr.m.c.11
BW_MAX_MSG_DROP
INT
%MWr.m.c.12
BW_MAX_MSG_MC
INT
%MWr.m.c.13
BW_MAX_MSG_BC
INT
%MWr.m.c.14
INT
%MWr.m.c.15
31007131 04/2009
225
226
31007131 04/2009
31007131 04/2009
227
13.3
Language Objects Associated with BMX NOE 01x0 and BMX P34 20x0 CPU Configuration
About this Section This section describes the configuration language objects associated with the Ethernet communication modules on BMX NOE 01x0 communication modules and BMX P34 20x0 CPUs. What's in this Section? This section contains the following topics:
Topic Language Objects for Configuration Language Objects for Implicit Exchange Language Objects for Explicit Exchange Page 229 230 232
228
31007131 04/2009
31007131 04/2009
229
Input Words The following table describes the input word (%IW) language objects:
Object BMX NOE 01x0 %IWr.m.0.0 BMX P34 20x0 %IWr.m.3.0 status of Ethernet services: bit 0: port 502 messaging service status (0=OK, 1=NOK) bit 1: IO Scanner service status (0=OK, 1=NOK) bit 2: Global Data service status (0=OK, 1=NOK) bit 3: e-mail service status (0=OK, 1=NOK) bit 4: FDR Server service status (0=OK, 1=NOK) bit 5: BMX NOE 01x0: reserved for future use BMX P34 20x0: reserved for compatibility with the BMX NOE 01x0 bit 6: reserved for future use bit 7: reserved %IWr.m.0.1 ... %IWr.m.0.4 %IWr.m.3.1 ... %IWr.m.3.4 IOS health (or refresh) block: 64 devices (maximum) 1 bit per IOS device 1 = healthy; 0 = unhealthy GD health (or refresh) block: 64 GD stations (maximum) 1 bit per GD station 1 = healthy; 0 = unhealthy Description
230
31007131 04/2009
Output Words The following table describes the output word (%QW) language objects:
Object BMX NOE 01x0 %QWr.m.0.0 ... %QWr.m.0.3 BMX P34 20x0 %QWr.m.3.0 ... %QWr.m.3.3 IOS device control (disable/enable) block: 64 devices (maximum) 1 bit per IOS device 1 = disable; 0 = enable Description
31007131 04/2009
231
%MWr.m.0.1
%MWr.m.3.1
Status Words The following table describes the status word (%MW or %MD, READ) language objects:
Object BMX NOE 01x0 %MWr.m.0.2 BMX P34 20x0 %MWr.m.3.2 Standard channel faults (CH_FLT): bit 4 (%MWr.m.0.2.4) = 1: Internal or channel selftest fault (INTERNAL_FLT) bit 7 (%MWr.m.0.2.7) = 1: Application fault (APPLI_FLT) Ethernet Port Global status (ETH_PORT_STATUS) IP address (IP_ADDR) number of denied Port 502 connections (P502_NB_CONN_DENIED) number of received messages on the Ethernet port per second (BW_NB_MSG_IN) number of useless messages filtered by the Ethernet port per second (BW_NB_MSG_FILTER)
31007131 04/2009
Description
232
Object BMX NOE 01x0 %MWr.m.0.9 %MWr.m.0.10 %MWr.m.0.11 BMX P34 20x0 %MWr.m.3.9 %MWr.m.3.10 %MWr.m.3.11
Description
number of messages dropped by the Ethernet port per second (BW_NB_MSG_DROP) maximum number of received messages on the Ethernet port per second (BW_MAX_MSG_IN) maximum number of useless messages filtered by the Ethernet port per second (BW_MAX_MSG_FILTER) maximum number of messages dropped by the Ethernet port per second (BW_MAX_MSG_DROP) maximum number of Multicast messages received per second (BW_MAX_MSG_MC) maximum number of broadcast messages received per second (BW_MAX_MSG_BC) reserved for future use
Command Words The following table describes the command word (%MW, WRITE) language objects:
Object BMX NOE 01x0 %MWr.m.0.16 BMX P34 20x0 %MWr.m.3.16 Ethernet command word (ETH_CMD): bit 0 = 1 for Ethernet Component Reset (ETH_RESET) bit 1 = 1 for Max Message Counters reset (BW_CNT_RESET) bit 2 = 1 for Messaging counters reset (P502_CNT_RESET) reserved for modulo 4 address alignment Description
%MWr.m.0.17
%MWr.m.3.17
31007131 04/2009
233
Parameter Words The following table describes the parameter word (%MW or %MD, R/W) language objects, please note that parameters are accessible in read using the READ_STATUS function:
Object BMX NOE 01x0 %MWr.m.0.18 BMX P34 20x0 %MWr.m.3.18 PARAM_NET_CONF: 0 = disabled (not supported) 1 = from screen configuration (default) 2 = from a server (DHCP server) PARAM_DRIVER_CONF: (TBD) Bit 0: FRAME_TYPE IP address (PARAM_IP_ADDR) subnetwork mask (PARAM_IP_NETMASK) default gateway (PARAM_IP_GATEWAY) device name (character 1 and 2) PARAM_IP_DEVICE_NAME1 device name (character 3 and 4) PARAM_IP_DEVICE_NAME2 device name (character 5 and 6) PARAM_IP_DEVICE_NAME3 device name (character 7 and 8) PARAM_IP_DEVICE_NAME4 device name (character 9 and 10) PARAM_IP_DEVICE_NAME5 device name (character 11 and 12) PARAM_IP_DEVICE_NAME6 device name (character 13 and 14) PARAM_IP_DEVICE_NAME7 device name (character 15 and 16) PARAM_IP_DEVICE_NAME8 Description
%MWr.m.0.19 %MDr.m.0.20 %MWr.m.0.22 %MWr.m.0.24 %MWr.m.0.26 %MWr.m.0.27 %MWr.m.0.28 %MWr.m.0.29 %MWr.m.0.30 %MWr.m.0.31 %MWr.m.0.32 %MWr.m.0.33
%MWr.m.3.19 %MDr.m.3.20 %MWr.m.3.22 %MWr.m.3.24 %MWr.m.3.26 %MWr.m.3.27 %MWr.m.3.28 %MWr.m.3.29 %MWr.m.3.30 %MWr.m.3.31 %MWr.m.3.32 %MWr.m.3.33
NOTE: For explicit exchanges, the READ_PARAM function is not available for the following modules: BMX P34 20x0 BMX NOE 0100
234
31007131 04/2009
13.4
31007131 04/2009
Access Meaning R R Hardware or software configuration anomaly (Fipio extension only) Module missing or inoperative (Fipio extension only)
236
31007131 04/2009
14
Overview This quick start procedure helps you to quickly configure Modicon M340 Ethernet communication modules (BMX NOE 01x0, BMX P34 20x0) and set up basic communication services such as I/O scanning. NOTE: The performance of your module depends on the specific configuration of services and features on the module. To maximize module performance, refer to these Modicon M340 automation platform catalogs: Ethernet TCP/IP network, Transparent Ready: Performances (43425) Communication, integrated ports and modules (0504Q) Ethernet TCP/IP network, Transparent Ready: Processor solutions with integrated port or module (43417) What's in this Chapter? This chapter contains the following topics:
Topic Hardware Installation Modicon M340 Configuration with Unity Pro Ethernet Network Configuration with Unity Pro Assign the BMX NOE 0100 IP Address Configure Ethernet Communication Service (I/O Scanning) Associate the Network with the Module Build a Program Connect the System and Download the Configuration Debugging the Module Page 238 239 244 245 246 251 252 253 255
31007131 04/2009
237
Hardware Installation
Rack Assembly You can select the appropriate power supply, processor, Ethernet communication module(s), and other M340 modules from the Modicon M340 automation platform catalog (part number 43423). The following figure shows the rack assembly used for this Quick Start example:
1 2 3
power supply BMX P34 2020 in rack slot 0 BMX NOE 0100 in rack slot 1
Place other modules into the remaining available rack The example shows the BMX NOE 0100 at rack slots. address 1.
238
31007131 04/2009
Note: The name of your Unity Pro package (Unity Pro M, Unity Pro L, Unity Pro XL, etc.) may vary. 2 In the File menu, select New... to create a new project:
31007131 04/2009
239
Step 3
Action In the New Project screen, expand the Modicon M340 family to select the installed processor:
240
31007131 04/2009
Step 4
Action In the Project Browser screen, double-click Project Configuration PLC bus to access the configuration of the local rack:
31007131 04/2009
241
Step 5
Action Double-click on each slot to show the hardware catalog. Choose the appropriate module part numbers. Drag or double-click the part numbers from the catalog list to insert modules into the local rack:
242
31007131 04/2009
Step 6
Action A sample view of a finished rack assembly shows the BMX P34 2020 at rack address 0 and the BMX NOE 0100 at address 1:
31007131 04/2009
243
In the List of available networks, scroll to Ethernet and enter a meaningful network name in the Change Name field. (We used the name BMXNOE0100 in our example).
Click OK.
244
31007131 04/2009
From the Project Browser, open the new logical network (BMXNOE0100 in this example) under Communication Networks. The BMXNOE0100 network configuration screen appears:
Note: The example uses the BMX NOE 0100 module. Use these same steps to configure IP parameters for M340 CPUs with Ethernet ports (BMX P34 2020 and BMX P34 2030/20302). 2 3 4 In the Model Family list, slect the appropriate module family. On the IP Configuration tab, select Configured. Enter the appropriate values in the IP address, Subnetwork mask, and Gateway address fields. (For safety reasons, consult your network administrator who can assign network parameters.) Click the validate toolbar icon to confirm the IP configuration setting. You can now manually configure IP parameters. Example parameters: IP address: 192.168.1.100 subnetwork mask: 255.255.255.0 gateway address: 0.0.0.0
31007131 04/2009
245
Select the IO Scanning tab to open the I/O scanning configuration screen.
246
31007131 04/2009
Step 6 7
Action Enter the parameter settings under each of the column headings for one line of the I/O Scanner Configuration. Refer to I/O Scanning Parameters (below) to see the settings used for this example. Click the validate check box in the upper tool bar to confirm the I/O scanning parameter settings:
I/O Scanner Parameters above I/O Scanner Table A description of the parameters above the I/O scanning table used in the example are listed in the following table:
Parameter Read Ref. Field From and to data boxes Description The values in these boxes define the range of destination address values in the CPU for the data read from each device. The addresses you enter here are displayed in the RD Master Object column of the dialog. In the example above, the Read Ref. values range from 0 to 599; notice that these values are displayed as %MW0, %MW599, etc. in the Master Object column. The values in these boxes define the range of source address values in the CPU. The address you enter here is displayed in the WR Master Object column. In the example above, values starting at %MW2000 are shown in the WR Master Object column. The Repetitive Rate Step is set in multiples of 5 ms (the minimum) through 200 ms (the maximum). The Repetitive Rate column is where you enter a rate of time for how often you want the I/O scanner to send a query to the device after the rate has timed out. NOTE: The Repetitive Rate of the I/O scanner table is a multiple of the rate displayed in the Repetitive Rate Step. The real repetitive rate being executed by the I/O scanner service is shown in the Repetitive Rate column. Note: An entry in the Repetitive Rate column is rounded up to the next multiple that was entered in the Repetitive Rate Step box if the entry is not a multiple of the Repetitive Rate Step. For example, if the entry in the Repetitive Rate Step is 5 and you enter a 7 in the Repetitive Rate column, the 7 is rounded up to 10; if you change the Repetitive Rate Step to 6 and enter a 7 in the Repetitive Rate column, the 7 is rounded up to 12.
Write Ref.
data box
31007131 04/2009
247
I/O Scanner Table Parameters A description of the parameters in the I/O scanning table used in the example are listed in the following table:
Parameter Entry # Description This is the first column; it has no name. Valid range: 1 ... 64 Each entry represents an I/O Scanning exchange on the network. This is the IP address of the scanned Ethernet slave device. 192.168.1.100 Example
MySTB1 To configure a device (Advantys island), click the ... button to open the Property box (see page 159) to start the device configuration software. For an introduction to this procedure for Advantys, go here (see page 156). NOTE: While the Property box is open, I/O scanning cannot be edited. This field associates the slave 255 address of the device connected to an Ethernet/Modbus gateway with the IP address of that gateway: Value range: 1 to 255 Default value: 255 When using a bridge, enter the bridge index (1 to 255) in this field.
Unit ID
Slave Syntax
Use this drop-down menu to pick the Index (default value) way RD Ref Slave and WR Ref Slave values are displayed. There are 4 types of display available: Index: 100 Modbus: 400101 (Modbus register) IEC 0: %MW100 M340 and Premium PLC slaves IEC 1: %MW101 Ouantum PLC slaves
248
31007131 04/2009
Parameter
Description
Example
Health Timeout This field sets the maximum interval 1500ms between the responses from a remote (ms) device. After this time period expires, the received data is invalid. The health timeout should be longer than the repetitive rate. For a BMX NOE Ethernet module, it also should be longer than the CPU scan time. Range: 1ms to 50 s Interval: 1ms Repetitive rate (ms) RD Master Object* The rate at which data will be scanned, from 0...60000 in multiples of the Repetitive Rate Step. Destination address in the master PLC where, from each device, newly read information is stored. This parameter cannot be accessed. It is calculated automatically as the sum of: The From address (beginning) of Read ref. (in the zone above the table) The RD length value (in the table below) Source address index in the slave/remote device 60ms
%mw10
RD Slave Ref.**
The format of this value depends on the Slave Syntax: Index: 5 Modbus: 400006 IEC 0: %MW5 IEC 1: %MW6 10 Hold last
Number of words to read This field configures the behavior of inputs in the event of an access error in relation to the remote device (for example: inoperative network or device power supply, etc.): Set to 0: fall back to 0 Hold last: maintain last value
31007131 04/2009
249
Description
Example
Source address of the master PLC %mw20 whose data is being written into the slave/remote device. This parameter cannot be accessed. It id calculated automatically as the sum of: The From address (beginning) of Write ref. (in the zone above the table) The WR length value (in the table below) Write operations are always performed at the word level.
WR Slave Ref.**
The address of the first word written into the slave/remote device.
The format of this value depends on the Slave Syntax: Index: 1 Modbus: 400002 IEC 0: %MW1 IEC 1: %MW2 10
WR length Description
*Master refers to the client PLC that makes the request. **Slave refers to the server from which data is read or to which data is written.
NOTE: Refer to Information about I/O Scanning with Multiple Lines (see page 154). NOTE: Refer to Information about the I/O Scanning table Contextual Menu for Copy/Cut/Paste (see page 152).
250
31007131 04/2009
4 5
31007131 04/2009
251
Build a Program
The Build Command Before building the program, make sure you select the standard mode, not the simulation mode, on the toolbar. Build the entire program before downloading it to your PLC. Choose Build Rebuild All Project to build the program:
252
31007131 04/2009
3 4 5 6
In the Media menu, select USB, as shown in the above figure. Press OK. On the Unity Pro tab, select PLC Connect to link to the M340 system. Open the Transfer Project to PLC screen by selecting PLC Transfer Project to PLC on the Unity Pro tab:
31007131 04/2009
253
Step 8 9
Action Press OK on the confirmation screen. At the Unity Pro screen, press Run to run the program.
254
31007131 04/2009
NOTE: The debug screen dynamically updates the Ethernet modules communication services (I/O scanning, global data, etc.).
31007131 04/2009
255
256
31007131 04/2009
31007131 04/2009
257
258
31007131 04/2009
15
Introduction This chapter discusses the embedded web pages for modules that can communicate on Ethernet networks. The installed HyperText Transfer Protocol (HTTP) server transmits Web pages between a server and a browser, providing Ethernet communications modules with easy access to devices anywhere in the world through standard browsers such as Internet Explorer or Netscape Navigator. What's in this Chapter? This chapter contains the following sections:
Section 15.1 15.2 15.3 M340 Web Pages Ethernet Service Diagnostics Pages Class C Services Topic Page 260 274 280
31007131 04/2009
259
15.1
Introduction This section describes the Web pages associated with the BMX NOE 0100 and BMX P34 2020/2030 CPUs in terms of appearance and access rights. What's in this Section? This section contains the following topics:
Topic Introduction to Web Services Embedded HTTP Server BMX NOE 0100 Home Page BMX NOE 0100 Monitoring Page BMX NOE 0100 Diagnostics Page Server Rack Display Page BMX NOE 0100 Setup Page FTP Security Page HTTP and Data Editor (Write) Page Upload MIB File Properties Page 261 263 264 265 266 267 268 269 270 272 273
260
31007131 04/2009
31007131 04/2009
261
Diagnostics from Web Pages The embedded Web server provides Web pages to diagnose the following Transparent Factory / Real Time services: Global Data diagnostics status of all Global Data services status of all subscribed and published variables publication/subscription rate I/O scanning diagnostics status of all I/O Scanning services status of individual scanned devices actual I/O scanning rate messaging diagnostics diagnostic information for Port 502 messaging bandwidth monitoring throughput measurement of NOE by service NOTE: All these pages are protected by the general HTTP password.
262
31007131 04/2009
Legend: X: available : not available *Requires the BMXRWSC016M memory card (see page 46).
Embedded Server Functions The functions available on an embedded server are generally as follows: Ethernet services (see page 274): These pages report the status of Ethernet network services. security (see page 270): This page is used to modify the user name and the password to access the site. rack display (see page 267): This page enables you to display the configuration of the PLC which is controlling the module. data editor (see page 175): This page allows you to display PLC data. diagnostics (see page 266): This pages allow network diagnostics.
31007131 04/2009
263
Links From the BMX NOE 0100 home page, you can access the following pages: Monitoring (see page 265) Diagnostics (see page 266) Setup (see page 268)
264
31007131 04/2009
Links From the BMX NOE 0100 Monitoring page, you can access the following Data Editor pages: Lite: This smaller version of the Data Editor loads faster, but can access most of the same Modicon M340 PLC data. Standard: Allows access to Modicon M340 PLC data.
31007131 04/2009
265
Links From the BMX NOE 0100 Diagnostics page, you can access the following pages: Rack viewer (Lite): See the description for the Rack Viewer page (see page 267). Ethernet: You can diagnose the status of Ethernet services through these links: Global Data (see page 275) IO Scanning (see page 276) Messaging (see page 277) Statistics (see page 278) Bandwidth Monitoring (see page 279) Upload MIB file (see page 272) Properties (see page 273)
266
31007131 04/2009
The NOE 0100 rack display page appears. An example is shown below:
31007131 04/2009
267
Links From the BMX NOE 0100 Setup page, you can access the following password pages: Security (see page 270)
268
31007131 04/2009
31007131 04/2009
269
270
31007131 04/2009
31007131 04/2009
271
272
31007131 04/2009
Properties
Dialog Box The Properties dialog box is accessible through a link from several embedded Web pages. The Properties link reports the properties of the Web pages:
31007131 04/2009
273
15.2
Introduction You can link to the screens in this section to diagnose the performance of Ethernet services. Access these screens through the Ethernet menu on the Web pages associated with your module. What's in this Section? This section contains the following topics:
Topic Global Data I/O Scanning Messaging Statistics Bandwidth Monitoring Page 275 276 277 278 279
274
31007131 04/2009
Global Data
Diagnostics Page Click this link to see these Global Data diagnostics: status number of publications per second number of subscriptions per second This page also shows a table that regroups all published and subscribed variables in the same distribution group. The nature of each variable is identified by its color code: green subscribed variables black published variables white unconfigured variables red variables with communication faults View of the Global Data diagnostics page:
31007131 04/2009
275
I/O Scanning
Diagnostics Page Click this link to see these diagnostics of the I/O Scanner: status number of transactions per second number of connections per second This page also displays a summary of the status of all modules: green: scanned modules black: unscanned modules white: unconfigured modules red: faulty modules View of the I/O scanning diagnostics page:
276
31007131 04/2009
Messaging
Diagnostics Page Click this link to see the 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): Remote addr. remote IP Address Remote port remote TCP port Local local TCP port Mess. sent number of messages sent from this connection Mess. received number of messages received from this connection Err. sent error number on this connection
31007131 04/2009
277
Statistics
Diagnostics Page This page shows the Ethernet module statistics that are used to diagnose network activity:
278
31007131 04/2009
Bandwidth Monitoring
Diagnostics Page Click this link to see the load distribution of the module among services (Global Data, I/O Scanning, Messaging, and others.) The distribution of the load among services is represented as a percentage:
31007131 04/2009
279
15.3
Class C Services
Introduction This section describes the Class C Web services that are applicable to the BMX NOE 0100 module. What's in this Section? This section contains the following topics:
Topic Introduction to Class C Services Graphic Editor Overview Top Window User Functions Display Window User Functions Property Sheet Security Graphic Editor Applet Parameters Graphic Objects Extended Graphic Objects Page 281 282 284 289 292 294 295 297 316
280
31007131 04/2009
31007131 04/2009
281
Graphic Objects All graphic objects provided with the Graphic Editor are capable of communicating with the PLC from which the Graphic Editor applet was downloaded. There is no additional "wiring" of the graphic objects with "communication objects." All graphic objects are standalone, meaning there are no connections required between them and each is capable of operating independently.
282
31007131 04/2009
Viewing a Graphic Display After the Graphic Editor applet has been uploaded to a Web browser, you will usually want to either view a graphic display (for monitoring/controlling the PLC application) or create or modify a graphic display. A user who only wants to view and interact with existing graphic displays (e.g., an operator) can select the Graphic Viewer link instead of Graphic Editor. They will see a window with the widgets that does not include the Edit menu. This viewer loads faster than the standard Graphic Editor because it is lighter. You need only to enter a password to write data to the PLC. Create and Modify Graphic Displays To create and modify graphic displays, click the Edit... button to see the standard graphic editor functions. These include selecting objects from a palette, dropping them onto a canvas, moving and resizing them with a mouse, and setting object properties. You can immediately test the modified graphic display with run-time data from the PLC by clicking the Done button to exit edit mode. When satisfied with your creation, the graphic display can be saved to the PLC for re-use by clicking the Save... button, assuming you entered the correct password. User Functions Most of the Graphic Editors user functions are available as Top Window User Functions (see page 284). From the display window, you can directly manipulate a graphic objects size and location. All properties of a graphic object (e.g., scaling values, labels, colors, PLC addresses of the run-time data) are set in the Property Sheet (see page 292).
31007131 04/2009
283
The controls of the Top Dialog provide the following functions: Drop-down List. The drop-down list box shows all graphic display files that have been saved to the Web server module and are available for retrieval. When you select a graphic display from this list, the graphic display currently in the window is replaced with the selected one. If the current graphic display has been modified since it was last saved, you are asked for confirmation that the changes are to be discarded. If the special entry <new> is chosen from the list, the display window is cleared and a new graphic display can be created. Save. The Save button makes the Save Dialog visible. This button is disabled until you have entered a correct write-enabled password. Delete. The Delete... button makes the Delete Dialog visible. This button is disabled until you have entered a correct password, or if the current graphic display has not yet been saved. Edit. The Edit... button makes the Edit Dialog visible. Password. The Password... button makes the Password Dialog visible. Information display area. The information display area shows the name and version of the Concept, PL7, or Unity Pro program that is running in the connected PLC. Save Dialog The Save Dialog allows you to save the current graphic display.
284
31007131 04/2009
When the Save Dialog is presented, the name of the current graphic display is shown in the dialogs text field. If the current graphic display has never been saved (i.e., a "new" graphic display), then the text field is blank. Once you have either accepted the current name (with a "save" operation) or provided a new name (with a "save as" operation), then you can click the OK button to save the contents of the current graphic display to the Web server module. The Cancel button will cause the Top Dialog to be shown again, with no action being taken. Delete Dialog The Delete Dialog allows you to delete the current graphic display.
If you click Yes, the existing graphic display window is cleared and the graphics file on the Web server module is deleted. Clicking No will cause the Top Dialog to be shown again, with no action being taken. Password Dialog The Password Dialog allows you to enter the password that enables those user functions that modify graphic display files or PLC run-time data values.
If you enter the correct password and click OK, then you will be allowed to save and delete the current graphic display. Correct entry of the password also permits you to write new values to the PLC (via those graphic objects that support writing values to a PLC, if any). Clicking OK when the text field is empty clears the current password permissions (if there are any). The Cancel button redisplays the Top Dialog without changing the current password permissions. Edit Dialog The Edit Dialog allows you to select a graphic object for placement in the display window, and provides access to all graphic editing functions. The available graphic objects are presented in a set of palettes, with one palette visible at a time. There are two palettes. The standard palatte:
31007131 04/2009
285
The controls of the Edit Dialog provide the following functions: The Drop-down List Box shows the set of available palettes. When you select the name of a palette from the list, the graphic objects in that palette appear in the palette display area of the dialog. The Palette shows the graphic objects in the current palette. An icon depicts each graphic object's type (meter, button, etc.). When you click any icon in the palette, a graphic object of the corresponding type is selected for insertion. If you click in an open area of the display window while the Graphic Editor is in "insert mode," an instance of the selected graphic object is inserted into the graphic display. The Information Area shows the name and size of the graphic object that is currently selected. The Cut button causes the currently selected graphic object(s) to be removed from the graphic display and saved to a buffer (i.e., an internal clipboard), replacing the existing contents of the buffer. The Copy button causes the currently selected graphic object(s) to be copied to the buffer, replacing the existing contents of the buffer. The Paste button causes the content of the clipboard to be inserted into the upper left corner of the graphic display. The pasted graphic objects can then be moved to the desired location in the display. The Properties button displays the currently selected graphic objects Property Sheet. The Customize button displays the currently selected objects Customizer (see page 291) (if the graphic object has one). The Layout button makes the Layout Dialog visible. The Options button makes the Options Dialog visible. The Done button makes the Top Dialog visible again. Layout Dialog The Layout Dialog allows you to change the position and size of a group of graphic objects.
286
31007131 04/2009
The controls of the Layout Dialog provide the following functions: For aligning the edges of graphic objects, the Right, Bottom, Left, and Top buttons move the selected graphic objects so that their specified sides are at the same position. At least two graphic objects must be selected for these buttons to be enabled. For aligning the center lines of graphic objects, the Horizontally and Vertically buttons move the selected graphic objects so that their horizontal or vertical center lines, respectively, are at the same position. At least two graphic objects must be selected for these buttons to be enabled. For positioning graphic objects so that they are evenly spaced, the Horizontally and Vertically buttons move the selected graphic objects so that either the horizontal or vertical spacing between the objects is the same. At least three graphic objects must be selected for these buttons to be enabled. To automatically size graphic objects, use the Width and Height buttons to resize the currently selected graphic objects so that either the widths or heights, respectively, of the objects match. At least two graphic objects must be selected for these buttons to be enabled. The Done button makes the Edit Dialog visible again. NOTE: For all layout operations (except Space evenly) one of the selected objects is considered the "reference object" to which all other selected objects adjust for their new position or dimension. For example, when the "Width" button is pressed, all selected objects have their widths changed to match that of the reference object. The reference object is differentiated from the other selected objects by making its selection box a different color than the others. Options Dialog The Options Dialog allows you to change the settings related to a grid that can be drawn in the display window. The grid is solely for assistance in editing a graphic display and is shown only when the Graphic Editor is in "edit mode." Edit mode starts when you switch to the Edit Dialog and ends when you return to the Top Dialog.
The Options Dialog controls provide the following functions: The cell size of the grid can be changed by the entering the grid's column width and row height in the dialog's text fields. If the Show grid check-box is checked, the grid is drawn; otherwise, no grid is shown. If the Snap to grid check-box is checked, then, when you change the size or position of a graphic object, the changed coordinate(s) or dimension(s) is automatically adjusted to coincide with a grid point.
31007131 04/2009
287
The OK button causes the current option settings to become active, and the Edit Dialog to be shown again. The Cancel button causes the Edit Dialog to be shown again, with no option settings being changed.
288
31007131 04/2009
31007131 04/2009
289
Selecting Graphic Objects A graphic objects selection state (selected/deselected) can be set via the following user actions: A single graphic object can be selected by simply clicking on it with a mouse. If any other objects are currently selected, they will be deselected. Multiple graphic objects can be selected with a selection box in the display window. If you press a mouse button in an open area of the display window (i.e., not on a graphic object) and drag the mouse without releasing it, you will see a dotted outline box. One corner of the box is fixed where the mouse button was initially pressed while the opposite corner tracks the current mouse position. When the mouse button is released, all objects that intersect the selection box are selected. Objects outside the box will be deselected. A graphic object's selection state can be toggled between selected and deselected without affecting the selection state of other objects by pressing the CTRL key when clicking on the object. With this action, graphic objects can be individually added or removed from the group of selected objects. A graphic object can be selected without affecting the selection state of any other objects by pressing the SHIFT key when clicking on the object. When an object is selected this way, it becomes the reference object (see Layout Dialog Top Window User Functions, page 284) for the group of selected objects. The primary purpose of this action is to change the reference object in a group of selected objects prior to invoking one of the Layout operations. All graphic objects can be deselected by clicking the mouse in an open area of the display window, that is, not on a graphic object. Sizing Graphic Objects A graphic object's size can be changed by first selecting it, then using the mouse to change the size of the object's selection box. As you move the mouse over an object's selection box, the mouse pointer changes to reflect the type of sizing operation to be performed. If you press a mouse button while the mouse is over an object's selection box and drag the mouse without releasing it, a dotted outline box appears. When the mouse button is released, the object's size is changed to match the size of the outline. There are eight possible sizing actions depending on which part of an object's selection box is dragged. Each corner of the box will allow only its adjacent sides to move; each side of the box will allow only that side to move.
290
31007131 04/2009
Moving Graphic Objects A graphic object can be moved in the display window with the mouse. If you press a mouse button while the cursor is over an object and drag without releasing the button, then a selection box will be shown. When the mouse button is released, the object moves to the location of the selection box. Multiple graphic objects can be moved by first selecting the objects to be moved, and then dragging the entire group of objects in the same way a single object is moved. While a group of objects is moved, a selection box is shown for each object in the group. Setting Graphic Object Properties You can set a graphic objects properties via the Property Sheet. If the Property Sheet is visible, the properties of the selected graphic object are presented for editing. The Property Sheet can displayed by pressing the Properties... button or by double-clicking the mouse anywhere on the selected object in the display window. Customizing Complex Graphic Objects Some complex graphic objects have a very large number of properties. Configuring such an object with the Property Sheet can be cumbersome. An available Customizer can ease the configuration of complex graphic objects. A Customizer is a dialog window designed specifically to configure its associated graphic object. When the Graphic Editor detects that a selected graphic object has a Customizer, it will enable the Customizer... button, which brings up the graphic objects Customizer. When you double-click on a graphic object that is associated with a Customizer, the Customizer comes up (instead of the Property Sheet). If a graphic object is associated with a Customizer, the only item in the Property Sheet is its name. Display Background Image A Graphic Editor display has a Background Image property that can be used to designate an image as the displays background. The image can be a GIF or JPEG file. All file locations are relative to the Embedded Servers /wwwroot directory. For example, if the image "cool.gif" was put in the Embedded Servers /wwwroot/images directory, then the Background Image property should be set to /images/cool.gif.
31007131 04/2009
291
Property Sheet
Overview The Property Sheet is a "floating" (non-modal) dialog that shows the configurable properties of the currently selected graphic object:
The properties of a graphic object are specific to an objects type. The properties are presented in a scrollable list, with the name and the value of each property listed. The Graphic Editor comes with a description of graphic objects (see page 297).
292
31007131 04/2009
Lookup Dialog For each of the graphic objects provided with the Graphic Editor, a property editor is provided for its Address property. This editor not only allows you to directly enter the address of a Quantum/Premium/Micro register (or Concept/PL7/Unity Pro variable name), but also provides access to the Lookup Dialog. This dialog allows you to pick a Concept/PL7/Unity Pro symbol (variable) name from a list of symbolized variables that have been "Web enabled" by the FactoryCast Configurator:
NOTE: The variables window is empty because it is not possible to access variables in this manner at this time.
31007131 04/2009
293
Security
Security You are protected from unauthorized access to your PLC data in three ways. The HTML page containing the Graphic Editor applet has been placed in the secure directory on the Web module, then the Web browser user is asked for a password before being allowed to download the HTML page. You must enter the correct password via the Password Dialog to have permission to save/delete files or send data values to the connected PLC. With respect to sending data values to the PLC, the Graphic Editor will enforce its "read-only" mode by disabling the user-input controls of all graphic objects. Web Designer for FactoryCast allows you to specify that an item is read-only. The Graphic Editor will enforce the read-only attribute of a symbol (variable) or address by rejecting any request to set a new value for the data item, and informing the user in the Graphic Editor message window.
WARNING
UNINTENDED EQUIPMENT OPERATION Do not use graphic objects in situation where loss of communication to the FactoryCast module can affect human or material integrity. Graphic objects are not intended for use in safety critical machine functions. Failure to follow these instructions can result in death, serious injury, or equipment damage. For example, say you have programmed a pushbutton object to jog a motor when the button is depressed and to stop jogging when the button is released. If communications are lost while the button is depressed, the motor will continue to jog even when the button is released. Graphic objects should not be used to control situations such as this unless other interlock methods are installed in the system.
294
31007131 04/2009
31007131 04/2009
295
Example The following is an example of an applet tag for the Graphic Editor that causes it to start up in view mode while automatically loading a graphics file named UNIT_1. In this case, the Web browser allows you to send values to the PLC via any graphic objects that support sending values (assuming you have entered the write-access password). <APPLET codebase="/classes" archive="SAComm.jar,GDE.jar,Widgets.jar" code="com.schneiderautomation.gde.GdeApplet" width="700" height="514"> <PARAM name="LOAD" value="UNIT_1"> <PARAM name="MODE" value="VIEW_RW"> <PARAM name="AUTO_LOGIN" value="FALSE"> </APPLET>
296
31007131 04/2009
Graphic Objects
Overview The set of graphic objects provided with the Graphic Editor supports the construction of graphic displays that mimic conventional instrument panels. All of the data monitoring and control objects have built-in communication capabilities and are designed as standalone graphic objects. Be aware, however, that if communication to the device linked to the graphic object is lost, the object becomes inoperative without the end device's knowledge.
WARNING
UNINTENDED EQUIPMENT OPERATION Do not use graphic objects in situations where loss of communication to the FactoryCast module can affect human or material integrity. Graphic objects are not intended for use in safety critical machine functions. Failure to follow these instructions can result in death, serious injury, or equipment damage. For example, say you have programmed a pushbutton object to jog a motor when the button is depressed and to stop jogging when the button is released. If communications are lost while the button is depressed, the motor will continue to jog even when the button is released. Graphic objects should not be used to control situations such as this unless other interlock methods are installed in the system. Additionally, each object in the Graphic Editor set is available in an applet version to support customers that want to put several simple applets on a single HTML page. When used in conjunction with LiveBeanApplet, the Graphic Editor graphic objects can be used in the same way as the LiveLabelApplet. This topic describes standard graphic objects and their properties. Horizontal Indicator A Horizontal Indicator provides an analog representation of the value of a symbol (variable) or direct address in a PLC. It is a horizontal bar that represents the value as a percentage of its range in engineering units. Optionally, a digital indication of the value can be shown in the center of the bar area. The following table describes the properties for the Horizontal Indicator:
Property Name Address Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor See Note 1, Notes, page 315 297 Limits
31007131 04/2009
Property Data Type Background Label Label Color Label Font Major Scale Divisions Minor Scale Divisions Scale Color Scale Font Scale Precision
Description The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used on the label The number of major (labeled) scale divisions The number of minor (unlabeled) scale divisions The color of the scale and its labels The font used on scale labels
0 to 100 0 to 100
The number of fractional digits to be shown for -1 to 6 scale labels (set to -1 to use a general exponential format) The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC Indicates whether a digital display of the scaled value is to be shown The font for the digital display of the value (if shown) The background color of the bar indicator area The color of the indicator bar (when the scaled value within High/Low limits) The value in engineering units for the High High limit The color of the indicator bar when the scaled value is greater than the High High limit The value in engineering units for the High limit The color of the indicator bar when the scaled value is greater than the High limit
31007131 04/2009
Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Value Visible Value Font Bar Background Bar Color High High Limit Value High High Limit Color High Limit Value High Limit Color
See Note 3, Notes, page 315 See Note 3, Notes, page 315
298
Property Low Limit Value Low Limit Color Low Low Limit Value Low Low Limit Color Limit Deadband Border Width Border Color PLC Value
Description The value in engineering units for the Low limit The color of the indicator bar when the scaled value is less than the Low limit The value in engineering units for the Low Low limit The color of the indicator bar when the scaled value is less than the Low Low limit The deadband (as percentage of EU range) to apply to High/Low limit checking
Limits
0 to 10
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated, raw (unscaled) input value for testing See Note 3, Notes, the graphic object page 315
Vertical Indicator A Vertical Indicator provides an analog representation of the value of a symbol (variable) or direct address in a PLC. It is a vertical bar that represents the value as a percentage of its range in engineering units. The following table describes the properties of the Vertical Indicator:
Property Name Address Data Type Background Label Label Color Label Font Major Scale Divisions Minor Scale Divisions Scale Color Scale Font Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The number of major (labeled) scale divisions The number of minor (unlabeled) scale divisions The color of the scale and its labels The font used for scale labels 0 to 100 0 to 100 See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
31007131 04/2009
299
Description
Limits
The number of fractional digits to be shown for -1 to 6 scale labels (set to -1 to use a general exponential format) The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC The background color of the bar indicator area The color of the indicator bar (when the scaled value within High/Low limits) The value in engineering units for the High High limit The color of the indicator bar when the scaled value is greater than the High High limit The value of the High limit in engineering units The color of the indicator bar when scaled value is greater than the High limit The value of the Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low limit The value of the Low Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low Low limit The deadband (as percentage of EU range) to apply to High/Low limit checking 0 to 10 See Note 3, Notes, page 315 See Note 3, Notes, page 315
Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Bar Background Bar Color High High Limit Value High High Limit Color High Limit Value High Limit Color Low Limit Value Low Limit Color Low Low Limit Value Low Low Limit Color Limit Deadband Border Width Border Color PLC Value
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated, raw (unscaled) input value for testing See Note 3, Notes, the graphic object page 315
300
31007131 04/2009
Horizontal or Vertical Slider A Horizontal or Vertical Slider provides an analog representation of the value of a symbol (variable) or direct address in a PLC. It is a scroll bar with a "thumb" position that represents the value as a percentage of its range in engineering units. With the mouse, you can change the value of the scroll bar, sending a new value to the PLC. The following table describes the properties for the Horizontal or Vertical Slider:
Property Name Address Data Type Background Label Label Color Label Font Major Scale Divisions Minor Scale Divisions Scale Color Scale Font Scale Precision Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The number of major (labeled) scale divisions The number of minor (unlabeled) scale divisions The color of the scale and its labels The font used for scale labels The number of fractional digits to be shown for -1 to 6 scale labels (set to -1 to use a general exponential format) The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC The amount that the scaled value should change when the scroll bars scroll area is clicked The amount that the scaled value should change when the scroll bars arrow buttons are clicked See Note 3, Notes, page 315 See Note 3, Notes, page 315 0 to 100 0 to 100 See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Block Increment Unit Increment
31007131 04/2009
301
Description
Limits
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border
Horizontal or Vertical Selector A Horizontal or Vertical Selector allows you select from a set of choices. When a selection is made, the value corresponding to the choice is sent to the PLC. The choices are shown as labels of a "scale," with the current selection indicated by the position of the "thumb" of a scroll bar. The following table describes the properties of the Horizontal or Vertical Selector:
Property Name Address Data Type Background Choices Description The name of the graphic object The direct address (or the name of a symbol (variable)) to monitor The data type of the direct address or symbol (variable) The background color for the graphic object The choices for the selector. Each choice is given Minimum of two as a label=value entry (when you select label, choices required value is sent to PLC). The label to be displayed as part of the graphic object The color of the label The font used for the label Indicates whether a "scale," labeled with the choices, is to be shown The color of the scale and its labels The font used for scale labels The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
Label Label Color Label Font Scale Visible Scale Color Scale Font Border Width Border Color
Digital Indicator A Digital Indicator provides a numeric representation of the value of a symbol (variable) or direct address in a PLC. The value can be shown in various formats, and can be made to change color when a preset high or low limit is exceeded.
302
31007131 04/2009
Value Background The background color of the value display area Value Color Value Font Units Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value High High Limit Value High High Limit Color High Limit Value High Limit Color Low Limit Value The text color for the digital display of the value The font used for the digital display of the value The label for the values engineering units (appended to the numerical display of the value) The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC The value of the High High limit in engineering units The color of the indicator bar when the scaled value is greater than the High High limit The value of the High limit in engineering units The color of the indicator bar when the scaled value is greater than the High limit The value of the Low limit in engineering units See Note 3, Notes, page 315 See Note 3, Notes, page 315
31007131 04/2009
303
Property Low Limit Color Low Low Limit Value Low Low Limit Color Limit Deadband Border Width Border Color PLC Value
Description The color for the indicator bar when scaled value is less than the Low limit The value of the Low Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low Low limit The deadband (as percentage of EU range) to apply to High/Low limit checking
Limits
0 to 10
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated, raw (unscaled) input value for testing See Note 3 the graphic object
Message Display A Message Display shows a text message based on the value of a symbol (variable) or direct address in a PLC. For each specified message, a specified value triggers its display. The following table describes the properties of the Message Display:
Property Name Address Data Type Background Messages Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The set of messages to display. Each message is Minimum of one given as a value=text entry (when the PLC value message required equals value, text is displayed as the message). The background color of the message display area The color of the message text The font used for the message text The label to be displayed as part of the graphic object The color of the label The font used for the label The width (in pixels) of the graphic objects border 0 to 32
31007131 04/2009
Limits
See Note 1, Notes, page 315 See Note 2, Notes, page 315
Message Background Message Color Message Font Label Label Color Label Font Border Width 304
Description The color of the graphic objects border A simulated input value for testing the graphic object
Limits
Push Button A Push Button allows you to send preset value(s) to a PLC when clicked with the mouse. The following table describes the properties of the Push Button:
Property Name Address Data Type Background Values Reset Values Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The value(s) to send to the PLC The value(s) to send to the PLC after the reset delay time has expired. If no reset values are provided, no reset action will occur. The delay time (in milliseconds) that the Push Button should wait after sending the value(s) to the PLC before sending the reset value(s). The label to be displayed as part of the graphic object The color of the label The font used for the label The text label for the button The color of the button The color of the button label The font used for the button label The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border 0 to 100 0-2000 See Note 4, Notes, page 315 See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
Reset Delay
Label Label Color Label Font Button Label Button Background Button Label Color Button Label Font Border Width Border Color
31007131 04/2009
305
Direct Output Station The Direct Output Station allows you to enter a numeric value in a text field directly with the keyboard. When the entered value is within preset high and low limits, a Set button is enabled. In this case, the entered value will be sent to the PLC when you press either the Set button or the ENTER key (if the input field has keyboard input focus). The following table describes the properties of the Direct Output Station:
Property Name Address Data Type Background Label Label Color Label Font Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Maximum Input Minimum Input Border Width Border Color Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC The maximum value, in engineering units, that is valid for the entered input value The minimum value, in engineering units, that is valid for the entered input value The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border See Note 3, Notes, page 315 See Note 3, Notes, page 315 See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
Indicator Light The Indicator Light provides a dual-state indication of the value of a symbol (variable) or direct address in a PLC. Unless the Input Inverted property is set to TRUE, an input value of zero is deemed OFF and a non-zero value is deemed ON. If the Flash Interval property is set to greater than zero, the light will flash while the input value is on.
306
31007131 04/2009
31007131 04/2009
307
Motor Control Station The Motor Control Station is designed to mimic the typical start/stop push button station that is often used to control motors. This graphic object is essentially a composite of two push buttons and an indicator light. A Customizer is provided to make it easier to set the objects many properties. All of the properties (except Name) are set with its Customizer, not with the Graphic Editors Property Sheet. The following table describes the properties of the Motor Control Station:
Property Name Background Label Label Color Label Font Border Width Border Color Indicator Light Description The name of the graphic object The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border Same properties as the Indicator Light graphic object, excluding the shared properties listed above Same properties as the Push Button graphic object, excluding the shared properties listed above Same properties as the Push Button graphic object, excluding the shared properties listed above Limits
Analog Meter An Analog Meter provides an analog representation of the value of a symbol (variable) or direct address in a PLC. It is represented as a pointer on a circular dial; its position indicates the value as a percentage of its range in engineering units. You can set the size of the meters circular dial (degrees sweep of a circle), the colors of the dial, and the style of the pointer. The following table describes the properties of the Analog Meter:
Property Name Address Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor See Note 1, Notes, page 315 Limits
308
31007131 04/2009
Property Data Type Background Label Label Color Label Font Major Scale Divisions Minor Scale Divisions Scale Color Scale Font Scale Precision
Description The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The number of major (labeled) scale divisions The number of minor (unlabeled) scale divisions The color of the scale and its labels The font used for scale labels
0 to 100 0 to 100
The number of fractional digits to be shown for -1 to 6 scale labels (set to -1 to use a general exponential format) The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC See Note 3, Notes, page 315 See Note 3, Notes, page 315
Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Dial Degrees Sweep Pointer Type Pointer Color Dial Color High High Limit Value High High Limit Color High Limit Value High Limit Color
The amount of a circular arc to use for drawing the 60 to 300 dial The type (needle, arrow head, etc.) of pointer to use The color for the pointer The color of the dial (that part that is within the High/Low limits) The value of the High High limit in engineering units The color of the indicator bar when the scaled value is greater than the High High limit The value of the High limit in engineering units The color of the indicator bar when the scaled value is greater than the High limit 309
31007131 04/2009
Property Low Limit Value Low Limit Color Low Low Limit Value Low Low Limit Color Border Width Border Color PLC Value
Description The value of the Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low limit The value of the Low Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low Low limit
Limits
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated, raw (unscaled) input value for testing See Note 3, Notes, the graphic object page 315
Rotary Slider A Rotary Slider provides an analog representation of the value of a symbol (variable) or direct address in a PLC. It is represented as a knob on a circular dial; its position indicates the value as a percentage of its range in engineering units. The dial size and knob color can be set. With the mouse, you can change the position of the knob, sending a new value to the PLC. The following table describes the properties of the Rotary Slider:
Property Name Address Data Type Background Label Label Color Label Font Major Scale Divisions Minor Scale Divisions Scale Color Scale Font Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The number of major (labeled) scale divisions The number of minor (unlabeled) scale divisions The color of the scale and its labels The font used for scale labels 0 to 100 0 to 100 See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
310
31007131 04/2009
Description
Limits
The number of fractional digits to be shown for -1 to 6 scale labels (set to -1 to use a general exponential format) The amount of a circular arc to use for drawing the 60 to 300 dial The color of the dial The color used for the knob The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC See Note 3, Notes, page 315 See Note 3, Notes, page 315
Dial Degrees Sweep Dial Color Knob Color Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Border Width Border Color
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border
Rotary Selector A Rotary Selector allows you to select from a set of choices. When a selection is made, the value corresponding to the choice is sent to the PLC. The choices are shown as labels of a "scale," with the current selection indicated by the position of the knob. The size of the circular dial (degrees sweep of a circle) and knob color can be set. The following table describes the properties of the Rotary Selector:
Property Name Address Data Type Background Choices Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The choices for the selector. Each choice is given Minimum of two as a label=value entry. (When you select label, choices required value is sent to PLC.) The label to be displayed as part of the graphic object See Note 1, Notes, page 315 See Note 2, Notes, page 315 Limits
Label
31007131 04/2009
311
Property Label Color Label Font Scale Visible Scale Color Scale Font Dial Degrees Sweep Knob Color Border Width Border Color
Description The color of the label The font used for the label Indicates whether a "scale," labeled with the choices, is to be shown The color of the scale and its labels The font used for scale labels
Limits
The amount of a circular arc to use for drawing the 60 to 300 dial The color of the knob The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border
Trend Recorder A Trend Recorder provides a continuous, time-based charting of the value of up to six symbol(s) (variables) or direct addresses in a PLC. A Trend Recorder emulates a strip-chart recorder, with the pens on the right, and the "paper" moving from right to left. A vertical scale can be shown on the left side of the chart for showing the range of the values being recorded, and a horizontal scale can be shown below the chart for showing the time span of the chart. You can set the rate at which the chart is updated, and the appearance of the chart. A Customizer is provided to make it easier to set this objects many properties. All properties (except Name) are set with its Customizer, not with the Graphic Editors Property Sheet. The following table describes properties of the Trend Recorder. Properties available for each pen are described in the next table:
Property Name Background Label Label Color Label Font Major Scale Divisions Minor Scale Divisions Scale Color Description The name of the graphic object The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The number of major (labeled) scale divisions The number of minor (unlabeled) scale divisions The color of the scale and its labels 0 to 100 0 to 100 Limits
312
31007131 04/2009
Limits
The number of fractional digits to be shown for -1 to 6 scale labels (set to -1 to use a general exponential format) The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The update interval (in seconds) for the chart The number of horizontal scale divisions 0.5 to 120 0 to 6
Chart Background The color of the chart area Grid Color Vertical Grid Divisions Border Width Border Color The color of the grid drawn in the chart area The number of vertical divisions for the grid 0 to 100
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border
31007131 04/2009
313
Display Link A Display Link is a special graphic object that allows you to switch to another graphic display by clicking on it with a mouse. To indicate that the object is a link to another display, the text label for the link is underlined and the mouse cursor changes to a hand icon when the mouse is moved over it. This object is especially useful when the Graphic Editor is used in view mode, where no drop-down list of graphic displays is available for selecting a display. A Display Link can also be used as a hyperlink to an HTML file. If a URL is entered as the Link Display Name, the URL can be opened in a new browser window if you press the SHIFT key while clicking the link; otherwise, the existing browser window is replaced with the URL when the link is clicked. If the Link Display Name is blank, then the Label will be shown as not underlined, and the displayed object becomes a simple text label. The following table describes the properties of the Display Link:
Property Label Description The label of the link Limits
Link Display Name The name of the graphic display to be loaded when the link is clicked, or a URL of a Web page Label Color Label Font The color of the label The font used for the label
314
31007131 04/2009
2.
The limits for the Maximum PLC Value and Minimum PLC Value properties are the natural limits of the Data Type property that is set. A Data Type setting of UNDEFINED is treated as REAL with respect to its limit values. For a Push Button, at least one value must be provided. If the Address property is a symbol (variable) name, then only one value will ever be sent to the PLC, and any additional values are ignored. If the Address property is a direct address, then all of the values provided will be sent to the PLC as an array of values starting at the specified direct address.
4.
31007131 04/2009
315
WARNING
UNINTENDED EQUIPMENT OPERATION Do not use graphic objects in situations where loss of communication to the FactoryCast module can affect human or material integrity. Graphic objects are not intended for use in safety critical machine functions. Failure to follow these instructions can result in death, serious injury, or equipment damage. For example, say you have programmed a pushbutton object to jog a motor when the button is depressed and to stop jogging when the button is released. If communications are lost while the button is depressed, the motor will continue to jog even when the button is released. Graphic objects should not be used to control situations such as this unless other interlock methods are installed in the system. Additionally, to support customers that want to put several simple applets on a single HTML page, each object in the Graphic Editor set is provided in an applet version. When used in conjunction with the LiveBeanApplet, Graphic Editor graphic objects can be used in the same way as the LiveLabelApplet. ASCII Text Writer The ASCII text writer is based on the message display widget. It allows you to input new text. The properties of the ASCII text writer are:
Property Name Address Max. Text Length Text Color 316 Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The maximum length of the text The color of the text
31007131 04/2009
Limits
Description The font of the text False if target order of bytes is same as PC one. The text itself
Limits
Bar Graph A bar graph provides an analog representation of the value of a symbol (variable) or direct address in a PLC. It draws a vertical bar whose length is proportional to the value as a percentage of its range in engineering units. The properties of the bar graph are:
Property Name Address Data Type Background Label Label Color Label Font Maximum EU Value Minimum EU Value Maximum PLC Value Minimum PLC Value Bar Background Bar Color High High Limit Value High High Limit Color High Limit Value Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used on the label The maximum value, in engineering units, of the direct address or symbol (variable) The minimum value, in engineering units, of the direct address or symbol (variable) The maximum raw (unscaled) value of the direct address or symbol (variable) in the PLC The minimum raw (unscaled) value of the direct address or symbol (variable) in the PLC The background color of the bar indicator area The color of the indicator bar (when scaled value within High/Low limits) The value of the High High limit in engineering units The color of the indicator bar when the scaled value is greater than the High High limit The value of the High limit in engineering units See Note 3, Notes, page 325 See Note 3, Notes, page 325 See Note 1, Notes, page 325 See Note 2, Notes, page 325 Limits
31007131 04/2009
317
Property High Limit Color Low Limit Value Low Limit Color Low Low Limit Value Low Low Limit Color Limit Deadband Border Width Border Color PLC Value
Description The color of the indicator bar when scaled value is greater than the High limit The value of the Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low limit The value of the Low Low limit in engineering units The color of the indicator bar when the scaled value is less than the Low Low limit The deadband (as percentage of EU range) to apply to High/Low limit checking
Limits
0 to 10
The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated, raw (unscaled) input value for testing See Note 3, Notes, the graphic object page 325
Bitmap The bitmap widget displays a static bitmap on the screen. The properties of the bitmap widget are:
Property Name Background Label Label Color Label Font Border Width Border Color Bitmap Choices Description The name of the graphic object The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The width (in pixels) of the graphic objects border The color of the graphic objects border Represents the filenames of the custom bitmaps to display. The default root path of the file location directory is /FLASH1/wwwroot;; ":images/ thus refers to /FLASH1/wwwroot/images/ . See Note 1, Notes, page 325 Limits
318
31007131 04/2009
Generic Bitmap The generic bitmap widget lets you display one static bitmap for each distinct value of a PLC variable. It can be used to display dynamic animations, for instance the changing level in a tank. The properties of the Generic Bitmap widget are:
Property Name Address Data Type Background Label Label Color Label Font Bitmap Choices Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label Represents the filenames of the custom bitmaps to display. Clicking on this property opens a text editor that makes it possible to type the PLC value conditions and related bitmaps to display, such as "0:key.gif:images/" where 0 is the PLC value, "key.gif" the bitmap file related to the value, "images" the directory in which the file is located. The default root path of the file location directory is /FLASH1/wwwroot; images/ thus refers to /FLASH1/wwwroot/images/. The width (in pixels) of the graphic objects border The color of the graphic objects border A simulated input value for testing the graphic object behavior. See Note 1, Notes, page 325 See Note 2, Notes, page 325 See Note 1, Notes, page 325 Limits
Graphic Link A graphic link is a special graphic object that lets you switch to another graphic display by clicking on it. Graphic links can also be recognized by their underlined labels, and the mouse cursor changes to a hand icon when the mouse moves over them. This object is especially useful when the Graphic Editor is used in view mode, where no drop-down list of graphic displays is available.
31007131 04/2009
319
A graphic link can also be used as a hyperlink to an HTML file. If a URL is entered as the Link Display Name, the URL can be opened in a new browser window by simultaneously pressing the SHIFT key and clicking the link. Otherwise, the URL opens in the existing browser window when the link is clicked. If the Link Display Name is blank, then the label is not underlined, and the displayed object becomes a simple text label. The properties of the display link are:
Property Label Description The link label Limits
Link Display Name The name of the graphic display to be loaded when the link is clicked, or the URL of a Web page Label Color Label Font Bitmap Choices The color of the label The font used on the label The filename of the bitmap on which to click
Indicator Light The indicator light displays the value of a symbol (variable) or direct address in a PLC with two possible states. An input value of 0 is considered off and a non-zero value is considered on. If the Flash Interval property is set to a value greater than 0, the light flashes while the input value is on. There is a bitmap for the on-state and a different one for the off-state. The properties of the indicator light are:
Property Name Address Data Type Background Label Label Color Label Font OFF Word OFF Bitmap Choice OFF Word Color OFF Word Font 320 Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The text to display when the input value is off The light bitmap when the OFF word is displayed The color of the OFF word text The font used for the OFF word text
31007131 04/2009
Limits
See Note 1, Notes, page 325 See Note 2, Notes, page 325
Property ON Word
Limits
ON Bitmap Choice The light bitmap when the ON word is displayed ON Word Color ON Word Font Flash Interval Input Inverted Border Width Border Color PLC Value The color of the ON word font The font used for the ON word text The flashing time period (in ms) of the light when the input value is on. Set to 0 for no flashing. If true, inverts the input value. (Light will show the off-word when input value is on.) The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated input value for testing the graphic object See Note 3, Notes, page 325 200 to 2000
Motor The motor widget displays the value of a symbol (variable) or direct address in a PLC with three possible states. An input value of 0 is considered off, a value of 1 is considered on and other values are considered default. The three states are represented by different bitmaps. The properties of the motor widget are:
Property Name Address Data Type Background Label Label Color Label Font OFF Word OFF Bitmap Choice OFFWord Color OFF Word Font ON Word Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The text to display when the input value is off The motor bitmap when the OFF word is displayed The color of the OFF word text The font used for the OFF word text The text to display when the input value is ON See Note 1, Notes, page 325 See Note 2, Notes, page 325 Limits
31007131 04/2009
321
Property
Description
Limits
ON Bitmap Choice The motor bitmap when the ON word is displayed ON Word Color ON Word Font DEFAULTWord DEFAULT Bitmap Choice DEFAULT Word Color DEFAULT Word Font Border Width Border Color PLC Value The color of the ON word font The font used for the ON word text The text to display when the input value is ON The motor bitmap when the DEFAULT word is displayed The color of the DEFAULT word font The font used for the DEFAULT word text The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated input value for testing the graphic object See Note 3, Notes, page 325
Pipe The pipe displays the value of a symbol (variable) or direct address in a PLC with two possible states. An input value of 0 is considered off and a non-zero value is considered on. There is a bitmap for the on-state and a different one for the off-state. The properties of the pipe are:
Property Name Address Data Type Background Label Label Color Label Font OFF Word OFF Bitmap Choice OFF Word Color OFF Word Font Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The text to display when the input value is off The pipe bitmap when the OFF word is displayed The color for the OFF word text The font used for the OFF word text See Note 1, Notes, page 325 See Note 2, Notes, page 325 Limits
322
31007131 04/2009
Property ON Word
Limits
ON Bitmap Choice The pipe bitmap when the ON word is displayed ON Word Color ON Word Font Border Width Border Color PLC Value The color of the ON word font The font used for the ON word text The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border A simulated input value for testing the graphic object See Note 3, Notes, page 325
Push Button A push button sends preset value(s) to a PLC when the user clicks it with the mouse. These are the properties of the Push Button.
Property Name Address Data Type Background Values Reset Values Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The value(s) to send to the PLC The value(s) to send to the PLC after the reset delay time has expired. If no reset values are provided, no reset action will occur. The delay time (in milliseconds) that the Push Button should use after sending the value(s) to the PLC before sending the reset value(s). The label to be displayed as part of the graphic object The color of the label The font used for the label The text label for the button The color of the button label The font used for the button label 0-2000 See Note 4, Notes, page 325 See Note 1, Notes, page 325 See Note 2, Notes, page 325 Limits
Reset Delay
Label Label Color Label Font Button Label Button Label Color Button Label Font
31007131 04/2009
323
Limits
ON Bitmap Choice The button bitmap when the ON state is displayed Border Width Border Color The width (in pixels) of the graphic objects border 0 to 32 The color of the graphic objects border
Valve The valve displays the value of a symbol (variable) or direct address in a PLC with two possible states. An input value of 0 is considered off and a non-zero value is considered on. There is a bitmap for the on-state and a different one for the off-state. The properties of the valve are:
Property Name Address Data Type Background Label Label Color Label Font OFF Word OFF Bitmap Choice OFF Word Color OFF Word Font ON Word Description The name of the graphic object The direct address or the name of a symbol (variable) to monitor The data type of the direct address or symbol (variable) The background color of the graphic object The label to be displayed as part of the graphic object The color of the label The font used for the label The text to display when the input value is off The valve bitmap when the OFF word is displayed The color of the OFF word text The font used for the OFF word text The text to display when the input value is ON See Note 1, Notes, page 325 See Note 2, Notes, page 325 Limits
ON Bitmap Choice The valve bitmap when the ON word is displayed ON Word Color ON Word Font Flash Interval Border Width The color of the ON word font The font used for the ON word text The flashing time period (in ms) of the light when the input value is on. Set to 0 for no flashing. 200 to 2000
324
31007131 04/2009
Description The color of the graphic objects border A simulated input value for testing the graphic object
Limits
2.
31007131 04/2009
325
3.
The limits for the Maximum PLC Value and Minimum PLC Value properties are the natural limits of the Data Type property that is set. A Data Type setting of UNDEFINED is treated as REAL with respect to its limit values. For a Push Button, a minimum of one value must be provided. If the Address property is a symbol (variable) name, then only one value will ever be sent to the PLC, and any additional values will be ignored. If the Address property is a direct address, then all of the values provided will be sent to the PLC as an array, starting at the specified direct address.
326
31007131 04/2009
31007131 04/2009
Appendices
Introduction These technical appendices supplement the information in this guide. What's in this Appendix? The appendix contains the following chapters:
Chapter A B C D Chapter Name TCP/IP Technical Characteristics IP Address Details Transparent Ready Service Classes Schneider Private MIB Page 329 341 349 353
31007131 04/2009
327
328
31007131 04/2009
A
About this Chapter This chapter contains some of the more technical network and communications characteristics of TCP/IP, as it relates to Modicon M340 devices. What's in this Chapter? This chapter contains the following topics:
Topic Summary of TCP/IP Characteristics Address Management for Ethernet Modules Modbus Communication on the TCP/IP Profile Managing TCP Connections for Modbus Opening a TCP/IP Connection Closing a TCP/IP Connection Broken TCP/IP Connections Page 330 331 332 335 336 338 339
31007131 04/2009
329
Software Port 502 The port reserved for the BMX NOE 01x0 or the Ethernet port on the BMX P34 20x0 is TCP port 502. When a client wishes to access the server of these modules, it must do so through this port. Timeout on TCP Connection If a TCP connection cannot be established (when the destination is absent for example), a 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 "keep alive" frame (see page 339) almost every two hours so that breaks in connection can be detected (for example, cable disconnection, detection of power outage from the client by a server, etc.).
330
31007131 04/2009
CAUTION
UNINTENDED EQUIPMENT OPERATION You must carefully manage the modules IP addresses because each device on the network requires a unique address. If two devices have duplicate network addresses, you can not predict the operation of the equipment. Failure to follow these instructions can result in injury or equipment damage. NOTE: Consult your system administrator to obtain the appropriate network address and subnetwork mask. MAC Address The MAC address is unique to each Ethernet module. It is defined in the factory by the module manufacturer. NOTE: Given the risk of duplicate addresses, ensure that the address conforms to the manufacturers addressing scheme. IP Address General case: Define this address when configuring the module. This address must be unique. Exception: In the absence of configuration by Unity Pro, the server, etc., the default IP address of the BMX NOE 01x0 and the Ethernet port of the BMX P34 20x0 CPUs is derived from the MAC address (see page 62).
31007131 04/2009
331
332
31007131 04/2009
The following figure shows the Modbus communications over open TCP/IP connections:
1 2 3 4 5 6
Modicon M340 PLC (1) Modicon M340 PLC (2) Modbus protocol Quantum server/client client supervisor TCP/IP Ethernet
The same module can communicate with a remote device in client mode (for example a Quantum PLC) and another remote device in server mode (for example a supervisor PC). In the above figure, Modicon M340 PLC (1) is the client to the Quantum PLC. It opens the TCP/IP connection and sends Modbus messages to the Quantum. Modicon M340 PLC (2) is the server to the supervisor. The supervisor has opened a TCP/IP connection for sending Modbus messages to Modicon M340 PLC (2).
31007131 04/2009
333
Data Exchange The following requests are addressed to the device on which you want to perform variable read or write operations:
Modbus Requests Read bits Read input bits Read words Write a bit or n bits Write a word or n words Function Code (Hexadecimal) Communication Function 16#01 16#02 16#03 16#0F 16#10 READ_VAR READ_VAR READ_VAR WRITE_VAR WRITE_VAR
NOTE: The timeout value for READ_VAR is user-configurable as follows: If you enter a 0 as the timeout value, the block will never timeout. If you enter a non-zero value, the block will timeout at the non-zero value you entered. Correspondence of Object Types This table describes object type correspondence between a Modicon M340 PLC and a Momentum, Quantum, or Premium PLC:
Modicon M340 Objects %MW: internal words %M: internal bits %IW: input words %I: input bits Quantum or Momentum Objects 4x... memory area 0x... memory area 3x... memory area 1x... memory area
334
31007131 04/2009
31007131 04/2009
335
WARNING
UNINTENDED EQUIPMENT OPERATION Do not exceed the maximum number of connections. Idle connections that are closed automatically when the limit is reached can affect system performance. See the discussion of closed connections (see page 338). Failure to follow these instructions can result in death, serious injury, or equipment damage. A TCP/IP connection can be opened by a request from: a remote device 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 only if an access control check (see page 146) is activated. The test checks to see if the address is on a list of remote machines authorized for connection: positive result: connection is opened negative result: connection is closed With a Local PLC When a message is sent out by a communication function while there is no connection to the remote device, the module automatically (internally) opens a connection to the remote 502 port.
336
31007131 04/2009
Opening a Connection Example The following figure shows an example of connections. (All communications are over Ethernet TCP/IP.)
In this example, three TCP connections are open for communication between the PC and the PLC stations or between two PLC stations. Either of two PLCs can open the connection between them.
31007131 04/2009
337
WARNING
UNINTENDED EQUIPMENT OPERATION Do not exceed the maximum number of connections. Idle connections that are closed automatically when the limit is reached can affect system performance. Unity Pro configuration in TCP/IP mode is not a terminal connection; it can be closed. When the maximum number of connections is reached, the Unity Pro connection may be closed. Failure to follow these instructions can result in death, serious injury, or equipment damage. TCP/IP connections can be closed by the: remote station: The remote station ends communication by sending a TCP/IP connection closure. local station: When the maximum number of open connections is reached and a new connection is required, the connection that has been idle for the longest time is closed. Elsewhere in this guide are details of the maximum number of connections for the BMX NOE 01x0 (see page 124) and the maximum number of connections for the BMX P34 20x0 CPUs (see page 130).
338
31007131 04/2009
1 2 3
The client Modicon M340 module is still sending out data on the old connection (which remains half open). The server receiving the information without associated connection sends out a Reset command and closes the old connection. The client Modicon M340 module opens a new connection.
31007131 04/2009
339
Lost Connection to Client The remote device that disappeared was the client.
1 2 3
The client opens a new connection. The server Modicon M340 module receives the request to open a new connection. The server Modicon M340 module closes the old connection (if there is nothing in progress) and authorizes the new one.
340
31007131 04/2009
IP Address Details
B
About this Chapter This chapter discusses some important IP address details to consider when incorporating Transparent Ready capabilities into your network design. What's in this Chapter? This chapter contains the following topics:
Topic IP Addresses and Classes Multicasting Considerations Page 342 347
31007131 04/2009
341
IP Address Details
Network Address Defined An IP address consists of two parts, the network address and the host or device address. The subnetwork mask is a filter that is applied to the IP address to determine which part of the IP address is the network address and which part is the host or device address. The network address is the part of an IP address that identifies the subnet that the address is a part of. The mask is a 32-bit value that uses one-bits for the network and subnet portions and zero-bits for the host portion. In classful addressing, the network address portion of the IP address consists of one, two or three octets, starting from the left.
IP Address Subnetwork Mask Network Portion of IP Address 11000000 11111111 11000000 10100000 11111111 10100000 00010100 11111111 00010100 00110000 00000000 00000000 192.160.20.48 255.255.255.0 192.160.20.0
Classful Addressing In classful addressing, these are the possible classes of IP addresses to use, depending on the size of your enterprise: Class A = 0.0.0.0/8 through 127.0.0.0/8 Class B = 128.0.0.0/16 through 191.255.0.0/16 Class C = 192.0.0.0/24 through 223.255.255.0/24 Class D = 224.0.0.0 through 239.255.255.255 is used for multicasting (see page 347) The remaining addresses known as Class E are reserved for experimental use.
342
31007131 04/2009
IP Address Details
An address comprises 2 parts: the network information the host (node or end device) information The IP address comprises four sets of decimal numbers called octets, each separated by a period, with a value from 0 to 255 that represents a converted binaryto-decimal number Classless Addressing Classless addressing (also known as CIDR or supernetting) was developed to improve current Internet problems regarding the efficient utilization of address space. It also is used to add to the routing scalability of networks. Allocating portions of the large but limited number of addresses to an enterprise all at one time often resulted in the waste of some reserved addresses. Including each network in a table resulted in overload. Also, medium-sized enterprises that fit the class B category have multiplied the fastest, using much of the space in that class. Classless addressing, by allowing the delineation point between network information and host information to be flexible, has expanded the number of addresses available to all sizes of enterprise and has reduced the size of routing tables. Choosing an Address Range Public addresses, for use on the Internet, are assigned by a governing organization called the Internet Assigned Numbers Authority (IANA). However, your company may already have been assigned a section of addresses and your IT person can allocate the quantity that you need. If you have not been given a predefined set of IP ranges, you should be aware that the following three blocks have been reserved by IANA for private Internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) Special Addresses There are three types of special addresses that should be mentioned: broadcast loopback network A broadcast message, usually used for network management and diagnostic purposes, is addressed to all stations on the network. The destination address in a broadcast message is made up of all 1s (255.255.255.255).
31007131 04/2009
343
IP Address Details
A loopback address is used to test the implementation of the TCP/IP protocol on a host. The lower layers are bypassed by sending to a loopback address. This allows the higher layers (IP and above) to be tested without exposing problems at the lower layers. 127.0.0.1 is the address typically used for loopback testing. As described in the previous section, network address refers to the network portion of an IP (Internet Protocol) address. Sufficient Addresses In planning for your network, you should anticipate the need for these addresses: for the gateway (one address) for broadcast for the number of services for future devices added to the network Tools can be found on the Internet to help calculate the number of addresses your network requires. Subnetting Forming subnets divides a large network into more manageable segments; it can allow you to expand the number of networks, while using only the single IP address. You need not apply for more of the limited number of IP address numbers. Network traffic is reduced by sending messages to only a limited segment of the network. Subnetting can be particularly helpful on a network that handles a lot of broadcast traffic. It can also be useful if you have a slow WAN link connecting your far-flung locations. To subnet, the default subnetwork mask for a network is extended to cover bits of the address that would otherwise be part of the host field. Once these bits are masked, they become part of the network field and are used to identify subnets of the larger network. Choose a subnet of a size (number of addresses) appropriate for the number of devices on it; a size that allows for growth, but is not wasteful of addresses. For example, if you have 50 devices, choose a subnet of 64 addresses, not 1024. The following table contains one column presenting the number of addresses and another with the corresponding mask.
subnetwork Mask 0.0.0.0 128.0.0.0 192.0.0.0 224.0.0.0 240.0.0.0 248.0.0.0 Number of Addresses 4,294,964,086 2,147,482,048 1,073,741,024 536,870,512 268,435,256 134,217,628
344
31007131 04/2009
IP Address Details
subnetwork Mask 252.0.0.0 254.0.0.0 255.0.0.0 255.128.0.0 255.192.0.0 255.224.0.0 255.240.0.0 255.248.0.0 255.252.0.0 255.254.0.0 255.255.0.0 255.255.128.0 255.255.192.0 255.255.224.0 255.255.240.0 255.255.248.0 255.255.252.0 255.255.254.0 255.255.255.0 255.255.255.128 255.255.255.192 255.255.255.224 255.255.255.240 255.255.255.248 255.255.255.252 255.255.255.254 255.255.255.255
Number of Addresses 67,108,864 33,554,432 16,777,216 8,388,608 4,194,304 2,097,152 1,048,576 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 2048 1024 512 128 64 32 16 8 4 2 1
For a subnet with 64 addresses, the subnetwork mask is 255.255.255.192. The IP address would therefore be 192.168.1.1, the network address would be 192.168.0 and the host range would be from 0.1 to .63.
31007131 04/2009
345
IP Address Details
Using Subnets in a Plant By using subnets in your plant, you can divide the plant into sections to avoid traffic overload. Use a router to pass traffic between subnets. There should be no more than 200 to 300 devices per network. However, it is preferable to have a smaller network with 50 to 100 devices. Add networks if you must accommodate more devices than the preferred number. Assigning Addresses You may obtain addresses from the governing organization or use a group of those already assigned to your company. The next step is to assign a unique address to each end device by one of several methods. In static addressing, each user is assigned one fixed IP address to be used every time the user connects to the Internet. Dynamic addressing assigns the IP automatically, as needed. BootP (Bootstrap Protocol) as its name suggests, allows a workstation to configure itself without a hard drive or floppy disk. The workstation can discover its own IP address, the IP of a server and a file to be loaded into memory to boot the machine. DHCP assigns a different address to a device when it requests one. The software, rather than the administrator as in static addressing, keeps track of the IP addresses.
346
31007131 04/2009
IP Address Details
Multicasting Considerations
Summary IP multicast, a method of selectively sending messages promoted by an industry consortium of prominent companies, is an up-and-coming technology that will be used increasingly for: monitoring: manufacturing and other types of real-time information, sensor equipment or security systems. announcements: network time, multicast session schedules, random numbers, keys, configuration updates, etc. file distribution and caching: Web site content, executable binaries scheduled distribution of audio and video push media: news headlines, weather updates, sports scores, etc. On the Internet You should make sure that your router and/or switches support multicast, your workstations are configured to join a multicast group and that you have installed any specific applications needed to receive the multicast. IP Multicasting Transport The UDP protocol is used for IP multicasting. The multicast address selected is important in allowing network managers to control the way hosts (end devices) join groups and how routers exchange multicast information. IP Multicast Addresses In IP multicasting, each group has a multicast group ID, a set of Class D IP addresses used to specify the destination of a message. The addresses range from 224.0.0.0 to 239.255.255.255. Each multicast IP address can have a number of hosts listening to it. Hosts can belong to a multicast group, and the IP addresses are associated with that group. Each configured device has a multicast IP address that is in addition to its own IP address. Class D addresses can be classified as follows: permanently assigned: addresses in the range 224.0.0.0 to 224.0.0.225, permanently assigned by IANA for certain applications such as routing protocols; for example: 224.0.0.0 for the base address 224.0.0.1 for all systems on this subnet 224.0.0.2 for all routers on this subnet 224.0.0.4 for DVMRP routers
31007131 04/2009
347
IP Address Details
nonpermanent: addresses in the range 224.0.1.0 to 238.255.255.255, used for assignment as needed on the Internet administered nonpermanent: addresses in the range 239.0.0.0 to 239.255.255.255, reserved for use in private Intranets
348
31007131 04/2009
Service Classes
Introduction The Transparent Ready service classes make it possible to identify the services provided by each device, such as: diagnostic, display, and control services via Web technologies Ethernet communication services Web Service Classes The four Web service classes are defined by letter: class A: no Web services class B: standard Web services class C: configurable Web services class D: active Web services Transparent Ready devices with an embedded Web server can provide four types of Web service: maintenance control diagnostic optional, such as documentation and configuration NOTE: The availability of Web service classes depends on your choice from the standard and optional memory cards (see page 46).
31007131 04/2009
349
This table specifies the services provided by each Web service class (A, B, C, D):
Web Server Class Web Services Maintenance no web service remote device software update remote auto-tests device description data viewer device description data diagnostic configuration of network parameters and Ethernet communication services device documentation user documentation Monitoring and IT Link Diagnostics Optional
A none B standard
C configurable
PLC variables editor remote commands user Web pages SOAP/XML (server) autonomous execution of specific services (e.g., alarm notification by Email, exchange with databases, calculations, ...) SOAP/XML (client/server)
D active
user-defined states
user documentation
Ethernet Communication Service Classes The Ethernet communication services provided by devices are (identified by number): class 10: standard Ethernet communication services class 20: Ethernet communication management services (network level and device level) class 30: advanced Ethernet communication services Transparent Ready devices can provide these Ethernet communication services: Modbus TCP/IP messaging service (see page 102) I/O scanning service (see page 78) FDR (Faulty Device Replacement) service (see page 97) SNMP network management service (see page 88) Global Data service (see page 94) Bandwidth management service (see page 98)
350
31007131 04/2009
The following table specifies the services provided for each Ethernet communication service class:
Ethernet Communication Service Classes 30 20 advanced services communication management services Ethernet communication services Modbus Messaging direct reading/writing of I/O I/O Scanning periodic read/write of I/O config. of the list of scanned devices FDR automatic control/update of device parameter config. automatic assignment of IP address and network parameters control/update config. and device parameters by the user Local assignment of the IP address Verification of duplicate IP addresses
10
standard services
10
Choosing Transparent Ready Devices Transparent Ready devices are chosen from four main families: sensor and actuator type field devices (simple or intelligent) controllers and PLCs Human Machine Interface (HMI) applications dedicated gateways and servers The services provided by a given Transparent Ready device are identified by the level of Web service (a letter) followed by the level of Ethernet communication service (a number). For example: a class A10 product is a device in with class A Web services (none) and class 10 Ethernet services (standard) a class C30 product is a device with class C Web services (configurable) and class 30 Ethernet services (advanced)
31007131 04/2009
351
NOTE: Service classes are incremental subsets. That is, class D includes all the services in class C, and class C includes all the services in class B. (Class A has no services.) The selection table on the following pages can be used for choosing Transparent Ready devices according to the required service classes:
Ethernet Communication Services Class A no service Class 30 Class 20 Class 10 advanced service communication management services standard services A30 A20 A10 Class B standard B30 B20 B10 Class C configurable C30 C20 C10 Class D active D30 D20 D10
352
31007131 04/2009
D
About this Chapter This chapter provides the detailed tree structure of the Schneider private MIB and a description of its services. What's in this Chapter? This chapter contains the following topics:
Topic The Schneider Private MIB Schneider Private MIB Tree Structure MIB Subtree Description Switch Subtree Description Port 502 Messaging Subtree Description I/O Scanning Subtree Description Global Data Subtree Description Web Subtree Description Address Server Subtree Description Equipment Profile Subtree Description Time Management Subtree Description Email Subtree Description Transparent Factory MIB Version Private Traps and MIB Files Page 354 356 364 365 366 367 368 369 370 371 373 374 375 376
31007131 04/2009
353
354
31007131 04/2009
Private MIB Identifier Schneider Electric obtained a Private Enterprise Number (PEN) from the Internet Assigned Numbers Authority (IANA). That number represents a subtree in the SNMP MIB, a number that is a unique identifier used for Groupe Schneider. The object identifier for the root of the Groupe Schneider subtree is 1.3.6.1.4.1.3833 and represents a path to the subtree as follows:
iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) groupeschneider(3833) transparentFactoryEthernet(1)
Under the Groupe Schneider private MIB is a TFE private MIB, transparentFactoryEthernet(1).
31007131 04/2009
355
|----------(1) port502ConnLocalPort |----------(2) port502ConnRemAddress |----------(3) port502ConnRemPort |----------(4) port502ConnType |----------(5) port502ConnMsgIn |----------(6) port502ConnMsgOut |----------(7) port502ConnMsgErr |----------(8) port502XwayNet |----------(9) port502XwayStation |------(9) port502MsgIn |------(10) port502MsgOut |------(11) port502MsgOutErr |------(12) port502AddStackStat |------(13) port502AddStackStatTable |------------(1) port502AddStackStatEntry |----------------(1) port502AddStackStatIndex |----------------(2) port502PeaKTcpRetransSegs |---(3) ioScanning |------(1) ioScanStatus |------(2) ioScanMaxDevice |------(3) ioScanPolledDevice |------(4) ioScanTransSend |------(5) ioScanGlbHealth |------(6) ioScanningDeviceTable |----------(1) ioScanDeviceEntry |--------------(1) IoScanDeviceRemAddress |--------------(2) IoScanDeviceHealth |--------------(3) IoScanDeviceRate |--------------(4) ioScanInputLocalAddress |--------------(5) ioScanOutputLocalAddress |---(4) globalData |------(1) glbDataStatus |------(2) glbDataMaxPub
31007131 04/2009
357
|------(3) glbDataMaxSub |------(4) glbDataPub |------(5) glbDataSub |------(6) glbDataPubErr |------(7) glbDataSubErr |------(8) glbDataGlbSubHealth |------(9) glbDataPubTable |----------(1) glbDataPubEntry |--------------(1) glbDataPubSourceAddress |--------------(2) glbDataPubHostId |--------------(3) glbDataPubNetId |--------------(4) glbDataPubGroupId |--------------(5) glbDataPubCnt |--------------(6) glbDataPubErrCnt |--------------(7) glbDataPubDistribRate |--------------(8) glbDataPubDuplicateErr |------(10) glbDataSubTable |--------------(1) glbDataSubEntry |------------------(1) glbDataSubSourceAddress |------------------(2) glbDataSubHostId |------------------(3) glbDataSubNetId |------------------(4) glbDataSubGroupId |------------------(5) glbDataSubCnt |------------------(6) glbDataSubErrCnt |------------------(7) glbDataMinimumSeparation |------------------(8) glbDataHealth |------------------(9) glbDataHealthTimeOut |------------------(10) glbDataLastRecErr |---(5) Web |------(1) webStatus |------(2) webPassword |------(3) webSuccessfullAccess |------(4) webFailedAttempts
358
31007131 04/2009
|---(6) addressServer |------(1) addressServerStatus |---(7) equipmentProfile |------(1) profileProductName |------(2) profileVersion |------(3) profileCommunicationServices |------(4) profileGlobalStatus |------(5) profileConfigMode |------(6) profileRoleName |------(7) profileBandwidthMgt |------(8) profileBandwidthDistTable |---------(1) profileBandwidthDistEntry |------------(1) bandwidthDistributionIndex |------------(2) port502Bandwidth |------------(3) ioScanningBandwidth |------------(4) globalDataBandwidth |------------(5) otherBandwidth |------(9) profileLedDisplayTable |---------(1) profileLedDisplayEntry |------------(1) ledIndex |------------(2) ledName |------------(3) ledDescr |------------(4) ledState |------(10) profileSlot |------(11) profileCPUType |------(12) profileTrapTableEntriesMax |------(13) profileTrapTable |---------(1) profileTrapEntry |------------(1) trapCommunityName |------------(2) remoteIpAddress |------------(3) authenticationTrap |------------(4) port502Trap |------------(5) ioScanningTrap
31007131 04/2009
359
|------------(6) globalDataTrap |------------(7) webTrap |------------(8) addressServerTrap |------------(9) profileTrap |------------(10) timeManagementTrap |------------(11) emailTrap |------(14) profileSpecificId |------(15) profileIpAddress |------(16) profileIpNetMask |------(17) profileIpGateway |------(18) profileMacAddress |------(19) profileImplementationClass |------(100) premiumProfile |------(101) quantumProfile |------------(100) qnoe |---------------(1) qNoeCommand |------(102) microProfile |------------(100) mEtz |---------------(1) etzIpMgtStatus |---------------(2) etzIpMgtDhcpTries |---------------(3) etzIpMgtDhcpMode |---------------(4) etzRepUserBkups |---------------(5) etzRepAutoBkups |---------------(6) etzRepStatus |---------------(7) etzRepTFPcnxErrors |---------------(8) etzRepTFPxferErrors |------(103) momentumIoProfile |------------(1) momentumIoBaseType |------------(2) momentumIoBaseName |------------(3) momentumIoMasterIPTable |---------------(1) momentumIoMasterIPEntry |------------------(1) momentumIoMasterIPValue |------------(4) momentumIoModuleTimeOut
360
31007131 04/2009
|------------(5) momentumIoASCIIModuleHeader |------------(6) momentumIoReservationTime |------------(7) momentumIoInputDataTable |---------------(1) momentumIoInputDataEntry |------------------(1) momentumIoInputDataIndex |------------------(2) momentumIoInputDataValues |------------------(3) momentumIoInputDataWords |------------------(4) momentumIoInputDataPoints |------------(8) momentumIoOutputDataTable |---------------(1) momentumIoOutputDataEntry |------------------(1) momentumIoOutputDataIndex |------------------(2) momentumIoOutputDataValues |------------------(3) momentumIoOutputDataWords |------------------(4) momentumIoOutputDataPoints |------(104) momentumM1eProfile |------(105) advantysProfile |------(106) gatewayProfile |------(107) modiconM340Profile |------(255) tfProducts |------------(1) ety |------------(2) noe |------------(3) etz |------------(4) momentumIo |------------(5) momentumM1e |------------(6) altivar |------------(7) stbNip |------------(8) tsxntp |------------(9) nwm |------------(10) wmy |------------(11) quantumPLC |------------(12) premiumPLC |------------(13) etg |------------(14) egx
31007131 04/2009
361
|------------(15) ecc |------------(16) cev |------------(17) inducteIXGKS |------------(18) ositrackTAP |------------(19) twidoPLC |------------(20) modiconM340PLC |------------(21) modiconM340DPLC |------------(22) modiconM340CPLC |------------(23) modiconM340NOE |---(8) timeManagement |------(1) ntp |--------(1) ntpStatus |--------(2) ntpSrvAddr |--------(3) ntpLnkSrvStatus |--------(4) ntpReqCnt |--------(5) ntpRespCnt |--------(6) ntpErrCnt |--------(7) ntpDate |--------(8) ntpTime |--------(9) ntpTimeZone |--------(10) ntpDSTStatus |--------(11) ntpLastErr |---(9) email |------(1) smtp |---------(1) emailTable |------------(1) emailEntry |--------------(1) emailIndex |--------------(2) smtpStatus |--------------(3) smtpSrvAddr |--------------(4) smtpMailSentCnt |--------------(5) smtpErrCnt |--------------(6) smtpLastErr |--------------(7) smtpLastMailElapsedTime
362
31007131 04/2009
|--------------(8) smtpLnkSrvStatus |--------------(9) smtpSrvChkFailCnt |---(255) tfeMibVersion |------(1) tfeMibVersionNumber |------(2) tfeMibVersionDate
31007131 04/2009
363
NOTE: All listed services are not available on all communications modules. Refer to the available services for your module. When devices are added to the Schneider catalog, the private MIB is extended in the following manner: If needed, a Transparent Factory communication-service object is added for the new device in the subtree that corresponds to equipmentProfile(7) (see page 371). This subtree can hold as many objects as are required. If needed, a new branch is added at the same level as transparentFactoryEthernet (1). This subtree is created for product-specific objects. When a new device is added to the catalog a corresponding object description is created in the ASN.1 format. The ASN.1 file(s) are then given to producers of SNMP manager software for inclusion in their products.
364
31007131 04/2009
31007131 04/2009
365
366
31007131 04/2009
ioScanningDeviceTable(6) a table containing information on each remote device polled by the I/O scanning entity
31007131 04/2009
367
glbDataSubTable(10)
368
31007131 04/2009
31007131 04/2009
369
370
31007131 04/2009
profileVersion(2) profileCommunicationServices(3)
profileCPUType(11)
profileTrapTableEntriesMax(12)
profileTrapTable(13)
profileSpecificId(14)
31007131 04/2009
Indicates . . . the IP address of the SNMP agent the subnetwork mask associated with the IP address of the SNMP agent (the value of the mask is an IP address with all the network bits set to 1 and all the host bits set to 0) the default Gateway IP address of the SNMP agent the Ethernet media-dependent address of the SNMP agent a textual description of the implementation class supported by the product managed products (ETY, ETY port) managed products (NOE) managed products (ETZ) managed products (ENT) managed products (M1E) managed products (STB NIP) managed products (ETG) managed products (Modicon M340 PLC) Transparent Factory products
profileIpGateway(17) profileMacAddress(18) profileImplementationClass(19) premiumProfile(100) quantumProfile(101) microProfile(102) momentumIoProfile(103) momentumM1eProfile(104) advantysProfile(105) gatewayProfile(106) modiconM340profile(107) tfProducts(225)
372
31007131 04/2009
31007131 04/2009
373
374
31007131 04/2009
31007131 04/2009
375
376
31007131 04/2009
SMTP Traps SMTP status change (smtpStatusChange): This trap is sent if smtpStatus of the email service referenced by emailIndex changes. SMTP link to server status (smtpLnkSrvChange): This trap is sent when the smtpLnkSrvStatus of the email service referenced by emailIndex changes. The trap is sent when the service tries to send an email. Every 30 minutes a periodic test checks the connection to the SMTP server.
31007131 04/2009
377
378
31007131 04/2009
Glossary
0-9
%I Represents an input bit.
31007131 04/2009
379
Glossary
10/100 Base-T An adaptation of the IEEE 802.3 (Ethernet) standard, the 10/100 Base-T standard uses twisted-pair wiring with a maximum segment length of 100 m (328 ft) and terminates with an RJ-45 connector. A 10/100Base-T network is capable of transmitting data on normal Ethernet (10 Mbit/s) and Fast Ethernet (100 Mbits/s) networks.
802.3 frame A frame format, specified in the IEEE 802.3 (Ethernet) standard, in which the header specifies the data packet length.
A
ASN.1 Abstract Syntax Notation One. ASN.1 is a method for encoding/decoding messages sent between systems of different types that use different languages. It is defined by ISO standards 8824/ITU X.208 and 8825/ITU X.209.
B
BOOTP bootstrap protocol. A UDP/IP protocol that allows an Internet node to obtain its IP parameters based on its MAC address.
bridge A bridge device connects two or more physical networks that use the same protocol. Bridges read frames and decide whether to transmit or block them based on their destination address.
broadcast Broadcast communications send packets from a one station to every network destination. Broadcast messages pertain to every network device or only one device for which the address is not known. (See multicast and unicast.)
380
31007131 04/2009
Glossary
C
CAN controller area network. The CAN protocol (ISO 11898) for serial bus networks is designed for the interconnection of smart devices (from multiple manufacturers) in smart systems for real-time industrial applications. CAN multi-master systems ensure high data integrity through the implementation of broadcast messaging and advanced error mechanisms. Originally developed for use in automobiles, CAN is now used in a variety of industrial automation control environments.
CANopen CANopen is higher level protocol that is used in automation networks. It is based on the CAN application layer (CAL) in accordance with CiA DS 301 (EN 50325-4).
configuration The arrangement and interconnection of hardware components within a system and the hardware and software selections that determine the operating characteristics of the system.
ConneXview ConneXview is a set of configuration files to be used with HiVision 6.x network management software from Hirschmann Electronics GmbH & Co. KG. ConneXview makes it possible to manage Schneider Electric Transparent Factory devices using HiVision 6.0 or newer. ConneXview is built on the widely used simple network management protocol (SNMP).
D
default gateway The IP address of the network or host to which all packets addressed to an unknown network or host are sent. The default gateway is typically a router or other device.
device name A customer-driven, unique logical personal identifier for a network device. After the Ethernet communications module is configured with a valid device name, the DHCP server uses it to identify the rack at power up.
31007131 04/2009
381
Glossary
DHCP dynamic host configuration protocol. DHCP is a TCP/IP protocol that allows network devices (DHCP clients) to obtain their IP addresses from a DHCP server through a request to the server.
E
EFB elementary function block. EFBs are the elementary functions and function blocks (based on C language) that can be user-customized and stored in different block libraries.
embedded Web pages Embedded Web pages (accessed by an installed HTTP server) provide Ethernet communications modules with easy access to devices anywhere in the world from standard browsers such as Internet Explorer or Netscape Navigator.
EMC electromagnetic compatibility. Devices that meet EMC requirements can operate within a systems expected electromagnetic limits without error.
Ethernet A LAN cabling and signaling specification used to connect devices within a defined area, e.g., a building. Ethernet uses a bus or a star topology to connect different nodes on a network.
Ethernet II A frame format in which the header specifies the packet type, Ethernet II is the default frame format for STB NIP 2212 communications.
F
FactoryCast FactoryCast is an open automation framework based on Internet technologies that is designed to provide seamless communication between plant floor and business systems. Its main capabilities include: Modbus TCP/IP for client-server messaging I/O scanner for handling I/O devices
382
31007131 04/2009
Glossary
embedded web services for diagnostics and configuration a full set of Internet protocols
FAST The fast (FAST) task is a periodic, high-priority task of a short duration that is run on a processor through its programming software. The fast speed of the task keeps it from interfering with the execution of lower priority master (MAST) tasks. A FAST task is useful when fast periodic changes in discrete inputs need to be monitored.
FDR The FDR (faulty device replacement) service offers a method of handling device replacement without disrupting the system nor interrupting service.
Flash memory Flash memory is nonvolatile memory that can be overwritten. It is stored on a special EEPROM that can be erased and reprogrammed.
frame A frame is a group of bits that form a discrete block of information. Frames contain network control information or data. The size and composition of a frame is determined by the network technology being used.
framing type Two common framing types for Ethernet are Ethernet II and IEEE 802.3.
FTP File Transfer Protocol. FTP is the World Wide Webs file transfer protocol.
G
gateway A device that connects networks with dissimilar network architectures and which operates at the Application Layer of the OSI model. This term may refer to a router.
Global Data Global Data provides the automatic exchange of data variables for the coordination of PLC applications.
31007131 04/2009
383
Glossary
GMRP GARP multicast registration protocol. GMRP is a GARP (Generic Attribute Registration Protocol) application that allows switches and bridges to dynamically manage the membership of multicast groups. GMRP is defined by IEEE 802.1D.
H
half duplex (HDX) A method of data transmission capable of communication in either of two directions, but in only one direction at a time.
HMI human-machine interface. An operator interface, usually graphical, for industrial equipment.
hot swapping Replacing a component with a like component while the system remains operational. When the replacement component is installed, it begins to function automatically.
HTTP HyperText Transfer Protocol. HTTP is the protocol for the formatting and transmission of files on the world wide web. HTTP runs on top of TCP/IP (Internet) protocols.
HTTP server The installed HTTP server transmits Web pages between a server and a browser, providing Ethernet communications modules with easy access to devices anywhere in the world from standard browsers such as Internet Explorer or Netscape Navigator.
hub A hub device connects a series of flexible and centralized modules to create a network.
384
31007131 04/2009
Glossary
I
I/O module In a programmable controller system, an I/O module interfaces directly to the sensors and actuators of the machine/process. This module is the component that mounts in an I/O base and provides electrical connections between the controller and the field devices. Normal I/O module capacities are offered in a variety of signal levels and capacities.
I/O Scan List A configuration table which identifies the targets with which repetitive communication is authorized.
I/O scanning An I/O scan continuously polls I/O modules to collect data bits and status, error, and diagnostics information. This process monitors inputs and control outputs.
ICMP Internet Control Message Protocol. ICMP is a protocol within TCP/IP that reports errors in datagram transmissions.
IEEE Institute of Electrical and Electronics Engineers, Inc. The international standards and conformity assessment body for all fields of electrotechnology, including electricity and electronics.
IODDT input/output derived data type. IODDT is a structured data type representing a module or a channel of a PLC module. Each application expert module possesses its own IODDTs.
IP Internet protocol. That part of the TCP/IP protocol family that tracks the Internet addresses of nodes, routes outgoing messages, and recognizes incoming messages.
IP address Internet protocol address. This 32-bit address is assigned to hosts that use TCP/IP.
31007131 04/2009
385
Glossary
L
LAN local area network. A short-distance data communications network.
layer In the OSI model, a layer is a portion of the structure of a device that provides defined services for the transfer of information.
LED light emitting diode. An indicator that lights up when electricity passes through it. It indicates the operation status of a communications module.
M
MAC address media access control address. A 48-bit number, unique on a network, that is programmed into each network card or device when it is manufactured.
MAST A master (MAST) task is a processor task that is run through its programming software. The MAST task has two sections: IN: Inputs are copied to the IN section before execution of the MAST task. OUT: Outputs are copied to the OUT section after execution of the MAST task.
MIB management information base. The MIB is an object database that is monitored by a network management system like SNMP. SNMP monitors devices that are defined by their MIBs. Schneider has obtained a private MIB, groupeschneider (3833).
Modbus Modbus is an application layer messaging protocol. Modbus provides client and server communications between devices connected on different types of buses or networks. Modbus offers many services specified by function codes. There are two types of Modbus transmission, based on information in the physical layer: MB/serial: the Modbus type that transmits data over serial RS-232 and RS422/485 MB/TCP: the Modbus type that transmits data over Ethernet
386
31007131 04/2009
Glossary
multicast Multicast communications send packets from a single source to a predefined multicast group of network destinations, usually through a router or switch. Sending messages to just the group members relieves unnecessary traffic created by broadcast communications and eliminates the requirement for a separate unicast transmission to each recipient.(See broadcast, unicast, GMRP.)
multicast filtering Multicast filtering is a process for deciding that multicast messages are delivered only to the stations that are registered members of the appropriate multicast group.
N
NMT network management. NMT protocols provide services for network initialization, error control, and device status control.
NTP network time protocol. NTP synchronizes the time of one client or server to the time of another server or referenced source (such as a satellite receiver).
O
OSI model Open Systems Interconnection model. The OSI reference model is the abstract seven-layer model for establishing logical communications and protocol design. The model was developed by the International Standards Organization (ISO).
P
packet The unit of data sent across a network.
PING packet Internet groper. A PING program tests communications to another network destination.
31007131 04/2009
387
Glossary
PL7 PL7 software from Telemecanique is a programming language for TSX Micro and Modicon Premium PLCs.
PLC programmable logic controller. The PLC is the brain of an industrial manufacturing process. It automates a process as opposed to relay control systems. PLCs are computers suited to survive the harsh conditions of the industrial environment.
port 502 TCP/IP reserves specific server ports for specific applications through IANA (Internet Assigned Numbers Authority). Modbus requests are sent to registered software port 502.
private MIB Schneider has obtained a private MIB, groupeschneider (3833). Under the Groupe Schneider private MIB is a Transparent Factory Ethernet (TFE) private MIB. The Transparent Factory SNMP embedded component controls the Schneider private MIB function. This MIB includes a set of data that enables the network management system to supervise all the Transparent Ready services. The Transparent Ready private MIB can be downloaded from the Web server on any Transparent Ready module in a PLC.
R
router A router device connects two or more sections of a network and allows information to flow between them. A router examines every packet it receives and decides whether to block the packet from the rest of the network or transmit it. The router attempts to send the packet through the network by the most efficient path.
388
31007131 04/2009
Glossary
S
service class Transparent Ready service classes make it possible to identify the services provided by each device, such as: diagnostic, display, and control services via Web technologies Ethernet communication services The Transparent Ready service classes thus simplify the choice of products and ensure their interoperability within an architecture.
SMTP Simple Mail Transfer Protocol. SMTP is a transmission protocol for sending and receiving e-mail. SMTP messages are usually retrieved from a server with an e-mail client (such as POP or IMAP).
SNMP simple network management protocol. The UDP/IP standard protocol used to monitor and manage devices on an IP network.
subnet The subnet is that portion of the network that shares a network address with the other parts of the network. A subnet may be physically or logically independent from the rest of the network. A part of an Internet address called a subnet number, which is ignored in IP routing, distinguishes the subnet.
subnet mask The subnet mask is a bit mask that identifies or determines which bits in an IP address correspond to the network address and which correspond to the subnet portions of the address. The subnet mask comprises the network address plus the bits reserved for identifying the subnetwork.
31007131 04/2009
389
Glossary
switch A network switch connects two or more separate network segments and allows traffic to be passed between them. A switch determines whether a frame should be blocked or transmitted based on its destination address.
T
TCP/IP Transmission Control Protocol/Internet Protocol. TCP/IP is the communication protocol of the Internet.
TFE transparent factory Ethernet. Schneider Electrics open automation framework based on TCP/IP.
TFTP Trivial File Transfer Protocol. TFTP is a scaled-down version of FTP that uses UDP, often to initialize diskless workstations.
Transparent Device Access Transparent Device Access (TDA) functionality means that clients that run Unity Pro (and that are connected to a USB, Ethernet, or Modbus terminal port of a communications module) can access or download applications to devices on distributed control networks. The reverse, however, is not true. In other words, a Unity Pro PC connected to the CPUs Modbus port can access devices on other core networks, but those remote devices can not access other devices on different networks through the PLC station.
Transparent Ready Schneider Electrics Transparent Ready products (based on universal Ethernet TCP/IP and Web technologies) can be integrated into real-time, data sharing systems, with no need for interfaces.
390
31007131 04/2009
Glossary
U
UDP user datagram protocol. UDP is a connectionless Internet communications protocol defined by IETF RFC 768. This protocol facilitates the direct transmission of datagrams on IP networks. UDP/IP messages do not expect a response, and are therefore ideal for applications in which dropped packets do not require retransmission (such as streaming video and networks that demand real-time performance).
unicast Unicast communications send point-to-point packets from a single source to a specific network destination. It is an efficient means of communication between hosts that has a minimal impact on network traffic. (See broadcast and multicast.)
Unity Pro Unity Pro is the programming software for all Unity PLCs. It includes 5 IEC languages that comply with IEC 61131-3. Depending on requirements, the application may use a mixture of different languages.
USB universal serial bus. USB is a nearly universal hardware interface for connecting peripheral devices.
V
variable A variable is a memory entity of the type BOOL, WORD, DWORD, etc., whose contents can be modified by the program during execution.
31007131 04/2009
391
Glossary
392
31007131 04/2009
Index
B C A
configuring for Ethernet, 133
0-9
10/100 BASE-T interface, 28
D A
addressing BOOTP, 83 DHCP, 83 Advantys, 163 Property Box, 159 debugging Ethernet communication, 205 DHCP addressing, 125
E
electronic mail notification, 114 error message without memory card, 53 Ethernet modules, 15 communication requirements, 13 communication services, 55 device name, 60, 68 hardware, 60, 121 hardware requirements, 13 hardware selection, 35 IP parameters, 57 language objects, 215 memory card selection, 46 module overview, 31 port status, 67 Web pages, 257 Ethernet network, 32
B
Bandwidth Checking configuration parameters, 186 bandwidth monitoring, 98, 126 BMX NOE 01x0, 17 BMXNOE01x0, 123 BMXP342020, 129 BMXP342030, 129 BMXRMS008MP, 46 BMXRMS008MPF, 46 BMXRMS128MPF, 46 BMXRWSB000M, 46 BMXRWSC016M, 46
C
channel data structure for all modules T_GEN_MOD, 235 configuration Bandwidth Checking, 186
31007131 04/2009
F
faulty device replacement, 97, 126 frame format, 66
393
Index
G
global data, 125 Global Data, 94 grounding, 44
I
I/O scanner, 124 I/O Scanner, 78 I/O Scanning Tab BMX NOE Ethernet, 148 IP address, 341 IP parameters, 57
M
M340 Hardened, 128 ruggedized, 128 Managed Variables, 163 memory card features, 51 memory cards, 46, 46 MIB, 89, 353 Modbus TCP messaging, 124
services addressing (BOOTP, DHCP), 83 bandwidth monitoring, 98, 126 DHCP addressing, 125 electronic mail notification, 114 Ethernet, 77 faulty device replacement, 97, 126 global data, 125 Global Data, 94 I/O scanner, 124 I/O Scanner, 78 Modbus TCP messaging, 124 NTP, 126 selecting, 38 SNMP, 88, 125 TCP/IP messaging, 102 time synchronization, 107 SMTP, 114 SNMP, 88, 125 software configuration parameters, 135
T
T_COM_ETH_BMX, 221 T_GEN_MOD, 235 TCP/IP messaging, 102 technical characteristics, 329 TDA, 104 time synchronization, 107, 126
N
NTP, 107, 126
U
Unity Pro Advantys, 159
P
parameter settings, 216
W
Web pages, 257 website, 13
S
selecting Ethernet devices, 351 SEND_EMAIL, 117 service classes Transparent Ready, 349
394
31007131 04/2009