Element 9.22
Automating, retrofitting and monitoring machinery
- Sheet
- 9.22
- Chapter
- 9 Manufacturing and repair
- State
- Drafted
- Release
- 16 November 2026
- Editor
- Contributed by Praecise as open research
- Reviewers
- To be named at review
- Safety
- S3, as the chapter
- Licence
- CC BY-SA 4.0
- Resources
- 10
The element
- Requirement
Old and new machines are given open control, sensors and monitoring so that they can be kept running, repaired and improved by the community; a change to control never removes a safety function; and monitoring data are used to service machines before they fail.
- How to tell
- Machine control runs on open software the community can maintain. LinuxCNC drives mills, lathes, plasma and laser cutters and robot arms (LinuxCNC); grblHAL is CNC firmware for 32-bit microcontrollers with drivers for more than 15 processor families (grblHAL); OpenPLC Runtime runs IEC 61131-3 programs such as ladder logic and structured text on almost any Linux system (OpenPLC Runtime v4).
- The control program, wiring and settings are documented and backed up.
- Each machine has a maintenance log, and where monitoring is fitted the measured signal and the alarm threshold are recorded.
- Safety functions, such as emergency stops, guards and interlocks, are kept or improved after the retrofit, and the machine is inspected before use (Provision and Use of Work Equipment Regulations 1998 (PUWER)). In the European Union, the Machinery Regulation applies from 20 January 2027 and covers cyber-safety of safety control systems (Machinery Regulation (EU) 2023/1230).
- Options
- Retrofitting a CNC machine: replace an obsolete controller with open control (LinuxCNC, grblHAL).
- Automating a process (pumps, conveyors, kilns, gates) with an open PLC runtime; OpenPLC v3 was archived in April 2026 and replaced by Runtime v4, under GPLv3 with a commercial licence available (OpenPLC Runtime v4).
- Condition monitoring with vibration and sound: inertial sensors measure vibration (Bosch Sensortec BMI270 inertial measurement unit); open datasets of faulty valves, pumps, fans and slide rails (MIMII Dataset: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection) and a benchmark for detecting faults when only normal sounds are available (DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring).
- Predictive maintenance with machine learning: NASA's open run-to-failure datasets cover bearings, simulated turbofan engines, batteries and milling tool wear, for developing remaining-useful-life models (NASA PCoE Data Set Repository).
- Settled, open, contested
Settled: open machine control and open PLC software are in use (LinuxCNC, OpenPLC Runtime v4). Settled: fault detection from machine sound trained only on normal sounds is an active, benchmarked field (DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring). Open: whether models trained on laboratory datasets transfer to one community's own machines; most published data are from test rigs or simulation (NASA PCoE Data Set Repository). Contested: rule-based alarms or learned models. Thresholds are simple and explainable; learned models can catch faults no one predicted but raise false alarms. Benchmarks score both detection and false alarms for this reason (DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring).
The four stages
- Learn: NASA PCoE Data Set Repository, DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring.
- Design: decide what to control and what to watch; keep safety functions independent.
- Build: LinuxCNC, grblHAL, OpenPLC Runtime v4; fit sensors (Bosch Sensortec BMI270 inertial measurement unit).
- Deploy: inspection and records (Provision and Use of Work Equipment Regulations 1998 (PUWER), 22.6); review alarms against actual faults found.
Resources at each stage
1 Learn
Understand
- DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring Dataset, S0
- Machinery Regulation (EU) 2023/1230 Standard, S3
- MIMII Dataset: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection Dataset, S0
- NASA PCoE Data Set Repository Dataset, S0
- OSHA Robotics: Standards Reference design, S3
2 Design
Size and choose
- Bosch Sensortec BMI270 inertial measurement unit Reference design, S0
- DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring Dataset, S0
- Machinery Regulation (EU) 2023/1230 Standard, S3
- MIMII Dataset: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection Dataset, S0
- NASA PCoE Data Set Repository Dataset, S0
- OSHA Robotics: Standards Reference design, S3
3 Build
Build or obtain
- Bosch Sensortec BMI270 inertial measurement unit Reference design, S0
- grblHAL Repository, S2
- LinuxCNC Tool, S2
- OpenPLC Runtime v4 Tool, S2
4 Deploy
Install, run and measure
- Provision and Use of Work Equipment Regulations 1998 (PUWER) Standard, S2
- LinuxCNC Tool, S2
- OpenPLC Runtime v4 Tool, S2
What changes between 30 adults and 300 people
At 30 adults, retrofitting one machine, such as a used mill, with open control, and a paper maintenance log, are the right scale. At 300 people, pumps, generators, kilns and workshop machines justify a small monitoring network, a PLC for repeated processes, and a maintenance plan driven by measured condition.
Reference designs
-
Reference design
Bosch Sensortec BMI270 inertial measurement unit
Maker's page for a low-power six-axis IMU: accelerometer ranges of 2 to 16 g, gyroscope ranges of 125 to 2,000 degrees per second, 685 microamps at full data rate, -40 to 85 degrees C, SPI and I2C, with on-chip motion, step and gesture recognition.
External resource. Not made or verified by Public ProtocolMaturity: EstablishedSafety S0CommercialListed 16 November 2026 -
Reference design
US Occupational Safety and Health Administration list of the consensus standards that apply to robots, stated not to be OSHA regulations: ISO 12100, ISO 10218-1 and -2 (adopted in the US as ANSI/RIA R15.06-2012 and in Canada as CSA Z434), ISO/TS 15066 on collaborative robot safety, ISO/TR 20218 on end-effectors and load stations, UL 1740 and the RIA technical reports.
External resource. Not made or verified by Public ProtocolMaturity: EstablishedSafety S3Open or commercial: not stated by the makerListed 16 November 2026
Parts list
Every resource that supports this element. Those marked External carry the label “External resource. Not made or verified by Public Protocol”.
| Resource | Type | Origin | Maturity | Safety | Licence, as stated at its source |
|---|---|---|---|---|---|
| Bosch Sensortec BMI270 inertial measurement unit | Reference design | External | Established | S0 | Not stated on the page opened |
| DCASE 2024 Task 2: First-shot unsupervised anomalous sound detection for machine condition monitoring | Dataset | External | Working | S0 | Not stated on the page opened |
| Machinery Regulation (EU) 2023/1230 | Standard | External | Established | S3 | Not stated on the page opened |
| grblHAL | Repository | External | Established | S2 | Not stated on the page opened (a COPYING file is present) |
| Provision and Use of Work Equipment Regulations 1998 (PUWER) | Standard | External | Established | S2 | Not stated on the page opened |
| LinuxCNC | Tool | External | Established | S2 | GNU GPLv2 |
| MIMII Dataset: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection | Dataset | External | Established | S0 | Not stated on the page opened |
| NASA PCoE Data Set Repository | Dataset | External | Established | S0 | Not stated on the page opened |
| OpenPLC Runtime v4 | Tool | External | Working | S2 | GPLv3, with a commercial licence available |
| OSHA Robotics: Standards | Reference design | External | Established | S3 | Not stated on the page opened |
Depends on, and completes
It is one of 34 elements that complete Manufacturing and repair.
The standing questions
Who is allowed to change a machine's control program. Who responds to an alarm at night. Who decides a machine is retired.
Environments
No source found on retrofit or monitoring practice specific to islands and coasts, arctic cold, hot deserts, tropical humid forest, temperate forest, high altitude or flood plains. An inertial sensor used for vibration is rated -40 to 85 degrees C (Bosch Sensortec BMI270 inertial measurement unit).
Safety level S3. Machine control and mains wiring can injure or kill. This text states the requirement and names the recognised sources; it is not a procedure. Retrofit under a person competent in machine safety and electrical work.
Safety
State and evidence
Drafted
An editor has written the element's text from the resources listed under it, citing them. It is checked when it is reviewed.
Evidence from a real place or system is recorded here, with what did not work. What the states mean
History
- Drafted in the release of 16 November 2026.