Configuring control via digital inputs and outputs

To use the MultipleFuseControl function, a digital feedback contact is required to signal the switching state of the relay (DI) and a digital output to control the relay (DO).

These signals can be configured via the "Inputs/outputs" configuration menu and can in this way be set or read directly on the device. The following digital inputs/outputs must be configured for this purpose:

  • Digital inputs
    • Multi-stage fuse – feedback
  • Digital outputs
    • Multi-stage fuse – control

If an Energy storage system (EnergyStorageSystem) is used, the IOs are mapped to an external IO system in the corresponding IOConnector_ESS_Rx_<n>Modules block.

Instead, the signals can be mapped to external terminals. The IOConnectorRelayContact function block is used to map the signals to external terminals.

The function block has the following inputs and outputs that have to be connected with the corresponding IO terminals:

  • xDO_RelayCntrl
  • Output for activating the relay with which the subfuse is bridged.
  • xDI_ContactState
  • Input that serves as feedback contact of the impulse series relay.

Do the following to configure the control:

  1. Create an instance of the IOConnectorRelayContact function block.
    • PowerMode:
      fbRelaisContact : SEW_MK_PES_PowerMode.SEW_PES_EnHubPowMode.SEW_PES_MultipleFuseCtrl.IOConnectorRelaisContact;
    • EnergyMode:
      fbRelaisContact : SEW_MK_PES_EnergyMode.SEW_PES_EnHubEnMode.SEW_PES_MultipleFuseCtrl.IOConnectorRelaisContact;
  2. Connect the local instance with the software module.
    • MDP92A.LinkMultipleFuseCtrlIOExchange(
      itfQueryInterfaceSEW := fbRelaisContact );
  3. Add the inputs and outputs DO_RelayCntrl and xDI_ContactState of the terminal used to the EtherCAT® mapping.
    • Contactor control is handled by the software module.
  • As soon as the inputs/outputs of the software module have been linked to the IOConnectorRelayContact, the digital inputs/outputs of the device are enabled again.