Twido WAGES D12,28,44(User Guide)

Add to my manuals
38 Pages

advertisement

Twido WAGES D12,28,44(User Guide) | Manualzz

Twido WAGES D12, D28, D44

Gateway Solution

User Guide

63220-095-04A1

12/2012

Safety Information

Important Information

Read these instructions carefully and look at the equipment to become familiar with the device before trying to install, operate, service or maintain it. The following special messages may appear throughout this manual or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.

The addition of either symbol to a “Danger” or “Warning” safety label indicates that an electrical hazard exists which will result in personal injury if the instructions are not followed.

This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.

DANGER indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.

WARNING indicates a potentially hazardous situation which, if not avoided, can result in death or serious injury.

CAUTION indicates a potentially hazardous situation which, if not avoided, can result in minor or moderate injury.

NOTICE is used to address practices not related to physical injury. The safety alert symbol shall not be used with this signal word.

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.

A qualified person is one who has skills and knowledge related to the construction, installation, and operation of electrical equipment and has received safety training to recognize and avoid the hazards involved.

Before you Begin

Do not use this product on machinery lacking effective point-of-operation guarding.

Lack of effective point-of-operation guarding on a machine can result in serious injury to the operator of that machine.

UNGUARDED MACHINERY HAZARD

• Do not use this software and related automation equipment on equipment which does not have point-of-operation protection.

• Do not reach into machinery during operation.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

This automation equipment and related software is used to control a variety of industrial processes. The type or model of automation equipment suitable for each application will vary depending on factors such as the control function required, degree of protection required, production methods, unusual conditions, government regulations, etc. In some applications, more than one processor maybe required, as when backup redundancy is needed.

Only the user can be aware of all the conditions and factors present during setup, operation, and maintenance of the machine; therefore, only the user can determine the automation equipment and the related safeties and interlocks which can be properly used. When selecting automation and control equipment and related software for a particular application, the user should refer to the applicable local and national standards and regulations. The National Safety Council’s Accident

Prevention Manual (nationally recognized in the United States of America) also provides much useful information.

In some applications, such as packaging machinery, additional operator protection such as point-of-operation guarding must be provided. This is necessary if the operator’s hands and other parts of the body are free to enter the pinch points or other hazardous areas and serious injury can occur. Software products alone cannot protect an operator from injury. For this reason the software cannot be substituted for or take the place of point-of-operation protection.

Ensure that appropriate safeties and mechanical/electrical interlocks related to point-of-operation protection have been installed and are operational before placing the equipment into service. All interlocks and safeties related to point-of-operation protection must be coordinated with the related automation equipment and software programming.

NOTE: Coordination of safeties and mechanical/electrical interlocks for point-ofoperation protection is outside the scope of the Function Block Library, System

User Guide, or other implementation referenced in this documentation.

Start-up and Test

Before using electrical control and automation equipment for regular operation after installation, the system should be given a start-up test by qualified personnel to verify correct operation of the equipment. It is important that arrangements for such a check be made and that enough time is allowed to perform complete and satisfactory testing.

EQUIPMENT OPERATION HAZARD

• Verify that all installation and set up procedures have been completed.

• Before operational tests are performed, remove all blocks or other temporary holding means used for shipment from all component devices.

• Remove tools, meters, and debris from equipment.

Failure to follow these instructions can result in injury or equipment damage.

Follow all start-up tests recommended in the equipment documentation. Store all equipment documentation for future references.

Software testing must be done in both simulated and real environments.

Verify that the completed system is free from all short circuits and grounds, except those grounds installed according to local regulations (according to the National

Electrical Code in the U.S.A., for instance). If high-potential voltage testing is necessary, follow recommendations in equipment documentation to prevent accidental equipment damage.

Before energizing equipment:

• Remove tools, meters, and debris from equipment.

• Close the equipment enclosure door.

• Remove ground from incoming power lines.

• Perform all start-up tests recommended by the manufacturer.

Operation and Adjustments

The following precautions are from the NEMA Standards Publication ICS 7.1-195

(English version prevails):

• Regardless of the care exercised in the design and manufacture of equipment or in the selection and ratings of components, there are hazards that can be encountered if such equipment is improperly operated.

• It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe operation. Always use the manufacturer’s instructions as a guide for functional adjustments. Personnel who have access to these

adjustments should be familiar with the equipment manufacturer’s instructions and the machinery used with the electrical equipment.

• Only those operational adjustments actually required by the operator should be accessible to the operator. Access to other controls should be restricted to prevent unauthorized changes in operating characteristics.

63220-095-04A1

12/2012

Table of Contents

Chapter 1 :

Introduction

Twido WAGES D12, D28, D44

Table of Contents

Chapter 2:

Chapter 3:

Twido Setup

EGX300 Setup

Appendix A: Modbus Registers

Appendix B: Twido Program Structure

Twido WAGES Overview ...............................................................3

Configurations ................................................................................4

Topics Not Covered in This Manual ...............................................4

Additional Resources .....................................................................5

Hardware Description .....................................................................7

Selecting Twido Hardware ........................................................7

Twido WAGES Software ................................................................8

Getting the Twido Programs .....................................................8

Selecting a Twido Program .......................................................8

Transferring the Twido Program to the Controller .....................8

Getting TwidoSuite Programming Software ......................... 9

Programming the Twido ....................................................... 9

Changing the Twido Modbus Address ............................... 11

Running the Program ..............................................................12

Hardware Description ...................................................................13

Modbus Serial Line Configuration ................................................13

Wiring the RS-485 Serial Port .................................................14

Selecting RS-485 Serial Port Settings ....................................14

Device List Configuration .............................................................14

Using Device Discovery for Local Devices ..............................15

Using Manual Device Configuration ........................................16

Device Logging ............................................................................16

Interval Data Logging ..............................................................17

Enabling Device Logging ........................................................18

Setting Up a Device Log Export ..............................................19

Configuring a Device Log Export for EVO Compatibility .... 19

Pulse Counters .............................................................................20

Viewing Pulse Counter Topics on the Real Time Data Page ..20

Monitoring the Pulse Counter for Roll-over .............................21

Resetting a Pulse Counter ......................................................21

EGX 300 Firmware .......................................................................22

Finding the Firmware Version .................................................22

Getting New Firmware ............................................................22

Updating the Firmware ............................................................23

Supported Modbus Register Reads .............................................26

System Overhead ........................................................................27

Channel Update ...........................................................................28

First Rung .......................................................................... 28

Second Rung ..................................................................... 28

Accumulation Sub-Routine ...........................................................28

© 2012 Schneider Electric All Rights Reserved

1

Twido WAGES D12, D28, D44

Table of Contents

63220-095-04A1

12/2012

2

© 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Chapter 1—Introduction

Twido WAGES D12, D28, D44 Gateway Solution

Introduction

Twido WAGES Overview

This guide describes a solution that combines a Twido programmable controller and an EGX300 Ethernet Gateway to process pulse information from water, air, gas, electricity, or steam (WAGES) field devices. The EGX300 makes pulse information available to a PC-based supervisory system such as StruxureWare

Power Monitoring (SPM) or to a remote monitoring service such as EnergyView

Online (EVO) or Remote Energy Management (REM). See Figure 1– 1 for data

flow in the Twido WAGES solution.

Figure 1– 1 Data Flow in a Twido WAGES Solution

Supervisory system

Web browser

EGX web pages: monitor, view, and reset pulse counters

EGX

Log data

Push data to supervisory system

Twido PLC

Process pulses from WAGES meters

Gas

Meter

Water

Meter

Electric

Meter

The EGX300 is an Ethernet-based device providing a transparent interface between Ethernet-based networks and field devices. Field devices include meters, monitors, protective relays and other devices that communicate using Modbus. In this document, field devices refers to WAGES meters.

The Twido accumulates pulses from the field device and provides a value scaled into units specific to each application (for example, gallons of water or cubic feet of gas). The EGX300 reads the scaled value from the Twido and stores historical trend information so you can derive average values over specified time intervals.

The user sets the scaling factor for each channel in the system through the PCbased supervisory system.

© 2012 Schneider Electric All Rights Reserved 3

Twido WAGES D12, D28, D44 Gateway Solution

Introduction

Configurations

63220-095-04A1

12/2012

There are three separate Twido WAGES configurations. Each configuration is supported by a separate hardware configuration, PLC program, and EGX300

device type. Table 1– 1 describes the hardware and software required for this

solution.

Table 1– 1 Twido WAGES Configurations

Hardware

Configuration

Device

12-Input

28-Input

44-Input

TWD LMDA 20DRT Modular Control Base

TWD NOZ 485T RS-485 Serial Link Adapter

TWD LMDA 20DRT Modular Control Base

TWD NOZ 485T RS-485 Serial Link Adapter

TM2 DDI 16DT 16-Point Expansion Module

TWD LMDA 20DRT Modular Control Base

TWD NOZ 485T RS-485 Serial Link Adapter

TM2 DDI 16DT 16-Point Expansion Module

Program

EGX Device

Type

Quantity

1

1

1

2

1

1

1

1

WagesD12 Twido-WAGES D12

WagesD28 Twido-WAGES D28

WagesD44 Twido-WAGES D44

Topics Not Covered in This Manual

Descriptions of supervisory systems such as REM and SPM are not included in this document. For information on configuring the supervisory system for use in this solution, refer to your software’s online help or user guide. You can also contact your REM administrator for assistance in configuring REM for this solution.

This guide does not cover EGX300 installation, Twido component installation, or wiring of digital inputs for WAGES meters. Refer to the EGX300 and Twido guides listed below for complete wiring instructions and related safety messages.

4 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Twido WAGES D12, D28, D44 Gateway Solution

Introduction

Additional Resources

Go to www.schneider-electric.com and search for the part number of the document you want to view. Document part numbers are listed below.

EGX300 Ethernet Gateway

EGX300 Installation Guide (63230-319-212)

EGX300 User Guide (63230-319-216)

Twido Programmable Controllers

Twido Modular Bases Instruction Sheet (1606344)

Twido Digital I/O Modules (AAV81773)

Module and Compact Bases Hardware Guide (35011387)

Communication Modules Hardware Guide (35011390)

Discrete I/O Modules Hardware Guide (35011388)

TwidoSuite Programming Software

TwidoSuite V2.3 Getting Started (35011385)

TwidoSuite V2.3 Programming Guide (35011386)

© 2012 Schneider Electric All Rights Reserved 5

Twido WAGES D12, D28, D44 Gateway Solution

Introduction

63220-095-04A1

12/2012

6 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Chapter 2—Twido Setup

Twido WAGES D12, D28, D44 Gateway Solution

Twido Setup

This chapter describes the Twido hardware and software for this solution. EGX

hardware, configuration, and device types are described in “EGX300 Setup” on page 13.

There are three separate Twido configurations that support up to 12, 28, or 44 digital inputs.

Hardware Description

The number of field devices you want to monitor determines the number of Twido inputs you will need.

Serial Link Adaptor

This solution requires a Twido controller running firmware version 4.2 or higher.

See the TwidoSuite V2.3 Getting Started guide, part number 35011385, for instructions on upgrading firmware.

Figure 2– 2 Twido Controller, I/O Expansion Module, and Serial Link Adapter

Twido Controller

I/O Expansion Module

Analog potentiometer

Serial port 1

Analog voltage input connector

LEDs

Expansion connector

LEDs

I/O terminals

Terminal block

Cartridge covers

24Vdc power supply terminals

Not pictured: RS-485 serial port

Latch button

Clamp

Selecting Twido Hardware

Each configuration for this solution includes a Twido modular controller base and a serial link adapter. Depending on your application, you may require additional inputs. To select the appropriate Twido hardware:

1. Determine the number of field devices you want to monitor.

2. Obtain the Twido hardware based on the number of digital inputs required for your field devices. Hardware requirements for each configuration are outlined in

Table 1– 1 on page 4.

NOTE: This solution only supports digital inputs and does not support outputs.

© 2012 Schneider Electric All Rights Reserved 7

Twido WAGES D12, D28, D44 Gateway Solution

Twido Setup

63220-095-04A1

12/2012

Twido WAGES Software

There is a ready-made Twido software program for each of the three WAGES configurations. This section describes how to download the programs, choose the program for your application, and transfer the program to the Twido controller using the TwidoSuite Programming Software for Twido Controllers.

Getting the Twido Programs

To download the Twido programs, you must have access to the Pl@net intranet.

1. Open a web browser and navigate to the Pl@net portal at

http://planet/Intranet/planet-home.nsf.

2. Enter “EGX300” in the search box and press Enter.

3. Click Software/Firmware under Product Documentation.

4. Select “EGX300 Twido WAGES Programs” from the list of files and click Save.

Choose a location on your computer and click Save.

NOTE: Do not move files within the WAGES folder you have downloaded.

Changing the file structure may affect the functionality of the program.

Selecting a Twido Program

The file “EGX300 Twido WAGES Programs” contains programs for all three configurations. To choose the appropriate Twido program for your application:

1. Determine the number of field devices you want to monitor.

2. Choose the Twido program from Table 1– 1 on page 4 based on the number of

inputs you will need for your field devices.

This is the program you will transfer to the Twido PLC in the steps below.

Transferring the Twido Program to the Controller

To transfer the WAGES program from your computer to the PLC, you must

1. connect your PC to the controller with a programming cable,

2. turn on power to the Twido,

3. install and open TwidoSuite Programming Software,

4. and transfer the program to the Twido using TwidoSuite.

Follow the steps below for installing TwidoSuite, opening the WAGES program and editing address information, and programming the Twido.

8 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Twido WAGES D12, D28, D44 Gateway Solution

Twido Setup

Getting TwidoSuite Programming Software

You will need the TwidoSuite Programming Software to install the WAGES program on the PLC. System hardware and software requirements are described in

TwidoSuite V2.3 Getting Started, part number 35011385. This section describes how to install TwidoSuite on your computer.

1. Open a web browser, enter www.schneider-electric.com, and press Enter.

2. Enter “TwidoSuite - Programming Software for Twido” in the search box, and press Enter.

3. Click Software/Firmware.

4. Select the latest version of TwidoSuite Programming Software, V2.20.11 or higher.

5. Click TwidoSuite V0220 11.exe under Attachments to begin the download.

6. Click Run, and follow the instructions on screen to extract files and begin installation.

NOTE: TwidoSuite may prompt you to upgrade the firmware of the Twido you are using for this solution. Follow the Twido Windows Execute Loader Wizard.

Programming the Twido

You must have a programming cable to transfer the Twido WAGES program to the

Twido. We recommend using the TSXCRJMD25 plus TSXCUSB485 USB converter or the TSX PCX 1031 programming serial cable (8 pin mini-DIN connector to terminal port). Programming cable options are described in the Twido

Programmable Controllers Modular and Compact Bases Hardware Guide (part number 35011387).

1. Connect the cable to your PC and to the Twido serial port.

2. Set the programming cable rotary switch to “2” for point-to-point mode.

3. Go to the Start Menu on your computer. Select All Programs > Schneider-

Electric > TwidoSuite.

NOTE: Opening TwidoSuite before connecting your PC to the Twido will cause a communication error to occur between TwidoSuite and the controller. If you receive this error message, close TwidoSuite and reopen.

4. Select Programming Mode > Open an existing project > From Disk.

5. Using the drop down menu, navigate to the program you downloaded in “Getting the Twido Programs”.

6. Select the Twido application (.xpr) file, then click Open.

© 2012 Schneider Electric All Rights Reserved 9

Twido WAGES D12, D28, D44 Gateway Solution

Twido Setup

7. Click the Program tab at the top of the window, then click Debug.

63220-095-04A1

12/2012

10

8. On the Connect tab, select your connection, then click OK to establish a connection.

NOTE: To find the correct connection for the port you are using, open the

Modbus Serial Driver from your computer’s task bar and choose the COM Port option that contains your programming cable description.

9. After the connection is tested, you will be asked to choose a type of exchange.

Select Transfer PC ==> controller, then click OK to confirm your type of exchange. If the controller is stopped, the transfer begins.

10.If the controller is running, an advisory box is displayed stating that to continue the transfer, the controller must be stopped. Select OK to stop the controller and continue the transfer.

11.An advisory dialog box is displayed indicating that the contents of the controller application will be overwritten. Select OK to continue the transfer.

NOTE: Symbols and program comments are not transferred to the controller.

An option can be set to protect the application. See “Security Features” in the

TwidoSuite Operation Guide - Online Help.

© 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Twido WAGES D12, D28, D44 Gateway Solution

Twido Setup

Changing the Twido Modbus Address

The default Modbus address for the Twido in the WAGES programs is 99. This is the address that you will use to add the Twido to the EGX device list.Use the steps below to change this address if your application requires a different address.

1. Open the Twido WAGES program.

2. Click on the Describe tab.

3. Select Configuration Mode (screwdriver icon) from the Catalog toolbar

(Figure 2– 3).

4. Click the RS-485 port on the serial link adapter graphic.

5. Choose a new Modbus address from the drop down menu, and click OK.

Figure 2– 3 Twido WAGES Configuration as Shown in TwidoSuite: 44 Inputs

© 2012 Schneider Electric All Rights Reserved 11

Twido WAGES D12, D28, D44 Gateway Solution

Twido Setup

Running the Program

63220-095-04A1

12/2012

Use the PLC Soft Control Panel to Run/Stop/Initialize a program that has been downloaded to the PLC. Use these steps to run the program that you have just transferred to the PLC.

1. If the connection between TwidoSuite and the PLC is not active, select a connection from the connections table in Program

Debug Connect and click OK to establish a connection.

2. When a successful connection is established between TwidoSuite and the

controller, the PLC Soft Control Panel dialog box (Figure 2– 4) appears in the

form of a dashboard on top of your TwidoSuite workspace.

3. Click the play button to execute the TwidoSuite application program currently in controller’s RAM. The three soft panel LEDs (RUN, Error, Stat) provide live diagnostics (see TwidoSoft Operation Guide -Online Help for details).

NOTE: Each command requires confirmation before execution.

Figure 2– 4 PLC Soft Control Panel Dashboard

12 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Chapter 3—EGX300 Setup

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

This chapter describes EGX configuration and web pages for use in this WAGES solution. After you set up the EGX Ethernet parameters (see the EGX300

Installation Guide, 63230-319-212) you can access the EGX over an Ethernet LAN using any standard web browser.

Hardware Description

Figure 3-5 describes the parts of the EGX300 for use with Twido WAGES device

types.

This solution requires an EGX300 with firmware version 3.9 or greater. For

instructions on upgrading the firmware, please see “EGX 300 Firmware” on page 22.

Figure 3-5: Parts of the EGX300

RJ45 Ethernet port

Control power

Power and status LED

LEDs for Ethernet and serial connections

RS-485 serial port

Bias, termination, and 2-wire/4-wire jumper switches

RS232 serial port

(RJ45 connector)

Modbus Serial Line Configuration

Use these instructions to ensure the correct Modbus slave device RS-485 wiring and configuration within the EGX300.

© 2012 Schneider Electric All Rights Reserved 13

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

63220-095-04A1

12/2012

Wiring the RS-485 Serial Port

Follow the instructions in the EGX300 Installation Guide (63230-319-212) to ensure the devices are properly wired. For this solution, use the 2-wire configuration for the

RS-485 serial port (Figure 3-6).

NOTE: For surge protection, we recommend connecting the shield wire directly to an external earth ground at a single point.

Figure 3-6: 2-wire Serial Port Configuration

Up to 32 devices

Belden 9841

MCT2W terminator or

120

Ω resistor

EGX

Blue

White

Shield

(3) Rx+ (D1)

(4) Rx- (D0)

(5)

Slave 1

L+

Slave 2

L+

Slave 3

L+

L-

Terminator

Selecting RS-485 Serial Port Settings

Configure the EGX300 serial port by choosing a physical interface, baud rate and parity to match the Twido.

1. Click Setup.

2. Choose Serial Port from the menu on the left. Select the RS485 2-wire physical interface.

3. Choose a baud rate of 38400 and Even parity.

NOTE: For proper operation, serial slave devices must have the same baud rate and parity configurations. Each slave device should have its own baud rate and parity configuration on-board (the EGX300 cannot configure them).

4. Accept the response time-out default of 3 seconds or change it to meet your needs.

5. Click Apply to save changes.

Device List Configuration

Before you begin, keep in mind that you must not use serial slave addresses 1 or

16 in Automatic transmission mode on a daisy chain with mixed protocols (for example, a single daisy chain with some devices using PowerLogic protocol and others using Modbus RTU/Jbus protocol).

14 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

Using Device Discovery for Local Devices

Each WAGES application (D12, D28, or D44) provides a Product ID in Modbus

register 38 (Table 3– 2). This value differentiates the three Twido WAGES

configurations and identifies which device type the EGX300 uses.

Use Device Discovery to allow the EGX300 to locate the Modbus devices that are on the COM port.

1. From the Setup menu, click Device List.

2. Click Discover at the bottom of the screen.

3. Enter the Start Address and End Address for the range of Modbus addresses you want to scan (range 1–247).

NOTE: The default address for each Twido in this solution is 99. If you changed

this address in “Transferring the Twido Program to the Controller” on page 8, be

sure the range you enter in this step includes the new address.

4. Click Start Discover.

The list that displays includes device connection information, device type, local

address ID and connection status (Figure 3-7). The device type of the discovered device should correspond to the Twido application from Table 3– 2.

For details, see the “Device Discovery” section in the EGX300 User Guide, part number 63230-319-216.

5. In the Name field of each detected device, type a name according to the format required by your supervisory system.

NOTE: Not following naming conventions could cause data from different devices to be inserted under the same source name. See your supervisory system’s user documentation for information on device naming conventions.

6. Select the check box under Save for the Twido WAGES device. Click Apply, then click OK to overwrite your device list.

Table 3– 2: Product Identification Value in Modbus Register 38

Twido Application EGX Device Type

WagesD12

WagesD28

WagesD44

Twido-WAGES D12

Twido-WAGES D28

Twido-WAGES D44

Product ID Value

538

548

558

Figure 3-7: EGX Device Discovery Web Page

EGX300 Device Type ID

5002

5003

5004

© 2012 Schneider Electric All Rights Reserved 15

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

63220-095-04A1

12/2012

Using Manual Device Configuration

If automatic device discovery does not detect the Twido, you can use this manual procedure to add the missing device IDs:

1. From the Device List page, choose the connection type: Serial Port.

2. Choose the Device Type. Table 3– 3 describes device types for the Twido

WAGES solution.

3. In the Device Name field, type a name using naming convention of your supervisory system.

4. Enter the local device ID.

5. Click Apply.

Table 3– 3: EGX300 Device Types for Twido WAGES

EGX300 Device Type

Twido-WAGES D12

Twido-WAGES D28

Twido-WAGES D44

Description

Supports a Twido running the WAGES D12 program

Supports a Twido running the WAGES D28 program

Supports a Twido running the WAGES D44 program

Figure 3-8: EGX300 Manual Device Configuration

Device Logging

The EGX can log data received by the Twido PLC at predefined intervals (5, 10, 15,

20, 30, and 60 minutes). Below is an explanation of how the EGX logs data and how to set up logging for a device.

16 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Interval Data Logging

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

Many devices in a power monitoring system do not have the ability to record data in non-volatile memory. The EGX300 provides this data logging at predefined intervals for up to 32 serially connected devices. The EGX stores the recorded data in non-volatile FIFO (First In First Out) files.

The logging capacity for each data-log file is variable and dependent on the selected logging interval. Logging capacity of each data-log file can be calculated by dividing the maximum possible number of recorded intervals a data-log file can contain (171,072) by the product of the number of topics logged and the intervals recorded per day.

Log File Capacity = Intervals (max) / (topics per interval * intervals recorded per day)

For example, the logging capacity for a device data-log recording three topics every

10-minutes would be determined as follows:

Intervals Recorded Per Day = Minutes per day / Logging Interval (in minutes)

= 1440 / 10

= 144 intervals

Log File Capacity = Maximum Possible Intervals / (Topics logged per interval * Intervals recorded per day)

= 171072 / (3 * 144)

= 396 days

The logging capacity is dynamically calculated and displayed on the “Topic

Selection Page” (see Table 3– 4 for samples).

Table 3– 4: Sample Recording Intervals

# of Topics

3

4

1

2

5

6

Log Capacity (in Days) for Designated Logging Intervals

5 Min Interval

594

297

198

148

118

99

10 Min Interval

1188

594

396

297

237

198

15 Min Interval

1782

891

594

445

356

297

© 2012 Schneider Electric All Rights Reserved 17

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

63220-095-04A1

12/2012

Enabling Device Logging

Follow these steps to enable logging for the Twido devices.

1. Click the Setup tab, then click Device Logging on the left side of the page.

The Device Logging screen displays:

Figure 3-9: Device Logging Web Page

18

2. In the Logging Interval field, choose the desired logging interval

3. In the Logging column, check the box of the device for which you want log data.

4. The Customize column allows you to choose the topics you want to log. Click

the topics link for that device.Table 3– 5 shows the topics that are available for

logging in this solution.

Table 3– 5: Data Logging Topics by Device Type

Twido-WAGES D12

*Input 0.0

Input 0.1

Input 0.2

Input 0.3

Input 0.4

Input 0.5

Input 0.6

Input 0.7

Input 0.8

Input 0.9

Input 0.10

Input 0.11

Twido-WAGES D28 Twido-WAGES D44

*Weighted Input 0.0 *Input 0.0 *Weighted Input 0.0 *Input 0.0 *Weighted Input 0.0

Weighted Input 0.1 Input 0.1 Weighted Input 0.1 Input 0.1 Weighted Input 0.1

Weighted Input 0.2 Input 0.2

Weighted Input 0.3 Input 0.3

Weighted Input 0.2

Weighted Input 0.3

Input 0.2

Input 0.3

Weighted Input 0.2

Weighted Input 0.3

Weighted Input 0.4 Input 0.4

Weighted Input 0.5 Input 0.5

Weighted Input 0.6 Input 0.6

Weighted Input 0.7 Input 0.7

Weighted Input 0.4

Weighted Input 0.5

Weighted Input 0.6

Weighted Input 0.7

Input 0.4

Input 0.5

Input 0.6

Input 0.7

Weighted Input 0.4

Weighted Input 0.5

Weighted Input 0.6

Weighted Input 0.7

Weighted Input 0.8 Input 0.8

Weighted Input 0.9 Input 0.9

Weighted Input 0.8 Input 0.8

Weighted Input 0.9 Input 0.9

Weighted Input 0.8

Weighted Input 0.9

Weighted Input 0.10 Input 0.10 Weighted Input 0.10 Input 0.10 Weighted Input 0.10

Weighted Input 0.11 Input 0.11 Weighted Input 0.11 Input 0.11 Weighted Input 0.11

Input 1.0

Input 1.1

Input 1.2

Input 1.3

Weighted Input 1.0

Weighted Input 1.1

Weighted Input 1.2

Weighted Input 1.3

Input 1.0

Input 1.1

Input 1.2

Input 1.3

Weighted Input 1.0

Weighted Input 1.1

Weighted Input 1.2

Weighted Input 1.3

Input 1.4

Input 1.5

Input 1.6

Input 1.7

Weighted Input 1.4 Input 1.4

Weighted Input 1.5 Input 1.5

Weighted Input 1.6 Input 1.6

Weighted Input 1.7 Input 1.7

Weighted Input 1.4

Weighted Input 1.5

Weighted Input 1.6

Weighted Input 1.7

Input 1.8

Input 1.9

Weighted Input 1.8 Input 1.8

Weighted Input 1.9 Input 1.9

Weighted Input 1.8

Weighted Input 1.9

Input 1.10 Weighted Input 1.10 Input 1.10 Weighted Input 1.10

Input 1.11 Weighted Input 1.11 Input 1.11 Weighted Input 1.11

Input 1.12 Weighted Input 1.12 Input 1.12 Weighted Input 1.12

Input 1.13 Weighted Input 1.13 Input 1.13 Weighted Input 1.13

© 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

Table 3– 5: Data Logging Topics by Device Type

Twido-WAGES D12 Twido-WAGES D28 Twido-WAGES D44

Input 1.14 Weighted Input 1.14 Input 1.14 Weighted Input 1.14

Input 1.15 Weighted Input 1.15 Input 1.15 Weighted Input 1.15

Input 2.0

Input 2.1

Weighted Input 2.0

Weighted Input 2.1

Input 2.2

Input 2.3

Input 2.4

Input 2.5

Weighted Input 2.2

Weighted Input 2.3

Weighted Input 2.4

Weighted Input 2.5

Input 2.6

Input 2.7

Input 2.8

Input 2.9

Weighted Input 2.6

Weighted Input 2.7

Weighted Input 2.8

Weighted Input 2.9

Input 2.10 Weighted Input 2.10

Input 2.11 Weighted Input 2.11

Input 2.12 Weighted Input 2.12

Input 2.13 Weighted Input 2.13

Input 2.14 Weighted Input 2.14

Input 2.15 Weighted Input 2.15

*Topics are selected by default.

NOTE: Weighted Inputs are inputs that have been assigned a weighted value. The default weight in the Twido program is 1.

Setting Up a Device Log Export

You can configure the EGX300 to export data logs as complete logs or as incremental exports. Incremental exports are recommended as they greatly reduce the amount of data exported. An incremental export contains only the intervals logged since the last successful export.

The Device Log Export option allows you to export device logs in three ways: by E-

Mail, FTP, or HTTP. Refer to your supervisory system’s user guide for the method appropriate for your application.

Configuring a Device Log Export for EVO Compatibility

At this time the EVO importer can only process data logs exported in English. If using EVO in this solution, set data logs to always export in English. This will ensure EVO will receive data logs in the language its importer currently supports.

1. In the address bar, type the IP address of the EGX300 followed by

/evo_compatibility.shtml (Figure 3-10). Press Enter.

2. Enter a whole number of 1 or greater in the Historical Intervals field.

NOTE: You must send at least one historical interval in order to calculate the difference between the current export’s first value and the last value collected.

3. Select the check box for Always Export in English.

4. Click Apply, then Main Interface to return to the EGX300 home page.

© 2012 Schneider Electric All Rights Reserved 19

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

Figure 3-10:EVO Compatibility Web Page

63220-095-04A1

12/2012

Pulse Counters

You can view, monitor, and reset pulse counts from the EGX300 web interface.

Viewing Pulse Counter Topics on the Real Time Data Page

The Monitoring tab provides real-time data for single configured devices. You can view the topics and raw counter values for each supported input on the Basic

Readings page. Summary device and real time trending pages are not available for

Twido WAGES devices types. To view the Basic Readings Page:

1. Click the Monitoring tab.

2. Click Real Time Data > Single Device Pages, and select your Twido WAGES

device. Device data displays, as illustrated in Figure 3-11.

3. Verify that valid data is being displayed. If a device is not being read, it will read

Out of Service.

Figure 3-11:Real Time Data: Single Device Page

20 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

Monitoring the Pulse Counter for Roll-over

The maximum pulse count before a counter resets to ‘0’ is 999,999,999,999. You can manually monitor this value on the EGX300 Basic Readings page for each device, described above.

We recommend that you use a PC-based supervisory system, such as SPM, or

REM services, such as EVO, to monitor this value for roll-over detection. See your supervisory system user guide or online help for more information on setting up alarms for roll-over detection

Resetting a Pulse Counter

You can reset pulse counters from the EGX300 Twido setup page (Figure 3-12).

Administrator rights are required to access this page.

To reset a counter:

1. Open a web browser.

2. In the address bar, type the IP address of the EGX300 followed by

/twido_wages_setup.shtml. Press Enter.

3. Select the Twido WAGES device from the Device drop-down menu.

4. Check the boxes for the inputs you want to reset. Click Reset Counters.

NOTE: Weight values on this page should be set to ‘1’ by default, as determined by the Twido WAGES program installed on the PLC. Do not set the weight to any other value from this page. Doing so may produce inaccurate data. This solution requires that you adjust weights from the supervisory system.

Figure 3-12: Twido WAGES Setup Page

© 2012 Schneider Electric All Rights Reserved 21

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

63220-095-04A1

12/2012

EGX 300 Firmware

Firmware on the EGX can be updated using File Transfer Protocol (FTP).

Finding the Firmware Version

The EGX consists of two firmware components, the executable binary component and the file image component.

To find the executable binary component firmware version:

1. Open the web browser and log into the EGX.

2. Locate the firmware version on the bottom-left corner of the page.

NOTE: If you recently updated your firmware, press F5 to refresh the web page and update the displayed firmware number.

3. Alternatively, you can select Diagnostics > Statistics to find the firmware version in the Gateway Information section.

To find the file image component firmware version:

1. Launch Windows Explorer, type ftp:// and the IP address of the EGX in the

Address text box (for example, ftp://169.254.0.10), then press Enter.

2. Type the user name Administrator and the administrator password in the text boxes, then click Log On.

3. Locate the file “version.txt,” then double-click the file to open it.

Getting New Firmware

To get new firmware:

1. Launch the web browser, type www.schneider-electric.com in the Address text box, then press Enter.

2. Enter “EGX300” in the search field, then press Enter. Select your country, then click Go.

If you choose the “Change country” option, follow the country-specific website navigation to get the EGX firmware.

3. Click the EGX300 product page link.

4. Click Documents & Software in the right-hand menu.

5. Click the firmware file link (egxxxxx.bin, where xxxxx is the firmware version number), then click Save.

6. In the Save As dialog box, select or create a local directory/file folder where the firmware file will be stored, then click Save.

7. Click the egxxxxx.upd link (where xxxx is the firmware number), then click Save.

8. In the Save As dialog box, select or create a local directory/file folder where the firmware file will be stored, then click Save.

22 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Updating the Firmware

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

To update the firmware on the EGX:

Do not remove power from the EGX while firmware is being downloaded. If power is removed during the programming process, the EGX will no longer function. The

Status LED will rapidly blink while programming is in progress. Programming is complete only when the flashing stops and the EGX resets.

1. Launch Windows Explorer, type ftp:// and the IP address of the EGX in the

Address text box (for example, ftp://169.254.0.10), then press Enter.

2. Type the user name Administrator and the administrator password in the text boxes, then click Log On.

3. Locate the saved firmware file (egxxxxx.bin) directory/folder on your computer, right-click on the file name, then click Copy.

4. Right-click in the Windows Explorer window, then click Paste.

NOTE: Instead of copying and pasting the firmware file, you can drag-and-drop the firmware file into Window Explorer.

The Power/Status light will blink rapidly while the file is being transferred and programmed to the EGX. Once the programming is complete, the EGX will reset. The amount of time for programming is between 1.5 and 2 minutes.

5. Locate the saved disk update file (egxxxxx.upd) on your computer, right-click on the file name, then click Copy.

6. Right-click in the Windows Explorer window, then click Paste.

NOTE: Instead of copying and pasting the firmware file, you can drag-and-drop the firmware file into Window Explorer.

7. To verify that the firmware version was updated successfully, follow the steps in

“Finding the Firmware Version” on page 22.

8. Click Close on the Windows Explorer window.

© 2012 Schneider Electric All Rights Reserved 23

Twido WAGES D12, D28, D44 Gateway Solution

EGX300 Setup

63220-095-04A1

12/2012

24 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Appendix A—Modbus Registers

Twido WAGES D12, D28, D44 Gateway Solution

Modbus Registers

The table below lists the Modbus registers of the topics available for logging.

WAGES D12

0

1

2

5

6

3

4

7

8

9

10

11

19

20

21

22

15

16

17

18

23

24

25

26

27

11

12

13

14

7

8

9

10

WAGES D28

0

1

2

5

6

3

4

27

28

29

30

31

23

24

25

26

19

20

21

22

15

16

17

18

11

12

13

14

7

8

9

10

WAGES D44

Register Description

Mod10L3 Raw pulse count value associated with this channel.

Weighted

Mod10L4K accumulated total associated with this channel.

Data Type

Number of Registers

Modbus Register

Mod10L3

3

Mod10L4

4

0 Input 0:0 1005 1009

1

2

Input 0:1

Input 0:2

1025

1045

1029

1049

5

6

3

4

Input 0:3

Input 0:4

Input 0:5

Input 0:6

1065

1085

1105

1125

1069

1089

1109

1129

Input 0:7

Input 0:8

Input 0:9

Input 0:10

Input 0:11

Input 1:0

Input 1:1

Input 1:2

1145

1165

1185

1205

1225

1245

1265

1285

1149

1169

1189

1209

1229

1249

1269

1289

Input 1:3

Input 1:4

Input 1:5

Input 1:6

Input 1:7

Input 1:8

Input 1:9

Input 1:10

Input 1:11

Input 1:12

Input 1:13

Input 1:14

Input 1:15

Input 2:0

Input 2:1

Input 2:2

Input 2:3

1305

1325

1345

1365

1385

1405

1425

1445

1465

1485

1505

1525

1545

1565

1585

1605

1625

1469

1489

1509

1529

1549

1569

1589

1609

1629

1309

1329

1349

1369

1389

1409

1429

1449

© 2012 Schneider Electric All Rights Reserved 25

Twido WAGES D12, D28, D44 Gateway Solution

Modbus Registers

63220-095-04A1

12/2012

WAGES D12 WAGES D28 WAGES D44

Register Description

Mod10L3 Raw pulse count value associated with this channel.

Weighted

Mod10L4K accumulated total associated with this channel.

Data Type

Number of Registers

Modbus Register

Mod10L3

3

Mod10L4

4

32 Input 2:4 1645 1649

33

34

Input 2:5

Input 2:6

1665

1685

1669

1689

35

36

37

38

Input 2:7

Input 2:8

Input 2:9

Input 2:10

1705

1725

1745

1765

1709

1729

1749

1769

39

40

41

42

43

Input 2:11

Input 2:12

Input 2:13

Input 2:14

Input 2:15

1785

1805

1825

1845

1865

1789

1809

1829

1849

1869

Supported Modbus Register Reads

The data for each channel is organized in 20 register blocks. The EGX300 needs only 3 registers per channel for real time data display and a maximum of 7 for logging. Since the Twido does not support scattered register reads, you should keep the number of reads as small as possible, even if it means reading many unused registers.

26 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Appendix B—Twido Program Structure

Twido WAGES D12, D28, D44 Gateway Solution

Twido Program Structure

The PLC program is divided into three segments: System Overhead, Channel

Update, and Accumulation Sub-Routine.

System Overhead

The System Overhead section of logic is not specific to a particular channel and acts as a placeholder for future modifications. There is a rung of logic for the master reset, which will reset all of the accumulators and raw count values to zero. The bit that controls this is %M0 and can be set “true” by your supervisory system. After the reset is complete, the program will reset the bit at the end of the program scan.

© 2012 Schneider Electric All Rights Reserved 27

Twido WAGES D12, D28, D44 Gateway Solution

Twido Program Structure

Channel Update

63220-095-04A1

12/2012

This section calls the Accumulation Sub-Routine for any channel that senses the positive transition from its associated field device.

In the Channel Update section, there are only two rungs of logic for each channel.

These two rungs of logic are identical for all channels except for addressing.

First Rung

The first rung monitors the status of the input point for the channel. A positive transition of the input point will set a pointer to a value equal to the channel number.

The first channel is designated as channel zero. With the channel number set, program execution is directed to the accumulation sub-routine. When the execution of the sub-routine is complete, program execution returns to the rung immediately following the rung that called the sub-routine.

Second Rung

The second rung will reset the raw pulse count and accumulators associated with the channel. Two things can cause the accumulator to reset: the Master Reset

(%M0) mentioned above and a channel-specific reset contained in the channelspecific command word. The channel-specific command word is set by the supervisory system. After the reset occurs, the logic will automatically return the reset bit to a false condition.

The data is mapped in such a way to capitalize on the Twido feature that allows operations on structured objects. Using the syntax of %MWxxxx:L, where L is the number of consecutive objects starting at address %MWxxxx, all eight of the registers for the accumulated values can be reset in one operation.

Accumulation Sub-Routine

This section contains the controlling algorithm for developing a user-defined representation of the accumulated pulses. The logic is contained once in the program but may be called multiple times in one scan by the Channel Update section. The “calling” sequence is mentioned above.

28 © 2012 Schneider Electric All Rights Reserved

63220-095-04A1

12/2012

Index

A

additional resources

5

C

Control tab

EGX300

21

D

data logging topics

18

device configuration

manual

16

device discovery

15

device logging

16

enabling

18

setting up an export

19

EVO compatibility

19

Device Logging screen

EGX300

18

device name

15

E

EGX300 description

3

device list

14

device discovery

15

manual

16

device logging

16

enabling

18

firmware

22

finding the version

22

getting new

22

updating

23

hardware

13

interval data logging

17

Modbus serial port

13

pulse counters

20

RS-485 serial port settings

14

wiring

14

setup

13

EVO compatibility

19

executable binary component firmware

version

22

F

firmware

EGX300

22 getting new

22

Twido

7

updating

23

H

hardware

EGX

13

Twido

7

I

interval data logging

17

© 2012 Schneider Electric All Rights Reserved

L

logging

16

M

manual device configuration

16

Modbus address

changing the Twido

11

O

overview

Twido WAGES

3

P

pulse counters

20

monitoring for roll-over

21

reset

21 resetting

21

viewing

20

R

REM

naming convention for devices

15

S

setup

RS-485 serial port

14

Twido

7

T

topics not covered

4

Twido

hardware

7

selecting

7

programming

9

Twido WAGES configurations

4

data flow

3 description

3 overview

3

program structure

27

software

8 getting

8

running

12

selecting a program

8 transferring to the controller

8

TwidoSuite Programming Software

getting

9

Twido WAGES D12, D28, D44

Index

29

Twido WAGES D12, D28, D44

Index

63220-095-04A1

12/2012

30

© 2012 Schneider Electric All Rights Reserved

Twido WAGES D12, D28, D44 Gateway Solution

User Guide

Schneider Electric

35 rue Joseph Monier

92500 Rueil Malmaison, France www.schneider-electric.com

PowerLogic, Twido, TwidoSuite, and StruXureware Power Monitoring are a trademark or registered trademark of Schneider Electric in France, the USA and other countries.

Other trademarks used are the property of their respective owners.

63220-095-04A1 12/2012

© 2012 Schneider Electric. All Rights Reserved.

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals