IF_PowerControl2 - GetPowerSupply (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Task

Detects the power supply assigned to the axis. The power supply is assigned via the parameter ConfiguredPowerSupply of the axis.

Description

The method provides an interface with the type IF_PowerSupply of the assigned power supply.

If the assigned power supply cannot be read, or if no power supply is assigned (for example, for Lexium 52), 0 is returned.

Return Value

Data type

Description

IF_PowerSupply

Returns the instance of the assigned power supply.