Areva m231 Manual
Areva m231 Manual
CONTENT
1. INTRODUCTION 3
2. SYSTEM MODES 4
2.1 Connection mode 4
2.1.1 Valid measurements 4
2.2 Power mode 5
2.3 Operating energy quadrants 6
3. INSTRUMENTATION 7
3.1 Measurements 7
3.1.1 Voltage 7
3.1.2 Current 7
3.1.3 Angles between Phases 7
3.1.4 Frequency 7
3.1.5 Harmonics 7
3.2 Power, power factor and energy 8
3.2.1 Power 8
3.2.2 Power factor 8
3.2.3 Energy 8
3.3 Demand values 9
3.3.1 Real time clock 9
3.3.2 Maximum demands (MDs) 9
3.3.3 Average demands 9
3.3.3.1 Fixed window 9
4. COMMUNICATIONS 10
4.1 RS232 communications 10
4.2 RS485 communications 10
5.2.9.3 VT Ratio 22
5.3 Battery 23
5.3.1 Battery replacement 23
5.4 Default settings 23
6. TECHNICAL DATA 24
6.1 Ratings 24
6.1.1 Voltage input 24
6.1.2 Current input 24
6.1.3 Frequency 24
6.1.4 AC auxiliary supply 24
6.1.5 DC auxiliary supply 24
6.2 Accuracy 25
6.3 Relay outputs 25
6.4 Real time clock 25
6.5 Back up battery 25
6.6 Communication ports 26
6.6.1 RS232 Port 26
6.6.2 RS485 Port 26
6.7 Product Safety 26
6.8 Environmental withstand 27
6.8.1 Atmospheric environment 27
6.8.2 Construction 27
6.9 CT and VT connections 27
6.10 Power supply, communications and pulsed output connections 30
6.11 Dimensions 31
Service Manual M231/EN M/B11
1. INTRODUCTION
The M231 Measurement Centre integrates a number of measurement, monitoring and
metering functions in the same unit for comprehensive power system management. The use
of numerical technology achieves high accuracy over a wide dynamic measuring range for
instantaneous and integrated power system parameters. The M231 also provides a host of
other measurement, monitoring and metering facilities as detailed below:
• Instrumentation.
• Metering Facilities.
− Demand metering.
Neutral current In
2. SYSTEM MODES
2.1 Connection mode
The connection mode of the M231 is menu-configurable. The following options are available:
Ib • • • •
Ic • • • •
It • • • • •
In •
cosϕa • • •
cosϕb • •
cosϕc • •
cosϕt • • • • •
Pa • • •
Pb • •
Pc • •
Pt • • • • •
Qa • • •
Qb • •
Qc • •
Qt • • • • •
Service Manual M231/EN M/B11
The operating energy quadrants are used to determine which types of energy are added to
the energy counters. The user may modify the operating energy quadrants via the remote
communications interface. The default operating energy quadrants are as follows:
• Absolute Value - if this is chosen only the absolute value of energy recorded.
• Inverted value - if this is selected the polarity of the power used to accumulate the
desired energy is reversed.
Q (Cap)
Lagging vars to generator
Import Q Import Q
Import P Qua rant 2 Qua rant 1 Export P
S S
Q Q
P P
Power to generator Power to consumer
P -- P P +
Q Q
S S
3. INSTRUMENTATION
3.1 Measurements
With the increase in harmonics present in today's power systems, due to the increased use
of electronic loads such as computers, variable frequency drives, etc. it is important, when
accurate monitoring of electrical parameters is required, to use a measuring technique that
allows for their presence. Conventional measurement methods, that use a mean sensing
technique, respond to the mean or average of the input waveform. This is only accurate
when the input waveform approaches a pure sinusoid.
The M231 uses a true RMS (root-mean-square) measurement technique that provides
accurate measurement with harmonics present up to the 15th harmonic. The M231 reads 64
samples per cycle and the true RMS measurement is obtained using these sampled values.
3.1.1 Voltage
All versions of the M231 except for the 3-phase 3-wire versions, measure the true RMS
value of the phase voltages (U a, Ub, Uc) connected to the unit. The three line voltages (U ab,
Ubc, Uca), average phase voltage (U) and average line voltage (U ∆) are calculated from
these measured parameters. For 3-phase 3-wire balanced systems, the M231 creates a
virtual neutral internally.
The 3-phase 3-wire versions of the M231 measure the true RMS value of the phase to phase
voltage.
The available phase, line and average voltages can be viewed on the M231 display or via
the remote communications link.
3.1.2 Current
The M231 measures the true RMS value of the phase currents ( Ia, Ib, Ic) connected to the
unit. The neutral current ( In), the average of all phase currents and the sum of all phase
currents (It) are calculated from the three phase currents.
The available phase currents, average current and neutral current can be viewed on the
M231 display or via the remote communications link whilst the sum of all phase currents is
only available via the remote communications link.
3.1.3 Angles between Phases
Angles between phases indicate the angles between the vectors of phase voltages. A
positive mark indicates correct phase sequence, while a negative mark indicates an opposite
phase sequence of the measured system.
3.1.4 Frequency
The system frequency is calculated from the time period of the measured voltage and can be
viewed from both the M231 display and the remote communications link.
3.1.5 Harmonics
The percentage total harmonic distortion (%THD) value is the ratio of the sum of the powers
of the harmonic frequencies above the fundamental frequency to the power of the
fundamental frequency. This sum of the powers is a geometric total, formed by taking the
square root of the sum of the squares of the amplitude of each of the harmonics.
The M231 provides %THD values for each phase current, each phase voltage, and for the
line voltages.
This feature is an order option.
M231/EN M/B11 Service Manual
3.2.1 Power
The M231 provides accurate measurement of active (Pa, Pb, Pc, Pt), reactive (Qa, Qb, Qc,
Qt) and apparent power (S a, Sb, Sc, St). For a four-wire system the powers are calculated
both for each phase separately and as a total. For a three-wire system only total power
values are measured.
Four counters are available so that energy in each of the four quadrants can be measured.
The configuration of the four counters can be adapted to the customer's needs via the
remote serial communications link.
All four energy measurements may be viewed using either the M231 display or a remote
communications link.
Service Manual M231/EN M/B11
The M231 provides maximum demand values from a variety of average demand values
(fixed window, sliding window and thermal) for the following electrical parameters:
The M231 stores the maximum demand value since last reset and its corresponding time
stamp. The unit also displays the present or 'dynamic' maximum demand.
3.3.3 Average demands
3.3.3.1 Fixed window
The fixed interval method calculates an average demand value over a fixed time period. The
period can be set over the range 1 to 255 minutes.
4. COMMUNICATIONS
The M231 is supplied with either RS232 or RS485 electrically isolated communications and
should be specified at ordering. The communications protocol is MODBUS RTU, which is
detailed in the Appendix of this Service Manual. The communications service enables
remote viewing of measurements and viewing and setting of system parameters.
The connection of RS232 communications between the M231 and a PC is detailed in Table
3. The maximum connection length is 15 metres.
• L1 - Level 1 password required. In addition to the access rights of L0, the following are
available; set the real time clock, reset and synchronise maximum demand and reset
the energy meters.
• L2 - Level 2 password required. In addition to the rights of L0 and L1 the following are
available; setting of pulsed outputs, demand calculations, communications settings
and connection modes.
• L3 - Level 3 password required. This level is accessible only via the remote
communications interface and is used for factory calibration and service.
The M231 is supplied with both L1 and L2 passwords set to AAAA. AAAA passwords offer
no level of protection; all measurements and settings can be modified. The L1 and L2
passwords must be changed from AAAA to activate password level protection.
When the M231 is first connected to the power system the user is greeted with the message
shown in Figure 2.
Measurement
Centre M231
FIGURE 2 : GREETING
After a period of five seconds the M231 display automatically defaults to display the energy
meters as shown in Figure 3.
1 EXPORT kWh
0000000.00
2 IMPORT kvarh
0000000.00
Figure 4 illustrates the measurements menu structure. The user can browse through the
available measurements without entering any password. The user will automatically be
prompted to enter a password where required to modify settings or reset measurements.
SETTING
09:APR:2004
07:12:34
00.00Hz
4 * RESET * 4 * RESET * 5
3 * RESET * 3 * RESET * 5
2 * RESET * 2 * RESET * 5
1 * RESET * 1 * RESET * 5
5.2 Settings
SETTIN PASSWOR
LANGUAGE
DISPLA
LOCK
PULSE OUTPU
RESET MD
OMMUNICA ION
CONNECTION
CANCEL PASSWORD:
LANGUAGE: *
PYCCKUN
SET
LANGUAGE:
SLOVENSKI
SET
LANGUAGE:
ESPAÑOL
SET
LANGUAGE:
DEUTSCH
SET
LANGUAGE:
FRANCAIS
SET
* RUSSIAN
The display's contrast may be set from 0 to 63, the backlight from 0 to 255 and the off time
from 0 to 54 minutes. Display illumination is switched on with the press of any key and off
after the set time from the last key pressed.
Figure 10 illustrates the real time clock menu. The real time clock can be set with level 1 or
level 2 access. For time and date settings the character is chosen with the ← and → keys
and set with the ↑ and ↓ keys. When setting the year, just the ↑ and ↓ keys are used.
When resetting MD since last reset the operation is performed differently depending on the
selected mode of MD calculation:
• Fixed window - MD of the window is reset and MD since last reset is reset. At the
same time, synchronisation of the time interval is performed.
• Sliding window - MD of present sub-window, all other sub-windows and MD since last
reset are reset. At the same time, synchronisation of the time interval is performed at
the beginning of the first sub-window.
Service Manual M231/EN M/B11
• Fixed window - MD for present period is reset. At the same time, synchronisation of
the time interval is performed.
• Sliding window - MD for present sub-window and all other sub-windows in the time
interval are reset. At the same time, synchronisation of the time interval is performed
at the beginning of the first time interval.
• Thermal mode.
• Fixed window - the time interval can be set between 1 to 255 minutes.
• Sliding window - the time interval can be set between 1 to 255 minutes and the
number of sub-windows between 2 to 15.
MD MODE:
THERMAL DEMAND
SET
MD MODE:
1S SUD.WINDOW
SET
MD MODE:
2 SLID.WINDOW
SET
Time C.=
Time C.=
0 0 m in .
00 m in .
SET
• Address - the communications address can be set in the range of 1 to 247. Address 0
is reserved for broadcast messaging.
• Communications data form - the length, parity and stop bit can be set for the data
form. The data form can be set as follows:
Length: 7,8 (value 8 is always used for MODBUS RTU)
Stop bit: 1 or 2
RS FRAME: 8, N, 2 RS FR ME
ME:: 8, N, 2
SET
INPUT: 1b INPUT: 1b
SET
5.2.9.1 CT Ratio
When setting the current ratio only the primary value may be altered; the secondary value
(1A or 5A) must be specified with the order. Selectable ratios are defined in Table 5. When
'set' is displayed, the character is selected by pressing the ← and → keys and the value
modified by using the ↑ and ↓ keys. When the desired ratio has been selected the → key
should be pressed until 'set' disappears.
TABLE 5 : CT RATIOS
5.2.9.2 Connection input
The type of connection to the power system must be set to match the physical connection
implemented. The connection type is selected with the ↑ and ↓ keys. Connection types are
as follows:
5.2.9.3 VT Ratio
Both the primary and secondary values of the VT ratio may be set. The values are set in the
same manner as described for the CT ratio. When setting the voltage transformer primary
value, the decimal point is also set. The decimal point is set with the ↑ and ↓ key when the
decimal point is selected (underlined). By setting the decimal point, the resolution of the
energy display can be changed.
5.3 Battery
The M241 is supplied with a lithium battery that is used to store setting and data in the event
of a auxuiliary supply failure. This battery should last 6 years in normal operation although
high temperature and humidity will shorten this time.
5.3.1 Battery replacement
replacement
When the battery is due to be replaced or when there has been a loss of auxiliary supply, the
battery status indicator
indica tor on the bottom right hand part of the front menu will flash. The M241
will remain in operation but if the battery is not replaced then the real time clock and the
maximum demand measurement data will be lost in the event of a loss of the auxiliary
supply.
The M231 is supplied with the following default settings. Changes to these settings to can be
made on the front menu or via remote communications.
Demand Calculation
Calculatio n MD Mode: Thermal Demand, time constant 15 min
Communication 9600bps, address: 33, RS frame :8,n,1
6. TECHNICAL DATA
6.1 Ratings
Burden <0.1VA
Thermal withstand 1.5Un continuously 2Un for 1s
Burden <0.1VA
6.1.3 Frequency
Nominal frequency (fn) 50Hz or 60Hz
Burden <5VA
6.2 Accuracy
Measurement
Power ±0.5% *
THD ±1%***
* For these values the accuracy is % of nominal for 0 ... 100% of nominal and % of
reading above nominal.
** For voltage the accuracy is % of nominal for 10...100% of nominal and % of reading
above nominal. For voltage range 0...10% Un the max. error is 2% of nominal value.
*** Measured input (voltage, current) must be greater than 10% of the nominal. Measuring
range 0 …400%
Product Safety
73/23/EEC Compliance with European Commission Low Voltage
Directive
6.8.2 Construction
Case Polycarbonate. Compliance with UL 94 V0
Dimensions 96x96x108 mm
Weight 0.6kg
19
20 13
21 148
Out
100ms
24V DC R>100R
Power supply Pulse receptor
0
6.11 Dimensions
BLANK PAGE
Service Manual M231/EN M/B11
MiCOM M231
APPENDIX
Service Manual M231/EN M/B11
Appendix
MiCOM M231 Page 1/34
CONTENT
1. INTRODUCTION 3
2. TRANSACTIONS 4
2.1 Request 4
2.2 Response 4
2.3 Request - response cycle example 4
2.3.1 Request Frame 5
2.3.2 Response Frame 5
3. FRAMING 6
3.1 RTU framing 6
5. ERROR RESPONSES 14
5.1 Exception codes 14
9. RELATED DOCUMENTS 32
Service Manual M231/EN M/B11
Appendix
MiCOM M231 Page 3/34
1. INTRODUCTION
The M231 implements a subset of the Modicon Modbus RTU serial communications
standard [reference 1, Modicon Modbus Protocol Reference Guide PI - MBUS - 300 Rev. E].
Modbus is a single master multiple slave protocol suitable for a multi-drop configuration as
provided by the RS485 connection. Up to 32 devices can be connected in this way. Single -
drop RS232 connection is also possible.
M231/EN M/B11 Service Manual
Appendix
Page 4/34 MiCOM M231
2. TRANSACTIONS
Communication operates on a master-slave basis where only one device (the master) can
initiate transactions called 'Requests'. The other devices (slaves) respond by supplying the
requested data to the master. This is called the 'Request - Response Cycle'.
Device address Function Code nx8 bit data bytes Error check
Device address Function Code nx8 bit data bytes Error check
2.1 Request
Device address:
Master addressing a slave (Address 0 is used for the broadcast address, which
all slave devices recognise.)
Function code:
E.g. 04 asks the slave to read its Input Registers and respond with their
contents.
Data bytes:
Tells the slave which register to start at and how many registers to read.
2.2 Response
Data bytes:
3. FRAMING
There are two types of message framing for the serial communications, ASCII or RTU. The
M231 supports RTU framing.
The Cyclic Redundancy Check (CRC) field is two bytes, containing a 16 bit binary value. The
CRC value is calculated by the transmitting device, which appends the CRC to the message.
The receiving device recalculates a CRC during receipt of the message, and compares the
calculated value to the actual value it received in the CRC field. If the two values are not
equal an error results. The CRC-16 calculation is an industry standard method used for error
detection.
One frame is transmitted as 1 start bit, 8 data bits and 2 stop bit. If parity is selected then the
frame is transmitted as 1 start bit, 8 data bits, and 1 stop bit.
Reads the binary content of holding registers (4X references) in the slave. Broadcast is also
supported.
4.1.1 Request Frame
The query message specifies the starting register and quantity of registers (1 to 28) to be
read. Registers are addressed starting at zero.
Here is an example of a request to read registers 40009 ... 40010 from slave device 33:
The register data in the response message is packed as two bytes per register, with the
binary contents right justified within each byte. For each register, the first byte contains the
high order bits and the second contains the low order bits.
Data is scanned in the slave at the rate of 28 registers per scan. The response is returned
when the data is completely assembled.
Reads the binary content of input registers (3X references) in the slave. Broadcast is also
supported
The register data in the response message is packed as two bytes per register, with the
binary contents right justified within each byte. For each register, the first byte contains the
high order bits and the second contains the low order bits.
Data is scanned in the slave at the rate of 28 registers per scan. The response is returned
when the data is completely assembled.
Pre-sets a value into a single holding register (4X reference). When broadcast, the function
pre-sets the same register reference in all attached slaves.
4.3.1 Request Frame
The query message specifies the register reference to be pre-set. Registers are addressed
starting at zero; register 1 is addressed as 0.
Here is an example of a request to pre-set register 40010 to 42 15 hex in slave
device 33:
If the password is not correct (L1 or L2 or BP), the response to the query is:
CRC
Slave Address Function Code LO HI
21 11
The query message specifies the value code of the measurement to be read.
Here is an example of a response to read Total Real Power from slave device 33:
CRC
Slave Address Function Code Value Code
LO HI
21 4D 04
Value
Value Byte
Code Measurement Value Example String Data
Code DEC Count
Hex
00 00 Energy counter 1 15 "0000004.46kWh"
01 01 Energy counter 2 15 "0000001.24kvarh"
02 02 Energy counter 3 15 "0000005.71kWh"
03 03 Energy counter 4 15 "0000002.86kvarh"
04 04 Total Real Power 8 "+21.135k"
05 05 A Phase Real Power 8 "+7046.3"
06 06 B Phase Real Power 8 "+7037.3"
07 07 C Phase Real Power 8 "+7051.1"
08 08 Total Reactive Power 12 "1208.7 var L"
09 09 A Phase Reactive Power 12 "0400.2 var L"
10 0A B Phase Reactive Power 12 "0406.4 var L"
11 0B C Phase Reactive Power 12 "0400.9 var L"
12 0C Total I 7 "93.671"
13 0D IA 7 "31.227"
14 0E IB 7 "31.222"
15 0F IC 7 "31.222"
16 10 Average V 7 "226.06"
17 11 VA 7 "226.08"
18 12 VB 7 "225.83"
19 13 VC 7 "226.27"
20 14 Total Apparent Power 7 "21.170k"
21 15 A Phase Apparent Power 7 "7057.3"
22 16 B Phase Apparent Power 7 "7049.0"
23 17 C Phase Apparent Power 7 "7062.8"
24 18 Total Power Factor 8 "+0.998 L"
25 19 Power Factor A 8 "+0.998 L"
26 1A Power Factor B 8 "+0.998 L"
27 1B Power Factor C 8 "+0.998 L"
28 1C Frequency 7 "46.008"
29 1D Frequency 7 "46.008"
30 1E Frequency 7 "46.008"
31 1F Frequency 7 "46.008"
32 20 Total Power Angle 7 "+003.26"
33 21 Power Angle A 7 "+003.25"
34 22 Power Angle B 7 "+003.30"
35 23 Power Angle C 7 "+003.25"
M231/EN M/B11 Service Manual
Appendix
Page 12/34 MiCOM M231
Value
Value Byte
Code Measurement Value Example String Data
Code DEC Count
Hex
36 24 IN 6 "93.67"
37 25 Angle AB 7 "+000.00"
38 26 Angle BC 7 "+000.01"
39 27 Angle CA 7 "-000.01"
40 28 Average Vxy 6 "000.3"
41 29 VAB 6 "000.2"
42 2A VBC 6 "000.24"
43 2B VCA 6 "000.2"
44 2C Dynamic Demand Value 1 13 "Pt=+9.818kW"
45 2D Dynamic Demand Value 2 12 "Qt=6.504kvar"
46 2E Dynamic Demand Value 3 12 "St=12.89kVA"
This function should be used after the broadcast request. The addressed slave transmits the
response frame of the previous request.
CRC
Slave Address Function Code LO HI
21 52
5. ERROR RESPONSES
When a slave detects an error other than a CRC error, a response will be sent to the master.
The most significant bit of the function code byte will be set to 1 (i.e. the function code sent
from the slave will be equal to the function code sent from the master plus 128). The
following byte will be an exception code indicating the type of error that occurred.
The slave will ignore transmissions received from the master with CRC errors.
An example of an illegal request and the corresponding exception response is shown below.
The request in this example is to read registers 0201H to 0209H. If these addresses are not
supported in the slave then the following occurs:
Request Message
Starting Register Register Count
Address Function Code HI LO HI LO CRC
01 01 02 01 00 08 6D B4
Code, Address, Contents, Data type, Indicator, Values, Conditional, Register type, Min,
Max, Step and Password.
Code:
Address:
16 bit register address starting from zero. Most Modbus master devices add 30000 or 40000
decimal to the actual address of the register.
Contents:
Data Type:
BINARY FLAGS Each bit of a 16-bit register can be used as a binary flag.
Indicator:
Each bit of a 16-bit register can be either assigned as flags or filled with binary data.
Values/dependencies:
Definitions of settings, data values and any dependencies that exist between settings.
Register type:
The minimum and maximum numerical range and the incremental step size.
Password:
There is a numerical password that allows save/abort settings and a factory accessible
password constructed from the serial number that allows entry/exit to and from the
calibration and configuration settings.
M231/EN M/B11 Service Manual
Appendix
Page 16/34 MiCOM M231
SYSTEM DATA
04 30001 30003 Model Number T12 Data
04 30004 Serial Number T1 Data
04 30005 Software Ref 1 T1 Data
“ M231” 0
0
Software version 208 0
(1)
(=6 if incorrect divider @40025) -6 9 1 0
(1)
(=6 if incorrect divider @40026) -6 9 1 0
(1)
(=6 if incorrect divider @40027) -6 9 1 0
(1)
(=6 if incorrect divider @40028) -6 9 1 0
16 40000 40001 Enter Password L1 & L2 & BP T11 A…Z Write only
16 40002 40004 Enter Configuration Password T12 A…Z Write only
16 40005 40006 Set Password level 1 T11 A…Z Write only
16 40007 40008 Set Password level 2 T11 A…Z Write only
(8)
3, 6, 16 40009 40010 Time T9 Setting
(8)
3, 6, 16 40011 40012 Date T10 Setting
6 40013 Reset Counter & MD T1 Bit-0 write only
Bit-1
Bit-2
Bit-3
Bit-8
Bit-9
Bit-10
3 40014 Calibration Voltage in V T1 read only
3 40015 Calibration Current in A/10 T1 read only
(4)
3, 6 40016 Voltage Tr. Primaries in V/10 T1 Setting
bit # 0…13 1…15999
bit # 14…15 0…3
(5)
3, 6 40017 Voltage Tr. Secondaries in V T1 Setting
(6)
3, 6 40018 Current Tr. Ratio T1 Setting
(7)
3, 6 40019 Connection Mode T1 1 Setting
9
25
5
7
3, 6 40020 Communication Settings T1 0 Setting
1
2
3
4
5
6
7
Bit-3
Bit-4
Bit-5
Bit-6
Bit-7
3, 6 40021 Communication address T1 1…247 Setting
Service Manual M231/EN M/B11
Appendix
MiCOM M231 Page 21/34
0
0
1
2
1
1
Reset Counter 1 1
Reset Counter 1
Reset pulse output Counter 1
Reset pulse output Counter 2
Synchronise MD
Reset last period MD
Reset MD Values
1V 0
10 A/10 = 1 A 50 A/10 = 5 A 0.1 V 0
2300 for 230 V 0.1 V 2
Unsigned integer value 1 15999 1
Unsigned exponent 0 3 1
10 775 1 V, 5 V 2
1 4000 1 2
Single phase 2
3 phase 3 wire balanced
3 phase 4 wire balanced
3 phase 3 wire unbalanced
3 phase 4 wire unbalanced
1200 baud 2
2400 baud
4800 baud
9600 baud
19200 baud
38400 baud
57600 baud
115200 baud
‘1’ => 2 stop bits; ‘0’ => 1 stop bit
‘1’ => Odd parity; ‘0’ => Ev en parity
‘1’ => Parity; ‘0’ => No parity
‘1’ => 7 bits; ‘0’ => 8 bits (read only)
> 10 ms response time
1 247 1 2
M231/EN M/B11 Service Manual
Appendix
Page 22/34 MiCOM M231
Disable 2
Time constant (window period; interval of sub-period)
Thermal function
Fixed window
Sliding window; # of periods
Enable quadrant 1 2
Enable quadrant 2
Enable quadrant 3
Enable quadrant 4
Absolute value
Inverted value
‘1’ => Reactive energy; 0 => Active energy
Enable quadrant 1
Enable quadrant 2
Enable quadrant 3
Enable quadrant 4
Absolute value
Inverted value
‘1’ => Reactive energy; 0 => Active energy
Same as Counter 2 mode 2
Same as Counter 1 mode
(1)
1, 10, 100, 1000, 10000 2
(1)
1, 10, 100, 1000, 10000 2
(1)
1, 2, 5, 10, 20, 50, …, 50000 2
(1)
1, 2, 5, 10, 20, 50, …, 50000 2
Bit-9
Bit-10
Bit-11
Bit-12
Bit-13
Bit-14
6 40083 Calibration request T1 Bit-0 write only
Bit-1
Bit-2
3, 6 40101 Language T1 0 Setting
1
2
3
4
5
6
NOTE 1: If Counter 1 or Counter 2 dividers are not set to 1, 10, 100, 1000 or
10000, then the counter does not show correct decade units (k, M,
…).
If Counter 3 or Counter 4 dividers are not set to 1, 2, 5, 10, 20, … then
the pulse counter value will be incorrect.
NOTE 2: The counter is halted when all quadrants are disabled (register
address 40023/40024)
NOTE 3: Example M231 Energy Counter settings
Counter Register
Import Energy 2/4 40023/40024 set bits 1, 2 (kWh with – sign)
(kWh)
1/3 40023/40024 set bits 9, 10 (kWh with – sign)
Export Energy 2/4 40023/40024 set bits 0, 3 (kWh with + sign)
(kWh)
1/3 40023/40024 set bits 8, 11 (kWh with + sign)
Import Energy 2/4 40023/40024 set bits 0, 1, 7 (kvarh with + sign)
(kvarh)
1/3 40023/40024 set bits 8, 9, 15 (kvarh with + sign)
Export Energy 2/4 40023/40024 set bits 2, 3, 7 (kvarh with – sign)
(kvarh)
1/3 40023/40024 set bits 10, 11, 15 (kvarh with – sign)
M231/EN M/B11 Service Manual
Appendix
Page 26/34 MiCOM M231
NOTE 4: All values except 0 are acceptable. The exponent (bits 14 and 15)
affect the Energy Counter decimal places.
NOTE 5: List of values for Voltage Tr. Secondary – register 40017:
10 … 137 step 1, 140 … 775 step 5.
Any other value between 10 and 775 is rounded to the nearest value
in the list.
NOTE 6: List of values for Current Tr. Ratio – register 40018:
1 … 63 step 1, 65 … 315 step 5, 320 … 630 step 10, 650 … 3150
step 50, 4000. Any other value between 1 and 4000 is rounded to the
nearest upper value in the list.
The CRC field is two bytes, containing a 16-bit binary value. The CRC value is calculated by
the transmitting device, which appends the CRC to the message. The receiving device
recalculates a CRC during receipt of the message, and compares the calculated value to the
actual value it received in the CRC field. If the two values are not equal, an error results.
The CRC is started by first pre-loading a 16-bit register to all 1's. Then a process begins of
applying successive eight-bit bytes of the message to the current contents of the register.
Only the eight bits of data in each character are used for generating the CRC. Start and stop
bits, and the parity bit, do not apply to the CRC.
During generation of the CRC, each eight-bit character is exclusive ORed with the register
contents. Then the result is shifted in the direction of the least significant bit (LSB), with a
zero filled into the most significant bit (MSB) position. The LSB is extracted and examined. If
the LSB was a 1, the register is then exclusive ORed with a pre-set, fixed value. If the LSB
was a 0, no exclusive OR takes place.
This process is repeated until eight shifts have been performed. After the last (eight) shift,
the next eight-bit byte is exclusive ORed with the register's current value, and the process
repeats for eight more shifts as described above. The final contents of the register, after all
the bytes of the message have been applied, is the CRC value.
Step 1 Load a 16-bit register with FFFF hex (all 1's). Call this the CRC register.
Step 2 Exclusive OR the first eight-bit byte of the message with the low order byte
of the 16-bit CRC register, putting the result in the CRC register.
Step 3 Shift the CRC register one bit to the right (toward the LSB), zero-filling the
MSB. Extract and examine the LSB.
Step 4 If the LSB is 0, repeat Step 3 (another shift). If the LSB is 1, Exclusive OR
the CRC register with the polynomial value A001 hex (1010 0000 0000
0001).
Step 5 Repeat Steps 3 and 4 until eight shifts have been performed. When this is
done, a complete eight-bit byte will have been processed.
Step 6 Repeat Steps 2...5 for the next eight-bit byte of the message. Continue doing
this until all bytes have been processed.
Result The final contents of the CRC register is the CRC value.
Step 7 When the CRC is placed into the message, its upper and lower bytes must
be swapped as described below.
Service Manual M231/EN M/B11
Appendix
MiCOM M231 Page 29/34
When the 16-bit CRC (two bytes) is transmitted in the message, the low order byte will be
transmitted first, followed by the high order byte.
When the CRC is appended to the message, the low order-byte is appended first, followed
by the high-order byte.
In ladder logic, the CKSM function calculates a CRC from the message contents. For
applications using host computers, a detailed example of CRC generation is given below.
Example:
An example of a C language function performing CRC generation is shown on the following
pages. All of the possible CRC values are preloaded into two arrays, which are simply
indexed as the function increments through the message buffer. One array contains all of the
256 possible CRC values for the high byte of the 16-bit field, and the other array contains all
of the values for the low byte.
Indexing the CRC in this way provides faster execution than would be achieved by
calculating a new CRC value with each new character from the message buffer.
NOTE: This function performs the swapping of the high/low CRC bytes
internally. The bytes are already swapped in the CRC value that is
returned from the function. Therefore, the CRC value returned from
the function can be directly placed into the message for transmission.
The function takes two arguments:
unsigned char *puchMsg; A pointer to the message buffer
containing binary data to be used for
generating the CRC
unsigned short usDataLen; The quantity of bytes in the message
buffer
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,
0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1,
0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1,
0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40,
0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1,
0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40,
0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,
0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40,
0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1,
0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0x0,
0x80, 0x41, 0x00, 0xC1, 0x81, 0x40
} ;
Service Manual M231/EN M/B11
Appendix
MiCOM M231 Page 31/34
0x00, 0xC0, 0xC1, 0x01, 0xC3, 0x03, 0x02, 0xC2, 0xC6, 0x06,
0x07, 0xC7, 0x05, 0xC5, 0xC4, 0x04, 0xCC, 0x0C, 0x0D, 0xCD,
0x0F, 0xCF, 0xCE, 0x0E, 0x0A, 0xCA, 0xCB, 0x0B, 0xC9, 0x09,
0x08, 0xC8, 0xD8, 0x18, 0x19, 0xD9, 0x1B, 0xDB, 0xDA, 0x1A,
0x1E, 0xDE, 0xDF, 0x1F, 0xDD, 0xID, 0x1C, 0xDC, 0x14, 0xD4,
0xD5, 0x15, 0xD7, 0x17, 0x16, 0xD6, 0xD2, 0x12, 0x13, 0xD3,
0x11, 0xD1, 0xD0, 0x10, 0xF0, 0x30, 0x31, 0xF1, 0x33, 0xF3,
0xF2, 0x32, 0x36, 0xF6, 0xF7, 0x37, 0xF5, 0x35, 0x34, 0xF4,
0x3C, 0xFC, 0xFD, 0x3D, 0xFF, 0x3F, 0x3E, 0xFE, 0xFA, 0x3A,
0x3B, 0xFB, 0x39, 0xF9, 0xF8, 0x38, 0x28, 0xE8, 0xE9, 0x29,
0xEB, 0x2B, 0x2A, 0xEA, 0xEE, 0x2E, 0x2F, 0xEF, 0x2D, 0xED,
0xEC, 0x2C, 0xE4, 0x24, 0x25, 0xE5, 0x27, 0xE7, 0xE6, 0x26,
0x22, 0xE2, 0xE3, 0x23, 0xE1, 0x21, 0x20, 0xE0, 0xA0, 0x60,
0x61, 0xA1, 0x63, 0xA3, 0xA2, 0x62, 0x66, 0xA6, 0xA7, 0x67,
0xA5, 0x65, 0x64, 0xA4, 0x6C, 0xAC, 0xAD, 0x6D, 0xAF, 0x6F,
0x6E, 0xAE, 0xAA, 0x6A, 0x6B, 0xAB, 0x69, 0xA9, 0xA8, 0x68,
0x78, 0xB8, 0xB9, 0x79, 0xBB, 0x7B, 0x7A, 0xBA, 0xBE, 0x7E,
0x7F, 0xBF, 0x7D, 0xBD, 0xBC, 0x7C, 0xB4, 0x74, 0x75, 0xB5,
0x77, 0xB7, 0xB6, 0x76, 0x72, 0xB2, 0xB3, 0x73, 0xB1, 0x71,
0x70, 0xB0, 0x50, 0x90, 0x91, 0x51, 0x93, 0x53, 0x52, 0x92,
0x96, 0x56, 0x57, 0x97, 0x55, 0x95, 0x94, 0x54, 0x9C, 0x5C,
0x5D, 0x9D, 0x5F, 0x9F, 0x9E, 0x5E, 0x5A, 0x9A, 0x9B, 0x5B,
0x99, 0x59, 0x58, 0x98, 0x88, 0x48, 0x49, 0x89, 0x4B, 0x8B,
0x8A, 0x4A, 0x4E, 0x8E, 0x8F, 0x4F, 0x8D, 0x4D, 0x4C, 0x8C,
0x44, 0x84, 0x85, 0x45, 0x87, 0x47, 0x46, 0x86, 0x82, 0x42,
0x43, 0x83, 0x41, 0x81, 0x80, 0x40
} ;
M231/EN M/B11 Service Manual
Appendix
Page 32/34 MiCOM M231
9. RELATED DOCUMENTS
REPAIR FORM
Please complete this form and return it to AREVA T&D with the equipment to be repaired.
This form may also be used in the case of application queries.
AREVA T&D
St. Leonards Works
Stafford
ST17 4LX
England
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
6. What did happen?
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
M231/EN M/B11 Service Manual
Appendix
Page 34/34 MiCOM M231
Signature Title