SetPoint()

SetPoint() 1:

A point of the lookup table is defined.

Syntax:

METHOD SetPoint: HRESULT
VAR_INPUT
    nIdx   : INT;
    stPoint: REFERENCE TO ST_LookUpPtpPoint;
    bForce : BOOL;
END_VAR

SetPoint() 2: Return value

Name

Type

Description

SetPoint

HRESULT

Return value with feedback on the success of the execution.

SetPoint() 3: Inputs

Name

Type

Description

nIdx

INT

The index of the point. Permissible range 1 ... NumberOfPoints.

stPoint

REFERENCE TO ST_LookUpPtpPoint

A reference to the variable to be updated with the point data.

bForce

BOOL

If TRUE, the segment will be updated even if the axis executes a command.
Notice Make sure that the axis does not execute a Ptp command.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher