IMDHMIControls LibraryShop main store

Explainer

What decides a PLC to legacy DCS communications link

Industrial networks Published 9 min read

Short answer

A PLC links to a legacy DCS only when both ends meet on one protocol with complementary roles: the Quantum 140 CRP 811 00 is a PROFIBUS DP master, so the DCS station must run the DP slave role, and the Teleperm 1333 card must be the Modbus variant rather than the 3964R/RK512 one. Trace endpoint identification, physical layer, protocol and role, and data contract in that order; where the installed pair cannot meet, convert through a gateway instead of re-labeling the protocol.

On this page
  1. The role decides, not the name
  2. Trace the request in four steps
  3. Prove the physical layer before blaming the protocol
  4. Example: what one 20-register read costs on a 9600 bit/s Modbus RTU line
  5. Where a request stops
  6. When the endpoints cannot meet, convert
  7. Commission in an order that finds one fault at a time
  8. The decision, branch by branch
  9. Questions asked

A Modicon Quantum can talk to a Siemens Teleperm DCS directly, but not by protocol name. The two installed interfaces have to meet on one protocol with complementary roles, and the installed hardware decides whether they can. The Quantum PROFIBUS interface is a DP master, so it needs a DP slave on the DCS side, and the Teleperm 1333 serial card exists in more than one protocol variant, so the word Modbus on a drawing is not a fact about the card. Work through four checks — endpoint identification, protocol and role, physical layer, application data — and open the editors only after the first three pass. Where the endpoints cannot meet, a protocol gateway is the fix; a changed parameter never is.

The role decides, not the name #

PROFIBUS DP, Modbus RTU and 3964R with RK512 are three different communication paths, not settings inside one connection. IEC 61158 defines PROFIBUS DP as a master-slave bus: slaves never speak first, they answer a master's poll. The MODBUS over Serial Line specification defines a request-response protocol in which exactly one end polls and the other answers. 3964R is the Siemens point-to-point telegram procedure, and RK512 is the data layer that addresses and confirms transfers on top of it. A link runs only when both ends implement the same path and hold complementary roles.

The Quantum side fixes one fact. Schneider Electric documents the 140 CRP 811 00 as a Quantum PROFIBUS DP master interface, discontinued on 28 Mar 2011. It runs the master role; no configuration turns it into a slave. The DP branch therefore stands or falls on the DCS station: if the Teleperm side can present a DP slave interface, the branch is real, and if its only DP hardware is also a master, two masters share one segment and no cyclic exchange ever starts. That is the same silence signature as why a CJ2M Modbus RTU master gets no answer from an S7-1200 — two masters on one line produce silence, not error codes.

The Modbus branch hides a second trap. The 1333 designation covers a 3964R/RK512 serial variant and a Modbus variant, and the Modbus variant answers through the same S5KS/S5KE send and receive blocks the card family uses for its serial protocol, so identical block calls in the DCS program do not tell you what the card speaks on the wire. Read the card's variant identification and installed firmware before you believe the word Modbus anywhere in the project.

Trace the request in four steps #

  1. Identify both endpoints. On the DCS, record the system variant, the communications card type and variant, the installed firmware, and the communication blocks the application calls with their parameters — for the 1333 family, the S5KS/S5KE pairs. On the Quantum, record the CPU, the communications modules, and the engineering package that owns the module configuration — Concept, ProWORX or Modsoft for that module generation — read from the archived project rather than assumed from a current catalog.
  2. Confirm one shared protocol with complementary roles. The 140 CRP 811 00 forces the DP roles: Quantum master, DCS slave. Modbus forces exactly one poller: decide whether the Quantum or the DCS card requests and configure the other end as the responder. Where the plant allows both families, the choice follows the same rules as how to choose between Modbus, PROFIBUS and CANopen.
  3. Verify the physical layer. Signals before semantics: the next section gives the checks.
  4. Agree the application data contract. One data map, signed by both sides, before the first block moves.

Close steps 1 and 2 before opening an editor. Every hour spent debugging a register map over a link whose two ends are both configured as masters is an hour spent on a link that was never going to run.

Prove the physical layer before blaming the protocol #

A connector that fits proves nothing. On the DP branch the segment is a terminated, shielded twisted-pair bus under IEC 61158, and the decisive question is what the cable actually lands on — a spur to a panel that was never a bus node produces exactly the silence a wrong protocol does. Before trusting the segment, read each end of it: identifying a PROFIBUS cable's endpoint and bus role walks through that reading. Check termination at both segment ends and shield continuity end to end, with the segment isolated.

On the serial branch, compare the electrical interface and pinout against the card manual, and match baud rate, parity and stop bits on both ends. Then watch the indicators while one controlled request goes out. Transmit activity at the Quantum with no receive activity at the DCS points back at wiring, termination or interface selection. Receive activity with framing errors points at line settings. Clean reception closes the physical layer, and everything left lives in the protocol or the data.

Example: what one 20-register read costs on a 9600 bit/s Modbus RTU line #

These are illustrative inputs, not card specifications: the line runs at 9600 bit/s, 8 data bits, even parity, 1 stop bit, with one Quantum master polling one 1333 Modbus card; the installed card's manual decides what it actually supports.

A read of 20 holding registers produces a request of 1 slave address + 1 function code + 2 start address + 2 quantity + 2 CRC = 8 bytes, and a response of 1 + 1 + 1 byte count + 20 × 2 data + 2 CRC = 45 bytes. That is 53 bytes per transaction. RTU sends every byte as 11 bits — start, 8 data, parity, stop — so one transaction moves 53 × 11 = 583 bits. At 9600 bit/s, 583 ÷ 9600 = 60.7 ms of pure line time. RTU also guards each frame boundary with 3.5 character times of silence: 3.5 × 11 = 38.5 bits, which is 4.0 ms at this rate, and the card's own turnaround adds on top.

One transaction therefore costs about 60.7 + 4.0 ≈ 65 ms, and the line fits roughly 1000 ÷ 65 ≈ 15 such reads per second. A DCS update once per second spends 65 of every 1000 ms — about 6.5 % of the line — and there is room to spare. An update every 100 ms fills 65 of every 100 ms with one transaction and leaves almost nothing for the card's turnaround or a single retry, so that map is too big for that rate: shorten the map, raise the baud rate, or restructure the poll. The scheduling arithmetic for one master carrying deadlines on several slaves is worked through in how to poll many Modbus RTU slaves from one serial master.

Where a request stops #

Once signals arrive, four outcomes remain, and each names its own layer:

Observation Layer that failed What to fix
No response and no receive activity at the DCS end Physical path or interface selection wiring, termination, port selection, who polls
Receive activity with framing or protocol errors Line settings or procedure mismatch baud, parity, stop bits, protocol selection
Decoded request rejected by the endpoint Role or access rights slave address, supported functions, permitted data area
Successful exchange carrying wrong values Application data contract offsets, lengths, data types, word order, scaling

Only the last two rows are programming faults. Increasing a timeout cannot repair an incompatible protocol, and aggressive retries only congest a line whose peer is not listening, so the first two rows are hardware and settings work no matter how the register map is written.

The wrong-values row is where links quietly poison a process: a write that lands one register early toggles a neighbor, and on a Modbus path that is the same mechanism behind fixing SCADA coil oscillation through a Modbus gateway. Write one data map both sides sign: direction, source and destination address as each side counts them, length, data type, engineering units, update expectation. Modbus fixes the byte order inside one 16-bit register but not how a device splits a 32-bit value across two, so that line of the map is decided per device pair, never assumed. Shape the map for block reads, because one contiguous read beats four scattered ones on a serial line — the same economy as reading PLC tag arrays in one block request.

When the endpoints cannot meet, convert #

If the installed 1333 turns out to be the 3964R/RK512 variant and the Quantum project holds no interface that implements the same procedure pair, the practical route is a protocol gateway: Modbus toward the controller, 3964R with RK512 toward the DCS card. Gateways built for exactly this pair are documented commercial products, and their manuals document S3964R operation with and without the RK512 mode, so match the gateway's mode to the blocks the DCS application calls, not to the label on the box.

Conversion replaces re-labeling whenever any of the first three checks fails: the DP branch with no slave on the DCS side, the Modbus branch with a serial-procedure card, the serial branch with no matching interface on the Quantum. The selection discipline is the same as choosing a Modbus RTU bridge for an iQ-R DCS migration: confirm the exact protocol pair, both roles and the widest data-map width you will need before the hardware is ordered, because a bridge that passes 16 registers when the map needs 64 turns a link fault into a permanent data shortage.

Commission in an order that finds one fault at a time #

Back up both projects and record the installed interface settings before the first test value moves. Use a scratch data area agreed with the DCS side — a link that reads wrong can also write wrong, and early traffic must not be able to actuate the plant. Configure the protocol pair confirmed in step 2, complete one read round-trip with values both sides recognize, then extend to the real map. Measure the end-to-end response time before adjusting any timeout, using the same procedure as measuring PLC to SCADA command response time end to end, because a timeout set from hope hides exactly the layer that measurement would have named.

The decision, branch by branch #

PROFIBUS DP branch: the 140 CRP 811 00 makes the Quantum the master, so the link runs only if the Teleperm station offers a DP slave interface. If it does, verify the segment, lock the cyclic map at configuration time, and start. If it does not, this branch is finished — convert through a gateway or change the DCS interface, because the module cannot be configured around a missing role.

Modbus branch: read the 1333 variant first. If it is the Modbus card, fix the poller, verify the line settings, and size the map against the line budget from the example. If it is the 3964R/RK512 card, either drive the documented serial procedure from an interface that implements it or convert through a gateway that speaks Modbus on the Quantum side — never write a Modbus map against a card that will not answer one.

3964R with RK512 branch: it is the DCS card's native procedure, so it wins wherever the Quantum side can implement it or a gateway supplies it, and it loses only where no such interface or gateway exists in the project.

Either way: no programming starts until endpoint identification, protocol and role, and physical layer all check green; after that the only faults left are address, access and data-contract faults, and the four-outcome table names each one.

Questions asked

Can a Modbus TCP client on the Quantum reach the Teleperm card directly?

No. The 1333 card is a serial endpoint, so a TCP client never reaches it without a gateway in between: the Quantum opens the TCP session to the gateway and the gateway emits the card's serial procedure on the DCS side. RTU and TCP are two transports of one application protocol, and an RTU-only endpoint cannot answer a TCP client, so select the gateway for the exact transport pair rather than for the name Modbus.

What does the DCS slave have to hand the Quantum project before DP configuration?

On the DP branch the master cannot invent the slave. You need the station address the DCS slave will use, unique on the segment, and the GSD file that describes that slave interface's fixed data widths, so the cyclic map lengths are locked into the master configuration rather than chosen freely. If the DCS supplier cannot produce a GSD for its slave interface, the DP branch is not commissionable as it stands and the gateway route becomes the decision.

Why can't the protocol be changed with a parameter instead of new hardware?

Because the protocol lives in the interface module and its firmware, not in the application program. A DP master module carries master firmware and cannot be configured into a slave, and a serial card built for 3964R with RK512 has no Modbus responder inside it. The program can only use what the module implements, so a missing role means different interface hardware or a gateway; changing a baud rate or a register map never creates a missing protocol.

Does every PROFIBUS master behave the same on the wire?

No. PROFIBUS DP distinguishes Class 1 masters, which run the cyclic data exchange with their assigned slaves, from Class 2 masters, which are used for commissioning and diagnostics; active masters share the segment by passing a token, and a slave answers only its Class 1 master. For this link, plan exactly one Class 1 master, the Quantum interface, with the DCS station as its slave, because a second active master changes segment timing and can stall the exchange you are debugging.

Keep reading

  • Selection guide

    Choosing how an S7 PLC talks to a Mitsubishi Q or AnS PLC

    Yes — the link exists on every generation. Put Modbus TCP (QJ71MT91) or Modbus RTU (QJ71MB91) against a Mitsubishi Q series PLC, PROFIBUS master or slave against an AnS or QnAS because those generations had no Modbus modules, and a protocol-converting gateway where the two sides share no interface.

    Industrial networks

  • Comparison

    How HART, Fieldbus, Profibus and Modbus compare

    Match the protocol to the application, not the name. HART rides an existing 4–20 mA loop with digital configuration and diagnostics; Foundation Fieldbus builds an engineered digital segment for distributed process devices; Profibus serves configured cyclic automation networks; Modbus gives simple register exchange with the widest interoperability. Choose by what carries the process value, how often it updates, which diagnostics you need, and what cable is already installed.

    Industrial networks

  • How-to

    Connecting Modbus devices to a ControlNet system

    No box translates ControlNet producer/consumer packets into Modbus transactions. Every working link terminates both protocols in one device and bridges through a mapped data table: a ProSoft 3100/3150-MCM module in the Allen-Bradley chassis, a standalone FieldServer, SST or Anybus ControlNet to Modbus gateway, or a Logix controller acting as data concentrator. Choose the module when one controller owns the data, the gateway when two established systems must exchange it.

    Industrial networks