background image

POWERMETER

EPR-04 / EPR-04S

5

EPM-04S COMPUTER CONNECTION

Dimensions

Type PK-26

60.6

106.0

58.0

53.0

26.5

21.5

10.0

45.0

8.5

14.0

90.0

7.6

9.5

30.1

10.8

Type PR 19 (96x96)

     70mm

     79.3mm

90mm

     96mm

96mm

31 DEVICES CAN BE CONNECTED AT THE SAME LINE

GND

TR B

A

GND

TR B

A

GND

TR B

A

GND

B

A

RS485/RS232
 CONVERTER

PC

...

EPM-04S-1

EPM-04S-2

EPM-04S-31

MAX. 1200 mt.

 MAX. 247 DEVICES CAN BE CONNECTED AT SAME LINE BY USING REPEATER.

GND

TR B A

...

EPM-04S-247

GND

B
A

RS485/RS232
 CONVERTER

PC

...

EPM-04S-1

EPM-04S-2

EPM-04S-31

REPEATER

MAX. 1200 mt.

MAX. 1200 mt.

POWERMETER

EPR-04 / EPR-04S

4

Specifications for data cable;

- 24 AWG or thicker
- Less than 100 ohm/ km
- Nominal characteristic impedance at 100 kHz of 100 ohms
- Less than 60 pF/m mutual capacitance (between two wires in a pair)
- Less than 120 pF/m mutual pair capacitance ( the capacitance
between one wire and all others connected to earth).
- Twisted Pair

ERROR CODES

 

(Available only for EPR-04S)

Slave device (EPR-04S) sends error message when receive any missing query.
Error codes are given below.

01 Invalid Function:

 If any message except given above is used, then 01 error

messages will be sent.

02 Invalid Register:

 Error 02 will be send when a reading of a register is

requested, except the registers which mentioned in table.

03 Invalid data:

 If any different value is been set for dedicated Transformer values

and nonzero for demand value, then error message 03 will be sent.

Digital input are sent in 16 bit hexadecimal format as below:

If 12-48 V AC / DC is applied to ln1 (Input 1), 0 (zero) bit of DIN register is
set as “1”. Otherwise, 0 (zero) bit is set as “0”.

If 12-48 V AC / DC is applied to ln2 (Input 2), 1st bit of DIN register is set
as “1”. Otherwise, 1st bit is set as “0”.
The Parameters are sent in 32bit Hexadecimal format. For Example, 230.0V
voltage will be sent as 000008FCH. Cos

j

 values shall be divided to 1000.

0.980 Cos

j

 will be sent as 000003D4H. Energy values are sent in 64 bytes.

1234567890123456789 Wh = AB 54 A9 8C EB 1F 0A D2 Wh

Digital Inputs (Available only for EPM-04S)

Preset Multiple Register(10H) is used to set more then one register at same
time.

i.e.

 Setting CT as 100, Ut as 20.0;

01 10 80 00 00 02 04 00 C8 00 64 XX XX
  01 Device Address
  10 Function
  80 MSB address
  00 LSB address
  00  Register number MSB
  02  Register number LSB
  04  Byte count
  00  Data MSB
  C8  Data LSB
  00  Data MSB
  64   Data LSB
  XX  CRC MSB
  XX  CRC LSB

Preset Single Register (06) function is used for writting the setting values,
erasing the energy counter or resetting the min., max., demand values.
Current transformers ratio can be set 0-2000, voltage transformer ratio can
be set 1-40000. Min., Max. and Demand values can be only clear. If sent
value is outside of this range device responds with an error message.

i.e.

  Setting CT as 100;

01 06 80 02 00 64 XX XX
  01 Device address
  06 Function
  80 MSB address
  02 LSB address
  00 Data MSB
  64 Data LSB
  XX CRC MSB
  XX CRC LSB

The T times corresponds to a time in which data must not be exchanged
on the communication bus to allow the connected devices to recognize the
end of one message and the beginning of another. This time must be at
least 3.5 characters at the selected baud rate. Adress range (1-247 ) is
address of the connected device. The data field contains data sent to the
slave by master or data sent to master by slave.
CRC is a error check method by using MODBUS RTU protocol and consists
of 2 bytes.

MODBUS RTU PROTOCOL

 

(Available only for EPR-04S)

Standart MODBUS RTU message is shown below.

Serial Communication (Available only for EPR-04S)

EPR-04S has MODBUS RTU communication protocol which is optical
isolated. All measured parameters can be transfer to the  computer.
Transformer ratios and communication parameters can be set. Saved
demand and energy values can be reset.

Parameter Settings

Address Parameters : Value can be enter between 001-247.
Baud Rate Parameters : Value can be selected as 2400, 4800, 9600,
19200 and 38400 bps.
Parity Parameters : “no”, “odd” and “EUEn” can be selected.

Bu using UP-DOWN buttons,
find “RS-485” menu.

Press SET button (“Adr ESS” menu is displayed)

Press SET button (”001 / 9600 / no” is displayed.)

Enter the value of related parameters by scrolling UP/DOWN
buttons (001...247 / 2400...38400 /no, EUEn, odd).

Press SET button, Adr ESS / bAU d / PArýty is displayed. (Data is
entered but is not activated yet. For activating the new data please
follow the below steps).

Press ESC button one by one until “SAU E  SEt  yES” is displayed.

Press SET button. When “SAU E  SEt  yES” is displayed, if you
press ESC button or choose “no” option instead of “yES” option
by using UP-DOWN buttons, new data will be cancelled and
previous value will be activated.

Find the menu which is programmed in Adr ESS / bAU d / PArýty
menus by scrolling UP-DOWN buttons.

Press SET button for 3 seconds (trA Fo menu is displayed)

01 03 00 00 00 02 XX XX
  01 Device address
  03 Function
  00 MSB address
  14 LSB address
  00 Register number MSB
  02 Register number LSB
  XX CRC MSB
  XX CRC LSB

Read Hold (03) function is used for reading measured values and set value. If
any request of reading of a register, excepted mentioned in register table,
device will send an error message. For example to read phase1 voltage by
sending a message to the device.

Available Modbus Function:

T

ADDRESS

 8 BIT

FUNCTION
     8 BIT

 DATA
NX8BIT

CRCH

CRCL

T

03H

READ HOLD REGISTERS

06H

PRESET SINGLE REGISTER

10H

PRESET MULTIPLE REGISTERS

55H 15

U

U

U

U

U

U

U

U

U

U

U

U

U

U

input 2

input 1

DIN1

DIN2

0

U: undefined

LSB

(Least Significant Byte)

MSB

(Most Significant Byte)

1

Отзывы: