DCW_PH_CTRL

Dual-sided pH control with mutually exclusive acid and caustic outputs, rate limiting and frozen-probe detection.

Validated application blockDC-WTP · Chemical DosingIEC 61131-3IEC 61499v1.1.0

When to use it

Use DCW_PH_CTRL when circulating water pH is trimmed automatically with acid, caustic, or both, and the two reagents must be interlocked against each other and against a pH probe that cannot be trusted.

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
PHREALpH
PH_OKBOOL
PH_SPREALpH
DEADBANDREALpH
KPREAL%/pH
RATE_PCT_SREAL%/s
MAX_ACID_PCTREAL%
MAX_CAUS_PCTREAL%
PH_MIN_VALIDREALpH
PH_MAX_VALIDREALpH
FROZEN_TOLREALpH
FROZEN_TMOTIME
HOLD_TMOTIME
DEV_ALMREALpH
DEV_TMOTIME
ACKBOOL

Outputs

PortTypeUnit
ACID_PCTREAL%
CAUS_PCTREAL%
ERR_PHREALpH
MEAS_VALIDBOOL
HELDBOOL
ALM_PH_FAULTBOOL
ALM_DEVBOOL
ALM_LOWBOOL
ALM_HIGHBOOL
ALM_CFG_ERRBOOL

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Validation evidence

Tests
11
Simulated scans
1541
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
  • Conforms to IEC 61499

Download DCW_PH_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, the IEC 61499 function block type (.fbt) and the datasheet.

Every block in the catalogue is free to download, in every format, 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.