TB_MASTER_SLAVE_INIT

Representation in FBD

General Information

This function block is used to activate the master slave function in the drive.
The function block is controlled by TB_MasterSlaveControl via array.
Therefore, this function block must be connected with the predefined array a_MasterSlaveInit.
(see description of TB_MasterSlaveControl).

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:
_Axis AXIS_REF Axis reference

Input Parameter

Marking: Data type: Description:
x_Enable BOOL TRUE: Release of the function block.
x_Master BOOL TRUE: Master or Slave (0 = Slave, 1 = Master)
x_Couple BOOL TRUE: Activate Coupling Mode in Drive
x_Decouple BOOL TRUE: Activate Decouple Mode in Drive
x_Invert BOOL TRUE: Invert SetValue speed & current (Enable before x_Master)

Output Parameter

Marking: Data type: Description:
x_Active BOOL TRUE: The function block is enabled and active
x_Busy BOOL TRUE: Service data communication to the drive is active
x_Coupling_Active BOOL TRUE: MasterSlave coupling function activated in the drive
x_Error BOOL TRUE: The function block has detected an error
w_ErrorID WORD Error number of the function block
90: Service data error
91: Slave coupling error
92: Master coupling error