11.03 8 Application examples
8.3 Testing the function of the brake mechanical system
© Siemens AG 2003 All Rights Reserved
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
8-453
TV_Bclose : S5TIME ; //TimeValue -> close brake
TV_FeedCommand : S5TIME ; //TimeValue -> force FeedCommand
TV_FXSreached : S5TIME ; //TimeValue -> Fixed stop reached
TV_FXShold : S5TIME ; //TimeValue -> test brake
END_VAR
VAR_OUTPUT
CloseBrake : BOOL ; //Signal close brake
MoveAxis : BOOL ; //do move axis
Done : BOOL ;
Error : BOOL ;
State : BYTE ; //Error byte
END_VAR
The following table lists all of the formal parameters of the brake test function
Signal Type Type Remarks
Start I BOOL Starts the brake test
Quit I BOOL Acknowledgement error
Bclosed I BOOL Checkback input whether close brake is controlled (single-
channel - PLC)
AXIS I INT Axis number of axis to be tested
TimerNo I TIMER Timer from user program
TV_Btactiv I S5TIME Monitoring time value -> close brake. Test the axis signal
DBX71.0
TV_Bclose I S5TIME Monitoring time value -> close brake. Check the input signal
Bclosed after the CloseBrake output was set.
TV_FeedCommand I S5TIME Monitoring time value -> output traversing command. Check
travel command after MoveAxis has been set.
TV_FXSreached I S5TIME Monitoring time value -> fixed endstop reached
TV_FXShold I S5TIME Monitoring time value -> test brake
CloseBrake O BOOL Request, close brake
MoveAxis O BOOL Request, initiate traversing
Done O BOOL Test successfully completed
Error O BOOL Error has occurred
State O BYTE ErrorStatus
Error IDs
State Meaning
0 No error
1 Start conditions not fulfilled, e.g. axis not in closed-loop control/brake
closed/axis inhibited
2 No NC checkback in the "brake test active" signal when the brake
test is selected
3 No checkback signal "brake applied" using the input signal Bclosed
4 No traversing command output (e.g. axis motion has not been
started)
5 Fixed endstop will not be reached - axis RESET was initiated.
6 Traversing inhibit/approach too slow -> fixed endstop cannot be
reached. Monitoring time TV_FXSreached has expired.
7 Brake is not holding at all (end position is reached)/approach speed
is too high
8 Brake opens during the holding period
9 Error when de-selecting the brake test
10 Internal error
11 "PLC-controlled axis" signal not enabled in the user program