SetParameter()

SetParameter() 1:

This method is used to set the parameters of a movement in jogging mode.

Syntax:

METHOD SetParameter : HRESULT
VAR_INPUT
    fAcceleration : LREAL;
    fDeceleration : LREAL;
    fJerk         : LREAL;
    fVelocity     : LREAL;
END_VAR

SetParameter() 2: Return value

Name

Type

Description

SetParameter

HRESULT

Return value with feedback on the success of the execution.

SetParameter() 3: Inputs

Name

Type

Description

fAcceleration

LREAL

The commanded acceleration.

fDeceleration

LREAL

The commanded deceleration.

fJerk

LREAL

The commanded jerk.

fVelocity

LREAL

The commanded velocity.

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