How-to
Cascaded PID loops on a Do-more without a Cascade mode
Short answer
The Do-more PID has no Cascade mode and no setpoint pointer: cascade is built in ladder by moving the outer loop's Output into the inner loop's SP every scan while cascade is selected, writing the local setpoint only on change, interlocking the two loops' Auto/Manual states, and preloading the outer manual output before each transfer. The C-more reaches the values through native R memory, not the PID structure.

On this page
- Why does the Do-more PID have no Cascade mode?
- How do you build the cascade rung by rung?
- What output range must the outer loop have?
- Should the inner setpoint be written every scan or only on change?
- How do you interlock Auto and Manual across the two loops?
- How do you transfer into and out of cascade without a bump?
- How much faster must the inner loop be than the outer?
- How do you give a C-more panel access to the PID values?
- Questions asked
The Do-more PID instruction has no Cascade mode and no setpoint pointer, and it needs neither. A cascade is two ordinary PID loops with ladder between them: while cascade is selected, a MOVE copies the outer loop's output into the inner loop's setpoint member every scan; the local setpoint is written only when it changes; the inner loop's Auto/Manual input leg is driven by the outer loop's mode member; and every value a C-more panel touches is mirrored through native R memory. The sequence below is the one that runs in the Do-more simulator, with the transfer arithmetic and the interlock you commission on the machine.
Why does the Do-more PID have no Cascade mode? #
Because a setpoint pointer is not part of the design: the setpoint is the .SP member of the loop's structure, any ladder instruction can write it, and cascade therefore reduces to choosing which rung is allowed to write that member. On a DL260 you placed the loop in Cascade mode and pointed its setpoint at one V location or another; the Do-more offers no mode to select and no pointer to redirect. The PID instruction reads .SP at each loop update and holds whatever was last written, and nothing in the loop's setup dialog chooses where that value comes from.
Ownership therefore moves into ladder, where you can see it, force it and trend it. The one rule that follows is that the last writer wins: two rungs fighting over .SP shows up online as an operator change that snaps back the following scan. Building in ladder what the instruction set omits is the same approach as why FB41 has no ramp function for an analog output command on Siemens CPUs.
How do you build the cascade rung by rung? #
Stack the rungs in scan order — outer PID, cascade copy, local copy, inner PID, mirror rungs — so the inner loop always computes on the setpoint the outer loop just produced; the structure names OvenTemp and WaterFlow below are illustrative.
- Create both loops with the PID instruction's setup, for example an outer temperature loop
OvenTempand an inner flow loopWaterFlow; the names are examples, so use your own. The members used here are each structure's setpoint.SP, output.Outputand mode.Mode. - Set the inner loop's process and setpoint span, then set the outer loop's output limits equal to that span; the range section below shows the arithmetic.
- Rung 1, outer PID: the
OvenTempinstruction, with its input leg carrying the outer-Auto permission contacts from the interlock section. - Rung 2, cascade copy: qualified by the cascade-selected bit,
MOVE OvenTemp.OutputintoWaterFlow.SP, executed every scan while the bit is on. - Rung 3, local copy: qualified by the local-automatic bit and a not-equal comparison of the local storage against
WaterFlow.SP, a MOVE from the storage intoWaterFlow.SP, so it fires only on a change. - Rung 4, inner PID: the
WaterFlowinstruction, its input leg energized by the outer.Modewhile cascade is selected and by the local-automatic bit otherwise. - Rung 5 onward, mirrors: copies out to native R memory for the panel and the preload copy for leaving cascade, both described below.
The three application states the selectors choose:
| Application state | Inner loop mode | Who writes the inner .SP |
Outer loop mode |
|---|---|---|---|
| Manual | Manual | nothing; the output is under manual control | Manual |
| Local automatic | Auto | the local setpoint, on change only | Manual |
| Cascade | Auto | the outer .Output, every scan |
Auto, after the transfer |
Manual, local automatic and cascade are states you build; the PID instruction itself knows only Auto and Manual. Local automatic and cascade both run the inner loop in Auto and differ only in who owns the setpoint. In simulator testing the selectors were discrete input bits; on the machine make them internal control bits that the panel sets and the ladder qualifies.
What output range must the outer loop have? #
Set the outer loop's output minimum and maximum equal to the inner loop's setpoint span, and the raw copy is dimensionally correct with no scaling rung — for an inner span of 0.0 to 500.0 L/min, the outer output limits are 0.0 to 500.0 L/min. A raw copy between unlike ranges is the classic silent failure: the logic runs, the loop is stable, and the process starves.
Worked example, all values illustrative. The inner WaterFlow span is 0.0 to 500.0 L/min and the outer loop is left with a percentage output of 0.0 to 100.0. With the outer output at 60.0, the setpoint the process needs is 60.0 ÷ 100.0 × 500.0 = 300.0 L/min, but the raw MOVE writes 60.0 into .SP, so the inner loop holds 60.0 L/min — 240.0 L/min under the request — while looking perfectly healthy in Auto. The outer loop then winds to its 100.0 maximum, still asking for only 100.0 L/min. Set the outer output limits to 0.0 and 500.0 and the same output lands as 300.0 L/min through one MOVE. The outer clamp now doubles as a cascade high limit: set the maximum to 450.0, for example, if the process must never command full flow.
Should the inner setpoint be written every scan or only on change? #
Write the cascade setpoint every scan while cascade is selected, and write the local operator setpoint only on change; .SP is a stored real that keeps its value until some rung overwrites it. The member is memory, not a wire: once written it stays, and the PID picks it up at its next loop update, so a setpoint that never moves needs exactly one write in its lifetime.
The two sources behave differently. The local value changes only when the operator touches it, so a not-equal comparison feeding a MOVE is enough, and the write is visible online. The outer output moves a little at each of its own updates, so a change detector would pass almost every scan anyway; the unconditional MOVE is simpler, and writing an unchanged value starts no calculation, because the PID computes on its own update period, not on writes. A deliberately cyclic local copy also works — the requirement is not the write frequency but that exactly one rung is qualified to write in each state.
How do you interlock Auto and Manual across the two loops? #
Permit the outer loop's Auto only while cascade is selected and the inner structure's .Mode reports Auto, and drive the inner instruction's Auto/Manual input leg from the outer .Mode so the inner loop follows the outer loop. The PID instruction's mode is set by the power flow on its single input leg — that is the documented behavior of the instruction — so the interlock is contacts on the two input legs, not parameters.
Confirm which state of .Mode means Auto by switching one loop online and watching the member; the name alone does not fix the polarity, and an inverted contact puts the inner loop in Manual exactly when the outer goes Auto. For a two-state machine the inner leg fed from the outer .Mode is the whole interlock; the three-state selector needs the arrangement in the rung list, with the local-automatic bit ORed in.
The guard on the outer leg is the one that protects the process: if the inner loop drops to Manual while the outer keeps integrating, the outer output has no path to the process, accumulates to a limit, and slams that limit into the inner setpoint the moment the path re-closes. The guard drops the outer loop out of Auto in the same scan the inner one leaves it.
How do you transfer into and out of cascade without a bump? #
Preload the outer loop's manual output with the current inner setpoint before selecting cascade, and mirror the live inner setpoint into local storage before leaving it, so each transfer copies a value onto itself. Into cascade, with the example numbers: the inner loop runs in local automatic at a setpoint of 300.0 L/min with the valve steady at 45.0 %. Put the outer loop in Manual and set its manual output to the same 300.0 — matching units, thanks to the range match. Select cascade: the MOVE writes 300.0 L/min into a .SP that already reads 300.0 L/min, a step of 0.0 L/min. Release the outer Auto guard and watch the outer output for ten seconds; it should trim slowly away from the preloaded value, and a run toward a limit means the preload was made while the loop was still integrating — hold Manual, let the process settle, repeat.
Out of cascade: while cascade runs, copy WaterFlow.SP into the local setpoint storage every scan, the same trick as the panel mirror. Say the outer loop has carried the setpoint to 312.0 L/min when the operator switches back: local automatic then begins at 312.0 L/min, where without the mirror it would jump to the stale operator entry and step the loop by 12.0 L/min. From Manual into either automatic state, use the manual-to-auto transfer behavior the PID instruction's help documents rather than a bare setpoint copy; a setpoint alone does not initialize the controller's internal state.
How much faster must the inner loop be than the outer? #
Tune the inner loop at least three times faster than the outer and keep the outer loop's update period a multiple of the inner's — for example 100 ms inner against 500 ms outer — as a control-practice rule of thumb, not a Do-more setting. The reason is separation: when the inner loop settles before the outer loop can react, the outer loop sees an obedient actuator and each loop can be tuned as if alone. Equally fast loops see each other's corrections as disturbances and oscillate against each other, a slow beat in both process values that no amount of single-loop retuning removes.
The Do-more PID computes on the update time configured in the loop's setup; on a ControlLogix the same separation comes from scheduling instead, which is why you run Logix 5000 PID loops in a periodic task. Tune in order: the inner loop alone in local automatic until it takes a setpoint change cleanly, then the outer loop with the cascade closed.
How do you give a C-more panel access to the PID values? #
Mirror the values through native R memory in both directions, because the C-more tag database does not address the PID structure or user data blocks and does address native R memory. Outbound, copy WaterFlow.SP, its process value and its output, plus the outer .Output, into spare R locations every scan, and point the panel's numeric tags at those locations with the matching tag data type in the tag setup. Inbound, the operator's local setpoint lands in an R location that the on-change rung carries into .SP, and the state selector crosses as a bit the panel sets and the ladder qualifies — never as a direct write into the structure.
When several members move together, the INIT instruction (Initialize Data) moves them in one instruction and keeps the rungs readable; keep the cascade copy its own rung anyway, because its position ahead of the inner PID is what makes it take effect in the same scan. Document the R locations you choose, because the panel tags and the ladder now share them.
Questions asked
Can one outer PID loop drive two inner loops?
Yes. Branch the copy: two MOVE rungs send the same outer Output into the two inner SP members, each qualified by its own cascade-selected bit, and give each branch its own scaling if the two inner spans differ. The outer Auto guard must AND both inner Mode members, so if either branch drops to Manual the outer loop leaves Auto in the same scan instead of integrating against half a process.
What should you test on the machine before trusting the cascade?
Run three checks with the loops trending online. Enter cascade at low, middle and high output, for example 50.0, 250.0 and 400.0 L/min in the example line, and log the inner SP and output through each transfer looking for a step. Force the inner loop to Manual during cascade and confirm the outer loop leaves Auto in the same scan by watching both Mode members. Then fail the outer process-value signal and confirm the reaction, which follows the loop's configured direction, is the safe one for your process.
Can the operator change the local setpoint from the C-more panel?
Yes. The panel writes an R location and the on-change rung carries it into the inner SP, but constrain the entry: set the panel's numeric-entry limits to the inner loop's setpoint span so a mistyped value never reaches the loop, and keep that rung qualified so it cannot write during cascade. The mirror copy keeps the R location tracking the live setpoint while cascade runs, so the operator's next local value begins where the process already is.
What carries over when a DL260 cascade migrates to a Do-more?
The tuning values and the process know-how, not the wiring. The DL260's cascade flag and switchable setpoint location have no counterpart to convert, so rebuild the source selection as the three ladder states, recreate both PID loops in the instruction's setup, and repoint the panel tags from V addresses to the R locations the ladder mirrors. Expect to retune the outer loop, because its effective actuator is now the inner loop you just rebuilt.

