UV_DOSE_CTRL

UV dose pacing on flow and transmittance: bank staging, ballast power and a delivered-dose estimate that fails towards more dose.

Validated application blockW/WW · Disinfection & ChemicalIEC 61131-3v1.0.0

When to use it

Use UV_DOSE_CTRL when a multi-bank UV reactor must hold a validated dose as flow and UV transmittance vary, and the plant needs a delivered-dose estimate to drive a divert permissive and an off-spec time record.

Interface

The published port signature. This is the whole of what the block exposes to your program — the implementation body is not shown here and ships with the download.

Inputs

PortTypeUnit
ENABLEBOOL—
FLOWREALm3/h
FLOW_OKBOOL—
UVT_PCTREAL%
UVT_OKBOOL—
DOSE_SPREALmJ/cm2
BANKS_AVAILUSINT—
BANK_CAPREALmJ·m3/(cm2·h)
UVT_RATEDREAL%
EFF_PATH_CMREALcm
LAMP_AGE_PCTREAL%
POWER_MIN_PCTREAL%
POWER_MAX_PCTREAL%
UVT_ASSUMEDREAL%
FLOW_RATEDREALm3/h
MIN_FLOWREALm3/h
HYST_BANKSREALratio
STAGE_TTIME—
LOW_DOSE_TTIME—
ACKBOOL—

Outputs

PortTypeUnit
BANKS_ONUSINT—
POWER_PCTREAL%
DOSEREALmJ/cm2
DOSE_VALIDBOOL—
DISINFECT_OKBOOL—
INT_FACTORREALratio
UNDERDOSE_SREALs
ALM_LOW_DOSEBOOL—
ALM_UVT_FAULTBOOL—
ALM_FLOW_FAULTBOOL—
ALM_CFG_ERRBOOL—

Supervised control write

UV_DOSE_CTRL commands a real actuator. It is written to sit underneath your own interlock, permissive and protection logic — not to replace it. Commission it as you would any control block you wrote yourself.

Validation evidence

Tests
11
Simulated scans
180
Simulator
v0.1.0

Complete IEC 61131-3 implementation with a published test suite that runs on the vplant simulator. The counts above are that suite, executed on this build.

  • Conforms to IEC 61131-3

Download UV_DOSE_CTRL — free

Create a free Ri Tech account to download the block. You get the Structured Text body, the Rockwell Add-On Instruction (.L5X), the Schneider Control Expert DFB (.XDB), PLCopen XML and the datasheet.

Every block in the catalogue is free to download, in every format it ships, with no purchase and no card. Browsing needs no account at all; downloading needs a signed-in one, so the block lands in your library and re-downloads whenever you need it.

Source is never published on this page. The implementation is released to a signed-in Ri Tech account — free of charge, but never anonymously.