Laboratory control for test series
Couldn't load pickup availability
Description
This SCL function block, FB_HeatingMeasuringCycle, controls an automated heating and measuring process with multiple heating cycles. It provides backup in the event of a stop or emergency stop signal, operates an agitator in heating mode, and records the measurement results after temperature stabilization. It runs in the 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
- Stop/Emergency Stop active → Heating & agitator off, error flag on, HMI “STOP / EMERGENCY STOP”, RETURN
- Phase 0 (Ready): Waiting for start signal
- Phase 1 (Heating): Heating & agitator on until temp > 60 °C
- Phase 2 (Stabi): Heating off, 10 s TON timer, save measurement result
- Phase 3 (Pause): Stirrer on for 5 s TON timer, cycle counter++
- CycleIndex < Target area → back to phase 1
- Phase 4 (End): Heater & agitator off, HMI “TEST COMPLETED”
Technical details
• Inputs: Stop, Emergency Stop, Start, Temperature, Measured Value, Number of Cycles
• Outputs: Heating, Agitator, Error, StatusText_HMI
• ONE-TONE timer with variable PT for stabilization (10 s) and pause (5 s)
• INT variable #Phase in CASE structure, RETURN in case of safety state
Possible applications
• Automated heating and measurement cycles in laboratory and pilot plants
• Chemical or reactor engineering, process engineering
• Retrofit and demonstration projects in training and education environments
compatibility
Siemens S7-1200 & S7-1500; TIA Portal ≥ V13 (recommended V16+ for PLCSIM & HMI)
Scope of delivery
.scl file with input/output declarations, timer instances, CASE logic, and header comments; download link after purchase
Support
Adjustment of temperature limits, number of cycles or pause times, integration of additional sensors and HMI layouts on request via shop message or email.