LinkSupply()

LinkSupply() 1:

Assigns a supply unit to a group.

Syntax:

METHOD LinkSupply : HRESULT
VAR_INPUT
    nGroupIdx:            INT;
    nSupplyIdx:           INT;
    nLine:                INT;
END_VAR

LinkSupply() 2: Inputs

Name

Type

Description

nGroupIdx

INT

Index of the group to which a supply unit is to be assigned

nSupplyIdx

INT

Index of the supply unit to be assigned to the group

nLine

INT

Supply channel to which the group members are connected

  • 1; 2; 3 - phase L1, L2 or L3
  • 4 – Between phases without connection to N

LinkSupply() 3: Outputs

Name

Type

Description

LinkSupply

HRESULT

Return value with feedback on the success of the execution

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.42

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.6.0)