The function block has 2 functions:
1) To control the TB_MasterSlaveInit via array a_MasterSlaveInit, in order to
activate / deactivate the the right moment to activate / deactivate the MasterSlave function in the drive.
2) Depending on the MasterSlave master, switch the MasterSlave slave(s) on/off
(if a MasterSlave slave has an error, this must be programmed by the application software,
which should be done in this case).
(see detailed description)
| 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 |
| Marking: | Data type: | Description: |
|---|---|---|
| a_MasterSlave_Init | TB_MASTER_SLAVE_INIT_TMPL | TorqueSharing Init Array |
| a_MotionHandler | TB_MOTION_HANDLER_TMPL | Drivehandler Array |
| Marking: | Data type: | Description: |
|---|---|---|
| x_Enable | BOOL | TRUE: Release of the function block. |
| x_MaSl_CoupleOut | BOOL | Decoupling the MasterSlave Slaves |
| w_MaSl_SlaveSelection | WORD | Definition of which of the connected MotionHandlers is a MasterSlave Slave |
| w_MasterStatus | WORD | MasterSlave Master Status |
| Marking: | Data type: | Description: |
|---|---|---|
| x_Active | BOOL | TRUE: The function block is enabled and active |
| x_MaSlSlaveOn | BOOL | TRUE: MasterSlave Slaves are coupled in |
| x_Error | BOOL | TRUE: The function block has detected an error |
| w_ErrorID | WORD | Error number of the function block: 906: MotionHandler MasterSlave Master error 907: MotionHandler MasterSlave Slave error 908: MasterSlave coupling error |