background image

 

J38D01                                                         - 27 - 

 

9.  MODBUS COMMUNICATIONS 

 

9.1 DESCRIPTION 

 

The unit offers serial data communication port allowing it to be integrated in automation 
systems. 

The serial port is of RS-485 MODBUS-RTU standard. It is fully isolated from power supply 
and measurement terminals for failure-free operation under harsh industrial conditions. 

The MODBUS properties of the unit are: 

 

-Data transfer mode: RTU 

 

-Serial data: 9600 bps, 8 bit data, no parity, 1 bit stop 

 

-Supported functions:  

 

 

-Function 3 (Read multiple registers) 

 

 

-Function 6 (Write single register) 

 

-The answer to an incoming message is sent with a minimum of 4.3ms delay after 

message reception. 

Each register consists of 2 bytes (16 bits). Larger data structure contain multiple registers. 

Detailed description about the MODBUS protocol is found in the document “

Modicon 

Modbus Protocol Reference Guide”

.

 

This document may be downloaded at: 

www.modbus.org/docs/PI_MBUS_300.pdf

 

Data Reading  

The function 03 (read multiple registers) will be used for data reading. The MODBUS 
master will send a query. The answer will be one of the below: 
 

-A response containing the requested data 

 

-An exceptional response indicating a read error. 

The maximum number of registers read in one message is 123. If more registers are 
requested, the unit will send only the first 123 registers. 

The query message specifies the starting register and quantity of registers to be read.  The 
message structure is below: 

Byte  Description 

Value 

Controller address 

1 to 253 

Function code 

Starting address high 

See below the description of available 
registers 

Starting address low 

Number of registers high 

always 0 

Number of registers low 

max 7Bh (123 decimal) 

CRC low byte 

See below for the checksum calculation 

CRC high byte 

 

Here is the sequence to read 16 registers starting from address 20h (32 decimal):  
01 03 00 20 00 10 45 CC (each byte is expressed as 2 hexadecimal characters) 

The checksum value in the above message may be used for the verification of checksum 
calculation algorithm. 

Содержание DKM-409

Страница 1: ...alysis graphs Various display screens can be scrolled automatically The user configurable screen where any measured parameter set can be displayed transforms the unit to a custom designed measurement...

Страница 2: ...t There is no serviceable parts inside Fuses must be connected to the power supply and phase voltage inputs in close proximity of the unit Fuses must be of fast type FF with a maximum rating of 6A Dis...

Страница 3: ...TION 8 2 ADJUSTING THE LCD CONTRAST 8 3 LANGUAGE SELECTION 8 4 CURRENT TRANSFORMER RATIO 8 5 VOLTAGE TRANSFORMER RATIO 8 6 MODBUS ADDRESS 8 7 CHANGING THE PASSWORD 8 8 MODIFYING THE SERIAL NUMBER 8 9...

Страница 4: ...elow conditions may damage the device Incorrect connections Incorrect power supply voltage Voltage at measuring terminals beyond specified range Current at measuring terminals beyond specified range C...

Страница 5: ...J38D01 5 1 1 FRONT REAR PANELS 1 2 MECHANICAL INSTALLATION Panel Cutout Required Panel Depth...

Страница 6: ...to the power supply and phase voltage inputs in close proximity of the unit Fuses must be of fast type FF with a maximum rating of 6A Use cables of appropriate temperature range Use adequate cable sec...

Страница 7: ...J38D01 7 1 4 CONNECTION DIAGRAM FOR 230 400V NETWORK...

Страница 8: ...J38D01 8 1 5 CONNECTION DIAGRAM FOR 120 208V NETWORK...

Страница 9: ...mode Next screen or Increase related value configuration mode Changes voltage and current channels for scopemeter display harmonic display digital harmonic display Available channels U12 U23 U31 V1 V2...

Страница 10: ...J38D01 10 3 DISPLAY NAVIGATION...

Страница 11: ...W Total reactive power kVAr Power factor Total reactive energy kVArh Display 9 Total apparent power kVA Total active power kW Total reactive power kVAr Power factor Display 10 I1 A demand value I2 A d...

Страница 12: ...ymbol appears on voltage display pages namely pages 2 and 3 If voltages are in wrong order the symbol disappears The effect of phase sequence failure is configurable It can be a visual warning a relay...

Страница 13: ...ue Q Total reactive power kVAr value S1 Phase 1 apparent power kVA value S2 Phase 2 apparent power kVA value S3 Phase 3 apparent power kVA value S Total apparent power kVA value Cos1 Phase 1 power fac...

Страница 14: ...ton pressed for 3 seconds In order to disable auto scroll function hold the SET button pressed for 3 seconds When the auto scroll is enabled the unit will switch to the next screen every 5 seconds 7 R...

Страница 15: ...menu hold both MENU buttons pressed for 3 seconds When the configuration mode is entered the password entry screen will be displayed A 4 digit password must be entered using buttons The factory defau...

Страница 16: ...language is selected and then press to save the new language and return to CONFIGURATION MENU again 8 4 CURRENT TRANSFORMER RATIO For the correct current measurement the current transformer ratio has...

Страница 17: ...red value then press button to save new voltage transformer ratio and return to CONFIGURATION MENU 8 6 MODBUS ADDRESS Select MODBUS ADDRESS on CONFIGURATION MENU Change the modbus node address with an...

Страница 18: ...DISPLAY PAGE CONFIGURATION The unit offers a user configurable screen display page 16 through USER MENU topic There are 2 sizes of characters that can be selected 5x7 and 10x14 pixels Select the char...

Страница 19: ...s Then select the item to configure on the list and press again After selection of the item the limit value should be entered Especially for power or user counters large values may be needed Thus the...

Страница 20: ...ition goes off The user can select between actions to be taken when the condition occurs VISUAL WARNING means there is no output function but a message is displayed on the screen The unit has 2 intern...

Страница 21: ...s of active and reactive power counters additionally to 4 user counters Active Reactive 1 counters are default selections and incremented with consumed power As there may be more than one power source...

Страница 22: ...wise it will open Relay VALUE 1 NOR VALUE 2 If at least one of value registers is TRUE then the relay contact will open Otherwise it will close Relay VALUE 1 NAND VALUE 2 If both value registers are T...

Страница 23: ...select the counter required to be reset A confirmation screen will appear Selecting YES option on this screen will reset the counter and return to CONFIGURATION MENU Counter value cannot be restored 2...

Страница 24: ...uration The response time depends on the overcurrent rate as shown on below graph OVERCURRENT AREA PERMITTED AREA A Over current value T Timeout value The fastest detection time is 500 milliseconds Th...

Страница 25: ...assigned to a relay s value register a visual warning nothing no effect Select PHASE SEQUENCE on CONFIGURATION MENU Select action to take then press Note that PHASE SEQUENCE FAILURE may be combined wi...

Страница 26: ...LIBRATION Calibration can be modified only with a special password The unit is factory calibrated but it is possible to recalibrate it in order to obtain equal display values on different measuring in...

Страница 27: ...00 pdf Data Reading The function 03 read multiple registers will be used for data reading The MODBUS master will send a query The answer will be one of the below A response containing the requested da...

Страница 28: ...4 CRC high byte Data Writing The function 06 write single register is used for data writing Only one register can be written at a time The MODBUS master will send a query containing data to be writte...

Страница 29: ...high byte CRC calculation Here is a procedure for generating a CRC 1 Load a 16 bit register with FFFF hex all 1 s Call this the CRC register 2 Exclusive OR the first 8 bit byte of the message the fun...

Страница 30: ...1 40007 11 Harmonic 11 harmonic of selected channel 16 BIT R O unsigned word 0 01 40008 13 Harmonic 13 harmonic of selected channel 16 BIT R O unsigned word 0 01 40009 15 Harmonic 15 harmonic of selec...

Страница 31: ...38 40039 V31 RMS U31 phase to phase voltage AC RMS value 32 BIT R O unsigned long 0 1 40040 40041 S1 Apparent Power Phase 1 apparent power kVA 32 BIT R O unsigned long 0 1 40042 40043 S2 Apparent Powe...

Страница 32: ...73 40074 kW Counter 2 Active power counter 2 32 BIT R O unsigned long 0 1 40075 40076 kVAr Counter 2 Reactive power counter 2 32 BIT R O unsigned long 0 1 40077 40078 User Counter 1 User Counter 1 32...

Страница 33: ...ower below the set value 13 13 Phase 2 reactive power below the set value 14 14 Phase 3 reactive power below the set value 15 15 Phase 1 apparent power below the set value ADDRESS REG BIT TOTAL BIT DE...

Страница 34: ...CRIPTION 40021 0 48 U31 RMS value above the set value 1 49 Phase 1 active power above the set value 2 50 Phase 2 active power above the set value 3 51 Phase 3 active power above the set value 4 52 Pha...

Страница 35: ...ctive power counter 1 above the set value 4 68 Active power counter 2 above the set value 5 69 Reactive power counter 2 above the set value 6 70 User counter 1 above the set value 7 71 User counter 2...

Страница 36: ...or AC Min pulse duration 250ms Isolation 1000V AC 1 minute Serial Port Signal level RS 485 Communication Modbus RTU Data Rate 9600 bauds no parity 1 bit stop Isolation 500V AC 1minute Serial port cabl...

Отзывы: