SetParameter()

SetParameter() 1:

The procedure for returning to normal operation can be specified.

Syntax:

METHOD SetParameter : HRESULT
VAR_INPUT
    bOptionsDisableDriveAccess : BOOL;
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

bOptionsDisableDriveAccess

BOOL

A TRUE prevents ADS communication via the fieldbus from being used to change parameters of the controlled device in order to return to normal operation.

SetParameter() 4:

Non-Beckhoff servo drives

This option must be used for most non-Beckhoff servo drives.

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