WASH_TOKEN_ARBITER

One wash at a time from a shared wash supply: queues up to 16 requesters by priority then age, checks the shared resources, grants one token, aborts a stale holder and holds the token until isolation is proven.

Validated application blockWTP · Filtration & WashIEC 61131-3IEC 61499v1.0.0

When to use it

Use WASH_TOKEN_ARBITER when several filters (and, where the supply is shared, GAC beds or other wash users) take turns on one wash supply and only one may wash at a time; up to 16 requesters — the twelve filters all three reference plants have, plus up to four further users such as a GAC area that presents its own selected bed as one requester.

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

PortType
REQ_1BOOL
PRIO_1INT
BVAV_CLOSED_1BOOL
HB_1DINT
RELEASE_1BOOL
DONE_1BOOL
NEEDS_AIR_1BOOL
REQ_2BOOL
PRIO_2INT
BVAV_CLOSED_2BOOL
HB_2DINT
RELEASE_2BOOL
DONE_2BOOL
NEEDS_AIR_2BOOL
REQ_3BOOL
PRIO_3INT
BVAV_CLOSED_3BOOL
HB_3DINT
RELEASE_3BOOL
DONE_3BOOL
NEEDS_AIR_3BOOL
REQ_4BOOL
PRIO_4INT
BVAV_CLOSED_4BOOL
HB_4DINT
RELEASE_4BOOL
DONE_4BOOL
NEEDS_AIR_4BOOL
REQ_5BOOL
PRIO_5INT
BVAV_CLOSED_5BOOL
HB_5DINT
RELEASE_5BOOL
DONE_5BOOL
NEEDS_AIR_5BOOL
REQ_6BOOL
PRIO_6INT
BVAV_CLOSED_6BOOL
HB_6DINT
RELEASE_6BOOL
DONE_6BOOL
NEEDS_AIR_6BOOL
REQ_7BOOL
PRIO_7INT
BVAV_CLOSED_7BOOL
HB_7DINT
RELEASE_7BOOL
DONE_7BOOL
NEEDS_AIR_7BOOL
REQ_8BOOL
PRIO_8INT
BVAV_CLOSED_8BOOL
HB_8DINT
RELEASE_8BOOL
DONE_8BOOL
NEEDS_AIR_8BOOL
REQ_9BOOL
PRIO_9INT
BVAV_CLOSED_9BOOL
HB_9DINT
RELEASE_9BOOL
DONE_9BOOL
NEEDS_AIR_9BOOL
REQ_10BOOL
PRIO_10INT
BVAV_CLOSED_10BOOL
HB_10DINT
RELEASE_10BOOL
DONE_10BOOL
NEEDS_AIR_10BOOL
REQ_11BOOL
PRIO_11INT
BVAV_CLOSED_11BOOL
HB_11DINT
RELEASE_11BOOL
DONE_11BOOL
NEEDS_AIR_11BOOL
REQ_12BOOL
PRIO_12INT
BVAV_CLOSED_12BOOL
HB_12DINT
RELEASE_12BOOL
DONE_12BOOL
NEEDS_AIR_12BOOL
REQ_13BOOL
PRIO_13INT
BVAV_CLOSED_13BOOL
HB_13DINT
RELEASE_13BOOL
DONE_13BOOL
NEEDS_AIR_13BOOL
REQ_14BOOL
PRIO_14INT
BVAV_CLOSED_14BOOL
HB_14DINT
RELEASE_14BOOL
DONE_14BOOL
NEEDS_AIR_14BOOL
REQ_15BOOL
PRIO_15INT
BVAV_CLOSED_15BOOL
HB_15DINT
RELEASE_15BOOL
DONE_15BOOL
NEEDS_AIR_15BOOL
REQ_16BOOL
PRIO_16INT
BVAV_CLOSED_16BOOL
HB_16DINT
RELEASE_16BOOL
DONE_16BOOL
NEEDS_AIR_16BOOL
TANK_VOL_OKBOOL
WASTE_RESERVEDBOOL
CAPACITY_OKBOOL
PUMP_READYBOOL
BLOWER_READYBOOL
HEADERS_DEENERGIZEDBOOL
PLANT_STATEINT
LOAD_SHEDBOOL
COUNT_RESETBOOL
ACKBOOL
HB_PERIODTIME
HB_MISSEDINT
QUEUE_BLOCK_ALM_TTIME

Outputs

PortType
GRANT_IDINT
GRANT_1BOOL
GRANT_2BOOL
GRANT_3BOOL
GRANT_4BOOL
GRANT_5BOOL
GRANT_6BOOL
GRANT_7BOOL
GRANT_8BOOL
GRANT_9BOOL
GRANT_10BOOL
GRANT_11BOOL
GRANT_12BOOL
GRANT_13BOOL
GRANT_14BOOL
GRANT_15BOOL
GRANT_16BOOL
ABORT_1BOOL
ABORT_2BOOL
ABORT_3BOOL
ABORT_4BOOL
ABORT_5BOOL
ABORT_6BOOL
ABORT_7BOOL
ABORT_8BOOL
ABORT_9BOOL
ABORT_10BOOL
ABORT_11BOOL
ABORT_12BOOL
ABORT_13BOOL
ABORT_14BOOL
ABORT_15BOOL
ABORT_16BOOL
TOKEN_LOCKEDBOOL
QUEUE_LENINT
BLOCK_REASONINT
WASH_COUNTDINT
ALM_STALEBOOL
ALM_QUEUE_BLOCKEDBOOL
ALM_CFG_ERRBOOL

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Validation evidence

Tests
9
Simulated scans
487
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 WASH_TOKEN_ARBITER — 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.