2CSG445013D0201 M2M PROFIBUS. Profibus DP interface user manual M2M ABB

Similar documents
DMTME-96 2CSG133030R4022 M DMTME-I Operation and assembly instructions 2CSG163030R4022 M CSG445001D0202

Mini PROFIBUS Repeater PFB-R User's Manual FOURSTAR Electronic Technology Co., Ltd. Deyang China All Right Reserved

MPS PROFIBUS-DP INTERFACE

DIRIS A40/A41 RS485 PROFIBUS DP. Operating instructions F GB D I NL E P. SOCOMEC GROUP switching PROTECTION & ups

WARNING Improper operation may result in serious personal injury CAUTION

Power quality Harmonics up to 40th harmonic Unbalance, rotary field indication Distortion factor THD-U / THD-I

SE-330/SE-330AU/SE-330HV PROFIBUS-DP INTERFACE

DIRIS A40/A41 RS485 PROFIBUS DP COM. Operating instructions. PROFIBUS Certification

COMMUNICATION MODBUS PROTOCOL MFD44 NEMO-D4Le

Modbus communication module for TCX2: AEX-MOD

THREE-PHASE ENERGY METER DIRECT CONNECTION PM30D01KNX. User manual

SMARTALPHA RF TRANSCEIVER

Interface Description A2000. Multifunctional Power Meter Communications Protocol per DIN Draft /2.15

Thank you for purchasing S100 Profibus-DP Communication Module SAFETY PRECAUTIONS

DEIF A/S. Description of options. Option H3 Serial communication Profibus DP Multi-line 2 version 2. Description of option. Functional description

Moxa ICF-1280I Series Industrial PROFIBUS-to-Fiber Converter

Product type designation. General information. Hardware product version 01. Firmware version V2.6. Engineering with. update.

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

Answering frequently asked Questions (Firmware V.107)

Lecture #3 RS232 & 485 protocols

PLA 33. Power line analyzer. User and service manual. version 2.4

Communication With NC-Module

MV110-8AS. Analog input module 8 channel. User guide

DEIF A/S. Description of options. Option H1, CAN open communication Basic Gen-set Controller. Description of option. Functional description

DEIF A/S. Description of options. Option H1 Serial communication CAN open. Description of options. Functional description. Tables.

EMS THOMAS WÜNSCHE. CANwatch. CAN Physical Layer Analyser. User Manual. Documentation for CANwatch version 1.2. Documentation date: November 2004.

Side view View from below Rear view

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

Centrale de mesure Power Meter PM500 Merlin Gerin

EY-EM 527: Remote I/O module, ecolink527

COUNTIS E23. Three-phase energy meter Direct - 80 A MODBUS. Instruction manual. en/countis-e2x

SIMATIC. ET 200S distributed I/O 2AI I 4WIRE HS analog electronic module (6ES7134-4GB62-0AB0) Preface. Properties 1. Parameters 2.

Nemo 96HD/HD+/HDLe Variable modules for Profibus

ENA33LCD. Power line analyzer. User and service manual. Obrezija 5 SI-1411 Izlake

Contents. Warranty and Disclaimer 2 Introduction 3

SIMATIC. ET 200S distributed I/O 2AI U HS analog electronic module (6ES7134-4FB52-0AB0) Preface. Properties 1. Parameters 2.

EM-72 Electricity Meters for Current Transformers

Interface Description A2000. Multifunctional Power Meter Communications Protocol per EN /1.15

Dimension diagrams All dimensions in mm. Typical connection UMG 604-PRO. Power Analyser UMG 604-PRO. Front view. Side view. Versorgungsspannung

3-phase meter with direct connection and pulse or Modbus RS485 output

Multifuncion Measuring Device, 4 mod. DIN, connection via CT, with RS485 port

SMART 96 Piú USER'S MANUAL

HC500 Heater Controller

8V General information. 2 Order data 8V

Operation manual. Bus System Profibus PBD 100. Phone Fax

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

Contents. Warranty and Disclaimer 2

Networks IT, TN, TT networks 3 and 4-phase networks Up to 4 single-phase networks. Measured data memory 256 MByte Flash 32 MB SDRAM

Absolute encoder HE-65

SIMATIC. ET 200S distributed I/O 2AI U HF analog electronic module (6ES7134-4LB02-0AB0) Preface. Properties 1. Parameters 2.

EP-5111, EP-5112, EP-5212, EP-5261, EP-5311, EP-5422, EP-5442

LCC-10 Product manual

400,440Vac Vdc V, A, W, VA, var, Hz, V, Avg. A cos phi, sin phi and phi measurement kwh, kvarh (via Pulse Output)

Contents. Introduction and description Package contents Device identification PM Options... 80

ZHUHAI PILOT TECHNOLOGY CO., LTD.

General specifications and features

ELECTRONIC METER MX2-A01E MX2-C01E MX2-C41E MX2-B41E MODBUS RTU Interface Specifications MDD-T0026

Contents. Warranty and Disclaimer 2 Introduction 3

RS-232 Electrical Specifications and a Typical Connection

HURRICANE Radio Modem. FULL DUPLEX Radio MODEM

The new PROFIBUS Tester 4 The easy Approach for Beginners and Professionals

Technical description MT24. User manual WARNING GENERAL INSTRUCTIONS GENERAL DESCRIPTION

PROFIBUS HUB REPEATER

Smart Energy & Power Quality Solutions. UMG 96RM Universal measurement instrument (EN 50160, IEEE 519, ITIC)

UNIGYR Building Level Network, PROFIBUS X1 V1 E4

Voltage regulator TAPCON 240

maxon document number:

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

Single Channel Loop Detector

mmint Modbus translator module installation and use

Cable connection. Sigma-II series SERVOPACK SGDH- 200V. Ver. Servo Drive CN3 (CN10) CN1 CN2 NS500 JUSP-NS500 SERVOPACK. 200V Ver.

5 BS 4581 PROFIBUS DP DESIGN... 6

NTG MULTIFUNCTON GENERATOR PROTECTION RELAY. NTG-Slide

CPKS8. Photo of device

Operation. Displayed channel. Measuring range. Status indication/ remote control Key lock Measuring mode/ time constant. Scale.

SUPPLY NETWORK ANALYZER CVM-96 SERIES

Concept of Serial Communication

Voltage regulator TAPCON 260

Modbus Communications System for Micrologic A, P, and H Trip Units Class 0613

Applications: Power generation, Cogeneration, Stationary power Large engines

Integra 1560 and 1580 Digital Transducer Systems

MV110-8A. Analog input module 8 channel. User guide

RUDOLF Digital power analyzer. Advanced Version

Energy Management Energy Analyzer Type EM111

CONFIGURATION HANDBOOK INL 100

This data sheet is only valid in association with the IL SYS INST UM E user manual.

SUPPLY NETWORK ANALYZER

Data sheet VIPA CPU 314SC DPM (314-6CG23)

VersaPoint I/O Module

REB500 TESTING PROCEDURES

sw rev. 55B DEVICE FOR THE PERMANENT CONTROL OF INSULATION ON THE SUPPLY LINES IN MEDICAL PRACTICE PLACES INSTALLATIONS

UMG 509-PRO. Multifunction power analyser with RCM

System Components Liquiphant M (NAMUR)/PROFIBUS-PA interface FXA 164

SUPPLY NETWORK ANALYZER

InfraStruXure Manager v4.x Addendum: Building Management System Integration

Product Specification for model TT Transducer Tester Rev. B

PROFINET USER S GUIDE ACSI Servo

Energy Management Energy Meter Type EM340

ABSOLUTE ROTARY ENCODER CAN-BUS

Multimeter 500CVD21 RTU500 series

Transcription:

2CSG445013D0201 Profibus DP interface user manual M2M

1 PROFIBUS INTRODUCTION 4 1.1 GERAL DESCRIPTION...4 1.2 TRANSMISSION METHODS...7 1.2.1 RS485 TERMINATIONS...7 1.2.2 PROFIBUS NETWORK CHARACTERISTICS...10 2 INTERFACE CHARACTERISTICS 11 2.1 PROFIBUS CONNECTION...11 2.1.1...13 2.2 POWER-ON SELF-TEST...13 2.3 ACCESS TO THE PAGES...14 2.4 INSTRUMT SETUP...15 2.5 LED INDICATORS AND ON-LINE ICON...16 2.6 PROFIBUS INTERFACE FUNCTIONALITIES...17 2.6.1 COMMUNICATION TELEGRAMS...17 2.6.1.1 CONTROL BYTE AND STATUS BYTE DESCRIPTION...18 2.6.1.2 COMMUNICATION PROCESS AND CHANGE OF PAGE...19 2.6.2 READ VALUES MAPPING...20 2.6.3 GSD FILE M2M.gsd...31 3 INTERFACING TO AN AC500 PLC 32 3.1 PLC CONFIGURATION...32 4 INTERFACING TO A SIMATIC S7 PLC 36 4.1 PLC CONFIGURATION...36 3

1 PROFIBUS INTRODUCTION CHAPTER 1 GERAL INFORMATION cannot be held liable for any damage or personal injury arising from incorrect or improper use of its equipment. This document is subject to changes without prior notice. This manual refers to the instrument firmware version V. 2.03 or later. 1.1 GERAL DESCRIPTION PROFIBUS is the acronym of Process Field Bus. PROFIBUS is a field bus standardised according to IEC 61158/ 50170 with applications mainly in the industrial automation and process fields. PROFIBUS is a SINGLE MASTER MULTI SLAVE communication network; it is an open, solid and powerful field bus system characterised by quick response times, completely defined by international standards and capable to allow the connection of different manufacturer s devices, if all in compliance with the same standard. PROFIBUS allows also the reduction of cabling between the network nodes, since it requires a single communication cable only. PROFUBUS communication technology is based on a master-slave architecture: Each PROFIBUS system needs to have at least one master (e.g. a PC or a PLC); Up to 127 devices (master+slave) can be connected in a single system; A PROFIBUS system can be multimaster ; in this case the token architecture is used so that only one master at a time will communicate on the network. The instrument model is a slave equipment implementing the PROFIBUS DP-V0 protocol. A DP slave is a peripheral device acquiring input information and sending data to the central master. The quantity of input and output information data depends on the device type and can reach a maximum of 244 byte. The PROFIBUS DP (Decentralized Peripherals) is normally used to connect decentralized peripheral devices with quick response time, according to the IEC 61158/ 50170 standard. This normative prescribes a bit rate range from 9.6 kbps to 12 Mbps over nodes distances up to 300 m, using standard cable and maintaining the maximum operating speed. The DP-V0 version allows only the cyclic input/output data reading, while it does not allow not-cyclic Read/Write functions, which can be done instead by the DP-V1 extension, as well as alarms and interrupts acquisition. 4

CHAPTER 1 GERAL INFORMATION PC Active station (master) PROFIBUS DP Passive units interrogation (slave) 1.1 PROFIBUS network with a PC master PLC Active station (master) PROFIBUS DP Passive units interrogation (slave) 1.2 PROFIBUS network with a PLC master 5

CHAPTER 1 GERAL INFORMATION PC Active stations (master) PLC Token ring logic among devices PROFIBUS DP Passive units interrogation (slave) 1.3 PROFIBUS network with more than one master station 6

CHAPTER 1 GERAL INFORMATION 1.2 TRANSMISSION METHODS The transmission method used by the PROFIBUS DP is the RS485 interface (according to EIA) using a shielded twisted pair cable. The simple and inexpensive RS485 two-conductor transmission method is perfectly suited for linear/tree networks with high-speed transmission. 1.2.1 RS485 TERMINATIONS The PROFIBUS bus must be always terminated at its ends by means of two terminations. Any of them must be composed by three resistors, as shown in the figure below; the termination must be fed in by 0 to 5Vdc otherwise its resistance is not equal to the characteristic impedance of the cable. Using this architecture it becomes fixed the voltage on the bus when there are no active devices. VP = + 5 V 390 B 220 A 390 DGND 1.4 Termination resistors for the PROFIBUS network 7

CHAPTER 1 GERAL INFORMATION Terminators must be always present and powered since the integrity of the bus depends on the devices at its ends. If possible the so-called "Active Terminations" should always be used. This is because usually DB9 dedicated connectors used for devices concatenation are already provided with inside ending-terminators, which may be activated if necessary. 5 4 3 2 1 9 8 7 6 (6) VP (6) VP 390 390 B (3) B (3) B 220 220 A (8) A (8) A 390 390 (5) DGND (5) DGND 5 4 3 2 1 9 8 7 6 DB9 connector of the first device DB9 connector of the last device 1.5 network with termination resistors 8

CHAPTER 1 GERAL INFORMATION If it is desired to be protected even if the bus becomes unusable because a device is switched off at one ends, "Active Terminations" must be used. Their presence makes possible to turn on and off any device while maintaining the integrity of the bus. Connector with active termination Connector with inactive termination 1.6 network with active termination 9

1.2.2 PROFIBUS NETWORK CHARACTERISTICS CHAPTER 1 GERAL INFORMATION The extension of the PROFIBUS network, realized by signal segmentation and regeneration, is limited to a maximum of 32 nodes/partners (master/slave) per segment; on the other hand the entire network can have up to 126 nodes / partners. If it is desired to increase the length of the bus or use more than 32 stations it is necessary to use repeaters. Any repeater represents a load on the bus. Each new segment introduced has to be terminated at its ends and can have a maximum length dependent on the baud rate; however, it is standard procedure to connect a maximum of 30 loads per segment. They are in the same segment! Max. 29 loads T T REPEATER REPEATER REPEATER T T T Max. 31 loads T T T Max. 31 loads Max. 31 loads Max. 31 loads 1.7 network with repeater Using up to 9 repeaters, it is possible to cover distances from 1 km (at 12 Mbps) to 10 km (at 187.5 kbps), depending on the speed of transmission. Instead of the standard repeater, diagnostic repeaters can also be used. Besides the regeneration of the signals, they also perform an online monitoring of the bus segment connected. 10

CHAPTER 2 2 INTERFACE CHARACTERISTICS 2.1 PROFIBUS CONNECTION The interface to the PROFIBUS bus is realized by using a 9-pin female DSUB connector (DB9F). The pinout DB9F connector is described in the following table. 5 1 5 4 3 2 1 9 8 7 6 9 6 2.1 PROFIBUS DB9F female connector PIN SIGNAL 1-2 - 3 LINE B 4 RTS 5 GND BUS (ISOLATED) 6 +5V BUS (OUTPUT, ISOLATED 100mA MAX.) 7-8 LINE A 9 - CASE SHIELD 11

CHAPTER 2 NOTES: The signals +5V BUS and GND BUS are normally used for the bus terminators but they can also be used to power possible external devices; The external devices must never draw more than 100 ma of current. It is important to bear in mind that these power outputs are not short circuit protected; When for a PROFIBUS connection, a DB9 connector is used, then signals "LINE A, LINE B, +5V BUS, GND BUS, and SHIELD are required; when other types of connectors are used, only the signals ""LINE A, LINE B and SHIELD" are necessary; 99 88 55 44 5 GND BUS 33 77 22 66 11 SHIELD 1M 2.2nF&500V 2.2 Internal filtering of the shielded cable The PROFIBUS usually requires filtering of the shielded cable. Please note that this filtering (see figure above) is already built inside the instrument and there is no need for any external hardware or cabling. To increase the noise immunity, the protective shield of the cable and the metal case of the connector should be connected to DB9F PROFIBUS Protection Earth (PE). In case of long distances and/or potential differences on the Earth, the Earth connection must be made only in one point of the bus. 12

CHAPTER 2 2.1.1 The following table summarizes the main connection technical characteristics: Protocol Eelectrical Standard Baud rate LED indicators Address 1 126 Data Connector PROFIBUS with DP-V0 slave functionality according to IEC 61158 RS485 with galvanic isolation Automatic detection [9.6-12 Mbps] AutoBaud Green for node status and Red for error signal 128 byte of input data and 4 byte of output data (see section 2.6) 9 poles female D-shell (DB9F) connector. Do no use connectors with 90 cable outlet since it will interfere with the voltmetric connector. If necessary, replace the voltmetric plug with a flat plug (e.g. GMSTB 2,5/6-ST- 7,62) one spare part is included in the package 2.2 POWER-ON SELF-TEST At power-on the meter performs a self-test on the hardware interface; if a failure occurs during initialization, the instrument will then display the message "PROFIBUS INITIALIZATION FAILED". Besides, it is possible to carry out a more precise hardware test of the PROFIBUS interface once the general self-diagnosis is started up from the user (see M2M manual); in case HW internal errors occur, the messages "ERROR 32" or "ERROR 33" will be displayed. In these cases, contact the technical assistance. 13

2.3 ACCESS TO THE PAGES CHAPTER 2 The access to the device page can be done by pressing, in sequence, the control keys. The following layout explains the meaning of the symbols used in this chapter. A B x1 x1 x1 >2s XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX Setup C D A B C Control key sequence Number of times to press the control key How long to press the control key D Page shown after having carried out the sequence at point A 14

CHAPTER 2 2.4 INSTRUMT SETUP PROFIBUS interface is only available in the model. To configure the activation of the protocol it is enough to program the Profibus node address in the setup menu of the instrument (note: you can not set the node address via remote control): Communication menu Enter? x1 x4 x1 >2s Setup x1 x4 x1 x1 >2s Nod address Addr 126 Setup Setup the Profibus NODE ADDRESS within the range 1 126 (default = 126). 15

2.5 LED INDICATORS AND ON-LINE ICON CHAPTER 2 The table below shows the meaning of the LEDs located on the back of the instrument, in correspondence with the connector: LED STATUS DESCRIPTION Green Off Node off-line or not powered Ok Blinking Node on-line (Exchange mode) Node in Clear Mode Red Off No errors or node not powered Ok Blinking Initialisation error in the Profibus station Error in the configuration data/parameters Once the is on-line in the profibus network, the communication icon (see screen below) will blink to indicate the data exchange with the master. Active energies 3F 1.11MWh L1 L2 L3 3,0,7.1KWh 2,7,2.0KWh 5,3,0.3KWh b Communication icon It blinks when on-line Warning. The icon blinks even after receiving a Clear Mode telegram. 16

CHAPTER 2 2.6 PROFIBUS INTERFACE FUNCTIONALITIES As a PROFIBUS DP slave device, the address space is within the range 1 to 126 decimals. The instrument provides 4 bytes of output data and 128 bytes of input data. The values measured by the instrument are divided into 3 pages and each one is mapped into the 128 bytes of input data area. The master must first request the page of interest through the 4 bytes of output. For the complete transfer of all the instrument measured values, 3 telegrams will be necessary in order to scan the corresponding 3 pages. 2.6.1 COMMUNICATION TELEGRAMS The PROFIBUS telegrams to and from the instrument are typically composed by 128 input bytes and 4 output bytes. The telegrams basically consist of a 4-bytes header and, in the case of inputs, additional 124 bytes of user data related to the measured values. MASTER REQUEST TELEGRAM (OUTPUT) OUTPUT ADDRESS MEANING VALUE Header byte 0 Offset = 0 Header byte 1 Offset = 1 Header byte 2 Offset = 2 Header byte 3 Offset = 3 Requested page number [0 : 2] Reserved, not used CONTROL byte Reserved, not used 8 bit binary STATUS TELEGRAM MASTER (INPUT) OUTPUT ADDRESS MEANING VALUE Header byte 0 Data page number Offset = 0 currently available [0 : 2] Header byte 1 Offset = 1 Reserved, not used Header byte 2 Offset = 2 Reserved, not used Header byte 3 Offset = 3 STATUS byte 8 bit binary Data byte 0 123 124 byte of data related to DWORD Offset = 4 127 measured values 17

CHAPTER 2 2.6.1.1 CONTROL BYTE AND STATUS BYTE DESCRIPTION BIT BIT 0 CONTROL BYTE (HEADER BYTE 2 OF THE REQUEST TELEGRAM) BIT [1 : 7] BIT BIT [0 : 3] BIT 4 BIT 5 BIT [6 : 7] MEANING Internal request start/stop. Logic value 1: page request active. The data page number must be specified in the HEADER BYTE 0 of the request telegram. Logic Value 0: request page not active. Not used (ignored by ) STATUS BYTE (HEADER BYTE 3 OF THE STATUS TELEGRAM) MEANING Not used Logic Value 1: page update completed: the currently available page is the one indicated in the HEADER BYTE 0 of the status telegram and shows that the data are valid and congruent. Logic value 0: page update in progress (data not congruent). Logic value 1: latest valid request. Logic Value 0: latest invalid request or no request received. Not used 18

CHAPTER 2 2.6.1.2 COMMUNICATION PROCESS AND CHANGE OF PAGE The simplified sequence to request the data from can be summarized as follows: The master sets the page number through the HEADER BYTE 0 of the request telegram; The master sets equal to 1 the BIT 0 of the HEADER BYTE to activate the page request, and waits for the to load the new page data; When the HEADER BYTE 0 of the status telegram will become equal to HEADER BYTE 0 of the request telegram, and BIT 4 of STATUS BYTE will become equal to 1, then the master can read the values from the input and reset the BIT 0 in the CONTROL BYTE; If BIT 5 of the STATUS BYTE become equal to 0, then the number of the page you requested is not valid; Through 3 request telegrams for the 3 correspondent data pages, the master reads all the variables available from the meter. Note 1: at start-up the always loads the page 0. Note 2: refreshes continuously the last valid page requested. Note 3: in case of invalid page request, the continues to refresh the latest valid page requested (or eventually the default page 0). 19

2.6.2 READ VALUES MAPPING PAGE 0 CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 0 Header Byte 0 (Page Number) - Decimal = 0 1 Header Byte 1 (not used) - - = 0 2 Header Byte 2 (not used) - - = 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Header Byte 3 (STATUS BYTE) Three-phase system Voltage - 8 bit binary V Rated Voltage L1 V Rated Voltage L2 V Rated Voltage L3 V Linked Voltage L12 V Linked Voltage L23 V Linked Voltage L31 V = 0x30 (if latest request valid) = 0x10 (if latest request invalid) 20

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 32 33 Three-phase 34 system Current ma 35 36 37 38 39 40 Line 1 Current ma 41 42 43 44 Line 2 Current ma 45 46 47 48 Line 3 Current Three-phase ma 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 system Power Factor ( * ) Power Factor Line 1 ( * ) Power Factor Line 2 ( * ) Power Factor Line 3 ( * ) Three-phase system CosΦ ( * ) CosΦ Line 1 ( * ) * 1000 Signed Long * 1000 Signed Long * 1000 Signed Long * 1000 Signed Long * 1000 Signed Long * 1000 Signed Long 21

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 72 73 CosΦ Line 2 74 ( * ) * 1000 Signed Long 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 CosΦ Line 3 ( * ) Three-phase system Apparent Power Apparent Power Line 1 Apparent Power Line 2 Apparent Power Line 3 Three-phase system Active Power Active Power Line 1 Active Power Line 2 Active Power Line 3 * 1000 Signed Long VA VA VA VA W W W W Signed Long Signed Long Signed Long Signed Long 22

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 112 Three-phase 113 system Reactive 114 Power 115 116 Var Signed Long 117 118 119 120 121 122 123 124 125 126 127 Reactive Power Line 1 Reactive Power Line 2 Reactive Power Line 3 Var Var Var Signed Long Signed Long Signed Long PAGE 1 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 0 Header Byte 0 (Page Number) - Decimal = 1 1 Header Byte 1 (not used) - - = 0 2 Header Byte 2 (not used) - - = 0 3 4 5 6 7 8 9 10 11 12 13 14 15 Header Byte 3 (STATUS BYTE) Three-phase Active Energy Three-phase Reactive Energy - 8 bit binary Wh * 100 Varh * 100 Frequency mhz = 0x30 (if latest request valid) = 0x10 (if latest request invalid) 23

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 16 17 18 19 20 Max. Current L1 ma 21 22 23 24 Max. Current L2 ma 25 26 27 Max. Current L3 ma 28 Max. Three-phase 29 system Active 30 Power 31 32 W Signed Long 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 Max. Three-phase Apparent Power Aver. Three-phase system Active Power Aver. Three-phase Apparent Power VA W VA Signed Long Active Energy L1 Wh * 100 Active Energy L2 Wh * 100 Active Energy L3 Wh * 100 24

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 56 57 58 59 60 Reactive Energy L1 Varh * 100 61 62 63 64 Reactive Energy L2 Varh * 100 65 66 67 Reactive Energy L3 Varh * 100 68 Max. of threephase average 69 70 Active Power 71 W Signed Long 72 Voltage THDF of 73 Line 1 (normal 74 visualization) * 100 75 76 ( & ) Voltage THDF of 77 Line 2 (normal 78 visualization) * 100 79 80 ( & ) Voltage THDF of 81 Line 3 (normal 82 visualization) * 100 83 84 ( & ) Current THDF of 85 Line 1 (normal 86 visualization) * 100 87 88 ( & ) Current THDF of 89 Line 2 (normal 90 visualization) * 100 91 92 ( & ) Current THDF of 93 94 95 Line 3 (normal visualization) ( & ) * 100 25

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 96 Max. of average 97 Active Power W Signed Long 98 Line 1 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 Max. of average Active Power Line 2 Max. of average Active Power Line 3 Max. of threephase average Apparent Power Max. of average Apparent Power Line 1 Max. of average Apparent Power Line 2 Max. of average Apparent Power Line 3 Aver. Active Power from pulse input (CH1) W W VA VA VA VA W Signed Long Signed Long PAGE 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 0 Header Byte 0 (Page Number) - Decimal = 2 1 Header Byte 1 (not used) - - = 0 2 Header Byte 2 (not used) - - = 0 26

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Header Byte 3 (STATUS BYTE) Aver. Reactive Power from pulse input CH2) Active Energy from pulse input (CH1) Reactive Energy from pulse input (CH2) Current threshold for timer 2 activation Three-phase Apparent Energy Apparent Energy Line 1 Apparent Energy Line 2 Apparent Energy Line 3 Generated threephase Active Energy - 8 bit binary Var Wh * 100 Varh * 100 ma VAh * 100 VAh * 100 VAh * 100 VAh * 100 Wh * 100 = 0x30 (if latest request valid) = 0x10 (if latest request invalid) 27

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 40 41 Generated Active 42 Energy Line 1 Wh * 100 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 Generated Active Energy Line 2 Generated Active Energy Line 3 Generated threephase Reactive Energy Generated Reactive Energy Line 1 Generated Reactive Energy Line 2 Generated Reactive Energy Line 3 Generated threephase Apparent Energy Generated Apparent Energy Line 1 Generated Apparent Energy Line 2 Wh * 100 Wh * 100 Varh * 100 Varh * 100 Varh * 100 Varh * 100 VAh * 100 VAh * 100 VAh * 100 Signed Long 28

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 80 Generated 81 Apparent Energy VAh * 100 82 Line 3 83 84 85 86 87 88 89 90 91 92 93 94 95 External TA Ratio (KA) ( $ ) External VT Ratio (KV) ( $ ) Energy factor/impulse of the digital outputs Units Units Units 1: 10Wh(Var)/imp. 2: 100Wh(Var)/imp. 3: 1kWh(kVar)/imp. 4: 10kWh(kVar)/imp. 96 - = 0xFF 97 - = 0xFF 98 - = 0xFF 99 - = 0xFF 100 - = 0xFF 101 - = 0xFF 102 - = 0xFF 103 - = 0xFF 104 - = 0xFF 105 - = 0xFF 106 - = 0xFF 107 - = 0xFF 108 - = 0xFF 109 - = 0xFF 110 - = 0xFF 111 - = 0xFF 112 - = 0xFF 113 - = 0xFF 114 - = 0xFF 115 - = 0xFF 116 - = 0xFF 117 - = 0xFF 118 - = 0xFF 119 - = 0xFF 29

CHAPTER 2 IND. DESCRIPTION UNIT OF MEASURE FORMAT NOTES 120 - = 0xFF 121 - = 0xFF 122 - = 0xFF 123 - = 0xFF 124 - = 0xFF 125 - = 0xFF 126 - = 0xFF 127 - = 0xFF The memory locations not implemented in page 2 will be filled with the value 0xFF. Data format: - : it is a binary number of 2 unsigned words (32 bit) - Signed Long: it is a binary number of 2 words (32 bit) that, when negative, is expressed with 2 s complement notation. NOTES: ( * ) Regarding the Power Factor of the three lines, please note that: In case of inductive power factor, the value is positive; vice versa when it is capacitive, the value is negative; When the power factor is not defined (e.g. no current at the input), it is returned the value 2000 to indicate this particular condition. ( & ) Regarding the current and voltage THDF value, please note that: The THDF represents the normalized voltage and current crest factor; In case the THDF is not calculable, the meter returns two words equal to FFFFh corresponding to an invalid data. ( $ ) KA and KV constants represent the ratio between the value of the current (or voltage) transformer primary and the secondary that has been set in the instrument (Prim/Sec). If, for example, in the Setup menu of the instrument the current transformer ratio has been set to '100/5', then this parameter will be 20. 30

CHAPTER 2 2.6.3 GSD FILE M2M.gsd The configuration GSD file M2M.gsd is provided with this document, or it is available from Web site (http://www.abb.com/abblibrary/downloadcenter). Considering that the map of each reading page consists of 128 bytes, organized in 1 DWORD for status and 31 DWORD for data, it is assumed to upload 4 times the module "INPUT_M2M" (8 DWORD) in the input space. For the commands, being the map of 4 bytes, it is assumed to upload 4 times the module "OUTPUT_M2M" (1 byte) in the output space. 31

CHAPTER 3 INSTALLATION 3 INTERFACING TO AN AC500 PLC Below is presented an example of the PROFIBUS bus interfacing the instrument M2M PROFIBUS with an AC500 PLC, configured by the software Control Builder Plus. 3.1 PLC CONFIGURATION In Control Builder Plus environment, create the project for a PROFIBUS system composed by: Master Profibus = Station AC500 (eg. PM573); Bus PROFIBUS Slave PROFIBUS = Before to enter in the system the meter, it is necessary to add it to the "library-catalog" of by installing the GSD-file M2M.gsd from the "hardware Configuration" window, as shown in the screenshot below (the GSD file is provided with this document or it is available from the web site at http://www.abb.com/abblibrary/downloadcenter). 32

CHAPTER 3 INSTALLATION Once installed the GSD-file, the instrument will be available in the catalog among the PROFIBUS-DP devices, in the folder "Logic devices"; then exploring the instrument it will be displayed a list of all the possible modules usable to configure it. 33

CHAPTER 3 INSTALLATION Once the M2M device is available, the PLC address mapping can be acquired in automatic mode. To manage the control flow in the PLC, the INPUT/OUTPUT data of the slave device can be displayed in a Watch and Recipe Manager" table like the one shown in the screenshot below. 34

CHAPTER 3 INSTALLATION Once the program has been downloaded on the PLC, the status of the variables is displayed as shown below. 35

CHAPTER 4 INSTALLATION 4 INTERFACING TO A SIMATIC S7 PLC Below is presented an example of the PROFIBUS bus interfacing the instrument with a SIMATIC S7 SIEMS PLC, configured by the software S7 Manager. 4.1 PLC CONFIGURATION In S7 Manager environment, create the project for a PROFIBUS system composed by: Master Profibus = Station SIMATIC 300 (eg. S7315-2) Bus PROFIBUS Slave PROFIBUS = Before to enter in the system the meter, it is necessary to add it in the "library-catalog" of S7 Manager by installing the GSD-file M2M.gsd from the "Hardware Configuration" window, as shown in the screenshot below (the GSD file is provided with this document or it is available from the web site at http://www.abb.com/abblibrary/ DownloadCenter). 36

CHAPTER 4 INSTALLATION Once installed the GSD-file, the instrument will be available in the catalog among the PROFIBUS-DP devices, in the folder "Logical devices"; then exploring the instrument it will be displayed a list of all possible configurable modules usable to configure it. 37

CHAPTER 4 INSTALLATION The PLC address mapping can be achieved by dragging the modules in connector free slots as shown below. In the example it has been associated the PLC addresses 0, 1, 2, 3 to 4 modules "OUTPUT_M2M" (output byte) necessary to configure the Request Telegram from the master; the PLC address [256.. 383] has been associated to 4 modules "INPUT_M2M" (each corresponding to 8 DWORD), necessary to read the Status Telegram and the 31 values available in the data pages. To manage on the PLC the INPUT/OUTPUT data of the slave device (the meter), it can be created a VAT block like the one shown below, in order to read data in polling. 38

CHAPTER 4 INSTALLATION The picture shows an example of how could be the "VAT" associated to PAGE 0 of the data exchanged by the : The header of the response telegram (address [256.. 259]) has been divided into 4 "PEB" (input byte) with binary representation; Any value of the data page (address [260.. 380]) has been described with a "PED" (output Dword) in a decimal display; The request telegram has been divided into 4 MB; each MB has been associated with a PAB (output byte) in the code block shown below. 39

CHAPTER 4 INSTALLATION At this point it is possible to compile the project, upload it into the PLC and start the Master-Slave PROFIBUS communication process as described in section 2.6.1.2. 40

Contacts SACE A division of S.p.A. Viale dell Industria, 18 20010 Vittuone (MI) - Italy www.abb.com 2CSG445013D0201 Power and productivity for a better world