FC_GetVelocity - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Determine the velocity of an axis or encoder.

Description

This function provides the velocity of the object that has been selected using i_stLogAdr.

Type

Description

Parameter

L_ENC

Logical encoder

Velocity

SENC

Sum encoder

Velocity

DRIVE

Axis

RefVelocity

Interface

Input

Data type

Description

i_stLogAdr

ST_LogicalAddress

Logical address of the object

Return Value

Data type

Description

LREAL

0: Logical address (i_stLogAdr) is invalid

Otherwise: Velocity