Siemens SIMATIC S7-1500 fault OB80: Time error (cycle time exceeded)

Siemens SIMATIC S7-1500faultSTEP 7 (TIA Portal) V21 documentation

The operating system calls the time error OB (OB80) on the first violation of the maximum cycle time within a cycle, when the number of queued, unfinished OB requests reaches the configured warning limit, and on expired or skipped time-of-day interrupts. If OB80 is not present and the cyclic program exceeds the maximum cycle time, the CPU goes to STOP. If the cycle time is exceeded twice in the same cycle (2xMaxCycleTime), the CPU goes to STOP whether or not OB80 exists.

Diagnose this with AI

Upload a keypad photo, the fault history or a parameter export from your Siemens SIMATIC S7-1500. InduQT compares the evidence and suggests the next useful checks.

Try Free PLC Fault Diagnostic

When it happens

Likely causes and checks

1Cyclic program too long for the configured maximum cycle time

Points to it
Measured cycle times (Online & diagnostics) close to the limit; OB80 start info Fault_ID 16#01.
Check
Compare the measured maximum cycle time with the configured maximum cycle time.

2Loop in the program that runs far longer under some conditions

Points to it
Cycle time normally short, then a sudden overrun after an edit or a data change.
Check
Review FOR/WHILE loops and indirect jumps in the block named by Csg_OBnr.

3Interrupt OBs or communication load interrupting the cycle

Points to it
Fault_ID 16#02, 16#07 or 16#09 (OB still running, request buffer overflow, interrupt loss); many cyclic or hardware interrupts.
Check
Review interrupt OB periods, priorities and run times.

Telling it apart

Relevant parameters

ParameterNameWhy it matters
CPU properties > CycleMaximum cycle time (cycle monitoring time)Upper limit for the cyclic program; exceeding it calls OB80 or stops the CPU if OB80 is missing.
RE_TRIGRRestart cycle monitoringInstruction that restarts the cycle monitoring time at a chosen point.

Evidence to collect

Work on fuel trains, burners, pressure vessels and electrical equipment must be done by qualified personnel following the manufacturer’s documentation and local codes. Never bypass a safety device or interlock.

Related