Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.
Two logs form the backbone of day-to-day SUN2000 monitoring: his_inv_rd, which records detailed electrical measurements at 5-minute intervals, and perfmg_data, which accumulates energy yield over time. Together they give you the data you need to catch underperforming strings, identify connector problems, and compare actual generation against forecast.
his_inv_rd — History Inverter Read
his_inv_rd is the inverter’s main operational journal. The ARM processor aggregates DSP samples into 5-minute averages and commits each record to Flash as a binary EMAP entry.Contents:
DC voltage and current per MPPT string
Heatsink temperature
Insulation resistance (Rin) between PV panels and ground
O&M use cases:
Finding lazy strings — if one string’s voltage is consistently lower than adjacent strings under identical irradiance, investigate shading, soiling, or a faulty MC4 connector.
MC4 connector degradation — a string voltage that swings 10–20 V more than its neighbors under the same sunlight is a strong indicator of a burning contact in an MC4 connector or a panel junction box. This is a direct fire risk.
Insulation resistance monitoring — a Rin reading below 100 kΩ is a warning that cable or panel insulation is compromised. This fault is recorded as error code 313 on older 8–42 KTL series and as 2062 on newer series.
During every planned site visit, pull his_inv_rd and filter for Rin values below 100 kΩ. Faults often appear during rain when moisture bridges damaged insulation, so reviewing logs from wet-weather days is especially informative.
Reading his_inv_rd via Modbus FC 0x41
The standard Modbus read functions (FC 03, FC 04) cap payloads at 252 bytes and cannot transfer a multi-hundred-kilobyte EMAP file efficiently. Huawei’s proprietary FC 0x41 (User Defined Function) handles this by opening a file transfer session with three sub-functions:
# Step 1 — Initiate session (Sub-function 0x05)Master → Inverter: "Request file type 0x04 (Logs)"Inverter → Master: "Total size: 512,000 bytes. Chunk size: 240 bytes."# Step 2 — Transfer chunks (Sub-function 0x06)Master → Inverter: "Send chunk #1"Inverter → Master: [240 bytes of binary EMAP data + CRC]Master → Inverter: "Send chunk #2"... (repeat until final chunk)# Step 3 — Close session (Sub-function 0x07)Master → Inverter: "Transfer complete, session closed."
Each 240-byte chunk fits within a 256-byte Modbus packet, which ensures reliable transfer even on older RS485 lines used by V2 inverters. Every packet carries a CRC checksum and a frame sequence number so the master can detect and re-request any dropped packet.
When reading large logs over RS485 on V2 inverters (9600 or 19200 baud), set your response timeout to 5–10 seconds. The ARM processor needs time to lift data from Flash into its send buffer before it can respond.
perfmg_data — Performance Data
perfmg_data is the inverter’s energy accounting log. Where his_inv_rd records instantaneous electrical state, perfmg_data accumulates energy in kWh over three time horizons.Contents:
Cumulative energy yield in kWh, broken down by hour, day, and month
O&M use cases:
Forecast comparison — export monthly totals and compare them against your PVsyst simulation. A deviation greater than 10% is a trigger to inspect the site: clean the panels, check for new shading sources, or re-run IV curve scans.
Revenue verification — monthly figures from perfmg_data can be cross-checked against smart meter readings and FusionSolar cloud data to confirm that no generation is being lost undetected.
A deviation of more than 10% between perfmg_data totals and your PVsyst forecast is a reliable indicator that panels need cleaning. Soiling losses of this magnitude are common in dry or agricultural environments after several months without rain.
Reading perfmg_data via Modbus FC 0x41
The same FC 0x41 session protocol used for his_inv_rd applies to perfmg_data. The file is referenced by its type ID in the Start Upload sub-function (0x05). Before initiating any file transfer, your script should first read the AD.bin meta-file to discover the current file list, IDs, and sizes available in the inverter’s Flash:
# Discover available log files (AD.bin)Master → Inverter: FC 0x41, Sub-function 0x05, file type = AD.binInverter → Master: [Directory listing with file names, IDs, sizes]# Then request perfmg_data by its file IDMaster → Inverter: FC 0x41, Sub-function 0x05, file ID = <perfmg_data ID>Inverter → Master: "Size: N bytes. Chunk size: 240 bytes."... (transfer proceeds as above)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"HuaBook","description":"The complete technical reference for Huawei SUN2000 solar inverters — logs, Modbus registers, and O\u0026M strategies.","colors":{"primary":"#7b7b7b","light":"#484848","dark":"#7b7b7b"},"favicon":"https://media.brand.dev/9eb2dbd2-f249-436b-8d68-44a1bcedf03a.png","background":{"decoration":"grid"},"navbar":{"links":[],"primary":{"type":"github","href":"https://github.com/andysu/HuaBook"}},"footer":{"socials":{}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","assistant"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fop-50527c4b","hasAudioNarration":false,"actualSubdomain":"fop-50527c4b","customDomains":[],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-fop-50527c4b-6da0c44d","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae956d72422c68a7df51b78:success","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"Log Diagnostics","count":5},{"language":"default","tag":"Modbus Reference","count":4},{"language":"default","tag":"O\u0026M Guide","count":4},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Introduction","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--default-border-color: var(--gray-200)}.dark{--default-border-color: var(--gray-800)}#sidebar .nav-dropdown-trigger{border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding-left:0.375rem}#sidebar .nav-dropdown-trigger:hover{background-color:rgb(0 0 0 / 0.04)!important}.dark #sidebar .nav-dropdown-trigger:hover{background-color:rgb(255 255 255 / 0.06)!important}#sidebar .nav-dropdown-trigger .nav-dropdown-item-icon{border:none!important;border-radius:0!important;background:transparent!important;height:auto!important;width:auto!important;padding:0!important}.nav-dropdown-content{border-radius:0!important}.nav-dropdown-content .nav-dropdown-item{border-radius:0!important}.nav-dropdown-content .nav-dropdown-item-icon{border:none!important;border-radius:0!important;background:transparent!important;height:auto!important;width:auto!important;padding:0!important}.nav-dropdown-content .nav-dropdown-item-description{display:none!important}#sidebar .nav-anchor span{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size:12px;font-weight:500;letter-spacing:-0.02em;text-transform:uppercase}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"]{color:rgb(var(--primary))!important;font-weight:600!important}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"] span{color:inherit!important}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"] svg{background-color:rgb(var(--primary))!important}.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"]{color:rgb(var(--primary-light)/var(--tw-text-opacity,1))!important}.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href=\"/\"] svg{background-color:rgb(var(--primary-light)/var(--tw-text-opacity,1))!important}:is(#content-area[data-current-path=\"/\"],[data-current-path=\"/\"] #content-area):has([data-product-guide-index]){background:transparent!important;padding:0!important}:is(#content-area[data-current-path=\"/\"],[data-current-path=\"/\"] #content-area):has([data-product-guide-index])>div:first-child{background:transparent!important;padding-right:0!important;padding-bottom:0!important;padding-left:0!important}[data-product-guide-index] a:not(.product-guide-feature-card){background-color:#fafafa!important}.dark [data-product-guide-index] a:not(.product-guide-feature-card){background-color:#09090b!important}.product-guide-feature-card{grid-column:1 / -1;display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:260px;background:url('/images/sample-feature-light.png') center / cover no-repeat!important;border-radius:0!important;box-shadow:none!important;color:white!important;.dark \u0026 {\n background-image: url('/images/sample-feature-dark.png') !important;\n }}.product-guide-feature-card>div{display:flex!important;flex:1;flex-direction:column!important;justify-content:space-between!important}.product-guide-feature-card :is(h2,h3,p,span,svg){color:white!important}.product-guide-feature-card :is(svg,[class*=\"icon\"]){background-color:white!important;width:2em!important;height:2em!important;margin-top:2px}.product-guide-feature-card-title{font-size:1.2em;font-weight:500}.product-guide-feature-card :is(h2,h3,p,span,svg).product-guide-feature-card-description{font-size:1.05em;font-weight:400;color:rgb(var(--gray-50) / 62.5%)!important;.dark \u0026 {\n color: rgb(var(--gray-50) / 50%) !important;\n }}"}],"page":{"pagePath":"logs/daily-monitoring","slug":"/logs/daily-monitoring","pageMetadata":{"title":"Daily Monitoring Logs: his_inv_rd and perfmg_data","sidebarTitle":"Daily Monitoring","description":"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.","href":"/logs/daily-monitoring"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Two logs form the backbone of day-to-day SUN2000 monitoring: `,_jsx(_components.code,{children:`his_inv_rd`}),`, which records detailed electrical measurements at 5-minute intervals, and `,_jsx(_components.code,{children:`perfmg_data`}),`, which accumulates energy yield over time. Together they give you the data you need to catch underperforming strings, identify connector problems, and compare actual generation against forecast.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`his_inv_rd-—-history-inverter-read`,children:[_jsx(_components.code,{children:`his_inv_rd`}),` — History Inverter Read`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`his_inv_rd`}),` is the inverter’s main operational journal. The ARM processor aggregates DSP samples into 5-minute averages and commits each record to Flash as a binary EMAP entry.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Contents:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`DC voltage and current per MPPT string`}),`\n`,_jsx(_components.li,{children:`Heatsink temperature`}),`\n`,_jsx(_components.li,{children:`Insulation resistance (Rin) between PV panels and ground`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`O\u0026M use cases:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Finding lazy strings`}),` — if one string’s voltage is consistently lower than adjacent strings under identical irradiance, investigate shading, soiling, or a faulty MC4 connector.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`MC4 connector degradation`}),` — a string voltage that swings 10–20 V more than its neighbors under the same sunlight is a strong indicator of a burning contact in an MC4 connector or a panel junction box. This is a direct fire risk.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Insulation resistance monitoring`}),` — a Rin reading below 100 kΩ is a warning that cable or panel insulation is compromised. This fault is recorded as error code `,_jsx(_components.strong,{children:`313`}),` on older 8–42 KTL series and as `,_jsx(_components.strong,{children:`2062`}),` on newer series.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`During every planned site visit, pull `,_jsx(_components.code,{children:`his_inv_rd`}),` and filter for Rin values below 100 kΩ. Faults often appear during rain when moisture bridges damaged insulation, so reviewing logs from wet-weather days is especially informative.`]})}),`\n`,_jsxs(Heading,{level:`3`,id:`reading-his_inv_rd-via-modbus-fc-0x41`,children:[`Reading `,_jsx(_components.code,{children:`his_inv_rd`}),` via Modbus FC 0x41`]}),`\n`,_jsxs(_components.p,{children:[`The standard Modbus read functions (FC 03, FC 04) cap payloads at 252 bytes and cannot transfer a multi-hundred-kilobyte EMAP file efficiently. Huawei’s proprietary `,_jsx(_components.strong,{children:`FC 0x41`}),` (User Defined Function) handles this by opening a file transfer session with three sub-functions:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Step 1 — Initiate session (Sub-function 0x05)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Master → Inverter: \"Request file type 0x04 (Logs)\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Inverter → Master: \"Total size: 512,000 bytes. Chunk size: 240 bytes.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Step 2 — Transfer chunks (Sub-function 0x06)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Master → Inverter: \"Send chunk #1\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Inverter → Master: [240 bytes of binary EMAP data + CRC]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Master → Inverter: \"Send chunk #2\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`... (repeat until final chunk)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Step 3 — Close session (Sub-function 0x07)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Master → Inverter: \"Transfer complete, session closed.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Each 240-byte chunk fits within a 256-byte Modbus packet, which ensures reliable transfer even on older RS485 lines used by V2 inverters. Every packet carries a CRC checksum and a frame sequence number so the master can detect and re-request any dropped packet.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`When reading large logs over RS485 on V2 inverters (9600 or 19200 baud), set your response timeout to 5–10 seconds. The ARM processor needs time to lift data from Flash into its send buffer before it can respond.`})}),`\n`,_jsxs(Heading,{level:`2`,id:`perfmg_data-—-performance-data`,children:[_jsx(_components.code,{children:`perfmg_data`}),` — Performance Data`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`perfmg_data`}),` is the inverter’s energy accounting log. Where `,_jsx(_components.code,{children:`his_inv_rd`}),` records instantaneous electrical state, `,_jsx(_components.code,{children:`perfmg_data`}),` accumulates energy in kWh over three time horizons.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Contents:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Cumulative energy yield in kWh, broken down by hour, day, and month`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`O\u0026M use cases:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Forecast comparison`}),` — export monthly totals and compare them against your PVsyst simulation. A deviation greater than 10% is a trigger to inspect the site: clean the panels, check for new shading sources, or re-run IV curve scans.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Revenue verification`}),` — monthly figures from `,_jsx(_components.code,{children:`perfmg_data`}),` can be cross-checked against smart meter readings and FusionSolar cloud data to confirm that no generation is being lost undetected.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`A deviation of more than 10% between `,_jsx(_components.code,{children:`perfmg_data`}),` totals and your PVsyst forecast is a reliable indicator that panels need cleaning. Soiling losses of this magnitude are common in dry or agricultural environments after several months without rain.`]})}),`\n`,_jsxs(Heading,{level:`3`,id:`reading-perfmg_data-via-modbus-fc-0x41`,children:[`Reading `,_jsx(_components.code,{children:`perfmg_data`}),` via Modbus FC 0x41`]}),`\n`,_jsxs(_components.p,{children:[`The same FC 0x41 session protocol used for `,_jsx(_components.code,{children:`his_inv_rd`}),` applies to `,_jsx(_components.code,{children:`perfmg_data`}),`. The file is referenced by its type ID in the Start Upload sub-function (0x05). Before initiating any file transfer, your script should first read the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`AD.bin`})}),` meta-file to discover the current file list, IDs, and sizes available in the inverter’s Flash:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Discover available log files (AD.bin)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Master → Inverter: FC 0x41, Sub-function 0x05, file type = AD.bin`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Inverter → Master: [Directory listing with file names, IDs, sizes]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Then request perfmg_data by its file ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Master → Inverter: FC 0x41, Sub-function 0x05, file ID = \u003cperfmg_data ID>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Inverter → Master: \"Size: N bytes. Chunk size: 240 bytes.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`... (transfer proceeds as above)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Daily Monitoring Logs: his_inv_rd and perfmg_data","sidebarTitle":"Daily Monitoring","description":"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.","href":"/logs/daily-monitoring"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"his_inv_rd — History Inverter Read","slug":"his_inv_rd-—-history-inverter-read","depth":2,"children":[{"title":"Reading his_inv_rd via Modbus FC 0x41","slug":"reading-his_inv_rd-via-modbus-fc-0x41","depth":3,"children":[]}]},{"title":"perfmg_data — Performance Data","slug":"perfmg_data-—-performance-data","depth":2,"children":[{"title":"Reading perfmg_data via Modbus FC 0x41","slug":"reading-perfmg_data-via-modbus-fc-0x41","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"fop-50527c4b","siteName":"HuaBook","title":"Daily Monitoring Logs: his_inv_rd and perfmg_data - HuaBook","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-04T08:05:15.475Z","originalFileLocation":"logs/daily-monitoring.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.\">\u003cmeta data-mint-head name=\"application-name\" content=\"HuaBook\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://media.brand.dev/9eb2dbd2-f249-436b-8d68-44a1bcedf03a.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://media.brand.dev/9eb2dbd2-f249-436b-8d68-44a1bcedf03a.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://media.brand.dev/9eb2dbd2-f249-436b-8d68-44a1bcedf03a.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://media.brand.dev/9eb2dbd2-f249-436b-8d68-44a1bcedf03a.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Daily Monitoring Logs: his_inv_rd and perfmg_data - HuaBook\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HuaBook\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fop-50527c4b.mintlify.site/_mintlify/api/og/v2?division=Log+Diagnostics\u0026amp;title=Daily+Monitoring+Logs%3A+his_inv_rd+and+perfmg_data\u0026amp;description=Use+his_inv_rd+and+perfmg_data+to+track+string+performance%2C+heatsink+temperature%2C+insulation+resistance%2C+and+cumulative+energy+yield+daily.\u0026amp;theme=5c552ad5265e4a10484999bf\u0026amp;signature=4f9cfd41765162630e00fc344232a906598d6ea2be9c310d1f59a06f48afe138\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Daily Monitoring Logs: his_inv_rd and perfmg_data - HuaBook\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fop-50527c4b.mintlify.site/_mintlify/api/og/v2?division=Log+Diagnostics\u0026amp;title=Daily+Monitoring+Logs%3A+his_inv_rd+and+perfmg_data\u0026amp;description=Use+his_inv_rd+and+perfmg_data+to+track+string+performance%2C+heatsink+temperature%2C+insulation+resistance%2C+and+cumulative+energy+yield+daily.\u0026amp;theme=5c552ad5265e4a10484999bf\u0026amp;signature=4f9cfd41765162630e00fc344232a906598d6ea2be9c310d1f59a06f48afe138\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/fop-50527c4b/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HuaBook\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7b7b7b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/logs/daily-monitoring.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://fop-50527c4b.mintlify.app/#organization\",\"name\":\"HuaBook\",\"url\":\"https://fop-50527c4b.mintlify.app\"},{\"@type\":\"WebSite\",\"@id\":\"https://fop-50527c4b.mintlify.app#website\",\"name\":\"HuaBook\",\"url\":\"https://fop-50527c4b.mintlify.app\",\"publisher\":{\"@id\":\"https://fop-50527c4b.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring#webpage\",\"url\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring\",\"name\":\"Daily Monitoring Logs: his_inv_rd and perfmg_data\",\"description\":\"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.\",\"dateModified\":\"2026-05-04T08:05:15.475Z\",\"isPartOf\":{\"@id\":\"https://fop-50527c4b.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Log Diagnostics\",\"item\":\"https://fop-50527c4b.mintlify.app/logs/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Daily Monitoring Logs: his_inv_rd and perfmg_data\",\"item\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring#article\",\"headline\":\"Daily Monitoring Logs: his_inv_rd and perfmg_data\",\"name\":\"Daily Monitoring Logs: his_inv_rd and perfmg_data\",\"description\":\"Use his_inv_rd and perfmg_data to track string performance, heatsink temperature, insulation resistance, and cumulative energy yield daily.\",\"url\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring\",\"mainEntityOfPage\":{\"@id\":\"https://fop-50527c4b.mintlify.app/logs/daily-monitoring#webpage\"},\"dateModified\":\"2026-05-04T08:05:15.475Z\",\"publisher\":{\"@id\":\"https://fop-50527c4b.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://fop-50527c4b.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"HuaBook\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"HuaBook\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/logs/daily-monitoring.md","siteName":"HuaBook","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"}]},"groups":[{"group":"Introduction","pages":[{"title":"HuaBook: SUN2000 Log \u0026 Diagnostics Reference","sidebarTitle":"Introduction","href":"/introduction"},{"title":"SUN2000 V2 vs V3: Generations Compared","sidebarTitle":"Inverter Generations","href":"/inverter-generations"}]},{"group":"Log Diagnostics","pages":[{"title":"Understanding Huawei SUN2000 Log Files","sidebarTitle":"Overview","description":"Learn how Huawei SUN2000 inverters record, store, and manage binary EMAP log files, and when to export them before data is overwritten.","href":"/logs/overview"},{"title":"Daily Monitoring Logs: his_inv_rd and perfmg_data","sidebarTitle":"Daily Monitoring","href":"/logs/daily-monitoring"},{"title":"Fault Investigation Logs: Alarms and Waveforms","sidebarTitle":"Fault Investigation","description":"Use alarmg_history, dsp_wave_data, and dsp_freq_data to investigate faults, distinguish failure causes, and support warranty claims or legal disputes.","href":"/logs/fault-investigation"},{"title":"Hardware Health Logs: Panels, Fans, and Capacitors","sidebarTitle":"Hardware Health","href":"/logs/hardware-health"},{"title":"Communication and Audit Logs","sidebarTitle":"Communication \u0026 Audit","href":"/logs/communication-audit"}]},{"group":"Modbus Reference","pages":[{"title":"Modbus Protocol for Huawei SUN2000 Inverters","sidebarTitle":"Overview","href":"/modbus/overview"},{"title":"SUN2000 Modbus Register Map: V2 and V3","sidebarTitle":"Register Map","href":"/modbus/register-map"},{"title":"LUNA2000 Battery (ESS) Registers for V3 Inverters","sidebarTitle":"ESS Registers","href":"/modbus/ess-registers"},{"title":"Connecting to Huawei SUN2000 via Modbus","sidebarTitle":"Connection Methods","href":"/modbus/connection-methods"}]},{"group":"O\u0026M Guide","pages":[{"title":"Preventive Maintenance for Huawei SUN2000","sidebarTitle":"Preventive Maintenance","href":"/om/preventive-maintenance"},{"title":"Analyzing Solar Plant Efficiency with Inverter Logs","sidebarTitle":"Efficiency Analysis","href":"/om/efficiency-analysis"},{"title":"Using Inverter Logs for Legal and Insurance Claims","sidebarTitle":"Legal Protection","href":"/om/legal-protection"},{"title":"O\u0026M Site Visit Checklist for SUN2000 Inverters","sidebarTitle":"Visit Checklist","href":"/om/visit-checklist"}]},{"group":"Reference","pages":[{"title":"Huawei SUN2000 Error Code Reference","sidebarTitle":"Error Codes","href":"/reference/error-codes"},{"title":"Glossary: Huawei SUN2000 Terms and Acronyms","sidebarTitle":"Glossary","href":"/reference/glossary"},{"title":"AI and Predictive Diagnostics for Solar Plants","sidebarTitle":"AI \u0026 Predictive","href":"/reference/future-diagnostics"}]}]},"basePath":"","title":"Daily Monitoring Logs: his_inv_rd and perfmg_data - HuaBook","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":[],"chunks":[]}