LinkGroup()

Assigns a set of zones 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 zone to be assigned from the linear TF8540 library arrangement |
nEndIdx | INT | Index of the last zone to be assigned from the linear TF8540 library arrangement |
nGroupIdx | INT | Index of the group to which the zones are to be assigned |
bOverwrite | BOOL | Zones are assigned even if the group contains already assigned zones. |
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.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |