background image

Energy management

 

           EM24-DIN Communication Protocol 

8

 

 

2.3 

Instantaneous variables and meters 

MODBUS

: read only mode with functions code 03 and 04   

 

 

 

 

 

Table 2.3-1 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

00001 

0000h 

V L1-N 

INT32 

3

00003 

0002h 

V L2-N 

INT32 

3

00005 

0004h 

V L3-N 

INT32 

3

00007 

0006h 

V L1-L2 

INT32

 

3

00009 

0008h 

V L2-L3 

INT32

 

3

00011 

000Ah 

V L3-L1 

INT32

 

Value weight: Volt*10 

3

00013 

000Ch 

A L1 

INT32

 

3

00015 

000Eh 

A L2 

INT32

 

3

00017 

0010h 

A L3 

INT32

 

Value weight: Ampere*1000 

3

00019 

0012h 

W L1 

INT32

 

3

00021 

0014h 

W L2 

INT32

 

3

00023 

0016h 

W L3 

INT32

 

Value weight: Watt*10 

3

00025 

0018h 

VA L1 

INT32

 

3

00027 

001Ah 

VA L2 

INT32

 

3

00029 

001Ch 

VA L3 

INT32

 

Value weight: VA*10

 

3

00031 

001Eh 

VAR L1 

INT32

 

3

00033 

0020h 

VAR L2 

INT32

 

3

00035 

0022h 

VAR L3 

INT32

 

Value weight: var*10

 

3

00037 

0024h 

V L-N 

 

INT32

 

3

00039

 

0026h 

V L-L 

 

INT32

 

Value weight: Volt*10

 

3

00041 

0028h 

 

INT32

 

Value weight: Watt*10

 

3

00043 

002Ah 

VA 

 

INT32

 

Value weight: VA*10

 

3

00045 

002Ch 

VAR 

 

INT32

 

Value weight: var*10

 

3

00047 

002Eh 

PF L1 

INT16

 

3

00048 

002Fh 

PF L2 

INT16

 

3

00049 

0030h 

PF L3 

INT16

 

3

00050 

0031h 

PF 

 

INT16

 

Negative values correspond to 
lead(C), positive value correspond 
to lag(L) 
Value weight: PF*1000

 

3

00051 

0032h 

Phase sequence 

INT16

 

The value –1 corresponds to L1-L3-
L2 sequence, the value 0 
corresponds to L1-L2-L3 sequence. 
The phase sequence value is 
meaningful only in a 3-phase 
system

 

3

00052 

0033h 

Hz 

INT16

 

Value weight: Hz*10

 

3

00053

 

0034h 

2

 

KWh(+) TOT 

INT32 

Value weight: kWh*10

 

3

00055

 

0036h 

2

 

Kvarh(+) TOT 

INT32 

Value weight: kvarh*10

 

 

2.4 

Firmware version and revision code  

MODBUS

: read only mode with functions code 03 and 04 limited to a word at a time 

 

 

 

Table 2.4-1 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

00771 

0302h 

Version code 

UINT 16 

Value=0: Version “A” 

3

00772 

0303h 

Revision code 

UINT 16 

Value=0: Revision “0”

 

2.5 

Programming lock status 

MODBUS

: read only mode with functions code 03 and 04 limited to a word at a time 

 

 

 

Table 2.5-1 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

00773 

0304h 

Programming lock (trimmer 
position in the rear of 
the display) 

UINT 16 

Value=1: programming locked 
Value=0: programming unlocked 

 

Summary of Contents for EM 21

Page 1: ...EM21 COMMUNICATION PROTOCOL Version 1 Revision 0 April 7th 2008...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: