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.
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
| Port | Type | Unit |
|---|---|---|
| ENABLE | BOOL | — |
| PERMIT_OK | BOOL | — |
| LIMIT_MGD | REAL | MGD |
| FLOW | REAL | MGD |
| FLOW_OK | BOOL | — |
| DAY_VOL | REAL | MG |
| DAY_LIMIT | REAL | MG |
| N_AI | INT | — |
| PV_1 | REAL | EU |
| PV_2 | REAL | EU |
| PV_3 | REAL | EU |
| PV_4 | REAL | EU |
| PV_5 | REAL | EU |
| PV_6 | REAL | EU |
| VALID_1 | BOOL | — |
| VALID_2 | BOOL | — |
| VALID_3 | BOOL | — |
| VALID_4 | BOOL | — |
| VALID_5 | BOOL | — |
| VALID_6 | BOOL | — |
| ENV_LO_1 | REAL | EU |
| ENV_LO_2 | REAL | EU |
| ENV_LO_3 | REAL | EU |
| ENV_LO_4 | REAL | EU |
| ENV_LO_5 | REAL | EU |
| ENV_LO_6 | REAL | EU |
| ENV_HI_1 | REAL | EU |
| ENV_HI_2 | REAL | EU |
| ENV_HI_3 | REAL | EU |
| ENV_HI_4 | REAL | EU |
| ENV_HI_5 | REAL | EU |
| ENV_HI_6 | REAL | EU |
| ENV_DLY | TIME | — |
| HAB_INVESTIGATE | BOOL | — |
| HAB_HOLD | BOOL | — |
| BEYOND_DESIGN | BOOL | — |
| ACK | BOOL | — |
Outputs
| Port | Type | Unit |
|---|---|---|
| FLOW_CAP | REAL | MGD |
| SUSPEND_AUTO | BOOL | — |
| STOP_RAW | BOOL | — |
| ALM_AT_LIMIT | BOOL | — |
| ALM_ENVELOPE | BOOL | — |
| ALM_INVALID | BOOL | — |
| ALM_PERMIT_STOP | BOOL | — |
| ALM_BLOOM_HOLD | BOOL | — |
| INVESTIGATE | BOOL | — |
| ALM_CFG_ERR | BOOL | — |
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.