PRODUCTION_MASTER

Plant production master: available capacity as the minimum of up to 8 serial stages, gross request from demand feedforward plus a slow storage trim, capped, rate limited, and split into the raw pump request.

Validated application blockWTP · Plant SupervisionIEC 61131-3IEC 61499v1.0.0

When to use it

Use PRODUCTION_MASTER when a plant coordinator sets one gross treatment flow request (MGD) from net plant demand and finished storage volume, capped by the capacities of up to 8 serial stages that each area publishes and by a standby-power flow cap, and passes the raw pump bank the gross request minus admitted recycle.

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—
STORAGE_VOLREALMG
STORAGE_SPREALMG
STORAGE_OKBOOL—
NET_DEMANDREALMGD
DEMAND_OKBOOL—
WITHDRAWALSREALMGD
RESERVEREALMGD
RECYCLEREALMGD
GROSS_PVREALMGD
FLOW_CAPREALMGD
INHIBIT_UPBOOL—
N_STAGESINT—
STAGE_CAP_1REALMGD
STAGE_CAP_2REALMGD
STAGE_CAP_3REALMGD
STAGE_CAP_4REALMGD
STAGE_CAP_5REALMGD
STAGE_CAP_6REALMGD
STAGE_CAP_7REALMGD
STAGE_CAP_8REALMGD
STAGE_OK_1BOOL—
STAGE_OK_2BOOL—
STAGE_OK_3BOOL—
STAGE_OK_4BOOL—
STAGE_OK_5BOOL—
STAGE_OK_6BOOL—
STAGE_OK_7BOOL—
STAGE_OK_8BOOL—
STAGE_MAX_1REALMGD
STAGE_MAX_2REALMGD
STAGE_MAX_3REALMGD
STAGE_MAX_4REALMGD
STAGE_MAX_5REALMGD
STAGE_MAX_6REALMGD
STAGE_MAX_7REALMGD
STAGE_MAX_8REALMGD
RATE_UPREALMGD/min
RATE_DNREALMGD/min
TRIM_KPREALMGD/MG
TRIM_TITIME—
TRIM_MAXREALMGD
RAW_MINREALMGD

Outputs

PortTypeUnit
GROSS_REQREALMGD
RAW_REQREALMGD
GROSS_AVAILREALMGD
NET_AVAILREALMGD
LIMIT_STAGEINT—
LIMITEDBOOL—
LIMIT_BYINT—
TRIMREALMGD
ALM_CONSTRAINTBOOL—
ALM_CFG_ERRBOOL—

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Validation evidence

Tests
14
Simulated scans
1947
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 PRODUCTION_MASTER — 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.