TcGetObjPara

The TcGetObjPara method queries an object parameter identified by means of its PTCID.
Return value
VAR_OUTPUT
TcGetObjPara : HRESULT;
END_VAR
Name | Type | Description |
---|---|---|
TcGetObjPara | HRESULT | Gives information about success of the object parameter query. |
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. |
Requirements
TwinCAT Version | Hardware | Libraries to be integrated |
---|---|---|
TwinCAT 3.1, Build 4020 | x86, x64, ARM | Tc3_Module |