IMD SolutionComputing LibraryShop main store

Explainer

BRX DMLogger direct PC logging: what decides the design

Edge computing and IIoT Published 7 min read By IMD Solution engineering team

Short answer

Yes: an Ethernet-equipped Do-more BRX CPU can send log entries directly to the Do-more Logger utility (DMLogger.exe) on a PC, which writes them to a PC-side file. Commit to that route only after the customer's database group accepts a PC-written file, and keep furnace control independent of the PC and the network.

On this page
  1. The Ethernet port alone does not expose a logging file
  2. Confirm what the customer's group accepts before programming
  3. What the BRX must collect from the CLICK
  4. Check the Modbus RTU branch before touching Ethernet
  5. Worked example: poll time and the stale-data limit
  6. Fault checks on the Ethernet branch
  7. Network separation and the furnace rule
  8. The decision, case by case
  9. Questions asked

The answer is yes, with one condition. An Ethernet-equipped Do-more BRX CPU can push log entries straight to a PC: the DMLOGGER instruction (Broadcast to DMLogger.exe) sends user-created strings to the Do-more Logger utility, DMLogger.exe, running on the PC, and that utility supports a file-logging mechanism — escape sequences embedded in an entry tell it to open a file and append the contents. Commit to that route only after the customer's database group accepts a PC-written file. Three things decide the design: what that group will actually receive, whether every required furnace value reaches the CLICK's memory, and the rule that a stopped PC or a pulled cable never becomes a furnace-control dependency.

The Ethernet port alone does not expose a logging file #

The common wrong first move is to configure a logging file inside the BRX and assume the Ethernet port makes it available to the customer's PC. It does not. Ethernet connectivity provides a path; a receiver or an explicitly supported transfer service still has to move and store the data. The DMLOGGER device is that receiver. It sends strings from an Ethernet-equipped Do-more CPU to the Do-more Logger utility on a PC, which by default captures and displays the debug and status messages the CPU sends. The utility's file-logging mechanism extends this: escape sequences embedded in the entry direct it to open a file and append the entry's contents. Take the exact syntax from the help for the installed software version; plain measurement text alone does not define the destination file's behavior.

This is a push design, and that distinguishes it from the usual plant-PC arrangement where the PC polls the PLC, as described for Modbus TCP data logging to a database from a plant PC. Moving logging off the PLC entirely, covered in redirecting PLC data logging to an external industrial PC, is the alternative when the push route fails one of the checks below.

Confirm what the customer's group accepts before programming #

"Data direct to PC over Ethernet" names a connection, not a receiver, a file format or a database interface. Read the requirement first, because the group has said it will not support anything else. Each candidate route has a decision gate:

Customer requirement Candidate route Decision before implementation
PC files written from pushed PLC entries DMLOGGER device to DMLogger.exe Confirm permission to install the utility and write to an approved folder
Existing database collector with a prescribed interface Custom TCP or UDP exchange written to that specification Obtain the collector's protocol and record format before programming
A completed file delivered periodically RAM-disk file on the PLC sent with the EMAIL instruction Use only if email delivery and PLC RAM storage are accepted
PC retrieves a file stored inside the PLC A documented file-access facility on the selected CPU Verify the supported access method; entry delivery is a different arrangement

If the group accepts a PC-written file, the DMLOGGER route is the direct answer and you continue with the CLICK checks. If it requires its existing database service to receive records directly, settle that interface first: a text file on a PC is not a database integration, and the ingestion side belongs to the customer's group.

What the BRX must collect from the CLICK #

The arrangement makes the BRX the Modbus RTU master and the CLICK the slave. It can collect anything exposed in CLICK memory; it cannot retrieve a temperature or a controller setting that never reaches the CLICK. Before designing the polling sequence:

  • List every required field: zone readings, setpoints, machine state and any production identifiers the customer asked for.
  • Locate each value's CLICK memory address and record its data type, engineering units, scaling and any validity indication.
  • Compare live memory readings with the proprietary panel and the SOLO PID displays during a controlled operating change.
  • Mark every missing field. A SOLO value that exists only in its own controller needs a documented acquisition path into the CLICK before you promise it in the log.

Also define what constitutes one record. Values polled in separate transactions represent different moments, so for records that need a coherent machine state, define a snapshot or fixed collection sequence instead of logging whichever values happen to be in memory.

Check the Modbus RTU branch before touching Ethernet #

A healthy PC connection cannot correct stale data arriving from the CLICK, so prove the serial link first:

  1. Verify that both controllers' serial interfaces support the intended electrical connection, and check terminal assignments against their hardware documentation.
  2. Match baud rate, parity, stop bits and the configured slave address at both ends.
  3. Check the CLICK Modbus address mapping, requested function, register count and access permissions.
  4. Poll one known value and compare the BRX result with the CLICK value before expanding the request; for multi-register values, confirm word interpretation and scaling against a known operating value.
  5. Disconnect the link under controlled conditions and inspect how the BRX marks failed or overdue reads.

If transactions fail, stay on this branch — wiring, settings, addressing, diagnostics. If transactions succeed but values are wrong, fix mapping and interpretation before blaming communication hardware. When a faster serial cycle is ever needed, the character-by-character turnaround is what makes Modbus RTU polling on one serial port slow.

Worked example: poll time and the stale-data limit #

Illustrative inputs, so you can rerun the arithmetic with your own numbers. Suppose the customer wants one record every 10 s and the BRX reads 12 holding registers from the CLICK in one transaction at 19200 baud, 8 data bits, no parity, 1 stop bit — 10 bits per character on the wire.

  • Character time: 10 bits ÷ 19200 bit/s = 0.52 ms.
  • Request frame: 8 characters (slave address, function, start address, register count, CRC). Response frame: 29 characters (address, function, byte count, 24 data bytes, CRC). Total 37 characters, call it 40 with inter-frame silent intervals.
  • Transaction time: 40 × 0.52 ms ≈ 21 ms.
  • Share of the logging interval: 21 ms ÷ 10000 ms ≈ 0.2%.

So at a 10 s logging interval the serial link is not the constraint; the margin shrinks linearly if the customer demands faster logging. The stale-data limit comes next. A failed read leaves the previous value in memory, and without handling the PC would receive an old temperature presented as fresh. Suppose the customer tolerates at most two repeated records in the stream; the threshold is then 3 missed polls × 10 s = 30 s. Carry the communication validity from the disconnect test into the logging logic, and after 30 s without a good read, write the entry with an invalid marker instead of silently repeating the last values.

Fault checks on the Ethernet branch #

Once the serial branch is proven, read the BRX Ethernet configuration, the PC network configuration and the receiving utility's status, then send one distinguishable test entry. A reachable network address proves less than a correctly received log record. Four branches cover what you will see:

  • No application connection: check addressing, routing, duplicate addresses, the host firewall policy, and whether the receiving utility is actually running.
  • Entries received but no file created: check the escape-sequence syntax, the destination path and the utility's write permission to that folder.
  • File grows but readings are wrong: return to the CLICK mapping and the BRX collection checks; the network is fine.
  • File is correct but the customer's database stays empty: that is the ingestion service and the agreed record format — the customer's side of the interface.

Network separation and the furnace rule #

The customer's connection does not have to share the equipment network. An EcomLT POM option adds an Ethernet connection with its own configurable IP address, so the plant-side link is separate from the local control network without a smart switch; verify compatibility with the selected BRX hardware before choosing it. Separation limits what can reach the furnace, but it does not replace a security design: the plant network owner defines the permitted traffic and access. And one rule holds throughout: keep furnace control independent of the logging chain. A stopped PC, a closed utility or a disconnected Ethernet cable must never stop or alter the furnace, and the existing control-network arrangement is not changed merely to make a logging test pass.

The decision, case by case #

  • The group accepts PC files from pushed entries: build the DMLOGGER route — BRX polls the CLICK over Modbus RTU, entries go to DMLogger.exe with the documented file-append escape sequence, stale entries carry the invalid marker. This is the direct answer to the requirement.
  • The group's collector requires its own protocol: write the custom TCP or UDP exchange to the collector's documented specification; DMLogger.exe then serves only as the commissioning display.
  • Email delivery is acceptable: log to a RAM-disk file and send it with the EMAIL instruction — simplest, but only when the customer says so in writing.
  • A required value never reaches the CLICK's memory: establish a documented acquisition path before promising that field, or strike it from the record.

When the receiving PC does not exist yet, specify an industrial mini PC as the data-collection host running DMLogger.exe or the collector service, and leave the furnace's control hardware exactly as it is.

Questions asked

Does the DMLOGGER route need the programming software running on the receiving PC?

No. The receiver is the Do-more Logger utility, a standalone program that runs on a PC and captures the debug and status messages an Ethernet-equipped Do-more CPU sends it. Install it from the manufacturer or its distributor. Only that utility and its listening connection need to be up for entries to land.

What does DMLogger.exe show when no file has been configured?

It captures and displays the incoming messages on screen, which is exactly how you commission the link. Send one recognizable entry, watch it appear in the utility, and only then add the file-opening escape sequence. That order separates a network problem from a file-syntax problem before any production data depends on it.

Can the CLICK be the Modbus master and push its values to the BRX instead?

Reversing the roles is a new design, not a wiring change. The CLICK would have to initiate every transfer and the BRX would have to serve its registers to the logging side. Because the logging device and the Ethernet port live in the BRX, keep the master role there and leave the CLICK serving memory as the slave.

Where does the exact escape-sequence syntax come from?

From the help for the DMLOGGER instruction in the installed software, read at the version you deploy. Do not retype control characters from memory or from a secondhand example: a control character in a data stream performs its control function by mistake, and a mis-typed sequence either fails silently or redirects the entry to the wrong file.

Keep reading

  • How-to

    Modbus TCP data logging to a database from a plant PC

    Commission a Modbus TCP logger as two separately proven operations: one FC03 read of the target holding registers, then one parameterized test insert into the database. Join them on a one-minute timer guarded against overlapping cycles, decode 16-bit registers with the signedness your PLC map states, and keep the logger a read-only passenger outside control and safety.

    Edge computing and IIoT

  • Comparison

    Redirecting PLC data logging to an external industrial PC

    Keep the controller logging to its SD card and move completed log files to the PC with a periodic push or pull; collect live OPC UA values on the PC only when losing records during outages is acceptable. The tag count, rate, record size, retention and worst outage fix the storage, and the worked example sizes it.

    Edge computing and IIoT

  • Comparison

    Historian-like data logging on a restricted edge network

    On a restricted plant network the approved destination decides the architecture: write directly from Node-RED to the database when that connection is approved, publish MQTT and land it in InfluxDB with Telegraf when only a broker is approved, and capture to local files when nothing outbound is allowed. Whatever the path, prove store-and-forward with an outage test sized from your tag count and write period.

    Edge computing and IIoT

Process Historian DCF77 time synchronization fails on the OS server