FC_GetPositionAddr - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Access system-internal position variables to realize special real-time functions per IEC.

Description

NOTICE
MEMORY MISMANAGEMENT
Make sure that only authorized and qualified programmers use this function after consulting Schneider Electric.
Failure to follow these instructions can result in equipment damage.

With this function, you can read the internal address of the position variable of an object. The object is named by i_stLogAdr. Manipulation of the position variables is only useful in connection with using Fast-Tasks.

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_stLogAdr

ST_LogicalAddress

Logical address of the object

Return Value

Data type

Description

POINTER TO LREAL

0: Logical address (i_stLogAdr) is invalid

Otherwise: address of the position variables