LinkZone()

LinkZone() 1:

Assigns a single temperature channel (zone) to a group.

Syntax:

METHOD LinkZone : HRESULT
VAR_INPUT
    nLinearIdx:         INT;    
    nGroupIdx:          INT;    
    nGroupMemberIdx:    INT;    
    bOverwrite:         BOOL;
END_VAR

LinkZone() 2: Inputs

Name

Type

Description

nLinearIdx

INT

Index of the channel to be assigned

nGroupIdx

INT

Index of the group to which the channel is to be assigned

nGroupMemberIdx1

INT

Index in the target group

bOverwrite

BOOL

Zone is assigned even if the index is already occupied in the target group.

1 Obsolete, will be ignored

LinkZone() 3: Outputs

Name

Type

Description

LinkZone

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)