Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

CNC enclosure front panel: switches and lights that tell the truth

Pick every device by what it proves: a lamp on a command output shows only the command, so wire running lights to feedback or label them 'commanded'. Use 22 mm operators on a 2 in [50 mm] grid with cutouts 1 in [25 mm] from edges, running 24 V lamps at 20 mA. Eleven devices fit a 12 x 10 in door with nine spare positions.

NEMA4 Enclosure engineering team · Published November 3, 2026 · 6 min read

A CNC door tells the truth only when you pick each device for what it proves. A lamp wired to the spindle command output says the controller asked for 24 V, nothing more, so wire running lights to feedback or label them 'commanded'. Build the panel from 22 mm operators on a 2 in [50 mm] grid, keep every cutout edge 1 in [25 mm] from the door edge, and run the lamps on the controller's own supply. On a 12 x 10 in [305 x 255 mm] door that grid gives you 20 positions, and a full CNC control set needs 11 of them.

What should each indicator light prove?

A condition you can act on, not a command: the lamp on the spindle output only says the controller is calling for the drive. Wire running lamps to feedback — a drive-ready contact, an at-speed output — or label them 'commanded'.

Take the classic failure: a lamp across the spindle contactor coil lights up while the belt lies broken on the floor. The command was true, the spindle was stopped, and the operator trusted the door. Feedback closes that gap. Feed the running lamp from a VFD at-speed output, a zero-speed contact from a drive, or an auxiliary contact that closes with the contactor's main poles.

The same test catches the power lamp. Wire it on the load side of the control-power fuse, so a blown fuse darkens the lamp instead of hiding behind it. And no lamp on any door proves a circuit dead: lock out the disconnect and prove zero volts with a tested meter before your hands go inside.

Which switches does a CNC front panel need?

Six devices cover most CNC enclosures: an emergency stop, a control-power key switch, cycle start, feed hold, a jog/auto selector and a spindle enable — add a feed override only when the pendant lacks one.

The e-stop follows ISO 13850: a red mushroom on a yellow background, latching, cleared by twisting or pulling the head. Put it where a standing operator reaches it in one step, and give its circuit the fusing and power layout covered in the CNC wiring article.

Control power earns a key switch, because a keyed door stops a cleaner from energizing axes mid-wipe. Treat spindle enable as a permissive input to the controller rather than a switch in the spindle power leads; the controller can then refuse a start while a fault stands.

Should each switch be momentary or maintained?

Whatever starts motion is momentary; whatever selects a state is maintained: cycle start and feed hold are momentary, while mode, control power and spindle enable stay put until you turn them.

The reason is the power dip. A maintained start actuator holds its state, so when the supply returns the controller sees a start request nobody just made. Momentary start and hold inputs need a fresh press after every power-up, which is exactly what you want after a trip.

Function Actuator What it does
Cycle start momentary, green a fresh press starts the program
Feed hold momentary, red pauses feed on the spot
Jog / auto maintained 3-position selector sets the machine mode
Control power maintained key selector energizes the control circuit
Spindle enable maintained selector permits spindle commands

What voltage should the panel lights run on?

The controller's own 24 V DC: a typical 22 mm LED indicator unit accepts 12-24 V AC/DC and draws about 20 mA, so five lamps on your door cost 0.1 A and 2.4 W of control-supply budget.

One voltage across the door makes every spare lamp a drop-in replacement anywhere. Datasheets for these LED units specify 12-24 V AC/DC at 20 mA, and units marked AC/DC accept either polarity, so DC wiring cannot land one backwards. Save neon and 120 V units for lamps that must report mains presence, and give those circuits their own fuse and separation from the control-voltage wiring.

What do the indicator colors have to mean?

Red danger, amber abnormal, green normal, blue a required action, white neutral — IEC 60204-1, the electrical standard for industrial machines, fixes those meanings so an operator reads your door without training.

Color Meaning On a CNC door
Red danger drive fault, e-stop latched
Amber abnormal spindle ramping, axis on a limit
Green normal cycle running, spindle at speed
Blue required action reset needed after a fault
White neutral control power present

Keep red lamps for faults alone; a door that lights red for 'stopped' teaches everyone to ignore red. The e-stop patch follows ISO 13850 with its red mushroom on yellow, and it stays the only mushroom on the door.

How far apart do you space devices on the door?

Centres 2 in [50 mm] apart both ways, every cutout edge 1 in [25 mm] clear of the door edge and the gasket path, and 3 in [75 mm] of clear face around the e-stop mushroom.

Your 12 x 10 in [305 x 255 mm] door shows the arithmetic. The hole is 0.87 in across, so its edge sits 0.44 in from centre. Columns of centres at 2, 4, 6, 8 and 10 in put the nearest hole edge 1.56 in from the door side, above the 1 in rule. Rows at 2, 4, 6 and 8 in give four rows, so 5 x 4 = 20 positions. Eleven devices fill just over half, nine stay spare, and the e-stop keeps its 3 in because its mushroom covers about 45 mm [1.75 in] of face.

For doors tighter than this, the crowded front-panel layout article trades the grid for device width so legends still fit.

Do cutouts for switches keep the enclosure rating?

Yes, when three conditions hold: the operator's own front rating is IP65 or better, its rubber mounting seal sits properly in the cutout, and the hole stays 1 in [25 mm] clear of the gasket path — the assembly then carries its lowest-rated part.

Under IEC 60529, the 6 in IP65 means dust-tight and the 5 means jets from a 6.3 mm nozzle at 12.5 L/min; a second digit of 4 means splashing only. An IP54 selector in a hose-down door drops that point of the panel to splash-only. Operator datasheets commonly quote IP65 for the mounted front, and the rubber seal under the mounting nut does the sealing. Seat it evenly and snug the nut; a cracked plastic body leaks at the first wash.

Our doors are rated NEMA 4X / IP66 by the manufacturer and are not UL listed. That rating assumes devices with matching front ratings in clean, deburred holes. The rating a panel keeps once you mount devices works through that arithmetic. The cutouts, glands and HMI windows guide covers hole and gasket spacing, and factory cutouts for repeat work explains why a machined hole seals better than a drilled one. For the seal detail itself, read watertight sealing for custom cutouts.

How do you label switches so they cannot mislead?

Engrave the condition, not the wire: 'SPINDLE AT SPEED' only where feedback drives the lamp, 'SPINDLE CMD' where the command does, and 'CONTROL POWER' from a lamp fed after its fuse — then wire-number both ends of every conductor.

Legend plates engraved under the operator nut carry the text for the life of the door, while a printed label can be unreadable after one outdoor summer; panel-mount indicators on an outdoor enclosure covers UV-stable legend options. Use the same names on your order schedule, so the drawing, the door and the wire numbers all speak one language.

What goes on the order for the door?

The device schedule plus the door size: for each device its function, actuator type, standard hole and legend, placed on the 2 in grid — the cutout designer turns that list into a drawing, and you mark it up until it matches the panel.

# Device Actuator Legend
1 Emergency stop red mushroom, latching EMERGENCY STOP
2 Control power maintained key selector CONTROL POWER
3 Cycle start momentary, green CYCLE START
4 Feed hold momentary, red FEED HOLD
5 Mode maintained 3-position selector JOG / AUTO
6 Spindle enable maintained selector SPINDLE ENABLE
7 Control power lamp LED, white CONTROL POWER
8 Spindle commanded LED, white SPINDLE CMD
9 Spindle at speed LED, green SPINDLE AT SPEED
10 Cycle running LED, green CYCLE RUNNING
11 Fault LED, red FAULT

Configure the whole box in the enclosure builder if the walls, mounting and climate come with it, or pick the stainless door itself from custom enclosures. The finished door is delivered in 10 business days, counted from your approval of the drawing.

Enclosures for this job

Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.

EnclosureMaterialOutside H x W x D / displayRating
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 14 × 8 in304 stainless16 x 14 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can I run the panel lights at mains voltage instead of 24 V?

You can, but you buy trouble: 120 or 230 V lamp circuits need their own fuse and physical separation from the control wiring, and every lamp becomes a live part at the door. At the controller's own 24 V, five LED units at 20 mA draw 0.1 A and 2.4 W from the control supply you already have, so there is nothing to gain.

How many spare hole positions should I leave in the layout?

Leave at least two of the 20 grid positions on a 12 x 10 in door free. A 22 mm operator added later seals into its own hole with its mounting ring, so the addition keeps the door's rating without touching the gasket, and spare positions cost nothing until you use them.

What hole size do CNC panel switches and lights need?

Use 22 mm [0.87 in] for everything: it is the size most industrial pushbuttons, selectors and indicator lights share. 16 mm suits dense doors and 30.5 mm appears on heavy-duty operators, while an e-stop still takes the same hole, and only its mushroom head is about 45 mm across.

Should the spindle lamp flash while the spindle ramps up?

Yes, and amber is the color for it: amber while ramping, steady green at speed, both driven from the drive's outputs. IEC 60204-1 reads amber as an abnormal condition and green as normal, so an operator tells ramping from running at a glance without any training.

Do the operators need sealant around the cutout?

No sealant when the operator's rubber mounting seal is intact and evenly compressed: it seals its own hole on its own. Keep the hole edge clean and deburred, which is one reason a machined factory cutout seals better than a drilled one, and reach for sealant only where a device maker calls for it.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 12 × 10 × 6 inRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides