Glossary · Machinery Regulation: legal definitions (MR 2023/1230)
Source code (MR 2023/1230)
German: Quellcode (MR 2023/1230)Switch to the German page
Under the Machinery Regulation (MR 2023/1230), Article 3(35), source code is the currently installed version of the software of a product within the scope, written in a programming language so that it is unambiguous and understandable to humans. The term matters for the reasoned request of authorities under Annex IV.
- Compliance
- EU
- Legal definition (MR 2023/1230)
In one sentence
Article 3(35) MR: the currently installed software version, written in a programming language understandable to humans.

Example
For a PLC, the source code in this sense is the programme as written in IEC 61131-3 languages for the version running on the machine, not the compiled binary.
Legal definition (MR 2023/1230)
Quoted word for word from the Official Journal of the European Union (OJ L 165, 29.6.2023), the text published on EUR-Lex.
Regulation (EU) 2023/1230, Article 3(35), English:
‘source code’ means the currently installed version of the software of a product within the scope of this Regulation, written in a programming language so that it is unambiguous and understandable to humans;
How it applies
- On reasoned request: Annex IV, Part A(m) puts the source code or programming logic of safety-related software into the technical documentation available on reasoned request; see source code on reasoned request.
- Version tie: “currently installed version” ties the source code to the installed software identified under Annex III 1.1.9.
Where the definition is open
- Two things joined in one definition: The definition combines the software as installed on the product, which is usually compiled and not readable by humans, with code written in a programming language so that humans can understand it. Read together, it points to the human-readable source of exactly the installed version, but it does not say so expressly, nor which file an authority receives.
- “Programming logic” (Annex IV) is used next to source code but not defined.
Not to be confused with
The software engineering entry source code has the general meaning.