TB_MULTI_WINDING_CONTROL

Representation in FBD

General Information

This function block switches the slave windings of a multi-winding motor depending on the master winding (winding 1).
The function block does this via the connected a_MotionHandler array.
Depending on i_AxisWinding_1, i_AxisWinding_2 to 4 are switched.
It is assumed that the MotionInit operating mode corresponds to the final operating mode.
The function block does not switch any operating modes.
The numbers at the i_AxisWinding inputs correspond to the array numbers of the MotionHandler array, as the real windings are controlled.

EtherCat cross communication is provided for load sharing within the windings.
The current setpoint is sent from the master winding to the slave windings,
and the actual position value is distributed to the slave windings as a fieldbus encoder.
For configuration in ProMaster, the central application must be contacted.
Alternatively, this can also be done via analogue wiring (current) and split cable (encoder position value), or via SIE module.

An circuit example can be found here.

Recommended task: Cyclic / Event
Libraries used: BM_TYPES_40bd04 oder höher
MOTION_TYPES_40bd11 oder höher
MOTION_CONTROL_40bd11 oder höher
TECH_TYPES_40bd13 oder höher
TECH_FB_STRUCT_40bd02 oder höher

InOut Parameter

Marking: Data type: Description:
a_MotionHandler TB_MOTION_HANDLER_TMPL Drivehandler Array

Input Parameter

Marking: Data type: Description:
x_Enable BOOL TRUE: Release of the function block
ui_NrWindings UINT Number of Windings
i_AxisWinding_1 INT Master Axis (Winding 1)
i_AxisWinding_2 INT Slave Axis (Winding 2)
i_AxisWinding_3 INT Slave Axis (Winding 3)
i_AxisWinding_4 INT Slave Axis (Winding 4)

Output Parameter

Marking: Data type: Description:
x_Active BOOL TRUE: The function block is enabled and active
x_SlavesOn BOOL TRUE: All connected slaves are in 4
i_State INT Statemachine States (for debugging purposes)
x_Error BOOL TRUE: The function block has detected an error
w_ErrorID WORD Error number of the function block:
906: MultiWinding Master error
907: MultiWinding Slave Error