Code preview
XMLAP005-Obalovačka_Export_20251201_185026/Devic…
1<?xml version="1.0" encoding="utf-8"?>
2<Document>
3 <Engineering version="V20" />
4 <DocumentInfo>
5 <Created>2025-12-01T17:52:46.2291641Z</Created>
6 <ExportSetting>WithDefaults</ExportSetting>
7 <InstalledProducts>
8 <Product>
9 <DisplayName>Totally Integrated Automation Portal</DisplayName>
10 <DisplayVersion>V20</DisplayVersion>
11 </Product>
12 <OptionPackage>
13 <DisplayName>TIA Portal Openness</DisplayName>
14 <DisplayVersion>V20</DisplayVersion>
2_Calculations(6)
3_Errors(18)
0_Errors.xml
1_Errors_general.xml✓ Cited
2_Errors_comm.xml

PLC logic for the foil alarm

MessagesAttached files
Search the PLC logic for what triggers the alarm: Foil not unwinding / foil torn.
Searching PLC programs

I found the PLC logic behind the alarm “Foil not unwinding / foil torn” 🛠️

Where the alarm is raised

The alarm is defined in block 1_Errors_general.xml and mapped to Error_DB.Errors[5]. It is raised through the FC Error call with Kind = 3 and Area_nr = A1_main_DB.Area1.Nr. Source

Trigger conditions

The alarm fires when all of this holds at once:

  • Safety_stand is not active on foil devices 1 and 2
  • and at least one of the inputs is active: I94B3 or I94B2
  • the state must persist for 8 s through a TON timer (PT = T#8s) Source