MLAxisReAlign

Pipe Network motion icon

 Function - Realigns the actual position with the reference position by moving the axis by the specified delta position.

  • Causes the Axis to move by a programmed amount without changing the Reference Position following an MLAxisStop.
  • Allows the Pipe Position to be used following an MLAxisStop.

  • The realign function does not work properly if the MLAxisStop function is continuously executed using its Start input.

  • When stopping the drive a motion profile is applied to decelerate.
  • During the deceleration, the Reference position changes.
  • Calling MLAxisReAlign realigns the actual position with the reference position by moving the axis by the specified delta position, typically calculated by the application code.
  • After a MLAxisStop is executed, MLAxisReAlign is required for the Pipe Position to be used again.
  • See Restarting Motion with Pipe Network.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

Acceleration

LREAL

No range

User units / sec2

No default

Deceleration

LREAL

No range

User units / sec2

No default

DeltaPos

LREAL

No range

User units

No default

ID

DINT

1 to 1024

N/A

No default

ID of the Axis block.

Speed

LREAL

No range

User units / sec

No default

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

 MLAxisReAlign(PipeNetwork.Axis1, 100000, 100000, 500, 20 )  ;

See Also

MLAxisReAlgnRdy