Overview: The Bar-Change Indicator Problem
On a manual bar-feed lathe, cut-off saw, or any shop machine that consumes a fixed-length workpiece, the operator must change the bar before the remnant becomes too short to grip. Forgetting the change-over moment means a tool crash, scrap, a damaged chuck, or a thrown workpiece. A red/green tower light driven by a count-down timer is the simplest hard-wired way to signal bar still good (green) versus change bar now (red) without integrating to a CNC or PLC.
This article builds a fully discrete, hard-wired indicator using an Omron H3DK-F DIN-rail solid-state timer relay (or an Intermatic spring-wound mechanical countdown), a 24 VDC LED signal tower, and the standard NC/NO contact pattern. A Tuya/Alexa smart-relay layer is added as redundancy only — never as the primary trigger. The design is intentionally non-networked at the trigger path so that router reboots, ISP outages, and phone-OS updates cannot strand the operator.
Why a hard-wired timer beats alternatives for this job
| Approach | Pros | Cons |
|---|---|---|
| Hard-wired timer + 24 V LED tower | Survives network and cloud outages; loud, on-machine, instant | Operator must press start each cycle |
| Wi-Fi smart plug + tower light | No ladder logic; voice alerts possible | Cloud latency, single point of failure |
| PLC + HMI station | Centralized, scalable, loggable | Overkill for a single station; programming burden |
| Mechanical kitchen timer + light | Cheap, no wiring skill | Single shot, no remote alert, mechanical wear |
| Cycle-count meter on the spindle | Tracks actual bar length, not time | Requires encoder or prox sensor on machine |
Prerequisites
- 120 VAC or 240 VAC single-phase shop supply tapped downstream of the machine disconnect
- 24 VDC power supply (Mean Well HDR-30-24, Phoenix Contact QUINT, or equivalent) sized for tower-light load plus 25 % margin
- Omron H3DK-F (or -G/-H variant) DIN-rail solid-state timer relay, 24–240 VAC/VDC supply
- 24 V LED tower light with separate red and green tiers (IP54 minimum for shop coolant)
- 18 AWG stranded copper hookup wire, UL 1015 or equivalent, color-coded per NEC
- 35 mm DIN rail, end clamps, finger-safe terminal blocks, and a small enclosure (NEMA 4 for shop fluids)
- Hand tools, ring-lug crimper, calibrated multimeter, NO/NC contact tester
Component Specifications
24 V LED Signal Tower Light
A typical 24 VDC industrial LED stack light (e.g., the Othmro 24 V 3 W unit, or a Patlite LE-/LR6-/LME-series equivalent) provides the visible status output. Verify the catalog number explicitly lists 24 VDC and IP54 or higher before purchase; many cheap Amazon listings are IP20 indoor only.
| Parameter | Typical value |
|---|---|
| Operating voltage | 24 VDC ±10 % |
| Current per tier | ≤ 125 mA steady-state (3 W ÷ 24 V) |
| Inrush current | ≤ 500 mA peak for < 1 ms (driver capacitor charge) |
| Colors | Red, Green (Yellow, Blue, White optional) |
| Ingress protection | IP54 minimum; IP65 preferred near coolant |
| Mount | Vertical pole mount or direct base, M22 thread typical |
| Service life | ≥ 50,000 hours LED |
| Wire leads | 22 AWG, 300 mm pigtails, color-coded per tier |
| Operating temperature | −20 °C to +50 °C |
Tower lights are widely listed at Amazon — Industrial LED Signal Tower Warning Lamp, 24 V green and Amazon — Othmro 24 V 3 W Warning Light. For UL-listed industrial service in a regulated plant, reference the Patlite product catalog directly and select from their LE, LR6, or LME series with the appropriate voltage code.
Omron H3DK-F Solid-State Timer Relay
The Omron H3DK series DIN-rail timer is the workhorse of this design. It carries eight timing modes, a 0.1 s to 100 h time range depending on variant, and SPDT (5 A) or DPDT (3 A) output contacts. Select the suffix by supply voltage: -A for 24–240 VAC/VDC, -D for 12 VDC, -B for 24 VDC only.
| Specification | H3DK-F (typical) |
|---|---|
| Supply voltage | 24–240 VAC/VDC (-A) or 12 VDC (-D) |
| Power consumption | ≤ 2.5 VA at 240 VAC |
| Timing range | 0.1 s to 100 h (variant-dependent) |
| Modes | 8 — A power-on-delay, B repeat cycle start OFF, C, D, E, F, G, H |
| Output contact | SPDT 5 A / 250 VAC resistive (H3DK-F); DPDT 3 A (H3DK-G/H) |
| Contact material | AgNi (silver nickel, gold-clad option) |
| Mechanical endurance | 10 million operations |
| Electrical endurance | 100,000 operations at rated load |
| Repeat accuracy | ±1 % of full scale |
| Setting error | ±10 % of full scale |
| Reset time | ≥ 100 ms |
| Terminals | Screw, 2.5 mm² max, 0.8 N·m torque |
| Mounting | 35 mm DIN rail (EN 60715) |
| Approvals | UL 508 listed, CSA, CE, CCC, RCM |
| Dielectric strength | 2,000 VAC, 1 min between contacts and coil |
For full timing diagrams, DIP-switch truth tables, and contact-form drawings, see the Omron H3DK Series product page (Cat. No. H153-E1 datasheet).
Intermatic Spring-Wound Countdown Timer (optional mechanical alternative)
If you prefer a purely mechanical, no-electronic-supply primary trigger, the Intermatic spring-wound two-circuit countdown switch (FD-series) provides a true mechanical NO/NC transfer at time-out. It needs no PSU and no relay, but its accuracy is roughly ±5 % and the spring fatigues after ~10,000 cycles.
| Specification | Intermatic FD-series |
|---|---|
| Input | 120 / 208 / 240 / 277 VAC, 50/60 Hz |
| Switch rating | 20 A general use, 1 HP @ 120 VAC motor, 2 HP @ 240 VAC |
| Time ranges | 15 min, 30 min (FD32M), 60 min (FD6H), 12 h |
| Contacts | SPDT (one NO, one NC); wire to both NO for two-circuit |
| Hold feature | Optional hold knob to defeat timer (run indefinitely) |
| Mount | Single-gang wall box, decorator faceplate |
| Approvals | UL listed, CSA |
Refer to the Intermatic Spring-Wound Countdown Timer product page for the full FD/FF catalog matrix.
Wiring Architecture
The standard pattern is: power the timer in Mode A (power-on-delay, also called on-delay), run the green tier through the NC (normally-closed) contact so the bar is "good" while the timer is counting, and run the red tier through the NO (normally-open) contact so the red "change bar" tier energizes at time-out. The COM terminal of the SPDT switch is the switched feed.
Power and signal flow
Wiring truth table
| Timer state | NC contact (Common↔NC) | NO contact (Common↔NO) | Green tier | Red tier |
|---|---|---|---|---|
| Power OFF | Closed | Open | ON (if COM live) | OFF |
| Counting (t < set) | Closed | Open | ON | OFF |
| Time-out (t ≥ set) | Open | Closed | OFF | ON |
Note that the table above assumes the COM terminal is fed from the +24 V rail. If you instead wire COM to ground and feed the tier returns through NC/NO, both tiers stay off until the contact closes — swap the wiring, not the assumption.
Step-by-Step Procedure
- Mount the enclosure. Install a NEMA 4 (or better) enclosure near the operator sight line, but not in the chip-spray zone. Drill and tap for the tower-light pole mount on the operator-side column at eye height.
- Install DIN rail. Cut 35 mm DIN rail to length, mount with two screws, and verify it is level.
- Mount components. Snap the 24 VDC PSU and the Omron H3DK-F timer onto the DIN rail. Add finger-safe terminal blocks (Phoenix Contact UT4 or equivalent) for power distribution.
- Wire AC input. Land L1 and N from the machine disconnect to the 24 VDC PSU (L → L, N → N). Bond the PSU chassis ground to the enclosure ground lug. Torque terminals to manufacturer spec (typically 0.8 N·m).
- Set H3DK-F DIP switches. Per the H153-E1 datasheet: mode A (power-on-delay), time-range selector to ×10 s or ×1 min per your bar time, time-set dial to the calculated value. Lock the transparent dial cover.
- Wire the timer coil. Land A1 and A2 of the H3DK-F to the 24 VDC output of the PSU.
- Wire the SPDT output. Land +24 V on the COM terminal. Land the green tier (+) feed on the NC terminal. Land the red tier (+) feed on the NO terminal.
- Wire tier returns. Bond both tier (−) pigtails back to the 24 VDC (−) rail.
- Add a Hand-Off-Auto switch. Place a 3-position selector (HOA) in series with the timer supply so the operator starts each bar cycle manually. In OFF, no power to timer; both tiers dark. In AUTO, timer counts; in HAND, output is forced by a separate path (optional).
- Verify wiring. With the disconnect open, meg the line-to-line and line-to-ground insulation resistance at 500 V (should read > 1 MΩ). Close the disconnect. Measure 24 VDC at the PSU output and at the timer coil terminals A1/A2.
- Commission the timer. Set the dial to 5 s for the first test. Power-cycle, confirm green ON for 5 s, then red ON. Increase the time setpoint to the actual measured bar run time once verified.
Timer Settings & Calibration
For a 12-foot bar running at 5 inches per second, the theoretical bar time is:
t = (12 ft × 12 in/ft) ÷ 5 in/s = 28.8 s
Add 10 % margin for operator reaction and last parting cuts, then set the H3DK-F dial to 32 s. Always measure the actual bar-to-stop time on three production runs before locking the dial.
| Step | Action |
|---|---|
| 1 | Run a bar; time with a stopwatch from "bar loaded" to "stopped at remnant". |
| 2 | Record the time for three back-to-back runs; use the maximum. |
| 3 | Add 10 % margin for operator reaction. |
| 4 | Set the H3DK-F dial to the calculated value on the selected range. |
| 5 | Lock the dial cover with a tamper-evident label. |
Mode selection rationale
| Mode | Behavior | Fit for this job |
|---|---|---|
| A — Power-on-delay | Coil energized; timer starts; output transfers after t | Correct — green during count, red at time-out |
| B — Repeat cycle, start OFF | Coil energized; cycles OFF/ON/OFF/ON… | Wrong — would flash the tiers |
| E — Power-off-delay | Output transfers immediately, holds, then releases when coil drops | Wrong — would invert the logic |
| H — Star-delta | Two-stage timer for motor starters | Wrong — wrong domain |
Smart Backup (Optional, Redundant Only)
To back up the hard-wired timer, add a Tuya-compatible Wi-Fi relay (Sonoff MiniR4, Shelly Plus 1, or equivalent) wired in parallel with the timer's NO contact so a phone-app or Alexa routine can also drive the red tier. Never use the smart relay as the only trigger — it depends on Wi-Fi, the cloud, the phone OS, and the smart-home hub.
Recommended Alexa/Tuya routine
- Create a virtual button "Bar Timer" in the Alexa app.
- Routine 1: "Bar Timer pressed" → close Shelly Plus 1 contact → red tier on.
- Routine 2: 60 s after Bar Timer pressed → Alexa says "Bar should be changed."
- Routine 3: 5 min after Bar Timer pressed → push notification to operator phone.
- All three routines should be classified as "reminders," not "alarms," so the phone silences them when in Do-Not-Disturb.
Wire the smart relay's dry-contact output across the timer's NO terminal — that way, the hard-wired timer and the smart relay drive the same contact in parallel, and either one alone will light the red tier.
Verification & Commissioning
| Check | Expected | Pass criterion |
|---|---|---|
| Power applied, HOA in AUTO, timer freshly started | Green ON, Red OFF | Visual confirm; measure +24 V at green tier (+) |
| Timer set to 30 s, start cycle | Green remains ON for 30 s ± 3 % | Stopwatch; record deviation |
| At time-out | Red ON, Green OFF (instantaneous contact transfer) | Measure < 100 ms transition |
| Reset by HOA OFF → AUTO | Green ON, timer restarts at zero | Visual + stopwatch |
| Power loss mid-cycle | On power restore, timer restarts at zero (mode A) | Document behavior for operator |
| Smart relay backup test | Manual close of Shelly Plus 1 → Red ON independent of timer | Trip both sources to confirm parallel path |
Safety & Standards
Key electrical checks
- Confirm the H3DK-F contact rating (5 A resistive) exceeds the tower-light inrush. LED driver capacitors can spike to 4× steady-state for < 1 ms; this is well inside the 5 A rating.
- Use 24 VDC, not 120 VAC, at the tower-light tier pigtails to keep conductor insulation within reach-safety limits under NFPA 79 § 6.1 (extra-low voltage).
- Mount the tower on the moving headstock guard only if the operator travels with the bar; otherwise mount on the operator-side fixed column at eye height (1500–1700 mm).
- Verify the H3DK-F dielectric strength (2,000 VAC, 1 min) when commissioning; this protects against coil-to-contact breakdown.
Wire and fuse sizing
| Conductor | Gauge | Breaker / fuse | Rationale |
|---|---|---|---|
| 120 VAC to PSU (L1, N) | 14 AWG | 3 A fast-blow | PSU is 30 W max; 3 A is 2× derated load |
| 24 VDC PSU output to timer & tiers | 18 AWG | 2 A fast-blow on + rail | Total load < 500 mA; 2 A is 4× derated |
| Tier pigtails (already on tower) | 22 AWG | n/a (factory) | Within UL listing for 3 W tier |
Troubleshooting Matrix
| Symptom | Likely cause | Fix |
|---|---|---|
| No light at all | PSU output 0 V; polarity reversed at tier; HOA in OFF | Verify 24 VDC at supply; check tier polarity; confirm HOA position |
| Both tiers always on | NC and NO both jumpered to COM (wiring error) | Re-wire per schematic — only COM is common |
| Timer never times out | Wrong DIP mode (e.g., mode E infinite OFF) | Set mode A per H153-E1 § DIP settings |
| Red flickers at start | Inrush on green tier pulling NO contact; loose terminal | Add 0.1 µF X2 across tier; retorque to 0.8 N·m |
| Drift > 5 % from setpoint | Aging electrolytic on internal RC; temperature swing | Replace H3DK-F after 100,000 ops; locate away from heat sources |
| Tower light not visible from operator station | Wrong mounting position | Reposition on operator-side column at 1500–1700 mm |
| Smart relay backup won't fire | Wi-Fi down; cloud token expired; phone in DND | Verify Wi-Fi; re-auth Tuya; treat as backup only |
| Both tiers flicker together | Loose DC common; PSU current limit tripping | Check − rail continuity; verify PSU sized ≥ 1.25× load |
Maintenance Schedule
| Interval | Task |
|---|---|
| Daily | Operator visual check: green during run, red at time-out |
| Weekly | Wipe tower light lens with isopropyl; verify IP seal intact |
| Monthly | Pull disconnect; meg line-to-ground at 500 V; retorque terminals |
| Quarterly | Time the bar cycle against stopwatch; recalibrate timer dial if drift > 5 % |
| 100,000 cycles | Replace H3DK-F timer (electrical endurance limit) |
| 5 years | Replace 24 VDC PSU (electrolytic aging) |
Spare Parts List
| Item | Catalog reference | Qty |
|---|---|---|
| Omron H3DK-F timer (24–240 VAC/VDC) | Omron H3DK-F1 AC/DC24-240 | 1 spare |
| 24 VDC PSU 30 W DIN rail | Mean Well HDR-30-24 | 1 spare |
| Tower light red tier (24 V) | Patlite LE-R or equivalent | 1 spare |
| Tower light green tier (24 V) | Patlite LE-G or equivalent | 1 spare |
| SPDT HOA switch, 3-position | Schneider Electric 9001SK2 / Eaton M22-WRS | 1 spare |
| 2 A fast-blow fuse, 5×20 mm | Littelfuse 0235002 or equivalent | 5 spares |
Notes on Extension to Other Controllers
If a shop later migrates to a PLC (Allen-Bradley MicroLogix, CompactLogix, or Siemens S7-1200), the same tower light can be driven directly from a 24 VDC discrete output module. The H3DK-F becomes redundant. Conversely, if you already have a PLC, skip the timer relay entirely and use a TON (Timer-On-Delay) instruction in ladder logic with a BOOL output mapped to a 24 VDC DO module. Both approaches are valid; the discrete-timer version is preferred when you want zero dependence on programming and maximum field-serviceability with multimeter-only troubleshooting.
What voltage tower light should I pick for a 120 VAC shop?
Use a 24 VDC LED tower light fed from a DIN-rail 24 V power supply (Mean Well HDR-30-24). 24 VDC is safer for shop wiring than 120 VAC tier leads and lets you run the same low-voltage line to both tiers from a single supply. Verify the PSU wattage covers all tiers (3 W × tier count) plus 25 % margin.
Can I drive the tower light directly from the Omron H3DK-F contacts?
Yes for LED tower lights drawing ≤ 3 W per tier (≤ 125 mA at 24 VDC). The H3DK-F SPDT contact is rated 5 A at 250 VAC resistive, well above the LED steady-state and inrush. If you add incandescent tiers, buzzers, or strobes above 100 mA, insert an interposing relay (e.g., Omron G2R-1-S 24 VDC) between the timer and the load.
How do I reset the timer between bars?
Add a Hand-Off-Auto (HOA) selector switch or a momentary start pushbutton in series with the H3DK-F timer coil supply. Cycling the HOA from AUTO to OFF and back to AUTO restarts the count in mode A. The Intermatic FD-series has a built-in hold knob for indefinite run, which is useful for setup and dry-cycle testing.
Is a Wi-Fi smart relay reliable enough to replace the hard-wired timer?
No. Wi-Fi and cloud services introduce latency and single points of failure (router reboot, ISP outage, app crash, phone-OS update, Tuya token expiry). Use the smart relay only as redundant backup layered onto the same NO terminal. The hard-wired H3DK-F must remain the primary trigger so the operator is never stranded by a network problem.
Which Omron H3DK-F mode is correct for this bar-change application?
Mode A — power-on-delay (also called "on-delay" or "delay on operate"). When the timer coil is energized, the timer starts counting; the NC contact stays closed (green tier ON) until time-out, at which point the contact transfers and the NO contact closes (red tier ON). See the Omron H3DK Series product page datasheet H153-E1 for the full timing diagram and DIP-switch truth table.