Skip to main content

Motion Manager

This library provides functions to run different Motion functions.

TB_MotionHandler_CY

TB_MotionHandler_CY

This Function Block includes the Motion Function blocks which necessary to run in the Cyclic Task.
With the _MotionHandlerComm-Struct the data exchange is done to the TB_MotionHandler_EV.
The statemachine an control of the functions is done in the _EV-Function Block

Empfohlene Task: Cyclic

Verwendete Bibliotheken: BM_TYPES_40bd04 or higher MOTION_TYPES_40bd11 or higher MOTION_CONTRL_40bd11 or higher MOTION_MULTI_AXIS_40bd14 or higher TECH_TYPES_40bd13 or higher TECH_FB_STRUCT_40bd02 or higher TECH_TOOLS_40bd06 or higher

Eingänge

none

Ausgänge

none

Ein-/Ausgänge

Marking:Data type:Description:
_MasterAXIS_REFMotion Strcuture of the connected Master Axis
_AxisAXIS_REFMotion Structure of the connected Slave Axis
_MotionHandlerCommTB_MOTION_HANDLER_COM_IOExchange struct between CY and EV Fb (same variable connected to each block)
_CAM_REFMC_CAM_REFCurve dataset from the resource curve manager. The connected variable can be found in the variable worksheet MC_CamDataSet. The corresponding data record must first be sent to the PLC
Representation in FBD

TB_MotionHandler_CY

TB_MotionHandler_CY

This Function Block includes the Motion Function blocks which necessary to run in the Cyclic Task.
With the _MotionHandlerComm-Struct the data exchange is done to the TB_MotionHandler_EV.
The statemachine an control of the functions is done in the _EV-Function Block

Empfohlene Task: Cyclic

Verwendete Bibliotheken: BM_TYPES_40bd04 or higher MOTION_TYPES_40bd11 or higher MOTION_CONTRL_40bd11 or higher MOTION_MULTI_AXIS_40bd14 or higher TECH_TYPES_40bd13 or higher TECH_FB_STRUCT_40bd02 or higher TECH_TOOLS_40bd06 or higher

Eingänge

none

Ausgänge

none

Ein-/Ausgänge

Marking:Data type:Description:
_MasterAXIS_REFMotion Strcuture of the connected Master Axis
_AxisAXIS_REFMotion Structure of the connected Slave Axis
_MotionHandlerCommTB_MOTION_HANDLER_COM_IOExchange struct between CY and EV Fb (same variable connected to each block)
_CAM_REFMC_CAM_REFCurve dataset from the resource curve manager. The connected variable can be found in the variable worksheet MC_CamDataSet. The corresponding data record must first be sent to the PLC
Representation in FBD

TB_MotionHandler_EV

TB_MotionHandler_EV

The MotionHandler_EV delivers you a lot of Motion Function blocks united to one block, which can be used easy and fast, just by giving
The EV Block includes every function block, which need to used in the Event.
The CY Blockpan includes every function block which need to be used in the Cyclic.
With the structure _MotionHandlerComm the EV and CY function blocks are connected.

Empfohlene Task: Event

Verwendete Bibliotheken: BM_TYPES_40bd04 or higher MOTION_TYPES_40bd11 or higher MOTION_CONTRL_40bd11 or higher MOTION_MULTI_AXIS_40bd14 or higher TECH_TYPES_40bd13 or higher TECH_FB_STRUCT_40bd02 or higher TECH_TOOLS_40bd06 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Release of the function block.
i_DriveCmdINTWith setting defined numbers, the motion states will be requested.
The function block needs a changed number at this input, that he will take care about it. (further information in the Details of Inputs)
w_CmdWORDJust in the JogMode (i_DriveCmd = 12), here you have the possibilty to give the Forward, Backward and Stop Command. (further information in the Details of Inputs)

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: The function block is enabled and active.
i_DriveStateINT>Information about the actual Motion State (further information in the
a_DriveErrorWarningListINT_32_BMARRAYError/Warning Array shows every actual Drive Error and Warnings (further information in the details of
a_MotionErrorWarningListWORD_32_BMARRAYError/Warning Array shows every actual Motion Error and Warnings (further information in the details of Outputs)
x_WarningBOOLTRUE: The function block has identified an warning.
w_WarningIDWORDWarning number of the function block.
x_ErrorBOOLTRUE: The function block has identified an error.
w_ErrorIDWORDError number of the function block. (further information in the details of Outputs)

Ein-/Ausgänge

Marking:Data type:Description:
_MasterAXIS_REFMotion Strcuture of the connected Master Axis
_AxisAXIS_REFMotion Structure of the connected Slave Axis
_MotionHandlerCommTB_MOTION_HANDLER_COM_IOExchange struct between CY and EV Fb (same variable connected to each block) and
Setting up the included Motion Function blocks (s. details)
Representation in FBD

TB_MotionHandler_EV

TB_MotionHandler_EV

The MotionHandler_EV delivers you a lot of Motion Function blocks united to one block, which can be used easy and fast, just by giving
The EV Block includes every function block, which need to used in the Event.
The CY Blockpan includes every function block which need to be used in the Cyclic.
With the structure _MotionHandlerComm the EV and CY function blocks are connected.

Empfohlene Task: Event

Verwendete Bibliotheken: BM_TYPES_40bd04 or higher MOTION_TYPES_40bd11 or higher MOTION_CONTRL_40bd11 or higher MOTION_MULTI_AXIS_40bd14 or higher TECH_TYPES_40bd13 or higher TECH_FB_STRUCT_40bd02 or higher TECH_TOOLS_40bd06 or higher

Eingänge

Marking:Data type:Description:
x_EnableBOOLTRUE: Release of the function block.
i_DriveCmdINTWith setting defined numbers, the motion states will be requested.
The function block needs a changed number at this input, that he will take care about it. (further information in the Details of Inputs)
w_CmdWORDJust in the JogMode (i_DriveCmd = 12), here you have the possibilty to give the Forward, Backward and Stop Command. (further information in the Details of Inputs)

Ausgänge

Marking:Data type:Description:
x_ActiveBOOLTRUE: The function block is enabled and active.
i_DriveStateINT>Information about the actual Motion State (further information in the
a_DriveErrorWarningListINT_32_BMARRAYError/Warning Array shows every actual Drive Error and Warnings (further information in the details of
a_MotionErrorWarningListWORD_32_BMARRAYError/Warning Array shows every actual Motion Error and Warnings (further information in the details of Outputs)
x_WarningBOOLTRUE: The function block has identified an warning.
w_WarningIDWORDWarning number of the function block.
x_ErrorBOOLTRUE: The function block has identified an error.
w_ErrorIDWORDError number of the function block. (further information in the details of Outputs)

Ein-/Ausgänge

Marking:Data type:Description:
_MasterAXIS_REFMotion Strcuture of the connected Master Axis
_AxisAXIS_REFMotion Structure of the connected Slave Axis
_MotionHandlerCommTB_MOTION_HANDLER_COM_IOExchange struct between CY and EV Fb (same variable connected to each block) and
Setting up the included Motion Function blocks (s. details)
Representation in FBD