MLPNAxisCreatePipe Network motion icon

Description

Creates a new axis object. Returns the ID of the newly created axis object or 0 if the function failed

Arguments

Input

Name Description Name of the created Axis
  Data type STRING
  Range
  Unit n/a
  Default
DriverName Description Is the Motion bus driver name or Simulated
  Data type STRING
  Range
  Unit n/a
  Default
DriveAxisNumber Description This one-based number specifies the axis on the drive. For a single-axis drive, this number should be 1.
  Data type UINT
  Range [1,256]
  Unit n/a
  Default
Address Description Axis motion bus address
  Data type DINT
  Range
  Unit n/a
  Default

Output

OK Description Returns true when function successfully executes
  Data type BOOL
  Unit n/a

Example

Structured Text

PipeNetwork.AXIS1 := MLPNAxisCreate('AXIS1','SercosDriver',0,1001);

Ladder Diagram

Function Block Diagram

Go back to the top of the page [Top]