FunctionMLAxisAddPipe Network motion icon

Description

A selected Axis performs a move for a specified distance relative to the endpoint of the previous move. The DeltaPosition input is signed so that the move can be in the positive or negative direction, and the Axis moves this distance in user units. The travel speed, acceleration, deceleration, and User Units of the move are values inherited from the selected Axis. The default settings are entered when an Axis is created and initiated, and can be changed with other MLAxis commands such as MLAxisGenWriteSpd, MLAxisGenWriteAcc, and MLAxisWriteUUnits.

Arguments

Input

ID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

n/a

 

Default

DeltaPosition

Description

Sets the Axis Delta Position to add to the endpoint of the previous move

 

Data type

LREAL

 

Range

 

Unit

User unit

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes, after the motion profile is complete

See more details here

 

Data type

BOOL

 

Unit

n/a

Related Functions

MLAxisGenWriteAcc

MLAxisGenWriteDec

MLAxisGenWriteSpd

Example

Structured Text

MLAxisAdd(PipeNetwork.Axis1, LREAL#750.0 ) ;

Ladder Diagram

MLAxisAdd: LD example

Function Block Diagram

MLAxisAdd: FBD example

Go back to the top of the page [Top]