10.07.2015, 19:53
Of course. But I still get no communication.
Ii example i want to read the following register from the manuafactors table:
Register
Address
Action
(R/W/WC) Size Type Units Description
Current
3000 R 2 Float32 A I1: phase 1 current
3002 R 2 Float32 A I2: phase 2 current
3004 R 2 Float32 A I3: phase 3 current
3010 R 2 Float32 A Current Avg
Voltage
3020 R 2 Float32 V Voltage L1–L2
3022 R 2 Float32 V Voltage L2–L3
3024 R 2 Float32 V Voltage L3–L1
3026 R 2 Float32 V Voltage L–L Avg
3028 R 2 Float32 V Voltage L1–N
3030 R 2 Float32 V Voltage L2–N
3032 R 2 Float32 V Voltage L3–N
3036 R 2 Float32 V Voltage L–N Avg
I then made the json file:
{
"manufacturer": "Passiv Pluss",
"description": "Strømmåling",
"mapping": [
{ "name": "Gjennomsnitt A", "bus_datatype": "float32", "type": "inputregister", "address": 3010 }
]
}
I also tried register instead of inputregister. I want to use the modbus function 3 for reading and 16 for writing to registers as noted under.
Modbus parameters from IEM3155
Function list
The table below lists the supported Modbus functions:
For example:
• To read different parameters from the meter, use function 3 (Read).
• To change the tariff, use function 16 (Write) to send a command to the meter.
Table format
Decimal Hexadecimal
3 0x03 Read Holding Registers
16 0x10 Write Multiple Registers
43/14 0x2B/0x0E Read Device Identification
Type Description Range
UInt16 16 bit unsigned integer 0 – 65535
Int16 16 bit signed integer -32768 to +32767
UInt32 32 bit unsigned integer 0 – 4 294 967 295
Int64 64 bit unsigned integer 0 – 18 446 744 073 709 551 615
UTF8 8 bit field multibyte character encoding for Unicode
Float32 32 bit value Standard representation IEEE for floating number (with single
precision)
iEM 3155 instructions for downloading
Ii example i want to read the following register from the manuafactors table:
Register
Address
Action
(R/W/WC) Size Type Units Description
Current
3000 R 2 Float32 A I1: phase 1 current
3002 R 2 Float32 A I2: phase 2 current
3004 R 2 Float32 A I3: phase 3 current
3010 R 2 Float32 A Current Avg
Voltage
3020 R 2 Float32 V Voltage L1–L2
3022 R 2 Float32 V Voltage L2–L3
3024 R 2 Float32 V Voltage L3–L1
3026 R 2 Float32 V Voltage L–L Avg
3028 R 2 Float32 V Voltage L1–N
3030 R 2 Float32 V Voltage L2–N
3032 R 2 Float32 V Voltage L3–N
3036 R 2 Float32 V Voltage L–N Avg
I then made the json file:
{
"manufacturer": "Passiv Pluss",
"description": "Strømmåling",
"mapping": [
{ "name": "Gjennomsnitt A", "bus_datatype": "float32", "type": "inputregister", "address": 3010 }
]
}
I also tried register instead of inputregister. I want to use the modbus function 3 for reading and 16 for writing to registers as noted under.
Modbus parameters from IEM3155
Function list
The table below lists the supported Modbus functions:
For example:
• To read different parameters from the meter, use function 3 (Read).
• To change the tariff, use function 16 (Write) to send a command to the meter.
Table format
Decimal Hexadecimal
3 0x03 Read Holding Registers
16 0x10 Write Multiple Registers
43/14 0x2B/0x0E Read Device Identification
Type Description Range
UInt16 16 bit unsigned integer 0 – 65535
Int16 16 bit signed integer -32768 to +32767
UInt32 32 bit unsigned integer 0 – 4 294 967 295
Int64 64 bit unsigned integer 0 – 18 446 744 073 709 551 615
UTF8 8 bit field multibyte character encoding for Unicode
Float32 32 bit value Standard representation IEEE for floating number (with single
precision)
iEM 3155 instructions for downloading