How-to
Converting PLC-5 photoeye inputs from 120 VAC to 24 VDC
Short answer
Swap photoeye-only 120 VAC 1771 input cards for 24 VDC modules in the same slots first; add 24 VDC inputs or a 1794-ASB FLEX remote rack where the photoeyes share cards; use one solid-state 120 VAC-to-24 VDC interface per point only where a card must stay. Three 16-point input cards cover 38 photoeyes with 10 points to spare.
On this page
- Sort the photoeye points before ordering hardware
- Sizing the DC input cards for 38 photoeyes
- Swapping a photoeye-only 120 VAC card in place
- Adding DC input modules in the existing racks
- Hanging a FLEX rack off the remote I/O link
- Interfacing the points whose cards must stay
- The decision for each case
- Questions asked
Swap the photoeye-only 120 VAC input cards for 24 VDC 1771 input modules in the same slots — that is the first move, because the slots, the field wiring arms and the data-table addresses all stay put. Where the photoeyes share cards with switches, relays and other line-voltage equipment, add DC input modules in open slots or hang a small FLEX rack off the remote I/O link through a 1794-ASB adapter. Keep a per-point solid-state AC-to-DC interface for the few cards that cannot be opened, and skip the mechanical relay bank. By the count below, three 16-point input cards carry the whole photoeye scope with points to spare, and every untouched line-voltage circuit stays exactly as it is.
Sort the photoeye points before ordering hardware #
The photoeyes are about 38 points inside roughly 70 to 80 total inputs, so this retrofit is sized by the photoeye list, not by the panel's whole input count. Map before anything is ordered:
- Export or print the I/O map and record each photoeye's chassis, slot, point address, terminal and wire numbers — the fields the guide to selecting PLC inputs and outputs from an I/O list works from.
- Record each point's input bit with its sensor clear and with it blocked.
- Trace each input common and its field supply, group by group.
- Mark which AC input cards serve photoeyes only and which mix photoeyes with switches, relay contacts or interfaces to the small machines.
- Note which sensors share a multicore cable, and with what.
A photoeye whose multicore cable also carries unrelated AC signals pulls those conductors into the cutover, so settle shared cables at the terminals before committing to a card-by-card plan. The mixed cards found in step 4 decide which build path each point takes.
Sizing the DC input cards for 38 photoeyes #
Inputs, with their source:
- 38 photoeyes to move onto DC — the scope reported for this conveyor retrofit.
- 16 input terminals per I/O group — the 1771 addressing unit, which holds up to 16 input and 16 output terminals.
- 16-point 24 VDC input cards — the module class this count assumes.
- Two racks of about seven cards each, one of them remote — the as-built layout of this system.
Rule: divide the points to convert by the points per card and round up, because a partly filled card still occupies a full slot.
Arithmetic:
- 38 ÷ 16 = 2.375, which rounds up to 3 input cards.
- 3 × 16 = 48 points available, and 48 - 38 = 10 spare points.
Result: three 16-point DC input cards carry the photoeyes with 10 spare points.
Decision: if the photoeyes sit on three or fewer dedicated AC cards, swap those cards in place and the job needs no new slot at all. If they are scattered across mixed cards, the plan needs three new input slots, placed against the chassis addressing rules in the next section. If neither rack can supply them, the same count sizes the FLEX rack further down.
Swapping a photoeye-only 120 VAC card in place #
A 120 VAC card that serves photoeyes only comes out, and a DC input module from the 1771 family — the 1771-IVN is one catalog number in that family — goes into the same slot. Electrically the processor cannot tell module families apart; unless white keying bands were fitted in the chassis to block a mismatched module, the guard is the procedure itself. The address map holds when the replacement's point count matches the card it replaces. A 16-point module fitted where an 8-point card lived exposes new bits in the same slot, so search the program for those addresses before trusting them.
The swap follows the module's documented replacement sequence: insert the replacement into the same slot, seat it firmly, reattach the field wiring arm and torque its terminals. Isolate the AC field supply for that card and verify zero volts at the terminals before pulling the wiring arm.
After power-up, block and clear each photoeye by hand and compare its bit against the states recorded in the map. One card at a time keeps any rollback small.
Adding DC input modules in the existing racks #
When a card mixes photoeyes with other AC devices, leave that card alone and put a new DC 1771 input module in an open slot of the same rack. Before ordering, match each photoeye's output type to the input circuit: a sourcing PNP sensor pairs with a sinking input, and a sinking NPN sensor pairs with a sourcing input.
Placement follows the chassis addressing configuration, which runs as 2-slot, 1-slot or 1/2-slot I/O groups. An input module may sit in any I/O slot of the chassis unless 1- or 2-slot addressing is configured, and under 2-slot addressing no other input module and no single-slot block transfer module may share the new module's group. Check both neighbors of a candidate slot before seating the module.
A slot that passes those checks adds no rack, no adapter and no new addresses to the remote I/O map — the module simply joins the rack's existing addressing. If both racks are full, or no group can take another input under 2-slot addressing, take the FLEX path.
Hanging a FLEX rack off the remote I/O link #
With no slot left anywhere, add a FLEX rack and connect it to the PLC-5's remote I/O link through a 1794-ASB adapter. The vendor documents the 1794-ASBLT Series D adapter for remote I/O communication with Classic PLC-5/15 and PLC-5/25 processors, so read the installed processor model against that documentation before ordering. The worked example's count transfers directly: the same 16-point DC input modules, in the FLEX family, on a rack sized to hold them.
Two checks set the rack address. First, look up how many remote I/O logical racks the installed processor supports and how many are already in use — a classic PLC-5 processor performs one remote block transfer per addressed rack per remote I/O scan, so every rack number on the link adds a transfer to each scan. Second, give the new rack its own rack number on paper and compare that map against every existing address and program reference before anything is wired. A fresh rack number leaves the other remote rack's addresses untouched; addresses move only when an existing chassis is enlarged or its cards are re-slotted, which this plan avoids. If the racks already in use, plus the new one, exceed the processor's documented count, the FLEX rack cannot join this link and the interface path below covers whatever remains.
Interfacing the points whose cards must stay #
For a mixed card that this outage cannot open, the new DC photoeye drives a per-point interface: the sensor's DC output switches the interface's control side, and the interface's output switches 120 VAC into the existing input point. A solid-state interface of the Weidmüller 1127230000 type is the class of part — one per independent photoeye signal, so the interface count follows the photoeye list, not the panel's whole input population.
Three checks before buying in quantity. Direction: names like AC to DC do not always say which side is the control input and which is switched, so confirm from the wiring diagram and terminal ratings, not the product name. Leakage: a solid-state output that leaks can hold an AC input card on, so compare its off-state leakage with the input module's off-state threshold — how discrete PLC I/O modules isolate and switch field signals covers that input-side behavior. Heat: a solid-state interface dissipates power in both states, so check its datasheet for dissipation and panel spacing.
This is also where the mechanical relay bank loses. One relay per photoeye puts around 40 mechanically switched contacts cycling hundreds of times a day above the rack — contacts wear, coils fail, and every fault is a physical part to trace. The solid-state interface does the same conversion without moving contacts, and the checks above are what remains.
The decision for each case #
Take the paths in this order:
- Photoeyes on dedicated AC cards: swap the cards for 24 VDC 1771 input modules in the same slots — the worked example's count sizes the order — same addresses, neighbors untouched.
- Photoeyes mixed with other devices and an open slot available: add DC 1771 input modules there, planned against the chassis addressing mode and the module-group rule.
- Both racks full: hang a FLEX rack with 16-point DC input modules on a 1794-ASB adapter — a 1794-ASBLT Series D where the processor is a Classic PLC-5/15 or PLC-5/25 — under a fresh rack number after the logical-rack check.
- A mixed card that must stay: one solid-state AC-to-DC interface per photoeye, with direction, off-state leakage and heat verified, and no mechanical relay bank.
- Full DC conversion or a controller generation change: not in this window; the paths above keep the PLC-5, its program and every untouched AC circuit as they are.
Questions asked
Can the new photoeyes hang off an IO-Link master instead of new input cards?
IO-Link masters exist that advertise EtherNet/IP connectivity to PLC-5E class processors, but the data reaches the controller as message instructions rather than a cyclic I/O connection, and classic remote I/O PLC-5 hardware has no Ethernet path at all. Even a late Ethernet PLC-5E with dual-stack CSPv4 and EtherNet/IP support would not give the scanned update behavior an input card gives. Treat IO-Link as part of a controller migration, not this retrofit.
Do the 120 VAC circuits that stay need any change?
No. Every card that keeps its 120 VAC points keeps its field wiring, commons and supply exactly as it is. The retrofit touches only the photoeye points, either by moving them onto DC input modules or by feeding them through interfaces, so the switches, relays and small-machine interfaces stay on their existing circuits.
How do I cut the points over without a long line outage?
Work one card at a time and use a scheduled stop per card. After the swap or interface wiring, power up, then block and clear each photoeye by hand and compare its input bit against the states recorded during mapping. Any inverted or dead point gets fixed before the next card begins, so a fault never spans two cards.
Why not convert the whole panel to 24 VDC while the cards are out?
That turns a sensor retrofit into a full panel rebuild: every 120 VAC input and output circuit, the undocumented relay bank and the interfaces to the small machines would be rewired in one project. The plan above keeps those circuits as they are and adds 24 VDC only where the new photoeyes need it, which is what a single execution window absorbs.