IMDHMIControls LibraryShop main store

Troubleshooting

Why sharing an ECOM-100 does not prove a logger will talk to Do-more

SCADA and data logging Published 9 min read By IMDHMI controls team

Short answer

Sharing an ECOM-100 proves a network path, not a logging application. Decide whether DataWorx PLC polls as a Modbus master or waits for the PLC to send, serve the Modbus TCP, Modbus RTU or DirectLogic emulation the Do-more documents, and prove one noncritical tag end to end before you scale the log.

On this page
  1. Is DataWorx PLC compatible with a Do-more PLC?
  2. Why did support decline the Do-more and DataWorx combination?
  3. Does the logger poll the PLC or wait for the PLC to send?
  4. What protocol can a Do-more PLC serve to a logging PC?
  5. Why does the logger reach the PLC but log nothing or wrong values?
  6. How do I prove one logged value before scaling up the log?
  7. Should I rewrite the program onto a DL260 to get logging?
  8. How do I get the values into a CSV file if the pair cannot be proven?
  9. Questions asked

Treat ECOM-100 compatibility as a shared network path, not a logging integration. DataWorx PLC is documented to collect data from DirectLOGIC PLCs, the vendor lists the PC-DATPLC-1 logger among retired software, and no application note ties the pair to a Do-more controller — so the combination arrives undocumented, which is exactly what the support decline reflected. That does not force a rewrite onto a DL260. Decide which side initiates the exchange, serve a protocol the Do-more PLC documents — Modbus TCP, Modbus RTU or classic DirectLogic emulation — and prove one noncritical tag end to end before the logger sees the process.

Is DataWorx PLC compatible with a Do-more PLC? #

No: shared ECOM-100 compatibility only proves the two products can share one Ethernet module's network path, and DataWorx PLC is documented to collect from DirectLOGIC PLCs, so Do-more compatibility has to be proven at the protocol and address level before your logger writes a single row.

An Ethernet module is a road, not a conversation. Once the socket opens, the logger still has to speak an application protocol the controller serves, reference memory the controller exposes, and decode the bytes the way the controller encoded them. The ECOM-100 can carry all of that and the logging can still fail, because none of those steps is implied by shared hardware support. Compatibility claims do not transfer: module plus one application, module plus a second application does not give you the first application with the second.

Why did support decline the Do-more and DataWorx combination? #

As reported for this pairing, the support desk declined it for want of documentation — a support boundary, not a diagnosis: no application note backs the combination, and that says nothing about whether the ECOM-100, the Do-more CPU or the logger hardware is faulty.

The vendor's own catalog lists PC-DATPLC-1, the Windows logger in question, among retired software products, which explains why the documentation stopped and why a desk with no application note will not own the pair. Both extreme answers are worthless here: an assertion that the pair works is not a logged row, and an assertion that it cannot work is not a test result. Before asking anyone anything, read the logger's exact product name, version and selected driver, because instructions meant for a differently named package waste a support cycle.

While the architecture is unknown, skip these moves; each spends hours on the wrong layer:

  • Reconfiguring or replacing the ECOM-100. A healthy network path cannot repair a protocol or register mismatch; reachability is milestone one, not the finish line.
  • Churning IP addresses and subnets. No destination address makes an unserved command succeed.
  • Adding PLC send ladder on spec. A polling logger never reads what the PLC pushes; determine the architecture first.
  • Retyping the program for a DL260. That changes the control platform before the logging interface has been tested once.

Does the logger poll the PLC or wait for the PLC to send? #

Open the logger's connection settings before you touch ladder: a driver configured as a Modbus or DirectLogic master polls every value itself, while a passive collector sits quiet until the PLC pushes each record, and the two architectures need opposite work on the controller.

This one reading selects every later branch, and the presence of a write feature in the feature list decides nothing, because both architectures write.

  • Driver named Modbus master or client: the logger initiates every transaction, so the PLC must answer as a server.
  • Documentation describing PLC-side network writes, WX-style instructions among them: the sender architecture; the PLC initiates and the collector receives.
  • Role still unclear: stop changing ladder and get the driver's communication description from the software supplier; a wrong guess costs about a day each time.

Engineers who have examined DataWorx report PLC-side WX network writes in its material, which points at the sender architecture — but the driver manual decides, not a product page. That manual should also name the transport, Modbus TCP, Modbus RTU or DirectLogic, and that name is your branch.

What protocol can a Do-more PLC serve to a logging PC? #

A Do-more PLC gives a logging PC three documented interfaces: Modbus TCP client or server per its user manual, Modbus RTU in both roles, and classic DirectLogic emulation in either role — pick the one the logger's driver names, not the one the ECOM-100 suggests.

The Modbus application specification fixes the division of labor: the client initiates every request-and-response transaction, the server only answers, and a Modbus TCP server listens on TCP port 502; reads of holding registers travel as function code 03 and writes of multiple registers as function code 16. Defaults beyond that, such as timeouts and poll rates, belong to each product, not to the standard. Map the logger to the controller:

  • Polling logger with a Modbus driver: Do-more as a Modbus TCP server on Ethernet, or a Modbus RTU server on serial; the logger's driver does the asking.
  • Sending logger: Do-more as the client, pointed at a server the logger side genuinely runs, on the trigger and schedule the log needs.
  • DirectLogic-oriented driver: DirectLogic emulation on the matching side, mapped through the emulator's register table rather than through native tag numbers.

Why does the logger reach the PLC but log nothing or wrong values? #

Because a TCP connection and a valid application answer are different milestones: the socket can open and the request can still fail on service, role, register reference or representation, so read the driver's own communication log before changing a single setting.

Judge each milestone separately, with the controller's communication diagnostics alongside:

  • No network reachability. Link, address or routing problem; the application layer cannot be judged until a connection succeeds. On the serial side this row reads differently — match the documented serial settings at both ends, because no Ethernet test diagnoses an RTU path.
  • Connects, then exception responses. The server is alive and rejecting the function code or the reference; read the exception code it returns and re-check the register map against it.
  • Connects, then silence. Role or service mismatch; a master that finds the node but pulls no data is common enough that a Modbus RTU master that sees a node but no data is its own walkthrough.
  • Data arrives, values wrong. Transport proven, addressing or representation wrong — the proof test below settles it.

How do I prove one logged value before scaling up the log? #

Prove one noncritical integer first: log a counter the controller displays as 1,235 and check the logged row matches, through holding register 40101, because 40,101 minus 40,001 leaves protocol register 100, the address your mapping table must actually own.

Run the proof with reads only: a wrong register in a read costs one bad row, a wrong register in a write can move an output. That is the safety note, and it is the only one this job needs.

Worked example — the address base, in numbers:

  1. The program already holds a production counter; the controller's data view reads 1,235. It is a 32-bit integer, so it occupies two consecutive registers.
  2. Copy it into the log buffer with the low word at protocol register 100 and the high word at 101 — a mapping you wrote down, not one the driver guessed.
  3. The driver is set for holding register 40101 in the classic 40,000-series register form. The arithmetic: 40,101 − 40,001 = 100, so the request on the wire asks the server for register 100, the low word you mapped.
  4. Trigger a count and read the row: 1,235. One number proves the transport, the mapping and the address base together.
  5. Now set the driver to 40102. The request lands on register 101, the high word, which is 0 for any count under 65,536 — the row logs 0, and you have reproduced the failure on purpose.

Then interpret whatever the first real rows show:

  • A neighboring value: offset or address base; one-position shifts are common enough that why Modbus discrete inputs are off by one at the PLC is its own article.
  • Raw bits right, displayed quantity wrong: scaling, signedness or data type configured at the logger.
  • Garbage in a multiword value: word order or width; junk Modbus TCP REAL writes from Citect SCADA is word order biting a 32-bit float.
  • A value that never changes: the logger is reading a stale mapped location or displaying a cached result.

Should I rewrite the program onto a DL260 to get logging? #

No: re-platforming a finished Do-more program to a DL260 under DS 5 inverts the economics, because the control program is the asset you protect and the logger is a replaceable peripheral.

Commit per case, and only after the single-tag test passes:

  • Logger polls with a Modbus driver: Do-more as the matching Modbus server, explicit register map, proof passed, then scale the map to the full tag list. Decision: works, with no ladder changes beyond copying values into the log buffer.
  • Logger polls but speaks only DirectLogic memory conventions: Do-more DirectLogic emulation as server, mapped through the emulator's register table, same proof. Decision: works, at the cost of mapping effort instead of ladder effort.
  • Logger waits for sends and accepts Modbus: Do-more as Modbus client, TCP or RTU, writing to the logger's server at a defined trigger — the same pattern as PLC-triggered logging through Modbus TCP tag maps. Decision: works, and the client logic belongs in a task separate from the control program.
  • Logger waits for sends in an undocumented format: no provable interface exists. Decision: replace the logging application and keep the controller.

How do I get the values into a CSV file if the pair cannot be proven? #

Route the data through software that documents a protocol the Do-more serves: a SCADA or logging package with a Modbus TCP driver writing CSV, or with PLC-triggered records, keeps the controller unchanged and retires only the logger.

CSV is the file format on the PC side, never a PLC protocol; the controller has no CSV function to switch on. Choose software whose driver is documented against Modbus TCP or RTU, or against DirectLogic emulation, let that package format the file, and re-run the single-tag proof against the new driver before trusting a single row of its output. If the logging PC has to live in the cabinet beside the controller rather than at a desk, choose an industrial mini PC as the logger host and run the documented driver on it. Back up the Do-more project and the logger configuration before changing either side, and retire DataWorx PLC only after the replacement has logged one proven row.

Questions asked

What serial settings must match when the logger talks Modbus RTU?

Match the station number, baud rate, parity and stop bits configured in the logger's driver to the Do-more serial port's Modbus server settings, and confirm the driver's read function code is one the server answers. Once those agree, run the same single-tag proof you ran on Ethernet, with the register map from the serial server's own documentation.

Can I keep DataWorx PLC and just add a protocol converter?

You can, but the converter becomes another undocumented device: it has to translate between a protocol the Do-more documents and whatever the logger expects, and every mapping inside it inherits the same single-tag proof. Weigh that against simply running logging software whose driver is documented for Modbus TCP or DirectLogic emulation, which removes a device instead of adding one.

How do I keep several values in one log record from mixing scan states?

Copy every value for one record into a block of buffer memory at a single point in the scan, point the logger's whole register range at that block, and keep the copy atomic with respect to the reads. Otherwise the driver's separate register reads can straddle a scan change and file a record whose count and temperature come from different process states.

Does the proof depend on the ECOM-100 at all?

No. Modbus TCP needs only an Ethernet path between the logger's PC and the controller, and Modbus RTU needs the serial port instead; the proof test and the register mapping are identical either way. A working network with a healthy link needs no hardware change, so the ECOM-100 stays and the troubleshooting stays at the protocol layer.

Keep reading

  • How-to

    Modbus TCP tag maps and PLC-triggered logging for SCADA

    Map only the tags your client needs into contiguous register blocks, keep every 32-bit value in a word order both sides agree on, and log one record per machine cycle on the rising edge of a PLC handshake coil that the SCADA clears after a successful database insert.

    SCADA and data logging

  • Explainer

    Why wireless does not replace Modbus RS485 wiring for cloud OPC UA

    Wireless replaces the cable between areas, never the serial wiring at the device. Every Modbus RS485 device needs a wired segment that ends at a local gateway, which polls the devices and serves OPC UA to the cloud client. Size each segment by the 32-unit-load driver budget and by scan time, then open a TCP 4840 path for the cloud client.

    SCADA and data logging

  • Troubleshooting

    Reading a CLICK PLC float over Modbus TCP in an HMI

    F428673 is the right address: the F prefix reads the two Modbus registers as the IEEE 754 float the CLICK program wrote to DF1 (24.9645 here), while L returns the raw 32-bit pattern (1103607636) and U returns one 16-bit half (46932). The screen showed 25 because an integer tag or whole-number format rounded it. Move the project to 3.99w and bind F with a decimal format and a floating-point variable.

    SCADA and data logging