← Insights

    Structure of a machine SBOM: six layers, with Beckhoff, CODESYS and Siemens examples

    In brief · As of December 2026

    The SBOM of a machine is a tree with six layers: the machine, the controller hardware, the platform software with operating system, runtime and add-on functions, the PLC application with its libraries, the field devices and the other devices on the network such as cameras, operator panels and remote access routers. In hardware PLCs such as the S7-1500, the platform software is just the device firmware; in PC-based controllers such as the Beckhoff CX2043, operating system, runtime and add-on functions have versions of their own. Every entry states whether its value comes from the project (planned) or was read from the device (actual), from which source and when. If a value is missing, the reason is recorded instead. From 11 December 2027 the CRA requires at least the top-level dependencies. We read that as everything the machine builder selects, installs or programs; the contents of purchased firmware are not part of it.

    The machine is the top entry, everything else sits below it

    A machine has no build from which a tool could generate the SBOM. Its SBOM therefore follows the structure of the machine: every entry is a component and points to the component that contains it. Six layers are enough for most machines:

    • 0 Machine: the machine as a product with type, serial number and software version.
    • 1 Controller hardware: controller or industrial PC with order number, serial number and hardware version, for PCs with BIOS version.
    • 2 Platform software: operating system with updates, PLC runtime, licensed add-on functions and other installed programs.
    • 3 PLC application: your own project with its version and the libraries it includes.
    • 4 Field devices: terminals, drives, I/O modules and sensors on the fieldbus.
    • 5 Other devices on the network: operator panels, cameras, switches, remote access routers.

    In CycloneDX these are nested components. Field devices sit below the controller that acts as their master, the other network devices directly below the machine.

    Example: a machine with a Beckhoff CX2043 running Windows

    The CX2043 is an embedded PC from Beckhoff. In this example it runs Windows 10 IoT Enterprise LTSC 2021 and TwinCAT 3 and is the EtherCAT master for Beckhoff terminals, servo drives and devices from other manufacturers. The machine network also has cameras, an operator panel, a switch and a remote access router.

    LayerEntryFieldsSource
    0 Machinemachinemanufacturer, machine type, serial number, software version of the machineorder, nameplate
    1 Controller hardwareCX2043manufacturer, order number (CX2043-…), serial number, hardware version, reference designation, IP and MAC addressEPLAN, nameplate, Beckhoff Device Manager
    BIOSBIOS versionBeckhoff Device Manager
    2 Platform softwareBeckhoff imageimage versionBeckhoff Device Manager
    Windowsedition, build and patch level, e.g. 10.0.19044.7807registry of the IPC
    Windows updatesKB numbers with installation dateupdate history, Get-HotFix; the patch level in the build is what counts
    TwinCAT runtimeXAR with version, e.g. 3.1.4024.x“About TwinCAT”, installed programs
    TwinCAT Functionse.g. TF6100 OPC UA, with versioninstalled programs
    Beckhoff system softwareDevice Manager, drivers, with versioninstalled programs
    other softwareremote access (TeamViewer, VNC), antivirus, tools, with versioninstalled programs
    3 PLC applicationPLC projectproject name, project version, TwinCAT engineering versionTwinCAT project
    librariesTc2_Standard, Tc3_…, libraries from other manufacturers, with versionTwinCAT project (library manager)
    4 Field devicesterminals, drives and other devices on EtherCATmanufacturer, product code or order number, revision, firmware, serial number, EtherCAT position, reference designationplanned: EPLAN, TwinCAT project. Actual: EtherCAT master via ADS, for third-party devices also their manufacturer's software
    5 Other devices on the networkcameras, operator panel, switch, remote access routermanufacturer, type, firmware, IP and MAC address, reference designationplanned: EPLAN. Actual: web interface, SNMP, manufacturer's software

    On Windows, the patch level is the fourth part of the build number; how to read it and match it against Microsoft's data is covered in the article on Windows on the industrial PC. If the CX2043 runs TwinCAT/BSD instead of Windows, the package list replaces the KB numbers. Which Beckhoff products get advisories of their own is covered in the article on Beckhoff.

    The same layers with CODESYS and Siemens

    What sits on each layer depends on the control platform:

    LayerBeckhoffCODESYSSiemens
    1 Controller hardwareCX2043 with BIOScontroller from the device manufacturer, e.g. WAGO PFC200, or industrial PCCPU 6ES7 51x-…, communication processors (CP)
    2 Platform softwareBeckhoff image, Windows with updates or TwinCAT/BSD, TwinCAT runtime, TwinCAT Functionsdevice firmware with built-in runtime and full version number, e.g. FW32 (4.10.0) at WAGO; on industrial PCs Windows or Linux and CODESYS Control with versionhardware CPU: firmware of CPU and CPs, e.g. V3.1 or V4.0. Software Controller: Windows and runtime
    3 PLC applicationTwinCAT project with Tc2 and Tc3 librariesCODESYS project with add-ons from the device tree (e.g. PROFINET, WebVisu) and librariesTIA project with TIA version and global libraries
    4 Field devicesEtherCAT terminals and drivesdevices on EtherCAT, PROFINET, CANopen, Modbus or IO-LinkET 200, SINAMICS and third-party devices on PROFINET or PROFIBUS
    5 Other devices on the networkcameras, operator panels with their own network connection; a Panel PC is a computer of its own with layers 1 and 2, a Control Panel connects to the IPC via DVI/USB or CP-Link 4 and belongs to layer 1 as hardwareoperator panels, PCs with a browser for the WebVisuComfort and Unified panels, SCALANCE switches, remote access router SCALANCE M or S615 with SINEMA RC

    In hardware PLCs such as the S7-1500 and many CODESYS devices, layer 2 is just the device firmware: operating system and runtime share one firmware version, and the advisories name order number and firmware. An operating system with updates of its own exists on PC-based controllers such as the CX2043 with Windows, on industrial PCs with CODESYS Control Win and on the Siemens Software Controller. The same applies to controllers whose runtime runs as a package on Linux or BSD, such as TwinCAT/BSD or CODESYS Control for Linux SL.

    With CODESYS, add-ons such as PROFINET or the WebVisu sit on layer 3 because they travel to the controller with the application. A firmware update alone does not fix them; the fix requires a new download of the application, and some visualization issues also need a runtime update (VDE-2025-027). More on this in the article on the CODESYS SBOM.

    Every entry states where its value comes from

    A version without its origin cannot be checked in an audit. For that, every entry needs three details:

    • Planned or actual: Does the value come from EPLAN or the engineering project, or was it read from the device? The project says which firmware was planned, the device which one is running. After a replacement in service the two can differ.
    • Source and date: which system or tool the value comes from and when it was recorded. For machines without remote access, the last version read is the best information available; the date shows how old it is.
    • A reason instead of an empty field: If a value is missing, the entry says why, for example “terminal without CoE, no firmware object” or “device does not respond, version from EPLAN”. An empty field leaves open whether anyone looked.

    Platform software and PLC application come from the project and from the device

    For layers 2 and 3, each control platform offers three routes: the engineering project for the planned version, the device itself for the actual version by hand, and a scan where the controller has an interface for it.

    RouteBeckhoffCODESYSSiemens
    Planned (engineering)TwinCAT projectCODESYS project, e.g. as a PLCopenXML exportTIA project, export via TIA Openness
    Actual, by handBeckhoff Device Manager, TwinCAT online, program list on Windowsdevice web interface, CODESYS online, package list on LinuxTIA “Online & Diagnostics”, PRONETA, CPU web server
    Actual, by scanADS, plus WinRM for Windowspackage list via SSH on Linux controllersPROFINET DCP and I&M data, OPC UA if enabled

    No scan sees the add-ons and libraries of a PLC application. They exist only in the project and in the downloaded application; for layer 3, the project is therefore the only complete source.

    Field devices identify themselves through the identity object of their fieldbus

    For layer 4, almost every fieldbus has a standard object with the device identity. It does not always contain the firmware version, though, and on some buses the object itself is optional:

    FieldbusIdentityFirmware version
    EtherCATEEPROM (SII): vendor, product code, revision; for devices with a mailbox also CoE 0x1018CoE 0x100A, only for devices with a mailbox
    CANopenobject 0x10180x100A, optional
    PROFINETI&M0software revision in I&M0
    PROFIBUSI&M0, only for DP-V1 devicessoftware revision in I&M0
    EtherNet/IPIdentity Object (class 0x01)revision Major.Minor
    ModbusDevice Identification (FC 43, MEI 14), optionalMajorMinorRevision
    IO-LinkVendor ID, Device ID, index 0x10 (vendor name) and 0x12 (product name)index 0x17, optional

    What this means for recording each protocol is covered in the linked articles. If a device does not report its firmware over the bus, its manufacturer's commissioning software reads it, or the version comes from the documentation with source and date.

    Passive parts stay out, bus terminals without firmware go in as hardware

    Terminal blocks, cables and power supplies without firmware do not belong in the list. They have neither software nor an interface through which a vulnerability could act. Simple EtherCAT terminals such as the EL1008 are different: they have no CoE and therefore no object for a firmware version, but their EEPROM reports vendor, product code and revision. With these details they go into the list as hardware entries, so that the bus structure is complete and can be checked against EPLAN.

    Such entries are not part of the SBOM in the sense of the CRA; the regulation defines the SBOM through the components included in the software elements of a product (Art. 3(39)). Under Annex I Part II(1), however, the manufacturer has to document the components as a whole, and under Art. 3(6) a component can also be hardware, meaning an electronic part capable of processing, storing or transmitting digital data (Art. 3(5)). An EL1008 is one, a terminal block is not. The draft standard prEN 40000-1-3 provides a separate list for hardware, with manufacturer, name, identifier and, where applicable, firmware version (PRE-8-RQ-02). Both fit into the same tree if every entry is marked as software or device; CycloneDX has component types of its own for this.

    Record remote access and platform software first

    If you cannot record all layers at once, start in two places. The remote access router and remote access software such as TeamViewer or VNC are the parts of the machine that open access from outside. In PC-based controllers, most CVEs fall on the platform software: for the Windows line under which IoT Enterprise LTSC 2021 runs, Microsoft fixed 2,391 CVEs from November 2025 to October 2026 (as of 3 Nov 2026). Of the 36 CSAF advisories CODESYS had published by then, 17 name CODESYS Control Win.

    The PLC application comes next, because that is where the machine builder applies the fix. If an advisory concerns a CODESYS add-on or a library, a firmware update is not enough; the fix requires a new download of the application with the new version.

    What the CRA requires of this

    From 11 December 2027, Annex I Part II(1) CRA requires a software bill of materials in a commonly used and machine-readable format covering at the very least the top-level dependencies. The text does not say what that means for a machine. The Commission FAQ v1.4 mentions the SBOM only as an example of due diligence for third-party components, and the Commission guidance C(2026) 5252 says nothing about its content. Neither document is binding.

    We read the top-level dependencies as everything the machine builder selects, installs or programs: the installed devices with their firmware, on PC-based controllers the operating system, runtime and add-on functions, their own PLC application with the libraries it includes directly, and the layer 5 devices insofar as they are part of the scope of delivery. What sits inside purchased firmware is not included; only its manufacturer can state it completely. This is our reading, not legal advice. What is mandatory, what the draft standard provides and what remains a recommendation is separated in the article What belongs in an OT SBOM?

    All 13 manufacturers compared: SBOM by manufacturer →

    Guide: the plant SBOM in five steps.

    Which sources feed the device list, which version layers count per device and how matching against manufacturer advisories works without CPE, compact as a PDF with a checklist per step.

    Request the guide →

    Werkspilot keeps the devices of delivered plants with their version layers and reports when a manufacturer advisory hits one of them. The CVE and advisory figures are our own measurements from 3 Nov 2026; the details of the fieldbus objects follow the respective specifications. This article is not legal advice; prEN 40000-1-3 is a draft standard.

    Frequently asked questions

    As a tree with the machine as the top entry. Below it sit the controller hardware, the platform software with operating system, runtime and add-on functions, the PLC application with libraries, the field devices on the bus and the other devices on the network such as cameras, operator panels and remote access routers. Every entry carries manufacturer, name and version, plus the origin of the value (planned from the project or actual from the device), source and date.

    In the device list of the machine, yes, as hardware entries with vendor, product code and revision from the terminal's EEPROM. Terminals without CoE such as the EL1008 have no object for a firmware version; instead of an empty field, the entry states the reason. They are not part of the SBOM in the sense of Art. 3(39) CRA. Under Annex I Part II(1), however, the manufacturer has to document all components, and under Art. 3(5) and (6) that includes hardware transmitting digital data. Terminal blocks, cables and power supplies without firmware stay out.

    In our reading, yes, insofar as the PLC application includes them directly. The machine builder selects these libraries and fixes them in case of a vulnerability, with a new version in the project and a new download to the controller. Libraries inside purchased firmware are not included. The CRA text requires at least the top-level dependencies and does not define the term.