FunctionMLAxisPowerPipe Network motion icon

Description

Powers up or down the axis. Enable or disabled Axis Servo DriveClosedA servo drive is a special electric amplifier used to power electric servo motors. It monitors feedback signals from the motor and continually adjusts for deviation from expected behavior.

When the axis is powered up, the ReferencePosition is modified to equal the ActualPosition. For that, KAS updates the GeneratorPosition. See About Associated Data on Positions for more information.


  • Powering on an axis affects the position and motion state of an axis. MLAxisPower should not be called with the On input flag set to True while the axis is in motion

Arguments

Input

ID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

n/a

 

Default

On

Description

Flag to power up (True) or down (False) the Axis

 

Data type

BOOL

 

Range

0, 1

 

Unit

n/a

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes

See more details here

 

Data type

BOOL

 

Unit

n/a

Related Functions

MLAxisPowerDOff

Previous Function Name

MLAxisPowerOn

MLAxisPowerOff

Example

Structured Text

(* If Power_OnOff is TRUE then power in ON, otherwise OFF*)
MLAxisPower( PipeNetwork.Axis1, Power_OnOff) ;

Ladder Diagram

Function Block Diagram

MLAxisPower: FBD example

Go back to the top of the page [Top]