Troubleshooting
Why the CIP EtherNet/IP node outputs only on tag change
Short answer
node-red-contrib-cip-ethernet-ip keeps polling on its cycle time but emits a message only when at least one polled value changes, so a steady tag looks frozen. To get a value every 15 minutes, put the controller clock in the same read and set the read cycle to that interval: the clock changes at every read, so every read emits one message. Prove it by holding a tag constant and counting the messages.

On this page
The node is almost certainly still reading the PLC; it simply does not repeat itself. node-red-contrib-cip-ethernet-ip polls on the cycle time you configure, and the pattern you are seeing — messages only when a value moves, and a forced update as soon as you read the controller time — says the polls continue and duplicate messages are dropped at the output. The package documentation describes that cycle time, not a separate 'read continuously' switch. The fix is to make something change on purpose: put the controller clock in the same read as your data, and every cycle emits one message. Set the cycle to 15 minutes and you get one message every 15 minutes, changed or not. Here is how to confirm which behavior you have, the configuration, and a worked check that proves the refresh.
Polling and output are two separate things #
The package's source repository documents three configuration points: the PLC's address, the variables with their addresses, and the cycle time for reading the variables. Nothing in that description stops the reads when values hold still. The symptom you describe — steady values produce no messages, while adding the controller time to the read forces an update — is the signature of duplicate suppression at the output stage: the reads keep running, and a message whose values all match the previous read is not sent.
Two consequences follow. A dashboard that never updates is not evidence that the poll stopped, and a silent node is not an offline node. The package also exists in several published forks and derivative EtherNet/IP nodes whose option sets differ, so take the exact setting names from the documentation page of the package you actually installed; the cycle time is the setting that governs how often the read runs.
Rule out a dead connection first #
Silence has two causes, and they need opposite fixes. Work through this list:
- Toggle a value that is safe to toggle. Pick a spare bit or a test tag you have confirmed nothing uses, never a command to running equipment. If a message arrives within one cycle, the poll is alive and you have change-only output: go straight to the fix below.
- Add the controller clock to the variable list. If output begins arriving at the cycle rate, the poll was running the whole time and only the output rule was holding messages back.
- No message even after a real change means the read itself is failing: a wrong variable path, a controller that does not serve these CIP objects, or a session that never established. That failure is covered in why node-red-contrib-cip-ethernet-ip fails with a Mitsubishi FX5U.
- Do not judge by the screen. A moving value on a dashboard can come from another flow writing to it, and a still one can be suppression. Confirm the request and the resulting message as two separate facts.
The fix: carry a changing value in every read #
- Add the controller's time-of-day tag to the same variable list as your data tags. Your own test already proved this works: reading the controller time forces an update because that value differs between every two reads, so the change test passes every cycle.
- Set the cycle time for reading the variables to the interval you want the data at.
- Let each cycle produce its one message, and delete the clock property after the node if the historian or broker should not store it.
- If the values then go out as Sparkplug B, the broker side reports the same way, as covered in why Sparkplug B sends DBIRTH once and DDATA only on change.
If the fork you installed reads when a message arrives at its input, you can drive it from outside instead: an Inject node can be configured to repeat at a fixed interval, and one press of its button tells you in a single test whether your version supports input-triggered reads.
Worked example: proving a 15-minute refresh over a 45-minute hold #
Inputs.
- Required refresh interval: 15 minutes, the interval you asked for.
- Test window: 45 minutes with every watched data value held constant. That is three full cycles, long enough that suppression would show if it were still active.
- The controller clock stays in the variable list for the whole test.
Rule. A message is emitted at each read in which at least one value differs from the previous read. With the clock in the list that is every read, so the messages expected equal the window divided by the cycle time.
Arithmetic.
- Cycle in seconds: 15 min × 60 s/min = 900 s.
- Expected messages: 45 min ÷ 15 min per message = 3 messages.
- Expected spacing: about 900 s between messages.
- At the same rate, a full day carries 24 × 4 = 96 messages.
Result. With the data tag constant, 3 messages arrive in the 45-minute window; each carries the same data value and a new clock value.
Decision. Exactly 3 messages, spaced about 900 s apart: the refresh is working, so commit the configuration. Zero messages with the tag held constant: the clock is not in the read or the cycle is not running, and no trend built on this node can be trusted until that is fixed. More than 3 messages: the cycle is shorter than intended, or the installed fork emits a separate message per tag.
Strings and reading in one chunk #
The same package has a second reported gap: controller strings do not come back as strings. If you can read the underlying bytes, send them to node-red-contrib-buffer-parser and reassemble the text there. Do not assume a layout: take the byte count, byte order, any length handling and the character encoding from the actual controller data structure, then validate the decoded result against a string you wrote to the controller yourself.
Reading several related tags in one chunk is worth doing for two reasons. It limits the number of polls the node issues per cycle, and it keeps values from the same read consistent with each other, since two tags fetched in separate requests can straddle a controller update. Parse that buffer downstream into the integers, floats, booleans and strings your flow needs.
Questions asked
Does a longer read cycle reduce the traffic to the PLC?
Yes, in proportion. The node issues one read per cycle, so halving the cycle doubles the requests and doubling the cycle halves them. At the interval used in the example that is 4 reads an hour, 96 in a full day, light traffic even for a controller that also serves an HMI. The cost of a long cycle is that a value which changes and changes back between two reads is never reported.
Can I force the message with something other than the controller clock?
Any value that is different at every read works, because the change test then always passes; a free-running counter is a common choice. Avoid a value that can hold still, such as a counter that stops at a preset or a scan time that repeats. If it can freeze, your refresh freezes with it. Keep the forcing value in the same read as the data so one message carries both.
Why do I get several messages per read in All Tags mode?
One published line of this package emits a separate message for each variable in its All Tags mode, the opposite problem. The workaround reported on the project's issue tracker is a Delay node with rate limiting to pace the downstream flow. If you want exactly one message per cycle, join the per-tag messages into one before storage instead of pacing them.
How do I keep the clock value out of my stored data?
Delete it after the node and before the store: a core Change node with a rule that deletes the clock property leaves the rest of the payload intact. Do the same for any counter you added to force the change. Keep the deletion in the flow rather than in the database so every consumer receives the same payload shape.


