LinkSupply()
Assigns a supply unit to a group.
Syntax:
METHOD LinkSupply : HRESULT
VAR_INPUT
nGroupIdx: INT;
nSupplyIdx: INT;
nLine: INT;
END_VAR
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
|
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) |