SOURCE_WITHDRAWAL_GUARD

Keeps raw water withdrawal inside its permit and the source envelope: permit stop, authorized flow cap, optional daily volume limit, analyzer envelope checks and a latched bloom hold.

Validated application blockWTP · Pumping & StorageIEC 61131-3IEC 61499v1.0.0

When to use it

Use SOURCE_WITHDRAWAL_GUARD when a raw water intake withdraws under a permit with a flow limit (and possibly a daily volume limit) and the plant must suspend automatic production changes when the source leaves the envelope it was designed and jar-tested for.

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—
PERMIT_OKBOOL—
LIMIT_MGDREALMGD
FLOWREALMGD
FLOW_OKBOOL—
DAY_VOLREALMG
DAY_LIMITREALMG
N_AIINT—
PV_1REALEU
PV_2REALEU
PV_3REALEU
PV_4REALEU
PV_5REALEU
PV_6REALEU
VALID_1BOOL—
VALID_2BOOL—
VALID_3BOOL—
VALID_4BOOL—
VALID_5BOOL—
VALID_6BOOL—
ENV_LO_1REALEU
ENV_LO_2REALEU
ENV_LO_3REALEU
ENV_LO_4REALEU
ENV_LO_5REALEU
ENV_LO_6REALEU
ENV_HI_1REALEU
ENV_HI_2REALEU
ENV_HI_3REALEU
ENV_HI_4REALEU
ENV_HI_5REALEU
ENV_HI_6REALEU
ENV_DLYTIME—
HAB_INVESTIGATEBOOL—
HAB_HOLDBOOL—
BEYOND_DESIGNBOOL—
ACKBOOL—

Outputs

PortTypeUnit
FLOW_CAPREALMGD
SUSPEND_AUTOBOOL—
STOP_RAWBOOL—
ALM_AT_LIMITBOOL—
ALM_ENVELOPEBOOL—
ALM_INVALIDBOOL—
ALM_PERMIT_STOPBOOL—
ALM_BLOOM_HOLDBOOL—
INVESTIGATEBOOL—
ALM_CFG_ERRBOOL—

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Supervised control write

SOURCE_WITHDRAWAL_GUARD 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
9
Simulated scans
1052
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 SOURCE_WITHDRAWAL_GUARD — 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 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.