Skip to product information
1 of 1

Gas detection monitoring

Regular price €4,99 EUR
Regular price Sale price €4,99 EUR
Sale Sold out

Description
The FB_GasMonitoring function block monitors a gas concentration, scales the analog sensor value from 0–100%, and responds in stages with a warning, alarm, or emergency stop including shutdown. It controls fans and safety devices and is implemented in SCL for Siemens TIA Portal.

Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.

How it works

  • Emergency stop ( NotStop=TRUE ):
    → System locked, NotAus=TRUE , Abschaltung=TRUE , Fan/Warning/Alarm off, StatusText=“Not-Aus aktiv – System gesperrt” , RETURN
  • Scaling (if Start=TRUE ):
    → Sensor value → Percent = Measured value × 100 / 27648
  • Reaction graded:
    1. Percent ≥ Emergency Stop Threshold → NotAus=TRUE , Abschaltung=TRUE , Fan/Alarm off, StatusText=“Kritisch: Not-Aus”
    2. Percent ≥ AlarmThreshold → Alarm=TRUE , Fan=TRUE, Warning=FALSE, StatusText=“Alarm: hoher Wert”
    3. Percent ≥ WarningThreshold → Warnung=TRUE , Fan/Alarm off, StatusText=“Warnung: erhöhter Wert”
    4. otherwise → all outputs inactive, StatusText=“Gaskonzentration OK”
  • Acknowledgement ( Quittieren=TRUE ):
    NotAus=FALSE , Abschaltung=FALSE , StatusText=“Quittierung erfolgt – System läuft”

Technical details

  • Inputs: Gas_RAW (INT), Start (BOOL), Emergency Stop (BOOL), Acknowledge (BOOL), Warning Threshold, Alarm Threshold, Emergency Stop Threshold (REAL)
  • Outputs: Warning, Alarm, Fan, Emergency Stop, Shutdown (each BOOL), StatusText (STRING)
  • Scaling: Percent = Gas_RAW × 100 / 27648
  • Logic: simple IF/ELSIF stages, RETURN in case of emergency stop/safety stop

Possible applications
Gas detection and ventilation in industrial plants, laboratories, or chemical processes; training and demonstration setups for PLC safety technology.

compatibility
Siemens S7-1200/S7-1500, TIA Portal ≥ V13 (V16+ recommended for HMI/PLCSIM).

Scope of delivery
.scl file with declaration of all inputs/outputs, variables, and parameters; header comment with author, contact, and customization instructions; download link after purchase.

Support
Adjustment of threshold values, integration of additional sensors or HMI layouts – individual advice is available via shop message or email.