TB_MOTIONHANDLER_EV

Representation in FBD

General Information

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.

Recommended task: Event
Libraries used: 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

InOut Parameter

Marking: Data type: Description:
_Master AXIS_REF Motion Strcuture of the connected Master Axis
_Axis AXIS_REF Motion Structure of the connected Slave Axis
_MotionHandlerComm TB_MOTION_HANDLER_COM_IO Exchange struct between CY and EV Fb (same variable connected to each block) and
Setting up the included Motion Function blocks (s. details)

Description InOut


Input Parameter

Marking: Data type: Description:
x_Enable BOOL TRUE: Release of the function block.
i_DriveCmd INT With 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_Cmd WORD Just 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)

Description Inputs


Output Parameter

Marking: Data type: Description:
x_Active BOOL TRUE: The function block is enabled and active.
i_DriveState INT >Information about the actual Motion State (further information in the
a_DriveErrorWarningList INT_32_BMARRAY Error/Warning Array shows every actual Drive Error and Warnings (further information in the details of
a_MotionErrorWarningList WORD_32_BMARRAY Error/Warning Array shows every actual Motion Error and Warnings (further information in the details of Outputs)
x_Warning BOOL TRUE: The function block has identified an warning.
w_WarningID WORD Warning number of the function block.
x_Error BOOL TRUE: The function block has identified an error.
w_ErrorID WORD Error number of the function block. (further information in the details of Outputs)

Description Outputs