background image

Energy management

 

           EM24-DIN Communication Protocol 

9

 

2.6 

Carlo Gavazzi Controls identification code  

MODBUS

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

 

 

 

Table 2.6-1 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

00012 

000Bh 

Carlo Gavazzi Controls 
identification code 

UINT 16 

Value=57: EM21 AV5 input model 

Value=58: EM21 AV6 input model 

 

2.7 

Programming parameter tables 

2.7.1 

Password configuration menu 

 

MODBUS

: read and write mode 

 

 

 

 

 

 

 

 

Table 2.7-1 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

04097 

1000h 

PASSWORD 

UINT 16 

Minimum valid value: 0d 
Maximum valid value: 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

 

3

04098 

1001h 

Type of application  

UINT 16 

Value=0: “A” application 
Value=1: “B” application 
Value=2: “C” application

 

 
 

2.7.3 

System configuration menu 

 

MODBUS

: read and write mode 

 

 

 

 

 

 

 

 

Table 2.7-3 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

04099 

1002h 

Measuring system  

UINT 16 

Value=0: “3Pn” 
Value=1: “3P1” 
Value=2: “2P” 
Value=3: “1P” 
Value=4: “3P”

 

 

2.7.4 

PT and CT configuration menu 

 

MODBUS

: read and write mode 

 

 

 

 

 

 

 

 

Table 2.7-4 

Modicom 
address 

Physical 

address

 

Length 

(words)

 

VARIABLE 

ENG. UNIT

 

Data 

Format

 

Notes

 

3

04100 

1003h 

Current transformer ratio 

UINT 32 

Value min = 10 (CT=1,0) 
Value max = 600000 (CT=60000.0)

 

3

04102 

1005h 

Voltage transformer ratio 

UINT 32 

Value min = 10 (VT=1,0) 
Value max = 60000 (VT=6000.0)

 

 

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: