P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
991
Description of formal parameters
The following table lists all of the formal parameters of the brake test function
Fault IDs
Formal parameters of brake test function
Signal Type Type Remark
Start I BOOL Starts the brake test
Ack I BOOL Acknowledge fault
Bclosed I BOOL Checkback input whether Close Brake is activated
(singlechannel - 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 → brake test active, checking
of axis signal DBX71.0
TV_Bclose I S5TIME Monitoring time value → close brake Check of input
signal Bclosed after output CloseBrake has been set.
TV_FeedCommand I S5TIME Monitoring time value → Travel command given
Check travel command after MoveAxis has been set
TV_FXSreched I S5TIME Monitoring time value → fixed stop reached
TV_FXShold I S5TIME Monitoring time value → test brake
CloseBrake A BOOL Request, close brake
MoveAxis A BOOL Request, initiate traversing motion
Done A BOOL Test successfully completed
Error A BOOL Error has occurred
State A BYTE Error status
State Significance
0 No error
1 Start conditions not fulfilled, e.g. the axis is not in closed-loop control / brake closed / axis
inhibited
2 No NC checkback in "Brake test active" signal on selection of brake test
3 No "Brake applied" checkback by input signal Bclosed
4 No travel command output (e.g., axis motion has not been started)
5 Fixed end stop will not be reached → axis RESET was initiated.
6 Traversing inhibit/Approach too slow → fixed stop cannot be reached. TV FXSreached
monitoring timeout
7 Brake is not holding at all (the end position is reached)/approach speed is too high
8 Brake opens during the holding time
9 Error when deselecting the brake test
10 Internal error
11 "PLC-controlled axis" signal not enabled in the user program