Switch Block - Desired Value Switcher

Lib.Mervis.v1_0.SwitcherBlockValue

  • Lib.Mervis

A helper block used, in combination with a switch block, for switching the desired value.

program test
    var
        switcherblock: lib.mervis.v1_1.SwitcherBlock;
        switchervalue: lib.mervis.v1_0.SwitcherBlockValue;
    end_var

    switcherblock();
    switchervalue(CompositeState := switcherblock.CompositeState);
end_program

Name Data TypeRetainMandatory Connection Meaning
Demand real No Yes Desired value in automatic mode
CompositeStateuint No Yes Output CompositeState from the control switch block
OffDemand real No No Demand value in the off state
ManualDemand real Yes No Desired value when manually turned on
Name Data TypeMeaning
Commandreal Command

The block is used for selecting the control value when switching a device (e.g., a continuous demand for a frequency converter). If the device (or its switch block) is in automatic mode and has an operational demand, the Demand input value is copied to the Command output. In the case of manual activation, the ManualDemand value is copied to the Command output. In the off state (no demand or the device is manually turned off), the OffDemand value is copied to the Command output.

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