Skip to content

Dataset

TIA Portal automation project datasets for AI training

A TIA Portal dataset is a set of Siemens TIA Portal automation projects with their device configuration, PLC programs written as organization blocks (OBs), function blocks (FBs), functions (FCs) and data blocks (DBs), PLC tag tables and data types, HMI screens and tags, and technology objects. SourceX sources it to a buyer's spec from established businesses that run the product, such as machine builders, system integrators and plants. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
TIA Portal projects with hardware configuration, program blocks, tag tables, HMI screens and technology objects
Typical systems
TIA Portal with STEP 7 for S7-1200, S7-1500, S7-300 and S7-400 controllers, WinCC for HMI devices, and STEP 7 Safety where used
Typical history
Specified by the buyer; a project holds its current state, so earlier states come from dated archives or a version control workspace
Modality
SCL and STL blocks as text; LAD and FBD networks as XML; tags, hardware and HMI screens as structured records
Delivery formats
Agreed per order; block and tag table XML from Openness, SCL and STL source files, a JSON index of calls and tag links, native archives where agreed
Preparation
Plant, customer and machine names removed from project, device and comment text; IP addresses and passwords removed; safety programs handled as agreed
Licensing
Rights reviewed per project for who owns the program by contract and for protected and third-party library blocks, and against the vendor's terms; permitted use set in the license
Availability
Sourced to your spec by controller family, programming language, industry and HMI type; supply is not guaranteed
CodeIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
tia_projectobjectRe-keyed ID of one TIA Portal Project, with the release that last saved it and the option packages it needs.
device_configurationobjectFrom the Device configuration: each station's CPU and modules, I/O address ranges and subnet, with network addresses removed.
blockobjectOne Organization block (OB), Function block (FB), Function (FC) or Data block (DB), with number, symbolic name, language and folder.
block_interfacearrayThe block interface by section, Input, Output, InOut, Static and Temp, each member with data type, default value and comment.
networksarrayEach network of a LAD or FBD block with title, comment and logic as parts, operands and wires from the block XML.
source_textstringFor SCL and STL blocks, the source file TIA Portal generates from the block, with comments.
callsarrayFrom the call structure: each caller of the block, and the instance DB or multi-instance behind every FB call.
data_blockobjectFor a DB: global or instance, the FB or PLC data type it derives from, members with start values, and its retain setting.
plc_tagsarrayRows of the PLC tag tables: name, data type, address such as %I0.3 or %MW10, and comment, with the PLC data types (UDTs) they use.
technology_objectsarrayEach Technology object, such as an axis or a PID controller, with its parameters and assigned hardware.
hmi_tagsarrayHMI tag rows of an HMI device: name, connection, the PLC tag or DB member each points to, and acquisition cycle.
hmi_screensarrayEach HMI screen with its objects, and per object the HMI tag behind its animations and events.
protection_and_originobjectPer block: know-how protected or not, fail-safe or not, and the Library type it is an instance of.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "tia_project": {
    "id": "prj_4c91e0",
    "saved_by_release": "[RELEASE]",
    "cpu_family": "S7-1500"
  },
  "block": {
    "kind": "FB",
    "number": 210,
    "name": "FB_ConveyorDrive",
    "language": "SCL"
  },
  "source_text": "FUNCTION_BLOCK \"FB_ConveyorDrive\"\n   VAR_INPUT\n      start : Bool;\n      stop : Bool;\n      jamSensor : Bool;\n   END_VAR\n   VAR_OUTPUT\n      run : Bool;\n      fault : Bool;\n   END_VAR\n   VAR\n      jamTimer : TON_TIME;\n   END_VAR\nBEGIN\n   #jamTimer(IN := #jamSensor AND #run, PT := T#3s);\n   IF #jamTimer.Q THEN\n      #fault := TRUE;\n   END_IF;\n   #run := (#start OR #run) AND NOT #stop AND NOT #fault;\nEND_FUNCTION_BLOCK",
  "calls": [
    {
      "caller": "Main",
      "instance_db": "DB_Conveyor1"
    }
  ],
  "plc_tags": [
    {
      "table": "Conveying_IO",
      "name": "Conv1_JamPE",
      "data_type": "Bool",
      "address": "%I0.3"
    }
  ],
  "hmi_tags": [
    {
      "name": "Conveyor1_Fault",
      "connection": "HMI_Connection_1",
      "plc_tag": "\"DB_Conveyor1\".fault"
    }
  ],
  "hmi_screens": [
    {
      "screen": "Conveying_Overview",
      "object": "Circle_Conv1_Fault",
      "animation": "appearance",
      "hmi_tag": "Conveyor1_Fault"
    }
  ],
  "protection_and_origin": {
    "know_how_protected": false,
    "fail_safe": false,
    "library_type": "FB_ConveyorDrive"
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Write SCL and ladder from a description

Commented interfaces and titled networks pair a stated function with the SCL or LAD that implements it.

Answer what a screen button does

The chain from screen object to HMI tag to the writing block is data for tracing operator actions into logic.

Generate HMI screens from a program

A PLC program with the screens built on its tags shows which variables engineers gave to operators and how.

Translate STL to SCL

Migrated projects hold STL blocks, and where later SCL rewrites were kept the pair is a translation example.

Evaluate controls engineering agents

Held-out projects test whether an agent can name the block that writes a tag, complete a network or explain an interlock.

Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Compiles consistent

The project compiles without errors in the stated release, so every block is consistent before export.

Symbolic and commented

Tags, interface members and networks carry names, titles and comments, not bare addresses.

HMI tags resolve

Each HMI tag points to a PLC tag or DB member present in the delivery.

Protection declared

Know-how protected blocks are counted per project and marked as interface only, not silently absent.

Library origin labeled

Instances of library types are flagged with the library they came from.

Engineering copy

The offline project, not an upload stripped of names and comments.

System export

TIA Portal dataset

This page covers TIA Portal automation projects.Illustrative

One project ties the screen element to the tag and the block that writes it

A TIA Portal project is a tree with one branch per device. Under a PLC station sit the Device configuration, Program blocks, Technology objects, PLC tags and PLC data types. The program is organization blocks that the controller calls on a cycle, a startup or an interrupt, function blocks that keep state in an instance data block, functions that keep none, and global data blocks. Every function block call names its instance, so one conveyor FB called for twenty drives leaves twenty named instances.

The operator panels are devices in the same project, each with Screens, HMI tags and Connections. An HMI tag is a pointer, not a copy: it names a PLC tag or data block member, by symbol or by absolute address, through an HMI connection. A screen button carries an event that calls a system function on one HMI tag, SetBit in WinCC Comfort and Advanced for example, and a lamp carries an appearance animation on another. The cross-reference list shows each block that reads or writes that PLC variable, so the chain from screen object to the network that writes it can be followed inside one project.

The project keeps the current state only. A block carries timestamps for its last code and interface change and no earlier versions. Only library types are versioned, and the project library can hold several versions of one type. Data blocks store start values. Values tuned at the machine live as actual values in the controller and reach the project only if someone took a snapshot and copied it to start values. Where a project was recovered by upload, an S7-1200 or S7-1500 returns symbolic names and comments because the controller stores them, and an S7-300 or S7-400 returns blocks without them.

What Openness exports, and what stays locked in the project file

On disk a project is a folder: a main file whose extension carries the release number, above a binary data store that only TIA Portal reads. A project opens in the release that saved it, a newer release upgrades a copy, and the upgrade does not go back. Reading projects at scale therefore means exporting, on the supplier's licensed installation. Openness is the programming interface that drives TIA Portal to write each block, tag table and PLC data type as XML.

The export is uneven by language. SCL and STL blocks, data blocks and PLC data types can also be generated as source files, which no other block language allows. LAD, FBD and GRAPH blocks arrive as XML in which a network is a list of parts, operands and wires. Recent releases add a text document export, so ask whether the supplier's release has it and which block languages it covers. Comments and titles are multilingual text with an entry per project language. The XML export is defined for consistent blocks, so ask what happened to blocks that did not compile. A know-how protected block exported without its password yields its public interface and no code.

To test a sample, compare the supplier's list of blocks per project with the files delivered. Protected blocks should arrive as interface-only files in the number declared, and every other gap should be a listed exclusion. Parse one LAD block and check that every operand resolves to a tag table row or a DB member. Read comments and device names for plant and customer names, and confirm that IP addresses and passwords are gone. Ask separately how fail-safe blocks were handled, because a safety program describes how a live machine is made safe.

What to check before licensing

  • Ask who owns each program by contract, the integrator, the machine builder or the end user, and get the owner's sign-off per project.
  • Count know-how protected blocks and library type instances per project, and ask which libraries came from third parties, so they are cleared or excluded.
  • Have the buyer and the data owner each check Siemens' terms on exported project data and on use of the Openness interface for extraction.
  • Ask how safety programs, IP addresses, device names, passwords and remote access settings of live plants were handled, and treat them as security-sensitive in the license and in storage.
  • Record the TIA Portal release and option packages each project was saved with, and confirm the export ran in that release.
  • Ask whether blocks were exported as XML, as generated source files or both, how LAD and FBD blocks arrive, and whether HMI screens came from WinCC Comfort and Advanced or WinCC Unified.
  • On the sample, follow HMI screen objects to their HMI tags, PLC tags and writing blocks, and count the links that break.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Do I need TIA Portal to read the delivered data?

Not for exported files. Block XML, tag table XML and SCL or STL sources are text that any parser can read. You do need TIA Portal, at the release that saved the project or a newer one that upgrades it, with the option packages the project uses, to open or compile a native project archive. Ask for exports as the main delivery.

Can ladder (LAD) and FBD blocks be delivered as text?

Mostly as XML. TIA Portal generates source files for SCL and STL blocks, data blocks and PLC data types, and not for graphical blocks. The Openness export writes each LAD or FBD network as parts, operands and wires, which keeps the logic but needs a converter to draw rungs. Ask whether the supplier's release offers a text document format for graphical blocks.

What happens to know-how protected blocks?

Their code cannot be delivered while they stay protected. Without the password, TIA Portal will not display a protected block's logic, and an Openness export of it holds only the public block interface. Some are bought library blocks the business may not own. Ask for a count per project and who holds each password.

Does a TIA Portal project include its change history?

No. A project holds the current state of each block with timestamps for the last code and interface change, and nothing of earlier versions. History exists where the business kept dated project archives per milestone, or linked the project to a version control workspace. Ask how many states of each machine exist.

Are setpoints tuned on the machine in the project?

Often not. Data blocks in the project store start values, while the values a commissioning engineer tuned live as actual values in the controller. They reach the project only if someone took a snapshot of the online values and copied it to start values. Ask whether the delivered project is the engineering copy or an as-running one.

Is SourceX affiliated with Siemens?

TIA Portal is named to identify the system the records come from. That does not imply a partnership with or endorsement by Siemens. The records belong to the business that runs TIA Portal, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies