Modbus map consisting of a list of register definitions and a set of options.
Normal response.
Unauthorized response.
{- "result": {
- "option": {
- "default-modbus-addr": "2",
- "default-serial-params": "9600/8n1"
}, - "reg": [
- {
- "name": "irradiance",
- "addr": 0,
- "type": "u32",
- "kind": "analog",
- "unit": "W",
- "offset": 0,
- "scale": 0.1,
- "access": "ro"
}, - {
- "name": "temp",
- "addr": 1,
- "type": "s32",
- "kind": "analog",
- "unit": "degC",
- "offset": 0,
- "scale": 0.01,
- "access": "ro"
}
]
}, - "error": "Error message (present if an error occurred)."
}
object (configModbusClientMapNameOption) A set of options. The meter currently supports the following options:
| |
Array of objects (configModbusClientMapNameReg) A list of Modbus register definitions. |
Normal response.
Unauthorized response.
{- "option": {
- "default-modbus-addr": "2",
- "default-serial-params": "9600/8n1"
}, - "reg": [
- {
- "name": "irradiance",
- "addr": 0,
- "type": "u32",
- "kind": "analog",
- "unit": "W",
- "offset": 0,
- "scale": 0.1,
- "access": "ro"
}, - {
- "name": "temp",
- "addr": 1,
- "type": "s32",
- "kind": "analog",
- "unit": "degC",
- "offset": 0,
- "scale": 0.01,
- "access": "ro"
}
]
}
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
object (configModbusClientMapNameOption) A set of options. The meter currently supports the following options:
| |
Array of objects (configModbusClientMapNameReg) A list of Modbus register definitions. |
Normal response.
Unauthorized response.
{- "option": {
- "default-modbus-addr": "2",
- "default-serial-params": "9600/8n1"
}, - "reg": [
- {
- "name": "irradiance",
- "addr": 0,
- "type": "u32",
- "kind": "analog",
- "unit": "W",
- "offset": 0,
- "scale": 0.1,
- "access": "ro"
}, - {
- "name": "temp",
- "addr": 1,
- "type": "s32",
- "kind": "analog",
- "unit": "degC",
- "offset": 0,
- "scale": 0.01,
- "access": "ro"
}
]
}
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Delete this map.
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}