Number. Number. Error Address. Check (Hi) Points. Points. (Hi)

Similar documents
User Manual V1.1. SDM120-Modbus(mV) Single-Phase Multifunction DIN rail Meter

1.Eastron SDM230Modbus Smart Meter Modbus Protocol Implementation V1.2

1.Eastron SDM530-Modbus Smart Meter Modbus Protocol Implementation V1.1

SMARTRAIL X100 Protocol

8 data bits, least significant bit sent first 1 bit for even/odd parity (or no parity) 1 stop bit if parity is used; 1 or 2 bits if no parity

Interface Definition RISH EM 2340/1320/30/ _Rev. D - 8/2016

SKD-005-M Protocol. 2 RS485 General Information 2.1 Half Duplex 2.2 Connecting the Instruments 2.3 A and B terminals 2.

INTEGRA DL1 DUAL LOAD DIGITAL METER COMMUNICATIONS GUIDE DIGITAL ENERGY METER FOR MULTIPLE LOADS IN AN ELECTRICAL SYSTEM

AP25-3DO PROTOCOL. Modbus Guide - Issue 1.0 SUBJECT TO CHANGE WITHOUT NOTICE

DRS-100-3P MID Energy Meter Direct Connect, 100A, Three phase Communications Guide

Integra Ri3 Digital Meters. Communications Guide

Integra, INT-0220 and INT-0230 (MID) Power Measurement Digital Metering System Communications Guide

Integra Ci5 Quick to Connect (Q2C) Digital Meters. Communications Guide

EM21 COMMUNICATION PROTOCOL. Version 1 Revision 0

PM130 Powermeters Reference Guide Modbus Communications Protocol

EM24-DIN PFA, PFB & X models

PM290 POWERMETER. Communication Protocols ASCII & Modbus Reference Guide

EM24-DIN COMMUNICATION PROTOCOL. Version 3 Revision 1

EM210 COMMUNICATION PROTOCOL. Version 3 Revision 1

VERIS H8035 and H8036

Integra, INT-2270, INT-2170 Power Quality Digital Metering System Communications Guide. The power to measure Quality with a TOUCH.

GNM3D Series COMMUNICATION PROTOCOL. Version 1 Revision 0

SDM530-Modbus USER MANUAL 2015 V1.5. Three Phase Multi-function DIN rail meter. Eastron SDM530-Modbus User Manual

C192PF8-RPR. Power Factor Manager & Reactive Power Regulator Reference Guide. Modbus. Communications Protocol. BG0348 Rev. A1

CURRENT PROTECTION RELAY SMPR-1

EM271 COMMUNICATION PROTOCOL. Version 0 Revision 0

EM210 COMMUNICATION PROTOCOL. Version 3 Revision 3

EM23-DIN COMMUNICATION PROTOCOL. Version 0 Revision 0

EM270 COMMUNICATION PROTOCOL. Version 1 Revision 0

EM24-DIN COMMUNICATION PROTOCOL. Version 3 Revision 0

MODBUS Protocol Specification. MODBUS Protocol Specification V2.0

EM100 Series and ET100 Series

EM26-96 COMMUNICATION PROTOCOL. Version 1 Revision 0

AP25-1DO METER (MID CERTIFIED) User Manual - Issue 1.0

SDM530CT-Modbus USER MANUAL 2015 V1.6. Three Phase Multi-function DIN rail meter. Eastron SDM530CT-Modbus User Manual

MultiCube. Modbus Data Tables. August Northern Design (Electronics) Ltd Bradford UK

Conto D1 MODBUS COMMUNICATION PROTOCOL

DIN Rail Smart Meter for Single and Three Phase Electrical Systems

Setting the DCM Switches

EM300 Series. ET300 Series

USER MANUAL 2012 V1.1

Integral Electronics with Local Menu System

GNM3D M-BUS COMMUNICATION PROTOCOL. Revision 1

SUBJECT TO CHANGE WITHOUT NOTICE

Jiaxing Eastron Electronic Instruments Co.,Ltd. Tel: Fax:

RISH Master 3440i/3440iDL 0.2S

PM210v Multi-Function Panel Meter. Modbus Reference. DAE Instrument Corp.

GNM1D M-BUS COMMUNICATION PROTOCOL. Revision 0

DNP3 Communications Protocol

GPM-6 MANUAL. GENERAL MODE OPERATING PROCEDURES Volta ge & Current FRONT PANEL & KEY FUNCTIONS. Key Name. Symbol. Descriptions

TECHNICAL NOTES By6150-S-485 MODBUS J BUS Communication

EM111-EM112 M-BUS COMMUNICATION PROTOCOL. Revision 4.0

MODBUS Protocol for MiCOM P30 Series

SPM90 MODBUS PROTOCOL AND REGISTER LIST V1.0

3. Phase Indications. kwh 1. Introduction. Units of measurement. kwh. Volts Amps Hz Kwatts KVAr KVA. Degree Wh VAh

IFC 100 Supplementary instructions

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB

MODBUS TESTER SOFTWARE U S E R M A N U A L

INTELLIS. Modbus Direct Network Monitor

4 Is this model available for special primary current and special primary voltage?

SERIES PM172EH POWERMETERS COMMUNICATIONS REFERENCE GUIDE

SPM33. MODBUS Protocol and register List V1.5

Basics of UART Communication

B+G E-Tech User Manual for SDM630 SDM630. Din Rail Smart Energy Meter for Single and Three Phase Electrical Systems USER MANUAL 2013 V1.

Real Time Clock with Temperature Sensor and RS485/Modbus Comunications

SDM630M CT USER MANUAL 2016 V4.7. DIN Rail Energy Meter for Single and Three Phase Electrical Systems

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page

EMDX3 Multifunction meter Cat No ModbusTable LGR EN v1.01.xls

Modbus Communications October Programming Meters fitted with the Modbus option have two additional stages in the front panel programming menu.

A2000 Multifunctional Power Meter Profibus Interface

N700E Inverter RS485 Interface Instruction Manual

Description of options. user s manual. DEIF A/S Frisenborgvej 33 DK-7800 Skive Tel.: Fax:

COMMUNICATION MODBUS PROTOCOL

Precision Digital Modbus Register Tables Serial Communication

PowerLogic ION6200 Serial Communications Protocol and ION / Modbus Register Map

installation Operation ADDRESS product diagram H8030/8031 INSTALLATION GUIDE

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

MID PRELIMINARY DATA SHEET. RI-D Series. Single Phase Multifunction Energy Meter (MID Certified) MID

INSTRUCTION MANUAL RVT communication How to use RS485 USB Ethernet RVT connections

SERIES PM172 POWERMETERS COMMUNICATIONS REFERENCE GUIDE

Stabiliti Modbus Programming Guide

User Manual V2.6. SDM120-Modbus. Single-Phase Multifunction DIN rail Meter

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies

Smart Energy Meter. Benefits and Main Features. User Manual Revision English OB (100)A

VD SERIES CONTROLLERS (VERSION4.0) RS-485 COMMUNICATION INSTRUCTION MANUAL MODBUS Protocol Reference Guide

Enercept H8035/H8036 Modbus Energy Meter Networked kw/kwh Transducers

COMMUNICATION MODBUS PROTOCOL

DKM-407 DIN RAIL TYPE NETWORK ANALYZER

Forlong MODBUS Protocol Specification V1.0

PC180 MODBUS COMMUNICATION MANUAL INJECTION MANAGEMENT SYSTEM

3710 ACM ACM / Modicon Modbus. Advanced Digital Power Instrumentation Package. Serial Communications Protocol and Register Map. Version 1.

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201

KTA-250 Anemometer Alarm Card

MITSUBISHI Energy Measuring Unit EcoMonitorLight/EcoMonitorPlus Series. MODBUS I/F Specification LSPY-9025-E

User manual PROFIBUS C/Q 15/96 MCU

GE Infrastructure Sensing

BCT SERIES CONTROLLERS (VERSION 3.0) RS-485 COMMUNICATION INSTRUCTION MANUAL MODBUS Protocol Reference Guide

isma-b-mg-ip User Manual Global Control 5 Sp. z o.o. Poland, Warsaw

EMS_ _Measure_MonoPh_R_2P_ModbusTable_LG_EN_v1.01.xlsx

ECHO Process Instrumentation, Inc. Modbus RS485 Module. Operating Instructions. Version 1.0 June 2010

Transcription:

1 MODBUS Protocol Message Format The MODBUS Protocol defines the format for the master s query and the slave s response. The query contains the device (or broadcast) address, a function code defining the requested action, any data to be sent, and an error-checking field. The response contains fields confirming the action taken, any data to be returned, and an error-checking field. If an error occurred in receipt of the message then the message is ignored, if the slave is unable to perform the requested action, then it will construct an error message and send it as its response. The MODBUS Protocol functions used by the Brasiltec Digital meters copy 16 bit register values between master and slaves. However, the data used by the Brasiltec Digital meter is in 32 bit IEEE 754 floating point format. Thus each instrument parameter is conceptually held in two adjacent MODBUS Protocol registers. Query The following example illustrates a request for a single floating point parameter i.e. two 16-bit Modbus Protocol s. First Byte Last Byte Slave Function Start Start Number Number Number of of of Points Points Points Slave : 8-bit value representing the slave being addressed (1 to 247), 0 is reserved for the broadcast address. The Brasiltec Digital meters do not support the broadcast address. Function : 8-bit value telling the addressed slave what action is to be performed. (3, 4, 8 or 16 are valid for Brasiltec Digital meter) Start : The top (most significant) eight bits of a 16-bit number specifying the start address of the data being requested. Start : The bottom (least significant) eight bits of a 16-bit number specifying the start address of the data being requested. As registers are used in pairs and start at zero, then this must be an even number. Number of Points : The top (most significant) eight bits of a 16-bit number specifying the number of registers being requested. Number of Points : The bottom (least significant) eight bits of a 16-bit number specifying the number of registers being requested. As registers are used in pairs, then this must be an even number. : The bottom (least significant) eight bits of a 16-bit number representing the error check value. : The top (most significant) eight bits of a 16-bit number representing the error check value.

Response The example illustrates the normal response to a request for a single floating point parameter i.e. two 16-bit Modbus Protocol s. First Byte Last Byte Slave Function Byte First First Second Second Count Slave : 8-bit value representing the address of slave that is responding. Function : 8-bit value which, when a copy of the function code in the query, indicates that the slave recognised the query and has responded. (See also Exception Response). Byte Count: 8-bit value indicating the number of data bytes contained within this response First *: The top (most significant) eight bits of a 16-bit number representing the first register requested in the query. First *: The bottom (least significant) eight bits of a 16-bit number representing the first register requested in the query. Second *: The top (most significant) eight bits of a 16-bit number representing the second register requested in the query. Second *: The bottom (least significant) eight bits of a 16-bit number representing the second register requested in the query. : The bottom (least significant) eight bits of a 16-bit number representing the error check value. : The top (most significant) eight bits of a 16-bit number representing the error check value. Exception Response If an error is detected in the content of the query (excluding parity errors and mismatch), then an error response (called an exception response), will be sent to the master. The exception response is identified by the function code being a copy of the query function code but with the most-significant bit set. The data contained in an exception response is a single byte error code. First Byte Last Byte Slave Function Slave : 8-bit value representing the address of slave that is responding. Function : 8 bit value which is the function code in the query OR'ed with 80 hex, indicating that the slave either does not recognize the query or could not carry out the action requested. : 8-bit value indicating the nature of the exception detected. (See Table Of Exception s later).

: The bottom (least significant) eight bits of a 16-bit number representing the error check value. : The top (most significant) eight bits of a 16-bit number representing the error check value. 2 Read Input s 2.1 MODBUS Protocol code 04 reads the contents of the 3X registers. Example The following query will request Volts 1 from an instrument with node address 1: Example(Hex) Slave 01 Function 04 Starting High 00 Starting Low 00 Number of Points High 00 Number of Points Low 02 Low 71 High CB Note: Data must be requested in register pairs i.e. the Starting and the Number of Points must be even numbers to request a floating point variable. If the Starting or the Number of points is odd then the query will fall in the middle of a floating point variable the product will return an error message. The following response returns the contents of Volts 1 as 230.2. But see also Exception Response later. Slave 01 Function 04 Byte Count 04 Data, High Reg, High Byte 43 Data, High Reg, Low Byte 66 Data, Low Reg, High Byte 33 Data, Low Reg, Low Byte 34 Low 1B High 38

2.2 Read Holding s MODBUS Protocol code 03 reads the contents of the 4X registers. Example The following query will request the prevailing Network Node : Slave 01 Function 03 Starting High 00 Starting Low 00 Number of Points High 00 Number of Points Low 14 Low C4 High 0B Note: Data must be requested in register pairs i.e. the Starting and the Number of Points must be even numbers to request a floating point variable. If the Starting or the Number of points is odd then the query will fall in the middle of a floating point variable the product will return an error message. The following response returns the contents of Demand Time as 1, but see also Exception Response later. Slave 01 Function 03 Byte Count 04 Data, High Reg, High Byte 3F Data, High Reg, Low Byte 80 Data, Low Reg, High Byte 00 Data, Low Reg, Low Byte 00 Low F7 High CF 2.3 Write Holding s MODBUS Protocol code 10 (16 decimal) writes the contents of the 4X registers. Example The following query will set the Network Node to 60: Slave 01 Function 10 Starting High 00 Starting Low 14 Number of s High 00

Number of s Low 02 Byte Count 04 Data, High Reg, High Byte 42 Data, High Reg, Low Byte 70 Data, Low Reg, High Byte 00 Data, Low Reg, Low Byte 00 Low 67 High D5 Note: Data must be written in register pairs i.e. the Starting and the Number of Points must be even numbers to write a floating point variable. If the Starting or the Number of points is odd then the query will fall in the middle of a floating point variable the product will return an error message. In general only one floating point value can be written per query The following response indicates that the write has been successful. But see also Exception Response later. Slave 01 Function 10 Starting High 00 Starting Low 14 Number of s High 00 Number of s Low 02 Low E0 High 08 Map: Function code 04 to read input parameters: () Input Parameter Modbus Protocol Start Hex Parameter Units Format Hi byte Lo byte 30001 Voltage Volts Float 00 00 30017 Current Amps Float 00 06 30013 Active power Watts Float 00 0C 30019 Apparent power VA Float 00 12 30025 Reactive power VAr Float 00 18 30031 Power factor None Float 00 1E 30071 Frequency Hz Float 00 46 30073 Import active energy kwh Float 00 48 30075 Export active energy kwh Float 00 4A 30343 Total active energy kwh Float 01 56

Function code 10 to set holding parameter,function code 03 to read holding parameter () Holding Parameter Modbus Protocol Start Hex Description Parameters Format Hi byte Lo byte 40021 Meter ID Float 00 14 Ranges from 1 to 247, and requires a restart to become effective.default ID is 1. 40029 Baud rate Float 00 1C 0:2400bps(default) 1:4800bps 2:9600bps 5:1200bps Requires a restart to become effective. 463745 T ime of BCD F9 00 0-30s display in Default 0:does not display in turns turns 463761 Pulse 1 output Hex F9 10 0000:0.001kWh/imp(default) 0001:0.01kWh/imp 0002:0.1kWh/imp 0003:1kWh/imp 463777 Measurem-ent mode Hex F9 20 0001:mode 1(default) 0002:mode 2 0003:mode 3 463793 Pulse 1 output Hex F9 30 0000:Import+export energy, mode both LEDs of import and export energy light on(default) 0001:Import energy, only the LED of import energy lights on 0002:Export energy, only the LED of export energy lights on