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.
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
| Port | Type | Unit |
|---|---|---|
| START_REQ | BOOL | — |
| STOP_REQ | BOOL | — |
| RESET | BOOL | — |
| PLANT_STATE | INT | — |
| MX_AVAIL | BOOL | — |
| MX_RUN | BOOL | — |
| FLM_AVAIL_1 | BOOL | — |
| FLM_AVAIL_2 | BOOL | — |
| FLM_AVAIL_3 | BOOL | — |
| FLM_RUN_1 | BOOL | — |
| FLM_RUN_2 | BOOL | — |
| FLM_RUN_3 | BOOL | — |
| SC_AVAIL | BOOL | — |
| SC_RUN | BOOL | — |
| FCV_AVAIL | BOOL | — |
| FCV_CLOSED | BOOL | — |
| XV_AVAIL | BOOL | — |
| XV_OPENED | BOOL | — |
| XV_CLOSED | BOOL | — |
| XWV_AVAIL | BOOL | — |
| XWV_OPENED | BOOL | — |
| XWV_CLOSED | BOOL | — |
| FLOW | REAL | MGD |
| FLOW_OK | BOOL | — |
| LEVEL | REAL | ft |
| LEVEL_OK | BOOL | — |
| NTU | REAL | NTU |
| NTU_OK | BOOL | — |
| NTU_DERATE | BOOL | — |
| NTU_ISOLATE | BOOL | — |
| CHEM_READY | BOOL | — |
| WASTE_RESERVED | BOOL | — |
| HEADER_ACCEPT | BOOL | — |
| INVENTORY_OK | BOOL | — |
| MIXING_DERATE | BOOL | — |
| TRAIN_MAX | REAL | MGD |
| WASTE_FLOW | REAL | MGD |
| QUALIFY_NTU | REAL | NTU |
| QUALIFY_HOLD_T | TIME | — |
| QUALIFY_MAX_T | TIME | — |
| LEVEL_MIN_START | REAL | ft |
| DERATE_PCT | REAL | % |
| MIXER_STOP_DELAY_T | TIME | — |
| COASTDOWN_T | TIME | — |
| VALVE_TRAVEL_T | TIME | — |
| RUN_PROOF_T | TIME | — |
Outputs
| Port | Type | Unit |
|---|---|---|
| STATE | INT | — |
| FCV_REQ | BOOL | — |
| FLOW_MODE | INT | — |
| FLOW_LIM_MGD | REAL | MGD |
| MX_REQ | BOOL | — |
| FLM_REQ_1 | BOOL | — |
| FLM_REQ_2 | BOOL | — |
| FLM_REQ_3 | BOOL | — |
| SC_REQ | BOOL | — |
| XWV_REQ | BOOL | — |
| XV_REQ | BOOL | — |
| POLY_ENABLE | BOOL | — |
| WASTE_RESERVE_REQ | BOOL | — |
| AVAILABLE | BOOL | — |
| IN_SERVICE | BOOL | — |
| CAPACITY | REAL | MGD |
| DEMAND_CUT_REQ | BOOL | — |
| FIRST_OUT | INT | — |
| QUALIFY_REMAIN_S | REAL | s |
| ALM_START_BLOCKED | BOOL | — |
| ALM_QUALIFY_TIMEOUT | BOOL | — |
| ALM_ISOLATED | BOOL | — |
| ALM_SEQ_FAULT | BOOL | — |
| ALM_CFG_ERR | BOOL | — |
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.