Application Note. WAGO-I/O-SYSTEM 750 Connecting energy meters with M-Bus interface to the WAGO-I/O-SYSTEM

Similar documents
Application Note. Building. Automation WAGO-I/O-PRO V2.3. openvpn with Linux based Devices A500880_en. Version 1.1.1

WAGO-I/O-SYSTEM 750 CODESYS-2-Library WagoLibWakeOnLan.lib Wake on lan Remote wake up of network devices

Application note. WAGO-I/O-SYSTEM 750 DALI Multi-Master Module Configuration of a DALI Lighting System via WAGO- I/O-PRO V2.

Using the WagoAppEtherNetIP_Adapter library with a CompactLogix Controller A500930

Application Note. a HART Tool-routing with Emerson AMS HART over TH LINK PROFIBUS for Asset Management 1.0.0

Fieldbus Independent I/O Modules Bluetooth RF Transceiver Quick Start

Application Note. Connection of an WAGO ETHERNET Coupler/Controller to a S controller

Redundant ethernet communication with WAGO Ethernet-Controller Application note

WAGO Remote IO with Fanuc Robot using EtherNet/IP Protocol Application note

Library for Building Automation. Module Descriptions for KNX IP Master

Library Description. DALI_647_SpecialSensor_02.lib Specific Sensor Solutions. Version 1.0.1

Fieldbus Independent I/O Modules 8 DI DC 24 V 3.0 ms, Manual

Library Description. MBUS_649_01.lib WAGO M-Bus Library. Version 1.0.1

Using the WAGO as Remote I/O with an Omron SYSMAC CJ2 Series PLC. Application note. A116700, English Version 1.1.0

Using WAGO Series 750 EtherCAT coupler with CoDeSys SP Win V3 Application note

Libraries for Building Automation. Module Descriptions for the WINSTA Sunblind Box /

Fieldbus Independent I/O Modules SSI Transmitter Interface Manual

Configuring National Instruments Lab View with WAGO I/O Application note

The HART Module on the WAGO ETHERNET Controller Application Note

Using WAGO Series 750 DeviceNet IO with an A-B SLC SDN Scanner Application note

Using WAGO Series 750 DeviceNet IO with an A-B ControlLogix 1756-DNB Scanner Application note

Application Note. Enable port forwarding for PFC. A500840, English Version 1.0.0

Fieldbus Independent I/O Modules 4 AI Pt100/ RTD , (/xxx-xxx) Manual

Fieldbus Independent I/O Modules End Module (/xxx-xxx) Manual

Fieldbus Independent I/O Modules 4 AI DC 0-10 V, Single-Ended Manual

Fieldbus Independent I/O Modules 1 AI DMS Manual

Fieldbus Independent I/O Modules Field Side Connection Manual

Libraries for Building Automation. Function Block Description for DALI Multi-Master Module

Fieldbus Independent I/O Modules 2 DI DC 24 V 3.0 ms, High-Side Switching (/xxx-xxx) Manual

Fieldbus Independent I/O Modules 2 AI 4-20 ma, Single-Ended Manual

Using the WAGO as Remote I/O with a ControlLogix Ethernet/IP Bridge Module Application note

Fieldbus Independent I/O Modules 4 DO DC 24 V 0.5 A, High-Side Switching (/xxx-xxx)

Fieldbus Independent I/O Modules 24 V DC Power Supply/Fuse/Diagn Manual

Using PROFIsafe modules in combination with PROFIBUS-DP and PROFINET Application note

Libraries for Building Automation. Function Blocks and Data Types for the BACnet Controller

WagoLib_CAN_Gateway_02.lib

PROFIsafe modules V2 ipar 75x-66x/ WAGO Safety-Editor-75x Quickstart

Library for Building Automation

Using power measurement module with TIA A500671

Library for Building Automation. Library Description for for the WAGO BACnet Library BACnet_02.lib

Fieldbus Independent I/O Modules 2 AO 4-20 ma Manual

Library Description. KNX_02.lib. CODESYS V2.3 Function Block for the KNX/EIB/TP1 Module

Library for Building Automation. Function Block Description for M-Bus

Library for Building Automation. Function block descriptions for time- switching functions

Manual Version WAGO TO-PASS 761. Telecontrol Modules. 761-xxx. System Description

Library Description. ColourConverter_01.lib Library for Converting Color Formats. Version 1.0.2

Modbus/TCP OPC Server

Library Description. Enocean_06.lib WAGO EnOcean Profile Library. Version 1.0.1

The Next Level of Energy Data Management Fast Data Acquisition via Parameterization No Programming

Libraries for Building Automation

Quickstart reference for the software e!cockpit

Fieldbus Independent I/O Modules Serial Interface RS 232 C (/xxx-xxx) Manual

WAGO-I/O-SYSTEM 750 IO-Link Master

Library Description. Building WAGO-I/O- PRO V2.3. Automation. MpBus_03.lib CODESYS V2.3 Module for MP-Bus. Version 1.0.1

Manual / Electronic Circuit Breaker DC 24 V, A. Version 1.0.0

Port 100Base-TX Industrial Eco Switch

WAGO-I/O-SYSTEM 750 IO-Link Master

Application Note. Modbus on CMMP-AS- -M3/M0. Connection and configuration of the motor controller CMMP-AS- -M3/M0 within a Modbus/TCP network.

M-BUS MASTER OEM MODULE MBUS-M13

Connection Procedure of WAGO CANopen Bus Coupler and Pro-face AGP-3****-CA1M/LT. Instruction Manual. Version1.1 (

Replacement of MS6-SV-1/2-E-ASIS-

WAGO Energy Data Management Efficiency Is That Easy!

Manual DNP3 Solution for programmable Controls of Telecontrol Technology. Version 1.4.0

Manual. PLC Lib: Tc2_SMI. TwinCAT 3. Version: Date:

Application Note Commissioning VTEM connected to Beckoff PLC via CPX-FB38 bus node

The WAGO BACnet Configurator

Instruction Manual. VISAM TouchPanel VTP-AX 328. A product of the. VBASE - HMI/SCADA family. Document: HB_VTPAX_328_v1.0e_FINAL.

Documentation. CU20xx, CU22xx. Ethernet Switch. Version: Date:

Manual. TwinCAT MC Flying Saw. TwinCAT 3. Version: Date: Order No.: TF5055

Fieldbus Independent I/O Modules DALI/DSI Master Module Manual

ISO/IEC INTERNATIONAL STANDARD. Information technology CDIF transfer format Part 3: Encoding ENCODING.1

Installation- and Operating instructions for CU Ethernet Controller with USB Input. Version: 1.4 Date:

BNI USB A501. User s Guide

Documentation EM2042. Sixteen Channel Digital Output Module with D-Sub Connector. Version: Date:

HOB WebSecureProxy Universal Client. Installation Guide for Mobile Devices. HOB GmbH & Co. KG Schwadermuehlstrasse Cadolzburg

THE KNX IP CONTROLLER. Taking Proven Technology to the Next Level

SCHMIDT Sensor interface PROFIBUS Instructions for use

Brief instructions WAGO TOPLON for TOPLON IF und TOPLON PRIO

Documentation ZB8610. Fan cartridge for EtherCAT and Bus Terminals. Version: Date:

Documentation. KM2604 and KM2614. Four channel relay module. Version: Date:

Documentation KM2042. Sixteen channel digital output module with D-Sub Connector. Version: Date:

Interfaces for Local Override Operation

efesotomasyon.com - Klockner Moeller - inverter User Manual CAN-Monitor

Manual. TC3 Virtual Serial COM. TwinCAT 3. Version: Date: Order No.: TF 6360

User Manual Connection to CAN

Controllers Open Flexible Compact

Safety I/O Modules PROFIsafe 4FDO 0,5A/4FDI 24V DC PROFIsafe / Manual

Fieldbus Independent I/O Modules Incremental Encoder Interface Manual

Operating instructions Safe AS-i input module ASIM-C-M About this document. Content

WAGO-I/O-IPC. Maximum Processing Power in Minimal Space

Modbus RTU Protocol description

IP67 IP20. Controllers Open Flexible Compact SPEEDWAY. Programmable. Fieldbus Couplers. Programmable. Fieldbus Controllers

YJKP with Mitsubishi Q series PLC control via Modbus TCP

Documentation. FC7501 and FC7502. SERCOS interface PCI Cards. Version: Date:

Embedded Linux Open Automation for the Future

Embedded Linux Automation for the Future

LINK LINK MS NS USR SD. From the Field Level up to the Cloud WAGO Cloud Connectivity and WAGO Cloud Data Control

CPX-FB36 in Ethernet/IP Mode

RELM KNG Series Interface for IP-224

Ethernet Module MGC-PRO MicroDrive

Transcription:

WAGO-I/O-SYSTEM 750 Connecting energy meters with M-Bus interface to the WAGO-I/O-SYSTEM Version: 14.02.2013

2 Imprint 2013 by WAGO Kontakttechnik GmbH & Co. KG All rights reserved. WAGO Kontakttechnik GmbH & Co. KG Hansastraße 27 D-32423 Minden Phone: +49 (0) 571/8 87 0 Fax: +49 (0) 571/8 87 1 69 E-mail: Web: info@wago.com http://www.wago.com Technical Support Phone: +49 (0) 571/8 87 555 Fax: +49 (0) 571/8 87 8555 E-mail: support@wago.com Every conceivable measure has been taken to ensure the accuracy and completeness of this documentation. However, as errors can never be fully excluded, we always appreciate any information or suggestions for improving the documentation. We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally protected by trademark or patent.

Table of Contents 3 Table of Contents 1 Important Notes... 4 1.1 Legal Principles... 4 1.1.1 Subject to Change... 4 1.1.2 Copyright... 4 1.1.3 Personnel Qualification... 4 1.1.4 Intended Use... 4 1.2 Scope of Validity... 5 1.3 Symbols... 5 1.4 Number Notation... 6 1.5 Font Conventions... 6 2 Description... 7 3 Material... 7 4 Configuration... 8 5 Reading an electricity meter... 9 5.1 Task... 9 5.2 Program... 10 List of Figures... 13 List of Tables... 13

4 Important Notes 1 Important Notes To ensure fast installation and start-up of the units, we strongly recommend that the following information and explanations are carefully read and adhered to. 1.1 Legal Principles 1.1.1 Subject to Change WAGO Kontakttechnik GmbH & Co. KG reserves the right to make any alterations or modifications that serve to increase the efficiency of technical progress. WAGO Kontakttechnik GmbH & Co. KG owns all rights arising from granting patents or from the legal protection of utility patents. Third-party products are always mentioned without any reference to patent rights. Thus, the existence of such rights cannot be excluded. 1.1.2 Copyright This documentation, including all figures and illustrations contained therein, is subject to copyright protection. Any use of this documentation that infringes upon the copyright provisions stipulated herein is prohibited. Reproduction, translation, electronic and phototechnical filing/archiving (e.g., photocopying), as well as any amendments require the written consent of WAGO Kontakttechnik GmbH & Co. KG, Minden, Germany. Non-observance will entail the right of claims for damages. 1.1.3 Personnel Qualification The use of the product described in this document is exclusively geared to specialists having qualifications in SPS programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the appropriate current standards. WAGO Kontakttechnik GmbH & Co. KG assumes no liability resulting from improper action and damage to WAGO products and third-party products due to non-observance of the information contained in this document. 1.1.4 Intended Use For each individual application, the components are supplied from the factory with a dedicated hardware and software configuration. Modifications are only admitted within the framework of the possibilities documented in this document. All other changes to the hardware and/or software and the non-conforming use of the components entail the exclusion of liability on part of WAGO Kontakttechnik GmbH & Co. KG. Please send your requests for modified and new hardware or software configurations directly to WAGO Kontakttechnik GmbH & Co. KG.

Important Notes 5 1.2 Scope of Validity This application note is based on the stated hardware and software from the specific manufacturer, as well as the associated documentation. This application note is therefore only valid for the described installation. New hardware and software versions may need to be handled differently. Please note the detailed description in the specific manuals. 1.3 Symbols NOTE Note: NOTE Boundary conditions that must always be observed to ensure smooth operation. Important note! Routines or advice for efficient use of a device and software optimization. Information Additional information: Refers to additional information which is not an integral part of this documentation (e.g., the Internet).

6 Important Notes 1.4 Number Notation Table 1: Number notation Number Code Example Note Decimal 100 Normal notation Hexadecimal 0x64 C notation Binary '100' '0110.0100' In quotation marks, nibble separated with dots 1.5 Font Conventions Table 2: Font conventions Font type Explanation italic Names of paths and files are displayed in italics, e.g.: C:\Programs\WAGO-I/O-CHECK Menu Menu options are displayed e.g. Save > A "greater than" between two names characterizes the selection of a menu option from a menu, e.g.: File > New Input Designation of input or optional fields are displayed in bold; e.g.: Start of measurement range "Value" Input or selection values are displayed in quotation marks; e.g.: Enter the value "4mA" under Start of measurement range. [Button] Button labels in the dialogs are displayed in bold and enclosed in square brackets, e.g.: [Input] [Key] Key labels on the keyboard are displayed in bold and enclosed in square brackets, e.g.: [F5]

Description 7 2 Description The M-Bus (meter bus) is used for reading out resource meters such as electricity meters, heat meters, water meters and many more. It is standardised as the European Norm for all meters with the exception of electricity meters. This manual describes the connection of different M-Bus meters to the WAGO- I/O-System via a serial connection using the M-Bus protocol. 3 Material Table 3: Material Supplier Qty. Designation Item No. WAGO 1 Programmable Fieldbus Controller 750-8xx WAGO 1 Serielles Interface RS232 750-652 WAGO 1 End module 750-600 Relay 1 Level converter e.g. PW3 DZG 1 Consumption meter DVS3016.11- M1(M) The following software is also required for creating the program and commissioning: Table 4: Software Supplier Qty. Designation Item No. WAGO WAGO-I/O-PRO 759-333 Note: Information Material The node structure described is only an example for a possible realization of communication to M-Bus meters. The modules may be expanded as required by the respective application. Additional information: The library and documentation used are available at www.wago.de/ Downloads

8 Configuration 4 Configuration Electricity meter Heat meter Water meter kwh GJ m³ M+ M- M+ M- M+ M- M-Bus O Port Slave 1 6 PW3 5 9 e.g.. Ethernet Fieldbus- Controller 750-881 Power RS232C V+ V- RX TX 24V DC 750-652 750-600 Figure 1: Connection diagram with Relay M-Bus level converter

Reading an electricity meter 9 5 Reading an electricity meter 5.1 Task Two electricity meters with M-Bus interface are to be read with the help of the WAGO-I/O- SYSTEM. To do this, the meter is connected to the serial interface of the WAGO-I/O-SYSTEM via a level converter (see Fig. 1). The programming of the application is described briefly below

10 Reading an electricity meter 5.2 Program Figure 2: Program structure for reading an electricity meter

Reading an electricity meter 11 Figure 2 shows the basic structure for programming an M-Bus application. A prerequisite for communicating with the M-Bus meter is a 750-652 serial terminal and the "FbMBusMaster" function module. The parameters for baud rate, number of telegram repeats and timeout are specified in this module. The "FbMBus_Electricity" module is used for reading out and decoding the data from an M-Bus electricity meter. It can only be used in conjunction with the "FbMBusMaster" module. The two modules are synchronised by means of the "typmbus" variable structure. All further meter modules must be connected to the master by means of the same variable structure. The "xsnd_nke" input should be set if a so-called normalisation command is to be sent before the query. This command ensures that, in the case of meters with sequential telegrams, the first (most important) telegram is sent as a reply to the next query. The reading process can be started by setting the signal level of the "start" variable to TRUE. The "FbUnitConverter" function block is added to convert the meter readings from STRING data to a required unit and into a REAL type data value. In this way, the meter reading can be made available in REAL data format via a higher-level system (e.g. visualisation system). The "utunit" variable determines the units of the output value. The units are abbreviated as follows, e.g.: kwh = kilowatt hours, mijps = millijoules per second, gpmin = grams per minute,... Note Rounding errors Rounding errors in the converted meter readings can occur when using REAL data types. Conversion errors occur with meter readings of 10-digits (6-digit negative) and above. A timer is integrated in network 2 of the program code, allowing both M-Bus meters to be read cyclically. This timer resets both start and start2 variables once meter reading is completed.

12 Reading an electricity meter Primary address Manufacturer ID Value = 5127 Pof10 = 0 (power of 10) Unit = Wh => Mbus_Energy = 5127 Wh Figure 3: Values of the variables in online mode Figure 3 shows the program in online mode. The read and decoded data can now the read off under the respective output variables. The output variables of the FbMBus_Electricity module have a structure in which the individual elements are contained (e.g. meter reading, power of ten, units).

List of Figures 13 List of Figures Figure 1: Connection diagram with Relay M-Bus level converter... 8 Figure 2: Program structure for reading an electricity meter... 10 Figure 3: Values of the variables in online mode... 12 List of Tables Table 1: Number notation... 6 Table 2: Font conventions... 6 Table 3: Material... 7 Table 4: Software... 7

WAGO Kontakttechnik GmbH & Co. KG Postfach 2880 D-32385 Minden Hansastraße 27 D-32423 Minden Telefon: 05 71/8 87 0 Telefax: 05 71/8 87 1 69 E-Mail: info@wago.com Internet: http://www.wago.com