Troubleshooting
SLC 500 multiple outputs on one ladder rung
Short answer
An SLC 500 output instruction must terminate its branch at the right-hand side of the rung, so multiple outputs are added as parallel branches off the same upstream logic. The branches are OR paths; one rung can carry as many as readability allows, and a self-resetting TON drives all six lamps together.
On this page
- Why must each output sit at the end of its branch?
- Are multiple outputs on one rung AND logic or OR logic?
- How do you build the flashing timer for six lamps?
- What checks do you run when the lamps will not flash?
- Does the branch rule differ from other Allen-Bradley families?
- How many outputs should one rung actually carry?
- Questions asked
On an SLC 500 you can put many outputs on one rung, but only as parallel branches, and every output instruction — OTE, OTL, OTU, TON, counters — must terminate its branch at the right-hand side. Unlike some controller families, the SLC 500 has no mid-rung output. The branches are OR paths off the same upstream logic: any true path to a branch makes the output on that branch true. For your six flashing lights, build one self-resetting TON circuit and branch to six lamp outputs after it. The Rockwell SLC 500 instruction set reference manual documents the output-class instructions and their addressing on this platform.
Why must each output sit at the end of its branch? #
The SLC 500 instruction set defines output instructions as rung terminators: an OTE takes the power-flow result of the logic leading to it and writes its bit, and there is no defined behavior for contacts placed after it. That is the single rule behind every layout question on this controller.
The practical consequence is that a rung with several outputs is drawn as a stack of parallel branches, each ending in one output instruction. A common guideline is to keep a rung to roughly 10 to 20 branch outputs and split beyond that, purely for readability — the controller imposes no small numeric cap, and the instruction set reference lists no per-rung output limit. If the rung gets hard to trace at the cabinet, move half the branches to a second rung driven by the same condition.
Are multiple outputs on one rung AND logic or OR logic? #
Parallel output branches are OR paths: each output sees the logic result of the path leading to it. Series contacts before the branches are AND conditions that all paths must pass.
- Contacts in series before the branch point: every condition must be true for any output to turn on (AND).
- Contacts in series on one branch only: only that branch's output requires them; the other outputs switch without them.
- Branches after the shared logic: each output is true whenever the shared logic is true, so identical branches switch together.
A rung with six lamp branches after one timer contact is not a six-input AND of lamps; it is one condition distributed to six loads. Contacts downstream of an output do not affect that output, and on the SLC 500 there should be no contacts downstream of it at all.
How do you build the flashing timer for six lamps? #
Use one TON whose own done bit breaks its rung, so the timer runs, times out, resets and repeats. Then the done bit is your flash signal. For an SLC 500 TON, select the timebase in the timer instruction (0.01, 0.1 or 1.0 s per the manual) and set the preset in counts.
Worked example with real numbers:
- Rung 1: XIO T4:0/DN in series with TON T4:0, preset 20, timebase 0.1 s.
- The timer accumulates to 20 counts: 20 x 0.1 s = 2.0 s.
- DN goes true, which makes the XIO false, which drops the rung and resets the TON: ACC returns to 0, DN goes false, and the cycle restarts every 2.0 s.
- Rung 2: XIC T4:0/DN feeding six parallel branch outputs — OTE O:2/0 through O:2/5.
All six output bits go true together for the interval the done bit is true and drop together when it resets. Change the preset to 50 and the period becomes 50 x 0.1 s = 5.0 s; the period scales directly with preset x timebase. This gives short on-pulses each cycle; for a symmetric on/off square wave, cascade a second TON driven by the first and alternate the two done bits — the branch-output rule is identical.
The TON resets whenever its rung goes false, which is exactly the behavior this flasher depends on; the related article on why a CODESYS TON output stays on after its rung goes false covers what changes on platforms where the done-bit handoff differs.
What checks do you run when the lamps will not flash? #
Work through the rung in this order before touching the timer preset:
- Monitor T4:0/EN while the enabling input operates. If EN never comes on, fix the upstream contact or the input bit — no preset change can help.
- Watch ACC against the preset while the rung is enabled. ACC holding at a partial value means the rung is dropping out early; trace the enabling condition.
- Watch DN at the moment ACC reaches the preset, and confirm the rung drops and ACC resets to 0 on the next scan. A DN that latches means your XIO is not in the timer's rung path.
- Monitor all six output bits against DN. If the bits follow the cycle, any dark lamp is a module, wiring or load problem — stop editing the ladder.
- Confirm every output instruction ends at the right edge of its own branch. A layout copied from a controller that allows mid-rung outputs is not valid here.
For outputs cleared or set by latching instructions in the same rung stack, the article on using an Allen-Bradley OTU without an OTL explains why an unlatched OTU bit behaves differently from your momentary lamp outputs.
Does the branch rule differ from other Allen-Bradley families? #
Yes. On controllers that allow an OTE in the middle of a rung, each output reflects only the logic leading up to it and logic can continue past it. The SLC 500 does not: every output-class instruction must end its rung or branch. Code converted from those platforms onto an SLC 500 or its emulator is where mid-rung output layouts usually surface, so check converted rungs first when this error appears after a migration.
How many outputs should one rung actually carry? #
Carry as many as the reader of the program can trace at a glance, splitting to new rungs past roughly 10 to 20 branches. Six lamp branches off one done bit is a compact, standard layout; sixty is a maintenance problem, not a programming achievement. Function, not the instruction set, sets the limit.
Decision: for six or any number of lamps that flash on the same condition, use one self-resetting TON and one rung of parallel branch outputs, each terminated at the right-hand side. For lamps needing different timing, give each its own timer rung instead of one shared branch.
Questions asked
Does an output instruction pass power further down an SLC 500 rung?
No. The SLC 500 treats every output-type instruction as a rung or branch terminator, so logic placed after one has no defined power-flow path to follow. Put any downstream contacts before the output, or move them to their own branch. Controller families that allow mid-rung outputs evaluate them independently, but the SLC 500 instruction set does not support that layout.
Can OTL and OTU share a rung with OTE instructions?
Yes. OTL, OTU, TON, CTU and the other output-class instructions each terminate their own parallel branch and are evaluated off the same upstream logic result. Keep each on its own branch at the right end, and remember an OTL bit stays set until an OTU or a power cycle clears it, which matters when the same rung also carries momentary OTE loads.
How many rungs do I need for six flashing lamps with different on times?
Six. Parallel branches only fan out one shared logic result; they cannot give each lamp its own preset or phase. Build one timer circuit per pattern and let each lamp branch follow its own timer's done bit. Branch sharing works only when every output on the rung switches at the same moment.