Registers
Minimal P1 Modbus Dongle firmware version for using with the Teltonika TeltoCharge = 1.2.1
update instruction : update
Default settings
The default settings are:
Modbus device id: 43
RS485 : 8E1 38k4 bps (8 bits, even, 1 stop, 38400 baud)
P1: 115200 8N1 = SMR v4 and v5 (EU) smart meters. Older smart meters (in the Netherlands v2/v3) use a additional power supply for the modbus dongle and FC06 register 6 should be true (1).
Registers
The Dongle supports FC03 and FC06 registers.
FC03 - P1 data
All registers are :
uint32 (4321) values
N/A = 0xFFFFFFFF
Registers 10, 12 and higher are implemented in firmware version 1.2.0+. Registers 38 - 48 are available from version 1.2.1.
register | desciption | unit/value |
---|---|---|
0 | energy meter sample timestamp | epoch UTC |
2 | energy_delivered_tariff1 | Wh |
4 | energy_delivered_tariff2 | Wh |
6 | energy_returned_tariff1 | Wh |
8 | energy_returned_tariff2 | Wh |
10 | energy_delivered_total ( used in eg SE) | W |
12 | energy_returned_total ( used in eg SE) | W |
14 | power_delivered | W |
16 | power_returned | W |
18 | U1 | mV |
20 | U2 | mV |
22 | U3 | mV |
24 | I1 | mA |
26 | I2 | mA |
28 | I3 | mA |
30 | Gas Timestamp | epoch UTC |
32 | Gas delivered | Liter ( = 1/1000 m3) |
34 | Water Timestamp | epoch UTC |
36 | Water delivered | Liter ( = 1/1000 m3) |
38 | power_delivered_l1 | Watt |
40 | power_delivered_l2 | Watt |
42 | power_delivered_l3 | Watt |
44 | power_returned_l1 | Watt |
46 | power_returned_l2 | Watt |
48 | power_returned_l3 | Watt |
FC03 - Device information
The registers below are available from firmware version 1.2.0.
100 | Device ID (see FC06 #0) | |
102 | serial config (see FC06 #2) | |
104 | baudrate (see FC06 #4) | |
106 | Pre4 meter ( see FC06 #6) | only usefull in the Netherlands |
108 | firmware version | MMmmpp MM = Major mm = minor pp = patch eg. 1.2.0 = 66048 (dec) = 010200 (hex) |
110 | Static Dongle name, so its clear that this is the P1 Modbus dongle | P1M<hw> hw = hardware. On this moment 3. ascii formatted. So it will be : P1M3 = 1345408307 (dec) = 50 31 4D 33 (hex) |
FC06
Implemented in version 1.1.0+.
register | description | value | default |
---|---|---|---|
0 | device id | 0 - 255 | 43 |
2 | serial config | see below | |
4 | baudrate | 0 - 4 = { 9600, 19200, 38400, 57600, 115200 } | 38400 |
6 | Pre4 meter | true / false ( 0 / 1 ) | 0 |
The serial config is a limited set and represented by a number. See below.
SERIAL_7N1 = 52
SERIAL_8N1 = 56
SERIAL_5N2 = 76
SERIAL_6N2 = 80
SERIAL_7N2 = 84
SERIAL_8N2 = 88
SERIAL_5E1 = 46
SERIAL_6E1 = 50
SERIAL_7E1 = 54
SERIAL_8E1 = 58
SERIAL_5E2 = 78
SERIAL_6E2 = 82
SERIAL_7E2 = 86
SERIAL_8E2 = 90
SERIAL_5O1 = 47
SERIAL_6O1 = 51
SERIAL_7O1 = 55
SERIAL_8O1 = 59
SERIAL_5O2 = 79
SERIAL_6O2 = 83
SERIAL_7O2 = 87
SERIAL_8O2 = 91
Last updated