MLAxisGenReadDec

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Get the Deceleration of the internal generator of an axis.

Arguments

Input

AxisID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

Output

OK

Description

 

 

Data type

BOOL

 

Unit

N/A

Deceleration

Description

Returns Axis Deceleration value

 

Data type

LREAL

 

Unit

User unit/sec2

Related Functions

MLAxisGenReadAcc

MLAxisGenReadSpd

Example

Structured Text

 

Axis1_Deceleration := MLAxisGenReadDec( PipeNetwork.Axis1 );

 

Ladder Diagram

MLAxisGenReadDec: LD example

Function Block Diagram

MLAxisGenReadDec: FBD example