Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0402 Datasheet(PDF) 10 Page - STMicroelectronics

Part # UM0402
Description  Single-phase multi-tariff energy meter
PDF  35 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0402 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button UM0402 Datasheet HTML 6Page - STMicroelectronics UM0402 Datasheet HTML 7Page - STMicroelectronics UM0402 Datasheet HTML 8Page - STMicroelectronics UM0402 Datasheet HTML 9Page - STMicroelectronics UM0402 Datasheet HTML 10Page - STMicroelectronics UM0402 Datasheet HTML 11Page - STMicroelectronics UM0402 Datasheet HTML 12Page - STMicroelectronics UM0402 Datasheet HTML 13Page - STMicroelectronics UM0402 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 35 page
background image
Firmware features
UM0402
10/35
4
Firmware features
4.1
Multi Tariff management and configuration
It is possible to define up to four tariffs to apply to the energy count.
The number of tariffs must be defined in EEPROM_Union structure in the EEPROM.c file.
Tariff-change time should also be given in the EEPROM_Union structure in 24-hour
HH:MM:SS format.
Tariff times in the EEPROM.c file should be defined in increasing order starting from the first
definition.
For example, if the number of tariffs defined in EEPROM_Union structure is 3, we should
give three tariff times in increasing order starting from first as shown below:
{
{0x05, 0x00, 0x00},// Change of tariff from A3 to A1 at 5:00 AM
{0x10, 0x30, 0x00},// Change of tariff from A1 to A2 at 10:30 AM
{0x21, 0x00, 0x00},// Change of tariff from A2 to A3 at 9:00 PM
{0x00, 0x00, 0x00},// Not defined
}
Tariff rates are defined in EEPROM_Union structure in EEPROM.c file in the same order as
tariff times.
For example, if the number of tariffs defined in EEPROM_Union structure is 3 (as in the
above case), the tariff rate should be defined as below:
{
{
3.000,
// Tariff rate defined for A1
{0, 0}
// kWh_Energy and Pulse count initialized to 0
},
{
2.001,
// Tariff rate defined for A2
{0, 0}
// kWh_Energy and Pulse count initialized to 0
},
{
2.852, // Tariff rate defined for A3
{0, 0}
// kWh_Energy and Pulse count initialized to 0
},
{
0.0,
// Not Defined
{0, 0}
},
},
To set and change the tariff, a function Set_TARIFF() is called every second.
Energy consumption is calculated as total and for each tariff.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com