SLUDGE_DRAW_SCHED

Sludge withdrawal scheduler for up to 8 basins into one shared receiver: one draw at a time in call order, gated on receiver room, route and collector, time-limited, with a blanket-response check.

Validated application blockWTP · Residuals & RecycleIEC 61131-3IEC 61499v1.0.0

When to use it

Use SLUDGE_DRAW_SCHED when several sedimentation basins (and a recovery clarifier) draw settled sludge through their own withdrawal valves into one shared sludge receiver, one draw at a time — the arrangement all three reference plants use; up to 8 basins (the reference plants have 5, 6 and 5 trains plus one recovery clarifier).

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
CALL_1BOOL—
BLANKET_1REALft
BLANKET_OK_1BOOL—
SC_READY_1BOOL—
SC_TORQUE_OK_1BOOL—
SLV_OPENED_1BOOL—
SLV_CLOSED_1BOOL—
IN_SVC_1BOOL—
CALL_2BOOL—
BLANKET_2REALft
BLANKET_OK_2BOOL—
SC_READY_2BOOL—
SC_TORQUE_OK_2BOOL—
SLV_OPENED_2BOOL—
SLV_CLOSED_2BOOL—
IN_SVC_2BOOL—
CALL_3BOOL—
BLANKET_3REALft
BLANKET_OK_3BOOL—
SC_READY_3BOOL—
SC_TORQUE_OK_3BOOL—
SLV_OPENED_3BOOL—
SLV_CLOSED_3BOOL—
IN_SVC_3BOOL—
CALL_4BOOL—
BLANKET_4REALft
BLANKET_OK_4BOOL—
SC_READY_4BOOL—
SC_TORQUE_OK_4BOOL—
SLV_OPENED_4BOOL—
SLV_CLOSED_4BOOL—
IN_SVC_4BOOL—
CALL_5BOOL—
BLANKET_5REALft
BLANKET_OK_5BOOL—
SC_READY_5BOOL—
SC_TORQUE_OK_5BOOL—
SLV_OPENED_5BOOL—
SLV_CLOSED_5BOOL—
IN_SVC_5BOOL—
CALL_6BOOL—
BLANKET_6REALft
BLANKET_OK_6BOOL—
SC_READY_6BOOL—
SC_TORQUE_OK_6BOOL—
SLV_OPENED_6BOOL—
SLV_CLOSED_6BOOL—
IN_SVC_6BOOL—
CALL_7BOOL—
BLANKET_7REALft
BLANKET_OK_7BOOL—
SC_READY_7BOOL—
SC_TORQUE_OK_7BOOL—
SLV_OPENED_7BOOL—
SLV_CLOSED_7BOOL—
IN_SVC_7BOOL—
CALL_8BOOL—
BLANKET_8REALft
BLANKET_OK_8BOOL—
SC_READY_8BOOL—
SC_TORQUE_OK_8BOOL—
SLV_OPENED_8BOOL—
SLV_CLOSED_8BOOL—
IN_SVC_8BOOL—
RECEIVER_OKBOOL—
RECEIVER_HHBOOL—
ROUTE_OKBOOL—
DISPOSAL_OKBOOL—
INHIBITBOOL—
RESETBOOL—
DRAW_MAX_TTIME—
INTERVAL_TTIME—
TIMED_WITH_BLANKETBOOL—
FALLBACK_TIMEDBOOL—
RESPONSE_DROPREALft
RESPONSE_CYCLESINT—
MAX_WAIT_TTIME—
TRAVEL_TTIME—

Outputs

PortType
SLV_REQ_1BOOL
SLV_REQ_2BOOL
SLV_REQ_3BOOL
SLV_REQ_4BOOL
SLV_REQ_5BOOL
SLV_REQ_6BOOL
SLV_REQ_7BOOL
SLV_REQ_8BOOL
ACTIVEINT
QUEUE_LENINT
DERATE_REQ_1BOOL
DERATE_REQ_2BOOL
DERATE_REQ_3BOOL
DERATE_REQ_4BOOL
DERATE_REQ_5BOOL
DERATE_REQ_6BOOL
DERATE_REQ_7BOOL
DERATE_REQ_8BOOL
ALM_NO_RESPONSE_1BOOL
ALM_NO_RESPONSE_2BOOL
ALM_NO_RESPONSE_3BOOL
ALM_NO_RESPONSE_4BOOL
ALM_NO_RESPONSE_5BOOL
ALM_NO_RESPONSE_6BOOL
ALM_NO_RESPONSE_7BOOL
ALM_NO_RESPONSE_8BOOL
ALM_VALVE_1BOOL
ALM_VALVE_2BOOL
ALM_VALVE_3BOOL
ALM_VALVE_4BOOL
ALM_VALVE_5BOOL
ALM_VALVE_6BOOL
ALM_VALVE_7BOOL
ALM_VALVE_8BOOL
ALM_DRAW_BLOCKED_1BOOL
ALM_DRAW_BLOCKED_2BOOL
ALM_DRAW_BLOCKED_3BOOL
ALM_DRAW_BLOCKED_4BOOL
ALM_DRAW_BLOCKED_5BOOL
ALM_DRAW_BLOCKED_6BOOL
ALM_DRAW_BLOCKED_7BOOL
ALM_DRAW_BLOCKED_8BOOL
ALM_INHIBITEDBOOL
ALM_CFG_ERRBOOL

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Validation evidence

Tests
10
Simulated scans
3085
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 SLUDGE_DRAW_SCHED — 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.