Y_AX_BrakeRelease

This Function Block allows the application program to operate the a motor's built-in mechanical brake from the IEC application program. Normally the SERVOPACK operates the brake based on operating conditions, but this function can be used in manual or emergency situations to override the automatic operation. Use caution! Damage to the mechanical brake will occur if it is engaged while the motor is rotating.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| B | Axis | AXIS_REF | Logical axis reference. This value can be located on the Configuration tab in the Hardware Configuration (logical axis number). | |
| B | BrakeOutput | BOOL | The dedicated servo output that is used for controlling the brake relay. | |
| VAR_INPUT | ||||
| B | Execute | BOOL | Upon the rising edge, all other function block inputs are read and the function is initiated. To modify an input, change the value and re-trigger the execute input. | FALSE |
| V | State | BOOL | Set State TRUE to release the mechanical brake. Set State FALSE to engage the mechanical brake. | FALSE |
| E | ExternalBrake | BOOL | Set TRUE when an External Brake is being used on the motor. | FALSE |
| VAR_OUTPUT | ||||
| B | Done | BOOL | Set high when the commanded action has completed successfully. If another block takes control before the action is completed, the Done output will not be set. This output is reset when Execute goes low. | |
| E | Busy | BOOL | Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true. In the case of a function block with an Enable input, a Busy output indicates the function is operating, but not ready to provide Valid information. (No Error) | |
| B | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. | |
| E | ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low. | |
Notes
- This Function Block is available for Sigma7 series and SigmaX series servomotors that include a holding brake (see product manuals for nomenclature indicating holding brake presence).
- When using this Function Block with an External Brake or Food Grade motor, set the External Brake input True.
- This Function Block is available for SGD7S and SGD7W SERVOPACKs from the Sigma7 series, and SGDXS and SGDXW SERVOPACKs from the SigmaX series.
- For Servopack with Build-in Brake relay, this function block works only if the brake is wired on the CN1 and Pn023.3(2023.3h) is set to 1.
- The /BK signal needs to be allocated to one of the CN1 digital outputs (see parameter Pn50F.2) and the holding brake needs to be properly wired with an external relay (see wiring diagrams in product manual).
- The FB does not check if the Pn50F.2 matches or not the physical wiring.
- This Function Block will be executed only if the axis is in state "Disable" or "ErrorStop" (see State Diagram).
- This Function Block requires #25977 to be enabled and valid.
Error Description
See the Function Block ErrorID List.
Example
With the State input set to TRUE the Function Block will release the mechanical brake of the servomotor after successful execution: