FunctionMLAxisGenWriteDecPipe Network motion icon

Description

Set the Deceleration of the internal generator of an axis Returns TRUE if the internal generator axis is ready.

Arguments

Input

AxisID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

n/a

 

Default

Deceleration

Description

Sets the generator Deceleration value.

The axis deceleration rate is limited such that the velocity cannot change by more than the value of the declared velocity limit in a single iteration.

The Pipe Network Axis block uses the TRAVEL_SPEED parameter to scale this limit. The maximum deceleration is therefore affected by the Pipe Network Axis Block parameter “TRAVEL_SPEED”, as well as the axis update rate.

 

Data type

LREAL

 

Range

 

Unit

User unit/sec2

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes

See more details here

 

Data type

BOOL

 

Unit

n/a

Related Functions

MLAxisGenWriteAcc

MLAxisGenWriteSpd

Example

Structured Text

MLAxisGenWriteDec(PipeNetwork.Axis1, 100000 )  ;

Ladder Diagram

MLAxisGenWriteDec: LD example

 

Function Block Diagram

MLAxisGenWriteDec: FBD example

Go back to the top of the page [Top]