AddConstraintByReference

AddConstraintByReference 1:

Adds a reference to a dynamic constraint to the container. If the dynamic constraint changes afterwards, the value in the container will reflect that change.

Syntax

Definition:

METHOD AddConstraintByReference
VAR_INPUT
    Constraint : Reference To IPlcDynamicConstraint;
END_VAR

AddConstraintByReference 2: Inputs

Name

Type

Description

Constraint

Reference To IPlcDynamicConstraint

A reference to the constraint to be added.