Explainer
Machine Advisor upload rate: the publishing node has no interval
Short answer
The Machine Advisor publishing node for Node-RED has no time-period setting: it makes one HTTP submission for every message that reaches it, so two submissions a second come from the upstream read cadence. Pace the SE Modbus Read acquisition to one per minute, or store the latest value and publish it on a trigger, and the count falls from 120 submissions a minute to one.
On this page
- Why does the Machine Advisor node upload twice a second when it has no interval setting?
- How many submissions does twice a second add up to?
- Where do you measure the message rate before changing anything?
- Which pacing approach fits a once-a-minute cloud upload?
- How do you pace the SE Modbus Read node itself?
- How do you publish only the latest value when reads stay fast?
- How do you verify the new rate without hiding failed reads?
- Questions asked
The Machine Advisor nodes for Node-RED carry no upload time-period setting: the publishing node makes one HTTP submission for every message that reaches its input, and the cloud accepts whatever rate the flow delivers. The roughly two submissions a second reported with this setup come from the acquisition cadence upstream, so the fix is to pace the flow, not the node. Schedule the Modbus read itself at one read per minute for a dedicated cloud path, or keep reads fast and publish only the latest stored value on a periodic trigger. Either way the count falls from 120 submissions a minute to one, which is where the MAP consumption was going.
Why does the Machine Advisor node upload twice a second when it has no interval setting? #
The node publishes one HTTP submission for every message that reaches its input and exposes no interval of its own, so the upload rate you see is set entirely by the upstream flow — here the Modbus read cadence — not by the node or by the cloud. HTTP is only the transport: it carries the submission but defines no sampling schedule. Protocol stacks with a subscription layer handle this differently — with OPC UA, publishing timing depends on publish readiness — but an HTTP publish node has no such layer, so your flow is the only pacer it will ever have.
Trace the path backward from the publishing node: its input, the formatting and conversion nodes, the acquisition node, then the controller data. If each read result is forwarded straight through, the read cadence passes straight to the cloud. Extra triggers and parallel branches can add messages of their own, so slowing one interval may leave a second publishing path alive.
How many submissions does twice a second add up to? #
Two submissions a second is 120 submissions per minute and 7,200 in an hour, and pacing the flow to one per minute divides the request count by 120 — the size of the MAP saving this flow can deliver. Take the reported rate as the input, assume one message becomes one HTTP request, and the arithmetic is:
- Input, measured at the publishing node input: 2 messages per second.
- Per minute: 2 × 60 s = 120 submissions.
- Per hour: (2 × 60) × 60 = 7,200 submissions; in a full day: 7,200 × 24 = 172,800.
- After pacing: 1 × 60 = 60 submissions in an hour, and 60 × 24 = 1,440 in a day.
- Reduction: 7,200 ÷ 60 = 120, one request delivered for every 120 before.
MAP consumption follows the submissions, so it falls in step with the count. Requests are one lever on the consumption; which tags ride each payload is the other, and publishing select tags over MQTT shows the same trimming on the MQTT side.
Where do you measure the message rate before changing anything? #
Measure at two points over the same window — the output of the SE Modbus Read node and the input of the Machine Advisor publishing node — recording message counts and timestamps at each before you touch a single interval.
| Where | What you record | What it decides |
|---|---|---|
| SE Modbus Read output | Timestamp of every read result | Whether acquisition supplies the cadence you measured |
| Publishing node input | Message count and timestamps in the window | Whether the publishing path really receives what you counted |
| Every branch and trigger feeding that input | Which wires reach the publishing node | Whether a parallel path bypasses the interval |
| Payload entering the publishing node | How many measurements one message carries | Whether one request carries one value or several |
| Machine Advisor machine data | Received timestamp and value | Whether a submission arrives fresh and correctly mapped |
Add temporary observation at the read output and the publishing input — a debug node or a logged timestamp — and count both over the same window. When the publishing input receives more messages than the read output produces, find the splitting nodes, repeated triggers and parallel connections before touching any interval; when the two counts match, acquisition is the source and the interval change will hold on its own.
Keep value faults out of this measurement. A wrong register mapping, datatype or scaling produces an incorrect number at a perfectly correct rate, and a correct number still burns MAP at a broken rate, so fix register selection and decoding separately from cadence.
Which pacing approach fits a once-a-minute cloud upload? #
For a dedicated cloud path, schedule the acquisition itself at one read per minute; when the same reads also feed fast local functions, keep acquisition fast and publish only the latest stored value on a trigger at the same period.
| Approach | Where the setting lives | Effect | Choose it when |
|---|---|---|---|
| Scheduled acquisition | The interval or trigger feeding SE Modbus Read | Cuts controller reads and cloud requests together | The flow serves only the cloud |
| Latest-value publishing | A flow variable plus a periodic trigger before the publishing node | Keeps fast local data, paces only the cloud | Displays or calculations need frequent updates |
| Queued rate limiting | A queue ahead of the publishing node | Slows delivery but keeps every message | Every sample must arrive and the average rate fits |
A queue is the wrong default here. Arrivals exceed departures by 119 messages every minute, 7,140 in an hour, so the backlog only grows and what eventually uploads is old data rather than fewer samples. Slow the generation, not the delivery.
Alarms and events should not ride the paced path at all: give them their own change-triggered branch, as in publishing one MQTT event when a PLC bit rises, so a notification never waits for the cycle.
How do you pace the SE Modbus Read node itself? #
Open the node and set its acquisition interval to the target period, entering the value in the units the configuration shows, or, when the read is externally triggered, drive it from a trigger node repeating at that same period.
- Record what works first: controller connection, register mapping, decoding and the Machine Advisor destination, so the edit touches timing only.
- Open the SE Modbus Read configuration and find its acquisition interval or its trigger behavior; the installed node's help page documents the parameters. Read the field's units before typing a number, because a field in seconds and a field in milliseconds take different entries for the same period.
- When the node polls on its own interval, enter the period there. When it reads on an incoming message, replace the fast trigger with a trigger node repeating at the period and wire it to the read's trigger input.
- Remove or rewire every other periodic trigger on that path, so no second branch keeps the old cadence alive.
- Route each successful read result through the existing conversion and payload stages into the publishing node, with the mapping untouched.
- Deploy, then watch the read node's status before the cloud: a timer firing is not a successful controller read.
Use the configuration labels the installed node shows; a property name that works in a different Modbus package may not exist here.
How do you publish only the latest value when reads stay fast? #
Store every successful decoded sample in a flow variable as it arrives, and let a separate trigger at the target period build the cloud payload from that stored value, replacing the sample each cycle instead of queuing samples for later.
Carry the acquisition timestamp inside the payload, so a stale stored value is distinguishable from a fresh one the moment it lands in the cloud. When a report needs a total rather than the newest value, aggregate in the flow before publishing, as when summing one minute of trend pen data in Node-RED. Displays and calculations on the fast path keep working unchanged, because only the cloud branch was slowed.
How do you verify the new rate without hiding failed reads? #
Watch at least three scheduled cycles end to end: the trigger fires, the read node reports a successful completion, and a fresh timestamped payload reaches the cloud once each cycle.
A slow cloud display can mean the intended schedule, a failed read or a failed request, and only the records tell them apart: the trigger's firing time, the read node's status, and the cloud's received timestamp. Check cadence, freshness and consumption independently — the request count and the MAP usage should fall together on the account's usage view. If the flow runs in a container, confirm the clock first, because Node-RED in Docker uses the host clock, and a wrong clock makes every timestamp comparison meaningless.
The decision, case by case: a dedicated cloud flow takes its interval at the SE Modbus Read node and nothing else changes; a shared acquisition path keeps fast reads and publishes the stored latest value on the periodic trigger; a queue belongs in neither case, because the fault is message generation, not delivery.
Questions asked
Does one HTTP submission always consume one MAP?
No. One submission can carry several measurements in a single payload, and the service counts consumption by its own data-point rules, so a request is not a fixed MAP quantity. Batch all of a machine's tags into one payload each cycle: the request count stays at one while the carried data grows.
What happens to the first sample after a deploy or a restart?
Decide before you deploy. A periodic trigger either waits a full cycle for its first repeat or can be set to fire once at startup, and the two behave differently after a restart: one cycle with no data, or an immediate first sample. Choose the immediate first send for machines that operators watch right after a restart.
Does one sample each cycle lose data the plant needs?
The cloud keeps one sample per cycle, so anything faster exists only locally. Keep the full-resolution record in the plant historian or a local database and let the cloud carry the latest value or a per-cycle aggregate; local history stays complete while the cloud request count stays at one per cycle.
How long should the measurement window be?
Use five minutes. At the reported rate that window holds 600 messages; paced, it holds five, which is enough to compare the counts at the read output and the publishing input using timestamps rather than impressions. A fast-moving counter on screen will not give you a rate you can defend.


