FC_GetParentLogAddr - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Determine the logical address of the higher level "parent object" in the PLC configuration (for example, the Sercos III object that is higher-leveled to the LXM62DxS).

Description

The logical address of the superordinate "parent object" in the PLC configuration is determined. This can be done for every object in the PLC configuration.

Interface

Input

Data type

Description

i_stChildId

ST_LogicalAddress

Logical address of the subordinate object

Return Value

Data type

Description

ST_LogicalAddress

>0: OK (logical address of the parent object)

0: No parent object found

-1: Invalid logical address <i_stChildId>

-2: Invalid logical address <i_stChildId> (internal error detected)

-105: Parent object invalid