LinkSupply()

LinkSupply() 1:

Assigns a supply unit to a group.

Syntax:

METHOD LinkSupply : HRESULT
VAR_INPUT
    nGroupIdx:            INT;
    nSupplyIdx:           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

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.35

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.5.0)