MLAxisAddress
Function - Returns the motion bus address of the axis.
- Axes have the same address when they are mapped to the same multi-axis drive (e.g., the dual-axis AKD2G drive).
- 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 return the same address. (Figure 1)
Inputs
|
Input |
Data Type See Data Types. |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
ID |
DINT |
1 to 1024 |
N/A |
No default |
ID of the Axis block. |
Outputs
|
Output |
Data Type See Data Types. |
Range |
Unit |
Description |
|---|---|---|---|---|
|
OK |
BOOL |
FALSE, TRUE |
N/A |
Returns TRUE when the function successfully executes. |
|
Default (.Q) |
DINT |
No range |
N/A |
Returns the motion bus address of the axis. |
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Axis1_Address := MLAxisAddress(PipeNetwork.AXIS1);








