LinkGroup()

Assigns a number of temperature channels to a group.
Syntax:
METHOD LinkGroup : HRESULT
VAR_INPUT
nStartIdx: INT;
nEndIdx: INT;
nGroupIdx: INT;
bOverwrite: BOOL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nStartIdx | INT | Index of the first channel to be assigned |
nEndIdx | INT | Index of the last channel to be assigned |
nGroupIdx | INT | Index of the group to which the channels are to be assigned |
bOverwrite1 | BOOL | Zones are assigned even if the group contains already assigned zones. |
1 Obsolete and will be ignored
Outputs
Name | Type | Description |
---|---|---|
LinkGroup | 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) |