IMDHMIControls LibraryShop main store

Explainer

How a DL-260 CPU scans thermocouple cards each scan

PLC programming Published 5 min read

Short answer

The manual's four-channels-per-scan statement describes one card. A DL-260 reads all four channels of each thermocouple card every scan, so four cards deliver all 16 channels each scan and you program no card rotation. Verify your scaling pointer's range covers every card's data words; the pointer sequences your scaling, not the CPU's acquisition.

On this page
  1. The per-card rule the manual states
  2. Why four cards do not share one four-channel budget
  3. The D2-230 is where one channel per scan really happens
  4. Two sequencers: the card transfer and your pointer
  5. Worked example: update rates at a 10 ms scan
  6. Check the pointer's range, not the CPU's timing
  7. Questions asked

A DL-260 reads all four channels of each thermocouple card on every scan. The manual's four-channels-per-scan statement describes one card, and every card you add repeats the same per-card handling in the same scan, so four four-channel cards give you all 16 channels every scan: four from card 1, four from card 2, four from card 3, four from card 4. Nothing in your program has to fetch the next four. What you do verify is the pointer logic itself, because the pointer decides which of the 16 already-refreshed data words your scaling rung processes — a pointer can skip cards the CPU never skipped.

The per-card rule the manual states #

The DL205 Analog I/O manual states channel-scanning behavior per module, as if one card were installed. For the F2-08AD-1 eight-channel current input card, the manual's chapter 4 states that with a DL240, DL250-1 or DL260 CPU you can read all channels in one scan. A separate section of the same manual covers the scanning sequence — multiplexing — for the D2-230 CPU only, which is the CPU that does not take all channels in one scan.

The per-scan channel count is therefore a property of the CPU-and-card pairing. On a four-channel thermocouple card, "four channels per scan" is the whole card, every scan. Adding cards multiplies the cards, not the scans.

Why four cards do not share one four-channel budget #

Each card is handled independently, in the same scan. Four cards at four channels each is 4 × 4 = 16 data words delivered to the CPU every scan. The alternative reading — one shared budget of four channels per scan, advancing card by card — would cover all 16 channels only once every four scans. That pattern exists in this controller family, but it belongs to the D2-230, not to a DL-260.

The D2-230 is where one channel per scan really happens #

The D2-230 multiplexes: it takes one channel per card per scan, which is why the DL205 Analog I/O manual carries a scanning-sequence section for that CPU alone. With four four-channel cards, a D2-230 collects one channel from each card per scan — four channels system-wide — and needs four scans to touch all 16. If your instinct about "channels per scan" was formed on that CPU, the worry is reasonable there and misplaced on a DL-260.

Two sequencers: the card transfer and your pointer #

The chain has two independent sequences, and only one of them is yours. The card converts each thermocouple signal to a digital word — that conversion side of the chain is what PLC analog input and output modules convert signals covers — and the CPU collects every card's words on every scan. Your pointer then selects which word the scaling rung uses this scan. The pointer sequences your scaling; it does not schedule the card's acquisition, and no pointer value can change how many channels per scan the CPU reads.

Scan time is not working against you here either. A scan hides events shorter than itself, which is why a PLC misses short input pulses, but a thermocouple value is a level, not an edge: the raw word simply holds the latest converted value whenever your rung reads it.

Worked example: update rates at a 10 ms scan #

Take a 10 ms scan time as an example input — measure your own scan time; 10 ms is not a specification. The documented behavior is that all 16 channels refresh every scan.

  • Raw refresh: each of the 16 data words is rewritten every scan, so each channel's raw value updates 1 / 0.010 s = 100 times per second.
  • Pointer scaling one channel per scan: the rung revisits a given channel every 16 scans, so each scaled value refreshes every 16 × 10 ms = 160 ms, which is 1 / 0.160 s = 6.25 updates per second.
  • Decision: 160 ms is comfortable for temperature display and slow thermal loops, and one channel per scan is the economical pattern the pointer method exists for. If a loop needs scaled values as fresh as the raw data, walk the pointer across all 16 words within one scan and every scaled value then updates at the 100-per-second raw rate.

Check the pointer's range, not the CPU's timing #

The failure mode that looks like "the CPU only reads four channels" is a pointer whose range covers one card. Verify three things against the project's I/O configuration:

  • The data-word map for all four cards. Each thermocouple must land on a thermocouple-type input card — the same dedicated-input requirement behind why FX5U thermocouple readings need a dedicated TC input — and the project configuration shows each card's word range.
  • The pointer's start, step and end condition. For 16 channels they must span all four cards' words, wrapping only after the last card's last word.
  • The pointer online over several scans. It must advance through the full range and reset at the end, not after four words.

If the pointer already spans the full map, leave it alone — do not add a card-rotation counter, because there is no card rotation to synchronize with. If it wraps after one card's words, fix the end condition to the full map and recheck each scaled value against its raw word. Make any online edit under your site's change-control practice, with the process in a state that tolerates a download.

Questions asked

How many channels per scan does a D2-230 read from the same cards?

One channel per card per scan. With four four-channel cards that is one channel from each card per scan, four channels system-wide, and all 16 channels are covered every four scans. At a 10 ms scan each channel updates every 4 × 10 ms = 40 ms, or 25 updates per second. The DL205 Analog I/O manual also lists a CPU firmware requirement for using these modules with a D2-230, so confirm the CPU's firmware before counting on that timing.

Does an eight-channel analog card finish in one scan on a DL-260?

Yes. On the F2-08AD-1 eight-channel current input card, a DL240, DL250-1 or DL260 CPU takes all eight channels in a single scan, as covered below. On a D2-230 the same card covers its eight channels at one per scan, so it needs eight scans. Four channels per scan is what one four-channel card delivers, not a budget the CPU spreads across cards.

How do I prove all 16 channels are live?

Apply a known change to one thermocouple input at a time — a calibrator or a heat source at the junction — and watch that channel's raw data word online. The word should respond on the following scan, and no other word should move. Work through all 16 channels this way. A channel whose word never responds, or whose change appears in a neighbor's word, has a mapping or wiring fault on that channel, not a CPU scheduling problem.

Is scaling one channel per scan fast enough?

Usually, for temperature. With 16 channels and a 10 ms scan, each scaled value refreshes every 16 × 10 ms = 160 ms, about 6 updates per second, while the raw word behind it refreshes every 10 ms. Displays and slow thermal loops sit well inside that. If a control loop needs scaled values that fresh, walk the pointer across all 16 words inside one scan; the card-to-CPU timing is the same either way.

Keep reading

  • How-to

    Set up a CLICK PLC 4-20 mA pressure trip with a relay output

    Wire the two-wire loop into channel 1 of a C0-04AD-1, set that channel to 4-20 mA with 4 mA scaled to 0 PSI and 20 mA to 300 PSI in DF1, and drive relay output Y1 from Set and Rst coils that trip above 250 PSI and release below 230 PSI, with a loop-fault test below -10 PSI.

    PLC programming

  • Troubleshooting

    Why a PLC misses short input pulses and how to catch them

    A PLC reads each digital input once per scan, so a pulse shorter than the maximum scan time plus the input filter time can rise and fall between two reads and never be seen, with no fault logged. Catch it with a high-speed counter input, an interrupt task, or a latching input module.

    PLC programming

  • Troubleshooting

    Detect a failed analog input channel and report it to SCADA

    Read the raw input word and the module's per-channel diagnostics before you touch the SCP scaling, then alarm channel health as its own tag that names the channel number. A failed channel then reaches SCADA as a fault with an identity, not as a plausible scaled level, so you know whether to carry a card, a transducer, or wire.

    Controllers and I/O