State Animation for SCADA

Lib.Mervis.v1_0.ScadaAnimation

  • Lib.Mervis

An auxiliary block used for generating state numbers for the animation of operation and alarm for SCADA.

program test
    var
        inp: lib.mervis.v1_0.ScadaAnimation;
    end_var

    inp();
end_program
Name Data TypeRetainMust Connect Meaning
CompositeState uint No Yes Composite state, see for example SwitcherBlock v1.2 - Composite state
UseFeedbackForRun bool No No Determines whether the run state is taken from the feedback value (=true) or command value (=false)
Name Data Type Meaning
StateNumber int State number according to CompositeState. If there are multiple states, they change sequentially with a period of one second. Each state has its priority. If the input satisfies multiple states, the output is the one with higher priority (e.g., the technology reports a fault but is in operation)

Number PriorityMeaning
0 1 Off
1 → 2 → 3 → 1…2 Running
4 → 5 → 4… 3 Fault

The block is used for animating the state of a controlled element. It cyclically changes the state number, thus allowing the assignment of individual animation phases. A typical use is with Weintek HMI displays.

  • © Energocentrum Plus, s.r.o. 2017 - 2024