spm93 Manual
spm93 Manual
spm93 Manual
V 1.6
The manufacturer shall not be held responsible for any accident caused by the
Before operating the device, isolate the voltage input and power supply and
Use appropriate voltage tester to make sure the voltage has been cut-off.
Put all mechanical parts, doors, or covers in their original positions before
Always supply the device with the correct working voltage during its operation.
or injuries to people.
II
Packing list
2. User Manual
III
CONTENTS
IV
9.2.1 SPM93 Modbus Protocol Rules ............................................ 26
9.2.2 Modes of Transmission .........................................................27
9.2.3 Description of the Modbus Packet Structure .........................27
9.2.3.1 Address Field............................................................27
9. 2.3.2 Function Field ..........................................................28
9.2.3.3 Data Field .................................................................28
9.2.3.4 Error Check Field (Checksum) ..................................29
9.2.4 Exception Responses ........................................................... 29
9.2.5 Broadcast Packets ................................................................30
9.3. Packet Communication ....................................................................30
9.3.1 Read the Relay Output Status (Function Code 01H) .............31
9.3.2. Read Holding Registers (Function Code 03H) .....................32
9.3.3 Relay Control (Function Code 05H) ......................................32
9.3.4Preset Multiple Registers (Function code 10H) ......................33
9.4. Calculating the CRC-16 Error Check Field .......................................34
9.5. SPM93 Register List ........................................................................37
9.5.1 Real-time value register list ...................................................38
9.5.1.1 Common used real time value register......................38
9.5.1.2 All Real time value register .......................................40
9.5.2 Energy Data Registers .......................................................... 43
9.5.3 Historical Energy Data Registers ..........................................45
V
9.5.3.1 Daily Energy Data Registers ..................................... 45
9.5.3.2 Monthly Energy Data Registers ................................46
9.5.3.3 Yearly Energy Data Registers ................................... 47
9.5.3.4 Day Freeze Energy Data Registers ..........................48
9.5.3.5 Yesterday Freeze Energy Data Registers ................. 59
9.5.4 System parameter registers ..................................................60
9.5.5 Device information registers..................................................69
9.5.6 Command data registers.......................................................71
VI
1. Product Description
SPM93 DIN rail energy meter is a kind of new style three phase whole electronic type
SPM93 three phase energy meter is used for measuring active energy power
circuit. LCD display total kWh (Imp. & Exp.), total kWh (Imp. & Exp.), Multi-tariff
energy, voltage, current, power, power factor, frequency. It is characterized with good
reliability, compact size, light weight, specious nice appearance and easy installation.
2. Features
1
2 Passive pulse output, output signal is in accordance with Standard DIN43864
Key-press for local parameter setting and clean energy, password protection
Record historical energy for last 31days, last 12 month and last 10 years
Measure all basic parameters include voltage, current, power, kWh (as below)
2
3. Order Information
Note:
Example 1: Model No. SPM93-63-V1-50, which indicates the device provides basic
3
4. Figure and Installation Dimension
SPM93 dimension:
4
5. Wiring
There are two connection modes: direct connection and indirect connection through CT.
(1) For Model 5(63)A, SPM93 should be connected directly. Direct connection
(2) For model 5(6)A, SPM93 should be connect though external CT. Indirect
all 3 phase).
5
Figure 5-2 Current transformer connection type Figure 5-1 Direct connection type
Note:
(1) For both 5(6)A and 5(63)A model, terminal 11, 12 and terminal 13, 14 can be set
(2) All Pulse output port are passive pulse output, power supply range 5~30Vdc.
(4) One bus is not recommended to connect more than 30pcs SPM93, the total
length of the communication line is not recommended more than 800 meters
6
6. Display and Keys
6.1 LCD display instruction
B:Running prompt
C:Multi-tariff prompt
normal
7
6.2 Data Display
There has 4 categories for display menu:
3. Configuration menu
4. Setting menu
8
6.2.1 Keys
Menu Consumption Real-time Configuration Setting menu
Key
menu
page/modify
value
Note1: if the input wrong password, then user can’t modify parameter, LCD will
prompt password error. After 5s later, it will return to the interface inquiry.
9
6.2.2 Real-time consumption value interface
10
Push display as below:
Total reactive
energy
Import active
energy
Export active
energy
Import reactive
energy
Export reactive
energy
T1=Tariff 1#
active energy
T2=Tariff 2#
active energy
T3=Tariff 3#
active energy
T4=Tariff 4#
active energy
11
Date
Time
Default Ua PF
menu
Ub PFc
Uc PFb
Cycle display
Ia when push PFa
button
Ib P
Ic Pc
Pa Pb
12
In any consumption value interface, Push to enter into real-time value menu.
voltage integer
Phase C
voltage
current integer
Phase C
current
power integer.
Total active
power
13
Phase A power Power factor data
power factor
Phase C
power factor
Total power
factor
16-digit integer.
Note: Definition of data type for active power, reactive power and power factor as below:
14
15
6.2.4 Configuration interface
In any consumption / real time value interface, Push to enter into configuration
menu
16
MODBUS MODBUS baud rate, range:
default 9600bps
1~1000, default 1.
mode
number
6400
17
When select “YES” and confirm,
energy.
the energy.
information
18
6.2.5 Setting interface
Default: 0001
19
Otherwise it will prompt password
Note 1: Only in configuration interface, can user enter into password input interface
after press . Then LCD will display , the farthest right “0” flashing,
customer can press to modify flashing digit (circle display from 0~9) and press
to move cursor.
Note 3: If input correct password, LCD display will skip to MODBUS address interface,
the farthest right digit flashing, customer can press to modify flashing digit (circle
Note 4: In setting interface, press to enter setting status or save and exit setting
status.
non-modify status.
7. Functions
7.1 Historical energy data
20
(last 10 years)
2. SPM93 support freeze daily energy data and provide 2 kinds of data:
1) Freeze yesterday energy data from 22:00 to 24:00
2) Freeze day energy data per 15min from 00:00, and refresh data daily.
Note: User can inquiry historical energy data via MODBUS register.
SPM93 supports 2 tariff lists. Users can set the 2 lists separately. Each tariff list can
be set max. 8 periods in one day and 4 different tariff (F1, F2, F3, F4 means 4 kinds
of tariff, and F1 for Sharp, F2 for Peak, F3 for Flat, F4 for Valley).
Num. of Period
Tariff List Starting time (to end time) Tariff
period order
21
1st period 06:00 (to 10:00) F1
There are 2 modes to calculate the multi-tariff energy: Date Mode and Holiday Mode.
Under Date Mode, it divides one year (365 days) into 2 periods
Under Holiday Mode, it divides the days by working day and holiday. There has 2
Date Mode From Apr.1 to Sep. 30 From Oct.1 to Mar.31 of next year
Holiday Mode
From Sun. to Thurs. From Fri. to Sat.
2
22
Attention
1. Users can divide one day (24 hours) up to 8 periods, and set 4 tariff maximum.
2. Each period must >15 minutes, and the duration must be a multiple of 15.
4. The multi-tariff only can be set from communication. It can’t be set on panel.
5. If 2 different periods use the same tariff, the meter will combine the energy of 2
periods together.
6. The system default that: Time Zone 1 uses the Tariff List 1, and Time Zone 2 use
3×5(6) A/ CT
Rated (Max.) current
3×5(63)A direct
Input frequency 50Hz or 60Hz
control power
120V, (96V-144V)
23
Short-time over current 30 Imax for 0.01s
Address: 1~247
(default 9600bps)
Dimension 72×100×65mm
24
Warranty and failure 12 months warranty
9. Communication Protocol
9.1. Introduction
This part describes the Modbus communications protocol employed by the SPM93
and how to pass information into and out of the SPM93 in a Modbus network.
25
Modbus Master Station.
this scheme, information and data is transferred between a Modbus Master device
2) The Master will initiate and control all information transfer on the RS-485
communications loop.
4) All communications activity on the RS-485 loop occurs in the form of "Packet", a
packet being simply a serial string of 8-bit bytes. The maximum number of bytes
contained within one packet is 128. The bytes that comprise a packet consist of
standard asynchronous serial data, which are generated using equipment similar to
5) The packages from Master are named request. The packages from Slave are
26
named response.
supports only the RTU mode of transmission with 8 data bits, no parity, and 1
stop bit.
The Address Field is 1-byte long and identifies which Slave device the packet is for.
Valid addresses range between 1 and 247. The Slave device whose address
matches the value in this field will perform the command specified in the Packet.
27
9. 2.3.2 Function Field
The Function Field is 1-byte long and tells the addressed slave which function to
perform. The Modbus functions supported by the SPM93 are listed in below Figure.
SPM93
The Data Field varies in length depending on whether the message is a request or a
response packet. This field typically contains information required by the Slave device
to perform the command specified in a request packet or data being passed back by
In general, registers are transmitted in the order of high-order byte first, low order
byte second.
28
For Example 2.1
One 16-bit register has the content 0x12AB, the register is transmitted:
This field allows the receiving device to determine if a packet has been corrupted with
transmission errors. In Modbus RTU mode, the 16-bit Cyclic Redundancy Check
(CRC-16) is used. The sending device calculates a 16-bit value, based on the
information stored in the address, function and data fields using the CRC-16
algorithm and appends it to the end of the packet. The receiving device performs the
same calculation upon the reception of a packet. If the result does not match the
checksum stored in the packet, transmission errors have occurred and the packet will
exception response consists of the slave address, function code, error code, and
error check field. The high order bit of the function code is set to 1 to indicate that the
29
Name of Function Code Meaning
03H, 05H.
command.
address
Two MODBUS functions are supported by the SPM93. The standard MODBUS
protocol supports only 16-bit registers, which limit the maximum value of any
measurement to 65535.
Section 9.3.1 will describe the format of Read/ Response Packet of relay output.
Section 9.3.2 will describe the format of Read/ Response Packet of holding register.
packet.
is addressed as 0.
The relay status data in response packet is packed as one bit for one relay. 1= ON,
0 = OFF.
The LSB (Least Significant Bit) of the first data byte contains the request addressing
output. Other relay is same as this, until to the high bit of this byte, and rank from low
If the return output Num. is not a multiple of 8, it will use zero to fill in the remainder bit
of last data byte (until to the high bit of the byte). The byte count field specifies all byte
address address
31
CRC check code 2 bytes CRC check code 2 bytes
(Master→SPM93) (SPM93→Master)
Unit ID/ Slave address 1 byte Unit ID/ Slave address 1 byte
(2 * register num.)
... ...
addressed as 0.
32
Data Field is 0xFF00, request the relay to be ON.
All other values are illegal and will not affect the relay.
(Master→SPM93) (SPM93→Master)
Unit ID/ Slave address 1 byte Unit ID/ Slave address 1 byte
(Master→SPM93) (SPM93→Master)
Unit ID/ Slave address 1 byte Unit ID/ Slave address 1 byte
33
Byte num. 1 byte CRC check code 2 bytes
(2 * register num.)
...
Note: SPM93 presume all registers are continuous from the first one.
packet can be considered as a continuous, serial stream of binary data (ones and
zeros). The 16-bit checksum is obtained by multiplying the serial data stream by 216
quotient is ignored and the 16-bit remainder is the checksum and is appended to end
of the packet. The receiving device performs the same operation on the entire packet
including the checksum. The packet, when divided by the generator polynomial,
the CRC, all arithmetic operations (additions and subtractions) are performed using
1) Form a new polynomial by dropping the MSB (Most Significant Bit) of the generator
34
polynomial and reversing the bit sequence. This yields the binary number 1010 0000
3) Exclusive OR the first data byte with the loworder byte of the 16-bit register, storing
5a) If the bit shifted out to the right is one, Exclusive OR the 16-bit register with the
new generator polynomial, with result stored in the16-bit register. Return to step 4.
5b) If the bit shifted out to the right is zero, return to step 4.
8) Repeat steps 4 through 7 until all bytes of the packet have been Exclusive ORed
9) The content of the 16-bit register is the checksum and is appended to the end of
the packet.
35
5a XOR generator polynomial 1101 1111 1100 1100
36
4 Shift 1 bit to right 0100 1011 0101 1101 5 0
device, the MODBUS master reads register xxxx-1 from the slave. For example
Data Type:
1 RO Read only
2 WO Write only
3 RW Read or Write
37
7 LINT32 Signed 32 digits integer
or relay channel.
channel.
channel
38
A
A
Ib
40007 RO × 0.001, unit:
Hz, Secondary
value
Factor Secondary
value
value
value
39
40017 energy kvarh, primary
value
40019 power
40021 power
40023 power
40025 power
40114 A
40116 power
40118 power
40120 power
41
40122 power
40138 power VA
42
40141 RO Phase C power
× 0.001
factor
No.
41002 kWh
41004 kWh
41006 kWh
41008 kvarh
41010 kvarh
41012 kvarh
43
41013 RO Total kWh of × 0.1, unit:
41030 kWh
41032 kvarh
44
9.5.3 Historical Energy Data Registers
9.5.3.1 Daily Energy Data Registers
No.
together
together
41230-41621 RO … …
together
2 month
6 kWh
45
8
10 kvarh
12 kvarh
14
42001 RO Num. of the record Must read this one register alone
month together
month together
42030-42155 RO … …
month together
46
1 RO Time LUINT32 Unix time, year,
2 month
10
12
14
43001 RO Num. of the record Must read this one register alone
43002-43015 RO Record of last 1st year Must read this 14 registers together
43016-43029 RO Record of last 2nd year Must read this 14 registers together
43030-43127 RO … …
47
43128-43141 RO Record of last 10th year Must read this 14 registers together
2 month
10
12
14
48
43501 RO Present day Freezed kWh value
43503
43505 Energy
43507 Energy
43509 Energy
43511 Energy
43513 Energy
43515 Energy
43517 Energy
43519 Energy
49
43521 Energy
43523 Energy
43525 Energy
43527 Energy
43529 Energy
43531 Energy
43533 Energy
43535 Energy
43537 Energy
43539 Energy
50
43541 Energy
43543 Energy
43545 Energy
43547 Energy
43549 Energy
43551 Energy
43553 Energy
43555 Energy
43557 Energy
43559 Energy
51
43561 Energy
43563 Energy
43565 Energy
43567 Energy
43569 Energy
43571 Energy
43573 Energy
43575 Energy
43577 Energy
43579 Energy
52
43581 Energy
43583 Energy
43585 Energy
43587 Energy
43589 Energy
43591 Energy
43593 Energy
43595 Energy
43597 Energy
43599 Energy
53
43601 Energy
43603 Energy
43605 Energy
43607 Energy
43609 Energy
43611 Energy
43613 Energy
43615 Energy
43617 Energy
43619 Energy
54
43621 Energy
43623 Energy
43625 Energy
43627 Energy
43629 Energy
43631 Energy
43633 Energy
43635 Energy
43637 Energy
43639 Energy
55
43641 Energy
43643 Energy
43645 Energy
43647 Energy
43649 Energy
43651 Energy
43653 Energy
43655 Energy
43657 Energy
43659 Energy
56
43661 Energy
43663 Energy
43665 Energy
43667 Energy
43669 Energy
43671 Energy
43673 Energy
43675 Energy
43677 Energy
43679 Energy
57
43681 Energy
43683 Energy
43685 Energy
43687 Energy
43689 Energy
43691 Energy
43693 Energy
43695 Energy
note:
1. Present day freeze kWh data will refresh and update day by day, the data will be
freeze each 15 mins, register 43502 & 43503 is present data start time.
2. The amount of present day freeze kWh be used to indicate the freezed kWh times.
58
9.5.3.5 Yesterday Freeze Energy Data Registers
Register No. Access Description Remark
43902
43906
43908
43910
43914
43916
43918
59
note:
1. Yesterday freeze kWh data is yesterday last two hours data saving [register 43901
& 43902]
No.
0: 3-phase 4-wire
1: 3-phase 3-wire
0: 2400
1: 4800
2: 9600
h)(imp/kvarh)
5A:6400-10000(imp/k
Wh)(imp/kvarh)
default:
60
63A:400(imp/kWh)(i
mp/kvarh
5A:6400(imp/kWh)(i
mp/kvarh
1: total kvarh
1: total kvarh
44009 RW Reserve
44010 RW Reserve
44011 RW Reserve
44012 RW Reserve
44013 RW Reserve
year )
1: Holiday mode1
(Mon.-Fri. Working
61
day, Sat. - Sun.
holiday)
2: Holiday Mode2
holiday)
mode)
mode)
mode)
mode)
list -1
tariff list-1
62
44021 RW Start time (hour), 1st 0--23
2 means 30 min.
3 means 45 min.
tariff list-1
2 means 30 min.
3 means 45 min.
tariff list-1
2 means 30 min.
3 means 45 min.
63
44029 RW The rate at 4th period, UINT16 0--3
tariff list-1
2 means 30 min.
3 means 45 min.
tariff list-1
2 means 30 min.
3 means 45 min.
tariff list-1
64
2 means 30 min.
3 means 45 min.
tariff list-1
2 means 30 min.
3 means 45 min.
tariff list-1
2 means 30 min.
3 means 45 min.
list -2
tariff list-2
65
44046 RW Start time (hour), 1st 0--23
2 means 30 min.
3 means 45 min.
tariff list-2
2 means 30 min.
3 means 45 min.
tariff list-2
2 means 30 min.
3 means 45 min.
66
44054 RW The rate at 4th period, 0--3
tariff list-2
2 means 30 min.
3 means 45 min.
tariff list-2
2 means 30 min.
3 means 45 min.
tariff list-2
67
2 means 30 min.
3 means 45 min.
tariff list-2
2 means 30 min.
3 means 45 min.
tariff list-2
2 means 30 min.
3 means 45 min.
by Panel Operation 0: No
1: YES
Note: (1) When multi tariff mode be set as time zone mode, 1st time mode default tariff
68
#1, 2nd time mode default tariff #2
(2) If the starting time of 1st time zone is not January 1st , then default 2nd time
(3) When multi-tariff mode be set as holiday mode, working day default 1st day’s
(4) If starting time of tariff #1 is not 0, then default the last tariff will pass 0’ o
clock.
49002
49003 RW S/N
49004
version No.
49006 RO Software
domestic
market
49008
69
49009
49010
1970, Greenwich
radio command
Note:
70
9.5.6 Command data registers
Register No. Access Description Remark
parameter
71
Notice:
PILOT reserves the right to modify this manual without prior notice in
Fax: +86-756-3631718
http://en.pmac.com.cn
72