background image

DKM-260 User Manual                                                                                             V-1.0

 

 

23

 

 

Here is the sequence to write the value 0010h to the register 40h (64 decimal):  
01 06 00 40 00 10 89 D2 (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

 

The normal response will be the same as the query: 
 

Byte

 

Description

 

Value

 

0

 

Controller address

 

1 to 254

 

1

 

Function code

 

6

 

2

 

Register address high

 

See below the description of available registers

 

3

 

Register address low

 

4

 

Data high byte

 

 

5

 

Data low byte

 

6

 

CRC low byte

 

See below for the checksum calculation

 

7

 

CRC high byte

 

 

The exceptional response will be:

 

Byte

 

Description

 

Value

 

0

 

Controller address

 

same as in the query

 

1

 

Function code

 

134   (function code + 128)

 

2

 

Exception code

 

2 (illegal address) 
or  
10 (write protection)

 

3

 

CRC low byte

 

See below for the checksum calculation

 

4

 

CRC 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 function code byte) with the low–
order byte of the 16–bit CRC register, putting the result in the CRC register. 

3) Shift the CRC register one bit to the right (toward the LSB), zero–filling the MSB. Extract 
and examine the LSB. The LSB is the least significant bit of the CRC 

before 

the shift 

operation. 

4) If the LSB is 1: Exclusive OR the CRC register with the polynomial value A001 hex. 

5) Repeat Steps 3 and 4 until 8 shifts have been performed. Thus, a complete 8–bit byte 
will be processed. 

6) Repeat Steps 2 through 5 for the next 8–bit byte of the message. Continue doing this 
until all bytes have been processed. 

7) The final contents of the CRC register is the CRC value. 

8) Place the CRC into the message such that the low byte is transmitted first. The algorithm 
should give the correct CRC for below messages: 

 

01 03 00 20 00 10 45 CC 

 

01 06 00 40 00 10 89 D2 

Summary of Contents for DKM-260

Page 1: ...l current shunt standard Internal current shunt Hall Effect sensor input The relay output is programmable for its function Thanks to its isolated RS 485 Modbus RTU comport the device is free from ground potential difference issues and data are safely transferred to automation and monitoring systems Program parameters may be uploaded to the unit through the RS 485 port Indicates ground leakage in D...

Page 2: ... the unit Fuses must be of fast type with a maximum rating of 6A Disconnect all power before working on equipment When the unit is connected to the network do not touch terminals Any electrical parameter applied to the device must be in the range specified in the user manual Although the unit is designed with a wide safety margin over range parameters may reduce lifetime alter operational precisio...

Page 3: ...ING CURRENT MEASUREMENT INPUT 4 5 ADJUSTING EARTH LEAKAGE HIGH AND LOW LIMIT 4 6 ADJUSTING VOLTAGE HIGH AND LOW LIMIT 4 7 ADJUSTING CURRENT HIGH LIMIT 4 8 ADJUSTING THE DEMAND PERIOD 4 9 SELECTING RELAY FUNCTION 4 10 ALARM CONFIGURATION 4 11 MODBUS PARAMETERS 4 12 DISPLAYING THE FIRMWARE VERSION 4 13 CALIBRATION 4 14 LAMP TEST 5 MODBUS COMMUNICATIONS 5 1 DESCRIPTION 5 2 COMMANDS 5 3 PROGRAM PARAME...

Page 4: ...aximum operating temperature in any case Be sure that the unit is not subject to water spill Below 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 Voltage applied to digital inputs over specified range Connecting or removing data terminals when the unit ...

Page 5: ...DKM 260 User Manual V 1 0 5 1 1 FRONT AND BACK PANELS ...

Page 6: ... and voltage inputs in close proximity of the unit Fuses must be of fast type with a maximum rating of 6A Use cables of appropriate temperature range Use adequate cable section at least 0 75mm2 AWG18 Follow national rules for electrical installation Current Shunt must be used for current measurement No direct connection allowed Do not install the unit close to high electromagnetic noise emitting d...

Page 7: ...DKM 260 User Manual V 1 0 7 1 3 INSTALLATION DIAGRAM ...

Page 8: ... adjusting mode Enter adjusting mode Switch to the upper screen PROGRAMMING increase value Switch to the lower screen PROGRAMMING decrease value HELD PRESSED TOGETHER FOR 2 SECONDS Selects programming mode If held pressed in programming mode then returns to normal mode NO KEY PRESSED DURING 1 MINUTE Returns to the selected main display screen 2 PUSHBUTTON FUNCTIONS ...

Page 9: ...tween 100A and 1000A it is displayed with 0 1A precision Between 1000A and 10000A it is displayed with 1A precision Display of measured voltage If the measured voltage value is below 100V then it is displayed with 0 01V precision If the voltage is between 100V and 1000V it is displayed with 0 1V precision Between 1000V and 10000V the voltage is displayed with 1 V precision Alarm display Alarms are...

Page 10: ...u hold both MENU buttons pressed for 2 seconds In order to exit programming menu hold both MENU buttons pressed for 2 seconds If no button is pressed during 1 minute then the unit will automatically close the programming mode Parameter values are modified with UP and DOWN Menu buttons If the button is held pressed the the value will change with larger steps When SET button is pressed the value on ...

Page 11: ...eter to 1 causes demand and max_demand values to be reset The parameter value is not saved and always reads 0 Parameter value 0 No operation 1 Reset alarms Setting this parameter to 1 causes alarms to be reset The parameter value is not saved and always reads 0 4 2 RESETTING DEMANDS 4 3 RESETTING ALARM ...

Page 12: ...0mV Adjustement range is between 1 and 100milivolts Bu parametre toprak kaçak için toprak geriliminin giriş gerilimine oranının üst limitini ayarlar Standart fabrika çıkış değeri 70 dir Ayar aralığı 0 V ile 100 arasıdır Bu parametre toprak kaçak için toprak geriliminin giriş gerilimine oranının alt limitini ayarlar Standart fabrika çıkış değeri 30 dir Ayar aralığı 0 ile 100 arasıdır 4 4 ADJUSTING ...

Page 13: ...of the low voltage alarm If this parameter is set to 0 then low voltage is not monitored and no alarm occurs Factory set value is 0 V Adjustment range is between 0 and 300V This parameter adjusts the overcurrent limit If this parameter is adjusted to 2000 then the overcurrent limit is not monitored and the overcurrent alarm does not occur Factory set value is 2000 A Adjustment range is between 0 A...

Page 14: ...tment range is 1 to 240 minutes This parameter determines the relay function which dedicates using relay in which alarm s Factory set value is 8 According to parameter value Alarms which use relay are as below 0 Earth Leakage 1 Earth Leakage 2 High Voltage 3 Low Voltage 4 Overcurrent 5 Earth Leakage or Earth Leakage 6 High or Low Voltage 7 High or Low Voltage or Overcurrent 8 All alarm cases Adjus...

Page 15: ... the alarm cause is removed alarms automatically disappear Factory set value is 0 Adjustment range is 0 to 1 This parameter determines the delay between a high or low valtage alarm condition occurs and the alarm given Factory set value is 5 Adjustment range is 0 to 255 seconds 0 High or low voltage alarm lock disabled 1 High or low voltage alarm lock enabled When this parameter is set to 1 even if...

Page 16: ... value is 3 Adjustment range is 0 to 255 seconds 0 High current alarm lock disabled 1 High current alarm lock enabled When this parameter is set to 1 even if the alarm cause is removed alarms will persist until manually reset When this parameter is set to 0 when the alarm cause is removed alarms automatically disappear Factory set value is 0 Adjustment range is 0 to 1 ...

Page 17: ...cation Every unit in the same Modbus loop must use the same data rate 0 Baud rate 2400 1 Baud rate 4800 2 Baud rate 9600 3 Baud rate 19200 4 Baud rate 38400 Factory set value is 2 Adjustment range is 0 to 4 If this parameter is set to a value different from 0 then the unit will require this parameter as a password prior to Modbus writes or Modbus commands If the parameter is set to 0 then no passw...

Page 18: ...reen and press the SET button The calibration screen about the 110V voltage input will be seen The first display will show 110V The second screen will display the measured instantaneous voltage from the input The third display will display the calibration coefficient high 4 digits only Adjust UP and DOWN menu buttons until the value displayed in the second screen is correct When the value is corre...

Page 19: ... amplitude the normal input is active In the second current input sensitivity calibration mode the first display will show 2CUR The second screen will display the measured instantaneous current from the input The third display will display the calibration coefficient high 4 digits only Adjust UP and DOWN menu buttons until the value displayed in the second screen is correct When the value is corre...

Page 20: ...ramming is over hold pressed UP and DOWN MENU buttons for 2 seconds The unit will exit program mode and will turn on all lights for lamp testing purpose Check that all lights are on Press any button to resume normal operation 4 14 LAMP TEST ...

Page 21: ...y be downloaded at http www modbus org specs php 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 120 If more registers are requested the unit will se...

Page 22: ...e See below for the checksum calculation 4 CRC high byte Data Writing The function 06 write single register or function 10h write multiple registers is used for data writing A maximum of 32 registers can be written at a time The MODBUS master will send a query containing data to be written The answer will be one of the below A normal response confirming successful write An exceptional response ind...

Page 23: ...tion 4 CRC 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 function code byte with the low order byte of the 16 bit CRC register putting the result in the CRC register 3 Shift the CRC register one bit to the right toward the LSB zero filling the MSB Ex...

Page 24: ...Modbus commands and Modbus writes If the Modbus Write Password parameter is set to a value other than 0 then the unit will require a password for commands and data writes If the value recorded as Modbus Write Password parameter or 3271 is written to the address 7168 then during next 10 minutes Modbus area can be written and below commands can be executed All commands other than the password may be...

Page 25: ...word 1 07 Voltage high limit Explained ch 4 6 16 BIT R W unsigned word 1 08 Voltage low limit Explained ch 4 6 16 BIT R W unsigned word 1 09 Voltage alarm lock Explained ch 4 10 1 BIT R W unsigned word 1 10 Voltage alarm delay Explained ch 4 10 16 BIT R W unsigned word 1 11 Overcurrent limit Explained ch 4 7 16 BIT R W unsigned word 1 12 Overcurrent alarm lock Explained ch 4 10 1 bıt R W unsigned ...

Page 26: ...BIT R O unsigned word 0 01 8197 Earth Leakage and Input Voltage Ratio 16 BIT R O unsigned word 1 8198 Voltage Demand V 32 BIT R O unsigned long 0 01 8200 Current Demand A 32 BIT R O unsigned long 0 01 8202 Alarms Lower 5 bits indicate alarms Other bits are don t care 16 BIT R O unsigned word 1 8203 Unit model 16 BIT R O unsigned word 1 8204 Unit firmware version 16 BIT R O unsigned word 1 5 4 MEAS...

Page 27: ...status record is 16 bit long Each bit indicates the existence of one alarm BIT NO DESCRIPTION 0 Earth Leakage Alarm 0 1 Earth Leakage Alarm 1 2 High voltage Alarm 2 3 Low voltage Alarm 3 4 Overcurrent Alarm 4 5 6 7 8 9 10 11 12 13 14 15 ...

Page 28: ...ion 1000V AC 1 minute Operating Temp Range 20 C 70 C 4 F 158 F Max Relative Humidity 95 non condensing Protection Degree IP 65 Front panel w gasket IP 30 Back panel Enclosure Flame retardent ROHS compliant high temperature ABS PC UL94 V0 Installation Flush mounting with rear brackets Dimensions 102x102x53mm WxHxD Panel Cutout 92x92mm Weight 200 gr EU Directives 2014 35 EC LVD 2014 30 EC EMC Refere...

Reviews: