Skip to content

Phase Template: cip-heat-and-hold

Heat the vessel to a target temperature, agitate and hold for the configured contact time, then shut down heating. Used during the CIP hot-wash step to maintain the cleaning solution at the temperature and time required by the validated cleaning cycle.

Supports skip_if_zero. Binding that parameter to 0 skips the phase entirely (values >= 1 run it), which lets higher-level templates turn hot wash on or off per invocation without editing the procedure.

Where to find it

System endpointEquipment LibraryPhasescip-heat-and-hold.

SFC chart

graph TD
    Start([initial]) --> CHK[check_skip]
    CHK -->|"skip_if_zero >= 1"| AUTO[set_auto_mode]
    CHK -->|"skip_if_zero < 1"| SKIP[skipped]
    SKIP --> Done([done])
    AUTO --> SH[start_heat]
    SH --> HEAT[heating]
    HEAT -->|"temp_sensor.PV >= target_temp − 2"| SA[start_agitator]
    SA -->|"agitator.POS >= 0.8 × agitate_speed"| HOLD[holding]
    HOLD -->|"holding.T &gt;= contact_time<br/>AND temp_sensor.PV &gt;= target_temp − 5"| STOPA[stop_agitator]
    STOPA -->|"agitator.POS &lt; 2"| STOPH[stop_heat]
    STOPH --> Done

This is a linear PV-endpoint phase with a selective divergence at the start. The check_skip step routes to either the heat-and-hold sequence or straight to done based on the skip_if_zero parameter. This is how higher-level templates (cip-hot-wash-op) gate the optional acid wash. Beyond the skip gate, the chart waits on temperature and agitator-position guards before each transition. See Phase Failure Modes § PV-endpoint phases for the failure-mode story. temp_sensor.PV failing high or stuck is the dangerous case.

Parameters

Parameter Type Unit Range Default Required
target_temp REAL degC 40-85 75 yes
heat_output REAL % 10-100 80 yes
contact_time TIME 1m-1h 30m yes
agitate_speed REAL % 20-100 60 yes
skip_if_zero REAL 0-1 1 no

TIME parameters take duration strings ("45s", "1m30s", "5m"), not bare numbers.

The template also declares one output: target_temp_actual (REAL, °C). It is the tank temperature PV captured at terminal time, so the batch production record can show the target alongside the achieved value.

Required control modules

Role Module type Description
temp_controller analog-control Jacket / heater temperature control
temp_sensor analog-sensor Tank temperature measurement
agitator analog-control Tank agitator for wash circulation

Capability

mixing

Used in

This is a building block, called by the cip-hot-wash-op operation template.

Failure modes

This is a PV-endpoint phase. See Phases → PV-endpoint phase for the full archetype.

Pairs with a TagHighHigh hardware overtemperature alarm and a deviation alarm on the heater. Set a timeoutSeconds on the phase as a backstop.

Modify this template

Want to clone this and adapt it for your own equipment? Walk through Adaptation Guide for the full clone → rebind → deploy → run workflow, and Parameter Binding to understand how recipe values flow through to control-module tags.