PEER_LINK_MON

Heartbeat-counter link supervision for a peer PLC, SCADA or remote RTU: own counter out, missed updates in, request hold and qualification hold on link loss.

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

When to use it

Use PEER_LINK_MON when two controllers (PLC to PLC, PLC to SCADA, or plant PLC to a remote RTU) exchange DINT heartbeat counters, and the receiving side must invalidate the partner's permissives after a number of missed updates, hold a bounded request or a supply qualification only as long as its rules allow, and, at an RTU, publish a station state 0..5.

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—
HB_INDINT—
PERIODTIME—
MISSED_MAXINT—
HOLD_ON_STALEBOOL—
QUAL_HOLD_TTIME—
LOCAL_SAFEBOOL—
REQ_INREALEU
REQ_VALID_INBOOL—
REQ_DEFAULTREALEU
QUAL_INBOOL—
LOCAL_PV_OKBOOL—
AUTO_REQBOOL—
FAULT_INBOOL—
ACKBOOL—

Outputs

PortTypeUnit
HB_OUTDINT—
FRESHBOOL—
STALEBOOL—
MISSEDINT—
PERMIT_VALIDBOOL—
REQ_OUTREALEU
REQ_OKBOOL—
REQ_HELDBOOL—
QUAL_HELDBOOL—
HOLD_EXPIREDBOOL—
STATION_STATEINT—
ALM_LINKBOOL—

IEC 61499 event interface

EI INIT, REQ·EO INITO, CNF

Validation evidence

Tests
13
Simulated scans
579
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 PEER_LINK_MON — 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.