TcGetObjPara

TcGetObjPara 1:

The TcGetObjPara method queries an object parameter identified by means of its PTCID.

TcGetObjPara 2: Return value

VAR_OUTPUT
    TcGetObjPara : HRESULT;
END_VAR

Name

Type

Description

TcGetObjPara 

HRESULT

Gives information about success of the object parameter query.

TcGetObjPara 3: Inputs

VAR_INPUT
    pid   : PTCID;
    nData : REFERENCE TO UDINT;
    pData : REFERENCE TO PVOID;
    pgp   : PTCGP;
END_VAR

Name

Type

Description

pid

PTCID

Parameter-ID of the object parameter

nData

REFERENCE TO UDINT

Maximum length of the data

pData

REFERENCE TO PVOID

Pointer to the data

Pgp

PTCGP

Reserved for future expansion.
Pass NULL.

Requirements

TwinCAT Version

Hardware

Libraries to be integrated

TwinCAT 3.1, Build 4020

x86, x64, ARM

Tc3_Module