Connect

Connect 1:

Stores a reference to an existing cam table object. The cam table must have been previously linked to McToPlc, or the object ID must be passed as parameter.

Syntax

Definition:

METHOD Connect : UDINT
VAR_INPUT
    OptionalOid : OTCID;
END_VAR

Connect 2: Inputs

Name

Type

Description

OptionalOid

OTCID

Cam table object ID, used when McToPlc is not linked. If both are set, McToPlc takes priority.

Connect 3: Return value

UDINT