Skip to content

Phase Template: cip-drain

Open the drain valve, wait for the tank to empty, and close the drain valve. Uses the level sensor to detect drain completion.

Where to find it

System endpointEquipment LibraryPhasescip-drain.

Parameters

Parameter Type Unit Range Default Required
drain_level REAL L 0-50 5 no
skip_if_zero REAL 0-1 1 no

Required control modules

Role Module type Description
outlet_valve discrete-valve Tank drain valve
level_sensor analog-sensor Tank level measurement

Capability

mixing

Used in

This is a building block, called by the CIP operation templates cip-rinse-op, cip-hot-wash-op, and cip-conductivity-rinse-op.

Failure modes

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

Pairs with a low-level alarm and timeoutSeconds. 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.