DCW_SOFTENER_TRAIN

Duplex base-exchange softener: service/standby vessel selection, volume- and hardness-triggered changeover, and a supervised four-step regeneration.

Validated application blockDC-WTP · Filtration & SofteningIEC 61131-3v1.1.0

When to use it

Use DCW_SOFTENER_TRAIN when makeup to a cooling tower (or to a humidifier / steam-humidification header) passes through a duplex base-exchange softener, so that one vessel treats while the other stands by regenerated, and hardness must never reach the tower unannounced.

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—
HARDNESSREALmg/L
HARDNESS_OKBOOL—
HARD_LIMITREALmg/L
HARD_DELAYTIME—
HARD_PROOF_TTIME—
CAPACITY_M3REALm3
SALT_OKBOOL—
V1_AVAILBOOL—
V2_AVAILBOOL—
REGEN_REQBOOL—
BRINE_DRAW_TTIME—
SLOW_RINSE_TTIME—
FAST_RINSE_TTIME—
REFILL_TTIME—
STEP_TMO_MARGINTIME—
ACKBOOL—

Outputs

PortTypeUnit
SERVICE_V2BOOL—
V1_SERVICE_CMDBOOL—
V2_SERVICE_CMDBOOL—
V1_REGEN_CMDBOOL—
V2_REGEN_CMDBOOL—
CMD_BRINEBOOL—
CMD_SLOW_RINSEBOOL—
CMD_FAST_RINSEBOOL—
CMD_REFILLBOOL—
REGEN_STATEDINT—
REGEN_VESSELDINT—
REGEN_BUSYBOOL—
REGEN_PENDBOOL—
SERVICE_VOL_M3REALm3
CAP_REMAIN_PCTREAL%
REGEN_COUNTDINT—
ALM_HARDNESSBOOL—
ALM_NO_SALTBOOL—
ALM_REGEN_FAULTBOOL—
REGEN_FAULT_STEPDINT—
ALM_REGEN_INEFFBOOL—
ALM_NO_STANDBYBOOL—
ALM_BOTH_UNAVAILBOOL—
ALM_FLOW_FAULTBOOL—
ALM_HARD_FAULTBOOL—
ALM_CFG_ERRBOOL—

Supervised control write

DCW_SOFTENER_TRAIN 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
16
Simulated scans
453
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 DCW_SOFTENER_TRAIN — 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.