MLAxisGenWriteDec

Pipe Network motion icon

 Function - Sets the deceleration of the internal generator of an axis.

Returns TRUE if the internal generator axis is ready.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

AxisID

DINT

1 to 1024

N/A

No default

ID of the Axis block.

Deceleration

LREAL

No range

User units / sec2

No default

Sets the generator Deceleration value.

  • The axis deceleration rate is limited so 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 affected by the Pipe Network Axis Block parameter TRAVEL_SPEED and the axis update rate.
  • See Set the Axis Block Position Units.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLAxisGenWriteDec(PipeNetwork.Axis1, 100000 )  ;

See Also