DKM-40
7 Kullanım Kılavuzu V-1.1
31
Error codes
Only 3 error codes are used:
01: illegal function code
02: illegal address
10: write protection (attempt to write a read_only register)
Data types
Each register consists of 16 bits (2 bytes)
If the data type is a byte, only the low byte will contain valid data. High byte is don’t care.
For data type longer than 16 bits, consecutive registers are used. The least significant
register comes first.
Commands to the device are given by writing to below addresses.
If the value of “3282” is written to the address 16384, then below commands will be
accepted during 10 minutes.
Other commands do not require a password to be written.
ADRESS
NAME
DESCRIPTION
LENGTH
RD/
WR
DATA TYPE
COEF
16384
Password
Programming password
16 BIT
W-O
unsigned word
1
16385
Demand reset Reset all demand registers
16 BIT
W-O
unsigned word
1
16386
Counter reset
Reset all energy counters
(kWh-kVArh)
16 BIT
W-O
unsigned word
1
16387
Hours reset
Reset hours counter
16 BIT
W-O
unsigned word
1
16388
Alarm reset
Reset all alarms
16 BIT
W-O
unsigned word
1
16389
Factory reset
Return to factory set values
16 BIT
W-O
unsigned word
1
5.2. COMMANDS