FunctionMLAxisAddressPipe Network motion icon

Description

Returns the motion bus address of the axis. It is possible that two or more axes have the same address if the axis is mapped to a multi-axis drive, such as the dual-axis AKD2G drive.


  • Axes will have the same address when they are mapped to the same multi-axis drive. For example if Axis1 is mapped to an AKD2G’s Drive Axis Number 1 and Axis2 is mapped to the AKD2G’s Drive Axis Number 2, both axes will return the same address.

Arguments

Input

ID

Description

ID name of the Axis Block

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

Output

OK

Description

Returns true when function successfully executes

 

Data type

BOOL

 

Unit

N/A

Default (.Q)

Description

Returns the motion bus address of the axis

 

Data type

DINT

 

Unit

N/A

Example

Structured Text

Axis1_Address := MLAxisAddress(PipeNetwork.AXIS1);

Ladder Diagram

Function Block Diagram

MLAxisAddress: FBD example

Go back to the top of the page [Top]