SDM630 Modbus V2 Manual Incl Protocoll
SDM630 Modbus V2 Manual Incl Protocoll
6B
SDM630-Modbus V2
DIN Rail Smart Meter for Single and Three Phase Electrical Systems
USER MANUAL
2021 V1.6B
Introduction
The SDM630-Modbus V2 measures and displays the characteristics of single phase two wires (1p2w), three
phase three wires (3p3w,) and three phase four wires(3p4w) supplies, including voltage, frequency, current,
power, active and reactive energy, imported or exported. Energy is measured in terms of kWh, kVArh. It
follows the calculation mode of net-counting (Total=import-export). Maximum demand current can be
measured over preset periods of up to 60 minutes. In order to measure energy, the unit requires voltage
and current inputs in addition to the supply required to power the product.
SDM630-Modbus V2 supports max. 80A direct connection, saves the cost and avoid the trouble to connect
external CTs, giving the unit a cost-effective and easy operation. Built-in interfaces provide pulse and RS485
Modbus RTU outputs. Configuration is password protected.
Unit Characteristics
The Unit can measure and display:
⚫ Line voltage and THD% (total harmonic distortion) of all phases
⚫ Line Frequency
⚫ Currents, Current demands and current THD% of all phases
⚫ Power, maximum power demand and power factor
⚫ Active energy imported and exported
⚫ Reactive energy imported and exported
Two pulse outputs indicate real-time energy measurement. An RS485 output allows remote monitoring
from another display or a computer.
Pulse Output
This provides two pulse outputs that clock up measured active and reactive energy. The constant of pulse
output 2 for only import active energy is 400imp/kWh (unconfigurable), its width is fixed at 100ms.
The default constant of configurable pulse output 1 is 400imp/kWh, default pulse width is
100ms. The configurable pulse output 1 can be set from the set-up menu.
Start-up Screens
After a short delay, the screen will display active energy measurements.
Measurements
The buttons operate as follows:
1 Selects the Voltage and Current display screens
In Set-up Mode, this is the “Left” or “Back”
button.
2 Select the Frequency and Power factor display
screens
In Set-up Mode, this is the “Up” button
3 Select the Power display screens
In Set-up Mode, this is the “Down” button
Power
Energy Measurements
Set-up
To enter set-up mode, pressing the button for 3 seconds, until the password screen appears.
Setting up is password-protected so you must enter the correct password (default ‘1000’) before processing.
If an incorrect password is entered, the display will show: PASS Err
To exit setting-up mode, press repeatedly until the measurement screen is restored.
1) Use the and buttons to select the required item from the menu. Selection does not
roll over between bottom and top of list.
3) If an item flashes, then it can be adjusted by the and buttons. If not, there maybe a
further layer.
4) Having selected an option from the current layer, press to confirm your selection. The SET
indicator will appear.
5) Having completed a parameter setting, press to return to a higher menu level. The SET indicator
will be removed and you will be able to use the and buttons for further menu selection.
6) On completion of all set-up, press repeatedly until the measurement screen is restored.
1) The current digit to be set flashes and is set using the and buttons.
2) Press to confirm each digit setting. The SET indicator appears after the last digit has been set.
3) After setting the last digit, press to exit the number setting routine.
Change Password
1
Use the and to choose the change
password option.
2-1
Press the to enter the change password
routine. The new password screen will appear with the
first digit flashing.
2-2
Use and to set the first digit and
Press to exit the number setting routine and return to the Set-up menu. SET will be removed.
2-1
Press to enter the selection routine.
The current time interval will flash.
2-2
Use and buttons to select the time
required.
2-3
Press to confirm the selection. SET indicator
will appear.
Backlit Set-up
2
Press to enter the selection routine. The
current time interval will flash
The options can be:
0(always on),5,10,30,60,120minutes
Use and buttons to select the time interval. Press to confirm the set-up.
Supply System
Use this section to set the type of electrical system.
1
From the Set-up menu, use and
buttons to select the System option. The screen will
show the currently selected system type.
2-1
Press to enter the selection routine. The
current selection will flash
2-2
Use and buttons to select the
required system option: 1P2(W),3P3(W) ,3P4(W)
2-3
Press to confirm the selection. SET indicator
will appear.
Press to exit the system selection routine and return to the menu. SET will disappear and you will
be returned to the main Set-up Menu.
Pulse Output
This option allows you to configure the pulse output 1. The output can be set to provide a pulse for a
defined amount of energy active or reactive.
Use this section to set up the pulse output for:
Total kWh/ Total kVArh
Import kWh/Export kWh
Import KVArh/Export KVArh
1
From the Set-up menu, use and
buttons to select the Pulse output option.
2-1
Press to enter the selection routine. The unit
symbol will flash.
2-2
Use and buttons to choose the
selection .
Press to confirm the setting and press to return to the main set up menu.
Pulse Rate
Use this to set the energy represented by each pulse. Rate can be set to 1 pulse per
dFt/0.01/0.1/1/10/100kWh/kVArh.
2
Press to enter the selection routine. The
current setting will flash.
Note: When it’s dFt,
it means 2.5Wh/VArh
Use and buttons to choose pulse rate. On completion of the entry procedure, press
to confirm the setting and press to return to the main set up menu.
Pulse Duration
The energy monitored can be active or reactive and the pulse width can be selected as
200, 100(default) or 60ms.
1-1
From the Set-up menu, use and
buttons to select the Pulse width option.
1-2
Press to enter the selection routine. The
current setting will flash.
Use and buttons to choose pulse width. On Completion of the entry procedure, press
Communication
There is a RS485 port can be used for communication using Modbus RTU protocol. For Modbus RTU,
parameters are selected from Front panel.
RS485 Address
2-1
Press button to enter the selection routine.
The current setting will be flashing.
2-2
Use and buttons to choose Modbus
Address(001 to 247)
On completion of the entry procedure, press button to confirm the setting and press
button to return the main set-up menu.
Baud Rate
1
From the Set-up menu, use and
buttons to select the Baud Rate option.
2-1
Press to enter the selection routine. The
current setting will flash.
2-2
Use and buttons to choose Baud rate
2.4k. 4.8k, 9.6k, 19.2k, 38.4k
On completion of the entry procedure, press to confirm the setting and press to return
to the main set-up menu.
Parity
1
From the Set-up menu, use and
buttons to select the Parity option.
2-1
Press to enter the selection routine. The
current setting will flash.
2-2
Use and buttons to choose Parity
(EVEN / ODD / NONE)
On Completion of the entry procedure, press to confirm the setting and press to return
to the main set-up menu.
Stop Bits
1
From the Set-up menu, use and
buttons to select the Stop Bit option.
2-1
Press to enter the selection routine. The
current setting will flash.
2-2
Use and buttons to choose Stop Bit
(2 or 1)
On completion of the entry procedure, press to confirm the setting and press to return
CLR
The meter provides a function to reset the maximum demand value of current and power.
1
From the Set-up menu, use and
buttons to select the reset option.
2
Press to enter the selection routine. The MD
will flash.
Press to confirm the setting and press to return to the main set up menu.
Specifications
Measured Parameters
The unit can monitor and display the following parameters of a single phase two wire(1p2w), three phase
three wire(3p3w) or four phase four wire(3p4w) supply.
Energy Measurements
⚫ Imported active energy 0 to 999999.99 kWh
⚫ Exported active energy 0 to 999999.99 kWh
⚫ Imported reactive energy 0 to 999999.99 kVArh
⚫ Exported reactive energy 0 to 999999.99 kVArh
⚫ Total active energy 0 to 999999.99 kWh
⚫ Total reactive energy 0 to 999999.99 kVArh
Measured Inputs
Voltage inputs through 4-way fixed connector with 25mm² stranded wire capacity. single phase two
wire(1p2w), three phase three wire(3p3w) or four phase four wire(3p4w) unbalanced. Line frequency
measured from L1 voltage or L3 voltage.
Accuracy
⚫ Voltage 0·5% of range maximum
⚫ Current 0·5% of nominal
⚫ Frequency 0·2% of mid-frequency
⚫ Power factor 1% of unity (0.01)
⚫ Active power (W) ±1% of range maximum
⚫ Reactive power (VAr) ±1% of range maximum
⚫ Apparent power (VA) ±1% of range maximum
⚫ Active energy (Wh) Class 1 IEC 62053-21
Class B EN50470-1/3
⚫ Reactive energy (VArh) Class 2 IEC 62053-23
⚫ Response time to step input 1s, typical, to >99% of final reading, at 50 Hz.
Pulse Output
The unit provides two pulse outputs. Both pulse outputs are passive type.
Pulse output 1 is configurable. The pulse output can be set to generate pulses to represent total / import or
export for kWh or kVarh.
The pulse constant can be set to generate 1 pulse per:
dFt = 2.5 Wh/VArh
0.01 = 10 Wh/VArh
0.1 = 100 Wh/VArh
1 = 1 kWh/kVArh
10 = 10 kWh/kVArh
100 = 100 kWh/kVArh
Pulse width: 200/100/60ms
Pulse output 2 is non-configurable. It is fixed up with active import kWh. The constant is 400imp/kWh.
As a hint, the meter can provide both S0 pulse output at the same time. For example you can use pulse
output 1 for export active energy and pulse output two tor import active energy.
Environment
⚫ Operating temperature 3K6(-25°C to +55°C*),Default
3K7(-40°C to +70°C*)
⚫ Storage temperature -40°C to +70°C*
⚫ Relative humidity 0 to 90%, non-condensing
⚫ Altitude Up to 2000m
⚫ Warm up time 5S
⚫ Vibration 10Hz to 50Hz, IEC 60068-2-6, 2g
⚫ Shock 30g in 3 planes
* Maximum operating and storage temperatures are in the context of typical daily and seasonal variation.
Dimensions
Wiring Guide
Wiring diagram
If you have any question, please feel free to contact our German sales team.
B+G e-tech GmbH • Franz-Mehring-Str. 36 • DE 01979 Lauchhammer
Telefon / WhatsApp: +49 3574 467550 • Fax: +49 3574 467550
Web: www.eastron-germany.de • E-Mail: [email protected]
Eastron offers the option of an RS485 communication facility for direct connection to SCADA or other communications systems using the
Modbus Protocol RTU salve protocol. The Modbus Protocol establishes the format for the master’s query by placing into it the device
address, a function code defining the requested action, any data to be sent, and an error checking field. The slave’s response message is
also constructed using Modbus Protocol. It contains fields confirming the action taken, any data to be returned, and an error-checking
field. If an error occurs in receipt of the message, SDM630Modbus will make no response. If the SDM630Modbus is unable to perform
the requested action, it will construct an error message and send it as the response.
The electrical interface is 2-wire RS485, via 2 screw terminals. Connection should be made using twisted pair screened cable (Typically
22 gauge Belden 8761 or equivalent). All "A" and "B" connections are daisy chained together. Line topology may or may not require
terminating loads depending on the type and length of cable used. Loop (ring) topology does not require any termination load. The
impedance of the termination load should match the impedance of the cable and be at both ends of the line. The cable should be
terminated at each end with a 120 ohm (0.25 Watt min.) resistor. A total maximum length of 3900 feet (1200 meters) is allowed for the
RS485 network. A maximum of 32 electrical nodes can be connected, including the controller. The address of each Eastron can be set to
any value between 1 and 247. Broadcast mode (address 0) is supported.
The SDM630Modbus can transfer a maximum of 40 values in a single transaction; therefore the maximum number of registers
requestable is 80. Exceeding this limit prompts the SDM630Modbus to generate an exception response.
Data transmission speed is selectable between 2400, 4800, 9600, 19200, 38400, 115200 baud.
Notes:
1. The power factor has its sign adjusted to indicate the nature of the load. Positive for capacitive and negative for inductive.
2. There is a user option to select either k or M for the energy prefix.
3. The same user option as in 2 above gives a prefix of none or k for Amp hours
4. The power sum demand calculation is for import power only
5. The negative total system power factor is a sign inverted version of parameter 32, the magnitude is the same as parameter 32.
6. There is a user option to select None, k or M for the energy prefix.
Modbus
Protocol
Address Parameter Paramet-er Start Address
Register Number Hex Valid range Mode
High Low
Byte Byte
Write demand period: 0, 5,8, 10,
15, 20, 30 or 60 minutes, default 60.
Setting the period to 0 will cause the
demand to show the
Demand current parameter value, and demand
40003 2 00 02 r/w
Period max to show the maximum parameter
value since last demand reset.
Length : 4 byte
Data Format : Float
system voltage
System
40007 4 00 06 R
Volts Length : 4 byte
Data Format : Float
system current
System
40009 5 00 08 R
Current Length : 4 byte
Data Format : Float
Length : 4 byte
Data Format : Float
Length : 4 byte
Data Format : Float
Write the network port node
address: 1 to 247 for MODBUS
Protocol, default 1. Requires a restart
Network
40021 11 00 14 to become effective. r/w
Node
Length : 4 byte
Data Format : Float
Write pulse divisor index: n
= 0 to 5
0--0.0025 kWh(kVArh)/imp
1--0.01 kWh(kVArh)/imp
2--0.1 kWh(kVArh)/imp
Pulse1
40023 12 00 16 3—1 kWh(kVArh)/imp r/w
Divisor1 4-10 kWh(kVArh)/imp
5-100 kWh(kVArh)/imp
Length : 4 byte
Data Format : Float
It is perfectly feasible to change Eastron Digital meter set-up using a general purpose Modbus Protocol master, but often easier to use
the Eastron Digital meter display or Eastron Digital meter configurator software, especially for gaining password protected access. The
Eastron Digital meter configurator software has facilities to store configurations to disk for later retrieval and rapid set up of similarly
configured products.
Password
Some of the parameters described above are password protected and thus require the password to be entered at the Password register
before they can be changed. The default password is 0000. When the password has been entered it will timeout in one minute unless the
Password or Password Lock register is read to reset the timeout timer. Once the required changes have been made to the protected
parameters the password lock should be reapplied by
a) allowing the password to timeout, or
PARAMETER
Mode of Operation Differential
Further information relating to RS485 may be obtained from either the EIA or the various RS485 device manufacturers, for example
Texas Instruments or Maxim Semiconductors. This list is not exhaustive.
A Belden 9841 (Single pair) or 9842 (Two pair) or similar cable with a characteristic impedance of 120 ohms is recommended. The cable
should be terminated at each end with a 120 ohm, quarter watt (or greater) resistor. Note: Diagram shows wiring topology only. Always
follow terminal identification on Eastron Digital meter product label.
There must be no more than two wires connected to each terminal, this ensures that a “Daisy Chain or “straight line” configuration is used.
A “Star” or a network with “Stubs (Tees)” is not recommended as reflections within the cable may result in data corruption.
2.4 Troubleshooting
·Start with a simple network, one master and one slave. With Eastron Digital meter products this is easily achieved as the network can be
left intact whilst individual instruments are disconnected by removing the RS485 connection from the rear of the instrument.
·Check that the network is connected together correctly. That is all of the “A’s” are connected together, and all of the “B’s” are connected
together, and also that all of the “Gnd’s” are connected together.
·Confirm that the data “transmitted” onto the RS485 is not echoed back to the PC on the RS232 lines.(This facility is sometimes a link
option within the converter). Many PC based packages seem to not perform well when they receive an echo of the message they are
transmitting. SpecView and PCView (PC software) with a RS232 to RS485 converter are believed to include this feature.
·Confirm that the Address of the instrument is the same as the “master” is expecting.
·If the “network” operates with one instrument but not more than one check that each instrument has a unique address.
· Each request for data must be restricted to 40 parameters or less. Violating this requirement will impact the performance of the
instrument and may result in a response time in excess of the specification.
·Check that the MODBUS Protocol mode (RTU or ASCII) and serial parameters (baud rate, number of data bits, number of stop bits and
parity) are the same for all devices on the network.
·Check that the “master” is requesting floating-point variables (pairs of registers placed on floating point boundaries) and is not “splitting”
floating point variables.
·Check that the floating-point byte order expected by the “master” is the same as that used by Eastron Digital meter products. (PCView
and Citect packages can use a number of formats including that supported by Eastron Digital meter).
·If possible obtain a second RS232 to RS485 converter and connect it between the RS485 bus and an additional PC equipped with a
software package, which can display the data on the bus. Check for the existence of valid requests.
In the MODBUS Protocol the master can address individual slaves, or, using a special “Broadcast” address, can initiate a broadcast
message to all slaves. The Eastron Digital meter do not support the broadcast address.
Slave Address: 8-bit value representing the slave being addressed (1 to 247), 0 is reserved for the broadcast address. The Eastron
Digital meters do not support the broadcast address.
Function Code: 8-bit value telling the addressed slave what action is to be performed. (3, 4, 8 or 16 are valid for Eastron Digital meter)
Start Address (Hi): The top (most significant) eight bits of a 16-bit number specifying the start address of the data being requested.
Start Address (Lo): 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 (Hi): The top (most significant) eight bits of a 16-bit number specifying the number of registers being requested.
Number of Points (Lo): 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.
Error Check (Lo): The bottom (least significant) eight bits of a 16-bit number representing the error check value.
Error Check (Hi): 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 Registers.
First Byte Last Byte
First First Second Second Error Error
Slave Function Byte
Register Register Register Register Check Check
Address Code Count
(Hi) (Lo) (Hi) (Lo) (Lo) (Hi)
Slave Address: 8-bit value representing the address of slave that is responding.
Function Code: 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 Register (Hi)*: The top (most significant) eight bits of a 16-bit number representing the first register requested in the query.
First Register (Lo)*: The bottom (least significant) eight bits of a 16-bit number representing the first register requested in the query.
Second Register (Hi)*: The top (most significant) eight bits of a 16-bit number representing the
second register requested in the query.
Second Register (Lo)*: The bottom (least significant) eight bits of a 16-bit number representing the second register requested in the
query.
Error Check (Lo): The bottom (least significant) eight bits of a 16-bit number representing the
error check value.
Error Check (Hi): The top (most significant) eight bits of a 16-bit number representing the error
check value.
*These four bytes together give the value of the floating point parameter requested.
Exception Response
If an error is detected in the content of the query (excluding parity errors and Error Check 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.
Error Error
Slave Function Error
Check Check
Address Code Code
(Lo) (Hi)
Slave Address: 8-bit value representing the address of slave that is responding.
Function Code: 8 bit value which is the function code in the query OR'ed with 80 hex, indicating that the slave either does not recognise
the query or could not carry out the action
requested.
Error Code: 8-bit value indicating the nature of the exception detected. (See “Table Of
Exception Codes“ later).
Error Check (Lo): The bottom (least significant) eight bits of a 16-bit number representing the error check value.
Error Check (Hi): The top (most significant) eight bits of a 16-bit number representing the error
check value.
Coding System: Full 8-bit binary per byte. In this document, the value of each byte will be shown as two hexadecimal characters each in
the range 0-9 or A-F.
Line Protocol: 1 start bit, followed by the 8 data bits. The 8 data bits are sent with least significant bit first.
User Option Of Parity No Parity and 2 Stop Bits
And Stop Bits: No Parity and 1 Stop Bit
Even Parity and 1 Stop Bit
Odd Parity and 1 Stop Bit.
User Option of Baud 2400; 4800 ; 9600 ; 19200 ; 38400
The baud rate, parity and stop bits must be selected to match the master’s settings.
Following the last transmitted byte, a silent interval of at least 3.5 character times marks the end of the message. A new message can
begin after this interval.
In the Eastron 1000 and 2000, a silent interval of 60msec minimum is required in order to guarantee successful reception of the next
request.
The entire message must be transmitted as a continuous stream. If a silent interval of more than 1.5 character times occurs before
completion of the message, the receiving device flushes the incomplete message and assumes that the next byte will be the address byte
of a new message.
Similarly, if a new message begins earlier than 3.5 character times following a previous message, the receiving device may consider it a
continuation of the previous message. This will result in an error, as the value in the final CRC field will not be valid for the combined
messages.
Transmit Character = Start Bit + Data Byte + 2 Stop Bits (11 bits total):
Start 1 2 3 4 5 6 7 8 Stop Stop
Start 1 2 3 4 5 6 7 8 Stop
The master is configured by the user to wait for a predetermined timeout interval. The master will wait for this period of time before
deciding that the slave is not going to respond and that the transaction should be aborted. Care must be taken when determining the
timeout period from both the master and the slaves’ specifications. The slave may define the ‘response time’ as being the period from the
receipt of the last bit of the query to the transmission of the first bit of the response. The master may define the ‘response time’ as period
between transmitting the first bit of the query to the receipt of the last bit of the response. It can be seen that message transmission time,
which is a function of the baud rate, must be included in the timeout calculation.
integrity whilst Parity checking (even or odd) can be applied to each byte in the message.
BEGIN
Error Word = Hex (FFFF)
FOR Each byte in message
Error Word = Error Word XOR byte in message
FOR Each bit in byte
LSB = Error Word AND Hex (0001)
IF LSB = 1 THEN Error Word = Error Word – 1
Error Word = Error Word / 2
IF LSB = 1 THEN Error Word = Error Word XOR Hex (A001)
NEXT bit in byte
NEXT Byte in message
END
MODBUS Protocol
Code Description
name
Where:
S represents the sign bit where 1 is negative and 0 is positive
E is the 8-bit exponent with an offset of 127 i.e. an exponent of zero is represented by 127, an
exponent of 1 by 128 etc.
M is the 23-bit normal mantissa. The 24th bit is always 1 and, therefore, is not stored.
Using the above format the floating point number 240.5 is represented as 43708000 hex:
43 70 80 00
The following example demonstrates how to convert IEEE 754 floating-point numbers from their hexadecimal form to decimal form. For
this example, we will use the value for 240.5 shown above
Note that the floating-point storage representation is not an intuitive format. To convert this value to decimal, the bits should be separated
as specified in the floating-point number storage format table shown above.
For example:
For each floating point value requested two MODBUS Protocol registers (four bytes) must be requested. The received order and
significance of these four bytes for Eastron Digital meters is shown below:
Example
The following query will request ‘Volts 1’ from an instrument with node address 1:
Slave Address 01
Function 04
Note: Data must be requested in register pairs i.e. the “Starting Address“ and the “Number of Points” must be even numbers to request a
floating point variable. If the “Starting Address” 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.
Function 03
Note: Data must be requested in register pairs i.e. the “Starting Address“ and the “Number of Points” must be even numbers to request a
floating point variable. If the “Starting Address” 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 Address 01
Function 03
Byte Count 04
Data, High Reg, High Byte 3F
Slave Address 01
Function 10
Starting Address High 00
Note: Data must be written in register pairs i.e. the “Starting Address“ and the “Number of Points” must be even numbers to write a
floating point variable. If the “Starting Address” 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 Address 01
Function 10
Slave Address 01
Function 10 OR 80 = 90
Exception Code 01
Error Check Low 8D
MODBUS
Exception Code Description
Protocol name
3.12 Diagnostics
MODBUS Protocol code 08 provides a number of diagnostic sub-functions. Only the “Return Query Data” sub-function (sub-function 0) is
supported on Eastron Digital meters.
Example
The following query will send a diagnostic “return query data” query with the data elements set to Hex(AA) and Hex(55) and will expect
these to be returned in the response:
Function 08
Sub-Function High 00
Sub-Function Low 00
Data Byte 1 AA
Data Byte 2 55
Note: Exactly one register of data (two bytes) must be sent with this function.
The following response indicates the correct reply to the query, i.e. the same bytes as the query.
Function 08
Sub-Function High 00
Sub-Function Low 00
Data Byte 1 AA
Data Byte 2 55