TRAIN_SERVICE_SEQ

One clarification train: start checks, conditioning to waste, qualification on settled turbidity, break-before-make transfer to the settled channel, derate, isolation and stop.

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

When to use it

Use TRAIN_SERVICE_SEQ when one conventional clarification train (rapid mixer, three flocculator stages, a sedimentation basin with one sludge collector, an inlet flow valve, a settled outlet valve to a common channel and a conditioning-to-waste valve) has to be put in service by running to waste until its settled water is good, and must be shut off the channel when that water goes bad; one instance per train.

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
START_REQBOOL—
STOP_REQBOOL—
RESETBOOL—
PLANT_STATEINT—
MX_AVAILBOOL—
MX_RUNBOOL—
FLM_AVAIL_1BOOL—
FLM_AVAIL_2BOOL—
FLM_AVAIL_3BOOL—
FLM_RUN_1BOOL—
FLM_RUN_2BOOL—
FLM_RUN_3BOOL—
SC_AVAILBOOL—
SC_RUNBOOL—
FCV_AVAILBOOL—
FCV_CLOSEDBOOL—
XV_AVAILBOOL—
XV_OPENEDBOOL—
XV_CLOSEDBOOL—
XWV_AVAILBOOL—
XWV_OPENEDBOOL—
XWV_CLOSEDBOOL—
FLOWREALMGD
FLOW_OKBOOL—
LEVELREALft
LEVEL_OKBOOL—
NTUREALNTU
NTU_OKBOOL—
NTU_DERATEBOOL—
NTU_ISOLATEBOOL—
CHEM_READYBOOL—
WASTE_RESERVEDBOOL—
HEADER_ACCEPTBOOL—
INVENTORY_OKBOOL—
MIXING_DERATEBOOL—
TRAIN_MAXREALMGD
WASTE_FLOWREALMGD
QUALIFY_NTUREALNTU
QUALIFY_HOLD_TTIME—
QUALIFY_MAX_TTIME—
LEVEL_MIN_STARTREALft
DERATE_PCTREAL%
MIXER_STOP_DELAY_TTIME—
COASTDOWN_TTIME—
VALVE_TRAVEL_TTIME—
RUN_PROOF_TTIME—

Outputs

PortTypeUnit
STATEINT—
FCV_REQBOOL—
FLOW_MODEINT—
FLOW_LIM_MGDREALMGD
MX_REQBOOL—
FLM_REQ_1BOOL—
FLM_REQ_2BOOL—
FLM_REQ_3BOOL—
SC_REQBOOL—
XWV_REQBOOL—
XV_REQBOOL—
POLY_ENABLEBOOL—
WASTE_RESERVE_REQBOOL—
AVAILABLEBOOL—
IN_SERVICEBOOL—
CAPACITYREALMGD
DEMAND_CUT_REQBOOL—
FIRST_OUTINT—
QUALIFY_REMAIN_SREALs
ALM_START_BLOCKEDBOOL—
ALM_QUALIFY_TIMEOUTBOOL—
ALM_ISOLATEDBOOL—
ALM_SEQ_FAULTBOOL—
ALM_CFG_ERRBOOL—

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Supervised control write

TRAIN_SERVICE_SEQ 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
18
Simulated scans
5433
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 TRAIN_SERVICE_SEQ — 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.