Glossary Updates50 new terms added to the glossaries · 23 November 2026, 10:55 CET
AI TechDocKnowledge
  • English (US)
  • English (UK)
  • DeutschNicht auf Deutsch verfügbar

Glossary · PLC and control programming

Organisation block (OB)

Also known as: OB

German: Organisationsbaustein

In Siemens STEP 7 and TIA Portal programming, an organisation block (OB) is a block called by the controller's operating system that forms the interface between the operating system and the user programme, for example for the main programme cycle, startup, time-driven interrupts and error handling.

  • PLC programming
  • Vendor product

In one sentence

In Siemens PLCs, organisation blocks (OBs) are called by the operating system and start the user programme for cycles, startup and events.

Example

A Siemens programme runs its main logic in the programme cycle OB, initializes data in a startup OB and handles module failures in a diagnostic error OB.

How it applies

  • Engineering: OBs are Siemens' equivalent of tasks in IEC 61131-3 terms. Each OB type has a trigger (cycle, startup, time, hardware event, error) and a priority. The user programme is called from the OBs; functions and function blocks never run on their own.
  • Fault handling: Whether the controller stops or continues after certain errors depends on which error OBs exist and what they do. On some controller generations, a missing error OB leads to a stop; on others the behaviour differs. This must be a deliberate design decision.
  • Commissioning: The load of time-driven interrupt OBs affects the cycle time of the main programme. Check it under full load.
  • Documentation: The software documentation should list the OBs used, their triggers, priorities and what each one calls. For error OBs, document the intended Fault reaction.

Organisation block vs. task

IEC 61131-3 assigns programmes to configurable tasks. Siemens uses predefined OB types with numbers and events. Conceptually, both decide when which part of the programme runs.

Keep in mind: product names and features change. Check OB types, numbers and behaviour against the vendor's current documentation for the controller family used.

By knowledge.aitechdoc.world · Published September 26, 2026 · Last reviewed

Source: AI TechDoc Knowledge editorial definition, based on Siemens STEP 7 and TIA Portal programming practice

Definitions follow the cited standards and specifications. Where a source is a copyrighted publication, such as an ISO, IEC or EN standard, the definition is a close paraphrase, not a verbatim quotation, so as not to infringe copyright. We recommend reading the original publication. The sections “How it applies” are editorial commentary by AI TechDoc Knowledge and are not part of any standard.

Seen a mistake? Send us a note!