Skip to content

Motion_Lib M_Actuation Methods

BASG-Support edited this page Sep 6, 2016 · 2 revisions

DINT Halt (void)

###Summary Stops the current movement without blocking out new commands. Set the dynamics via the relevant properties.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Reset (void)

###Summary Resets the motion axis. It will typically stop any current movement.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Home (void)

###Summary Starts the homing sequence. Movement dynamics are set via the properties. Please set the function block's homing properties to match the NC parameters. Enabling the property to match the parameters directly may be implemented in the future.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Home_Forced (void)

###Summary Sets the current position as the calibrated position. No movement is done.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Move_Along (LREAL Velocity, BOOL Forward)

###Summary Start a movement along a direction at a target speed.

###Parameters Velocity Specifies the required speed to move.

Forward Travels forward if TRUE.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Move_By (LREAL Distance, LREAL Velocity)

###Summary Start a movement along a direction at a target speed.

###Parameters Distance Specifies the required distance to move.

Velocity Specifies the required speed for the movement.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Move_To (LREAL Position, LREAL Velocity)

###Summary Start a movement along a direction at a target speed.

###Parameters Specifics Specifies the required position where the movement should end.

Velocity Specifies the required speed for the movement.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Activate_External_SetPoint (void)

###Summary Enables the use of external set points. The function block's state must first be in E_ACTUATIONSTATE.E_SETPOINT_ACTUATION.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Deactivate_External_SetPoint (void)

###Summary Disables the use of external set points. The function block's state must first be in E_ACTUATIONSTATE.E_SETPOINT_ACTUATION_ACTIVATED.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Activate_TouchProbe (void)

###Summary Enables the drive's touch probe functionality and begin sampling. Touch probe functions are currently W.I.P.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail


DINT Deactivate_TouchProbe (void)

###Summary Disables the drive's touch probe functionality and begin sampling. Touch probe functions are currently W.I.P.

###Return Less than 0 : Success

Equal to 0 : Busy

More than 0 : Fail

Library Contents

Motion Library

  • [M_ACTUATION](Motion_Lib M_Actuation)

Serial Comm Library

  • [C_SERIALCOMM_PORT](Serial_Lib C_SerialComm_Port)
    • [C_SERIALCOMM_EL6](Serial_Lib C_SerialComm_EL6)
    • [C_SERIALCOMM_PC](Serial_Lib C_SerialComm_PC)

ADS Library

  • [C_ADSCLIENT](Ads_Lib C_AdsClient)

Database Library

  • C_SQLITE

Binary Stream Library

Clone this wiki locally