SetPoint()

SetPoint() 1:

This method sets a point in the table addressed via nIdx.

Syntax:

METHOD SetPoint : HRESULT
VAR_INPUT
    nIdx                : INT;
    fSlave              : LREAL;
    fTorqueLimiting     : LREAL;
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

Index of the table point to be set.

fSlave

LREAL

Slave value of the table point.

fTorqueLimiting

LREAL

TorqueLimiting value (secondary slave value) of the table point.

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