FC_GetPosition - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Read the position of an object.

Description

This function provides the position of the object that is selected using i_stAxisId.

Type

Description

Parameter

L_ENC

Logical encoder

Position

SENC

Sum encoder

Position

SENCIN

Sum encoder input

InPosition

DRIVE

Axis

RefPosition

Interface

Input

Data type

Description

i_stAxisId

ST_LogicalAddress

Logical address of the object

Return Value

Data type

Description

LREAL

0: Logical address (i_stAxisId) is invalid

Otherwise: Position