Last updated: November 10, 2026 | By XHX Metal Engineering Team
A machine guard fence is the modular enclosure built around a machine or a robot cell to keep people out of the hazard zone: steel posts bolted to the floor, mesh or solid panels spanning between them, and hinged doors where access is needed. At XHX Metal it is made as a sheet metal and tube product – laser cut frames, welded mesh, folded panels, powder coated or galvanised – in a 2,000 sqm factory in Dongguan, China.
This article is written for the machine builders, integrators and plant engineers who order that fence: what the standard actually requires of the panel, why the mesh opening decides the whole design, how the frame and post are made, what a fabricator can and cannot guarantee, and three programmes with volumes and price bands.

Figure 1: A robot cell enclosed by a modular guard fence, posts, mesh panels and a door.
Machine Guard Fence: What We Fabricate
The Parts in a Fence System
A machine guard fence system is a small number of parts repeated, and the fixings that hold it down to the floor are specified in EN 1993-1-8 for the anchor and bracket design. The post is a square or rectangular tube with a base plate or an adjustable foot, drilled to take panel fixings on two or three faces. The panel is a folded frame with mesh welded or riveted into it. The door is a panel on hinges with a handle and a latch. The accessories are corner posts, end posts, pass-through openings and the brackets that carry an interlock switch.
Almost all of it is 1.5 mm to 2.5 mm steel in the frame and 3 mm to 5 mm wire in the mesh, with the post in 40 x 40 mm or 50 x 50 mm tube, cut and folded to the general tolerances of ISO 2768. The parts are simple. What makes the product is that the dimensions are not free: the mesh opening and the fence height are fixed by a safety calculation, and the fabricator’s job is to deliver that geometry accurately and repeatably.
Not the Same as a Machine Cover
A machine cover wraps the machine itself and follows its shape; a guard fence stands away from the machine and defines a perimeter, so people can walk round it and a maintenance technician can open a door and step in. The cover is a panel problem, the fence is a structure and access problem.
That distinction drives the design. A fence needs posts that carry a panel and resist being pushed, doors that are part of the safety function rather than a convenience, and a layout that can be extended when a second machine arrives.
Where Our Scope Ends
The interlock switch, the safety relay, the light curtain and the wiring are the machine builders, and the control reliability behind them is covered by ISO 13849, and the risk assessment that decides how high and how far the fence must be is the integrator’s. We fabricate the structure and the panel to the dimensions on that assessment, and we supply the mounting brackets that carry the switch.

Figure 2: A single guard panel: a folded frame with welded mesh, hinges and a mounting foot.
Where Guard Fencing Is Used
Robot Cells and Automation
The largest group is robot cells: welding cells, palletising cells, pick-and-place lines and machine-tending installations. These need a perimeter that a person cannot reach through, a door that is interlocked, and a layout that lets a teach pendant be used inside the cell while the fence stays closed. That last requirement is why cells are often split into two zones with a gap between them rather than one big rectangle. The fence layout is therefore an automation decision as much as a fabrication one.
A cell fence is usually 2,000 mm to 2,200 mm high, in panels of 1,000 mm to 1,500 mm, and it is bought as a kit with posts, panels, doors and fixings rather than as loose parts.
Production Lines and Conveyors
The second group is line guarding: the length of a conveyor, the moving parts of a packaging machine, the transfer points between stations. These runs are long, they follow the line rather than a rectangle, and they are often built up over time, so a modular system that can be extended matters more than a bespoke shape. A conveyor fence also has to allow for the height change where a section climbs, which a flat panel run does not. That is handled with a stepped post or a transition panel rather than by leaving a gap.
Plant Walkways, Stores and Workshops
The third group is not guarding at all in the safety sense: segregating a walkway from a forklift route, fencing off a material store, dividing a workshop into bays. These are lighter, often 1,200 mm to 1,800 mm high, and they are bought on cost and appearance rather than against a standard. A warehouse fence still gets hit by a pallet truck, though, so the post base is the part that fails first if the gauge was chosen on price. A heavier base plate costs very little and is the single best upgrade on a partition fence.

Figure 3: The mesh pitch close up, the opening that decides the safety distance.
The Mesh Opening Decides Everything
What the Standard Actually Says
What are the main constraints in machine guard fence fabrication? The first is that the panel geometry is not a design choice. ISO 13857 sets out the safety distances that prevent a person reaching through, over, under or around a protective structure, and the opening size in the mesh determines the distance the fence must stand from the hazard.
A 40 x 40 mm mesh corresponds to a safety distance of about 200 mm, which is why a fence with that mesh can sit close to the hazard, with the full matrix of height, hazard height and distance in ISO 13857. A larger opening forces the fence further back. And an opening above about 120 mm stops being a “reach through” case altogether and is treated as a reach-over, which changes the height requirement instead.
Why the Mesh Is the Product
This is the part of machine guard fence specification customers get wrong. A buyer who asks for a 50 x 100 mm mesh because it looks open has changed the safety distance and may have invalidated the cell design. A buyer who asks for a heavier wire on the same pitch has changed the cost without changing the safety.
The practical sequence for a machine guard fence is that the integrator calculates the distance and the height from the hazard, then specifies the mesh and the panel size, and only then does the fabricator quote. A fence quoted before that calculation exists is a guess.
Solid Panels and the Limiting Device Point
There is one more machine guard fence constraint worth knowing. Where a fence is used as a limiting device – the thing that physically stops a person entering a hazard zone – the standard requires it to be solid, and mesh is not accepted for that role. The same principle appears in the protective equipment requirements of ISO 14120. That is why a robot cell often has solid panels at the corners or at the access point and mesh along the run, and why the drawing has to say which panel is which.

Figure 4: A post with an adjustable foot, bolted to the floor.
Frames, Posts and Welded Mesh
The Panel Frame
A machine guard fence panel frame is a folded channel or an RHS frame with the mesh welded or riveted into it. Welding is stiffer and is the norm for a panel that has to hold a person’s weight leaning on it; riveting is faster and cheaper and appears on lighter partition systems.
The frame is folded rather than mitred and welded at the corners where possible, because a fold is stronger, cheaper and removes a dressing operation. Where a welded corner is needed, it is dressed so the coating does not telegraph the seam.
Mesh Specification
The mesh is welded wire, specified by diameter and pitch, with the wire grade per ISO 6935-3. A 3 mm wire on a 40 x 40 mm pitch is the common guard standard; heavier wire resists impact better but adds weight without changing the safety distance. The mesh is welded into the frame at every intersection along the perimeter, not tacked at the corners, because a panel that rattles reads as a cheap panel. The weld quality on those intersections follows ISO 5817.
Cut wire ends are the other detail. A sheared mesh end leaves a sharp point at the frame edge, and every end should be either welded into the frame or capped. This is a handling injury waiting to happen on a product whose whole purpose is safety.
Posts, Feet and Levelling
The post of a machine guard fence carries the panels and takes the abuse, so it is the part that should not be value-engineered. A 40 x 40 mm tube is normal for a 2,000 mm post; a 50 x 50 mm tube is used where panels are wide, where the fence has to resist being pushed, or where a door hangs between two posts.
The base detail on a machine guard fence matters more than it looks. A post bolted straight to a floor plate needs a level floor; an adjustable foot lets the fence be set plumb on a floor that is 10 mm out over a run, which is most factory floors. A base plate with four anchors is stronger and is used where the fence is a safety barrier rather than a partition.

Figure 5: A hinged guard door with an interlock switch mounted on the post.

Figure 6: A welded panel corner, dressed and ready for coating.
Doors, Interlocks and Access
The Door Is a Safety Function
A guard door is not a gate: it is the part of the fence that carries the interlock, and if it sags or fails to latch, the machine will not run or will not stop. That makes door rigidity the design driver. A door made from a single folded frame in 2 mm steel is normal; a door in 1.5 mm with no diagonal stiffness will drop on its hinges within a year. A diagonal brace or a folded perimeter return does more for door rigidity than extra thickness does, and both are cheap at the fabrication stage.
The hinge choice follows. A weld-on hinge is strong and permanent; a bolt-on hinge can be replaced. On a door opened many times a shift, a bolt-on hinge and a replaceable latch are worth the extra cost, because the alternative is scrapping the whole door when the hinge wears. A hinge welded to a 1.5 mm frame tears the frame before it wears out.
Interlock Mounting
On a machine guard fence the interlock switch mounts on the post, and its actuator mounts on the door, so the alignment between the two is set by the fence rather than by the switch. That is why the bracket for the switch is a fabricated part with slotted holes rather than a drilled plate: it has to be adjustable to about 2 mm in two directions after the fence is standing.
Pass-Throughs and Removable Panels
Where material has to move in and out of a cell, the fence has an opening. A pass-through can be a tunnel with a light curtain, a removable panel on quick-release fixings, or a gravity roller section. Each is a fabrication item, and each has to be agreed with the integrator, because a removable panel that is not interlocked is a hole in the guard whatever the drawing says. The panel also needs a place to stand when it is off, which is a detail nobody draws.

Figure 7: A fence line installed around a production line, panels aligned.

Figure 8: Guard panels after powder coating, hanging on the line.
Coating, Lead Time and Cost
Finish
Powder coating is the default and is usually a safety yellow or a machine grey at 60 to 90 microns. Galvanising appears where the fence is outdoors or in a wash-down area, and it has the advantage of protecting at a scratch, which matters on a product that gets hit by pallet trucks. Coating thickness for hot dip follows ISO 1461. A duplex system – galvanised then powder coated – is the longest-lived and is standard on outdoor installations, with the coating classes set out in ISO 12944.
The mesh is the coating problem. A welded mesh panel has far more surface per square metre than a flat sheet, so the coating has to reach every wire, and a thin coat shows as rust at the wire intersections first. That is why a mesh panel is priced by the panel rather than by its weight.
Lead Time and Layout
Machine guard fence fabrication runs 20 to 30 days for a first batch including coating, with the inspection documents per EN 10204 supplied on request. The variable is the layout: a fence is ordered as a system with a post schedule and a panel schedule, and an incomplete schedule delivers a fence that cannot be assembled. We ask for the layout drawing with every post position numbered, and we return the same drawing with the parts listed against it.
Batch Sizes and Price Bands
A machine guard fence for one robot cell is a kit of twenty to sixty panels. FOB prices for a 2,000 x 1,000 mm welded mesh panel in 1.5 mm frame with 40 x 40 mm mesh run from USD 34 to USD 62 depending on wire, frame and coating, with a post at USD 18 to USD 35, a door at USD 90 to USD 180, and a complete cell kit of thirty panels plus posts and one door landing between USD 1,300 and USD 2,400.

Figure 9: Guard panels and posts banded and packed for shipment.
Three Machine Guard Fence Programmes
A Robot Integrator in Germany
An integrator building welding cells needed twelve cell kits a year, each with about twenty-eight 2,000 x 1,000 mm panels in 40 x 40 mm mesh, posts with adjustable feet, one interlocked door per cell, and solid corner panels where the fence acted as a limiting device.
We produced the machine guard fence as a per-cell kit with every post numbered against the layout, the switch brackets slotted for alignment, and the solid and mesh panels identified on the drawing so they could not be swapped on site. Releases ran at four cells per release, with an MOQ of 10 panels and FOB prices from USD 42 to USD 58 per panel. The first cell shipped 26 days after layout approval and annual value was approximately USD 32,000.
A Conveyor Manufacturer in the United States
A conveyor manufacturer needed line guarding built up in stages as each section of a distribution centre was installed, in 1,200 mm high panels with a 50 x 50 mm mesh, powder coated to match the conveyor frame, and extendable without re-ordering posts.
We produced the machine guard fence on a modular grid so any section could be extended by adding panels to an existing post face, with the coating colour held across all releases. Releases ran at 240 panels per stage, four stages, with an MOQ of 40 and FOB prices from USD 36 to USD 52 per panel. The first stage shipped 24 days after approval and annual value was approximately USD 44,000.
A Warehouse Operator in the Netherlands
A warehouse operator needed walkway segregation rather than safety guarding: 1,600 panels at 1,800 mm high in a lighter frame, galvanised rather than powder coated because the building was unheated and damp, delivered in three drops to suit the fit-out.
We produced the machine guard fence with a 1.5 mm frame and 4 mm wire on a 50 x 50 mm pitch, hot dip galvanised and delivered flat with posts separate to keep the freight volume down. Deliveries ran at about 550 panels each, with an MOQ of 100 and FOB prices from USD 28 to USD 41 per panel. The first drop shipped 28 days after approval and the order value was approximately USD 58,000.
Choosing a Machine Guard Fence Supplier
What to Ask at Quotation
Ask five things before comparing prices. What mesh pitch and wire diameter are quoted, and does the pitch match the safety distance the cell was designed to? Which panels are solid and which are mesh, and is that on the drawing? Is the post size adequate for the height and the door, and are the feet adjustable? How are the cut mesh ends finished? And is the switch bracket slotted so the interlock can be aligned on site?
The answers separate suppliers quickly. A quote that names the mesh, the post size and the panel schedule is comparable; a quote that says safety fence and a height is not, because the same footprint can be built to a standard or to a price.
Where Suppliers Fail
Failures in machine guard fence supply cluster in five places. The mesh pitch is changed to save cost and the safety distance is no longer valid. A panel arrives with sharp cut wire ends, which is a handling injury on a safety product. A door sags because the frame was too light for its span. The layout arrives without a post schedule, so the fence cannot be assembled. And the switch bracket has no adjustment, so the interlock will not align.
None of these are exotic. They follow from buying a guard as a commodity fence rather than as a fabricated part whose dimensions carry a safety function, and they are avoided by putting the mesh, the post size and the panel schedule on the drawing.
How XHX Metal Works
XHX Metal has manufactured sheet metal products for export customers from Dongguan since 2014, in a 2,000 sqm factory with about 20 staff. The equipment list covers two 6 kW fiber laser cutting machines at +-0.1 mm, CNC punching, CNC press brake bending, TIG and MIG welding, wire mesh welding, and powder coating and hot dip galvanising through audited partners, all under ISO 9001:2015 with welds to ISO 5817.
For a machine guard fence programme, samples follow in 5 to 10 working days and first batches in 20 to 30 days. Send the layout with the mesh, the height and the door positions through the contact page; related work is described on the machine covers page and the sheet metal welding page, and enquiries also reach sales01@xinghaoxin.com.
Frequently Asked Questions
What is a machine guard fence?
A modular enclosure around a machine or robot cell: posts bolted to the floor, mesh or solid panels between them, and hinged doors where access is needed. It is fabricated from folded steel frames, welded wire mesh and tube posts.
What mesh size should a guard fence have?
The pitch is set by the safety distance calculation in ISO 13857, not by preference. A 40 x 40 mm mesh corresponds to roughly 200 mm of safety distance; a larger opening forces the fence further from the hazard or makes it a reach-over case.
Can mesh be used as a limiting device?
Not where the fence is the device that physically stops entry to a hazard zone; the standard requires that to be solid. That is why robot cells often have solid panels at corners and access points and mesh along the run.
How high should a machine guard fence be?
Robot cell fencing is usually 2,000 mm to 2,200 mm. The height is part of the same ISO 13857 calculation as the distance, because a fence that is too low can be reached over. Partition fencing that is not guarding a hazard is commonly 1,200 mm to 1,800 mm.
Why do guard doors sag?
The frame is usually too light for its span. A door carries the interlock, so it has to stay square: a 2 mm folded frame with real stiffness at the corners, and bolt-on hinges that can be replaced, is what keeps it aligned.
How long does machine guard fence fabrication take?
Samples follow in 5 to 10 working days after drawing approval, and first production batches in 20 to 30 days depending on panel count and coating. The layout and post schedule have to be approved before cutting starts.


