background image

Energy management

 

           EM24-DIN Communication Protocol 

7

 

 

2  TABLES 

 

2.1 

Data format representation In Carlo Gavazzi instruments 

The variables are represented by integers or floating numbers, with 2’s complement notation in case of 
“signed” format, using the following: 
 

Format 

IEC data type 

Description 

Bits 

Range 

INT16 

INT 

Integer 

16 

-32768 .. 32767 

UINT16 

UINT 

Unsigned integer 

16 

0 .. 65535 

INT32 

DINT 

Double integer 

32 

-2

31

 .. 2

31

 

UINT32 

UDINT 

Unsigned double int 

32 

0 .. 2

32

-1 

UINT64 

ULINT 

Unsigned long integer 

64 

0 .. 2

64

-1 

IEEE754 SP 

 

Single-precision floating-
point  

32 

-(1+[1 –2

-23

])x2

127 

.. 2

128

 

 
For all the formats the byte order (inside the single word) is MSB->LSB. In INT32, UINT32 and UINT64 
formats, the word order is LSW-> MSW. 
 

2.1.1 

Geometric representation 

According to the signs of the power factor , the active power P and the reactive power Q, it is possible to 
obtain a geometric representation of the power vector, as indicated in the drawing below, according to 
EN 60253-23: 
 

 

 

 
Fig. 2 : Geometric Representation 

a = Exported active power 
b = Imported active power 
c = Imported reactive power 
d = Exported reactive power 

 

 
 

2.2 

Maximum and minimum electrical values in EM21 

The maximum electrical input values are reported in the following table. If the input is above the 
maximum value the display shows “----”. 
 

 

 

 

 

 

 

 

 

 

 

 

 

Table 2.1-1 

 

AV5 input option 

AV6 input option 

 

Max value 

Min value 

Max value 

Min value 

VL-N 

485V 

150V 

VL-L 

840V 

260V 

6,5A 

6,5A 

VT 

6000 

1.0 

6000 

1.0 

CT 

60000 

1.0 

60000 

1.0 

 

The overflow indication “----“ is displayed when the MSB value of the relevant variable is 7FFFh. 

 

Содержание EM 21

Страница 1: ...EM21 COMMUNICATION PROTOCOL Version 1 Revision 0 April 7th 2008...

Страница 2: ...tation In Carlo Gavazzi instruments 7 2 1 1 Geometric representation 7 2 2 Maximum and minimum electrical values in EM21 7 2 3 Instantaneous variables and meters 8 2 4 Firmware version and revision co...

Страница 3: ...d in the communication frame 2 The functions 03h and 04h have exactly the same effect and can be used indifferently 3 The communication parameters are to be set according to the configuration of the i...

Страница 4: ...1 to 11 Byte order MSB LSB CRC 2 bytes Response frame correct action Description Length Value Note Physical address 1 byte 1 to F7h 1 to 247 Function code 1 byte 04h Quantity of requested bytes 1 byt...

Страница 5: ...sage should be identical to the request Request frame Description Length Value Note Physical address 1 byte 1 to F7h 1 to 247 Function code 1 byte 08h Sub function 2 bytes 0000h Data N word N 2 bytes...

Страница 6: ...connection it is suggested to use an AWG24 balanced pair cable and to add a third wire for GND connection Connect GND to the shield if a shielded cable is used 5 The GND is to be connected to ground...

Страница 7: ...rmats the word order is LSW MSW 2 1 1 Geometric representation According to the signs of the power factor the active power P and the reactive power Q it is possible to obtain a geometric representatio...

Страница 8: ...2 Value weight var 10 300047 002Eh 1 PF L1 INT16 300048 002Fh 1 PF L2 INT16 300049 0030h 1 PF L3 INT16 300050 0031h 1 PF INT16 Negative values correspond to lead C positive value correspond to lag L V...

Страница 9: ...ue 999d 2 7 2 Application menu MODBUS read and write mode Table 2 7 2 Modicom address Physical address Length words VARIABLE ENG UNIT Data Format Notes 304098 1001h 1 Type of application UINT 16 Value...

Страница 10: ...t address UINT 16 Value min 1 Value max 247 Note The number of stop bits is fixed to 1 and the parity control is fixed to none 2 7 7 Reset commands MODBUS write only mode Table 2 7 12 Modicom address...

Отзывы: