FunctionMLAxisCreatePipe 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

Address

Description

Axis motion bus address

 

Data type

DINT

 

Range

 

Unit

n/a

 

Default

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

Example

Structured Text

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

Ladder Diagram

MLAxisCreate: LD example

Function Block Diagram

MLAxisCreate: FBD example

Go back to the top of the page [Top]

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™