Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-161
Note
Note on FB 18
If FC 15, FC 16 or FC 18 are called for the same axis in the remainder of the user program,
the calls must be mutually interlocked. For example, this can be achieved via a common call
of this function with an interlocked common data interface for the FC 18 parameters. A
second option is to call the FC 18 repeatedly, whereby the inactive FC 18 will not be
processed by the program. A multiple-use interlock must be provided.
The brake test is divided into the following steps:
Brake test sequence
Step Expected checkback Monitoring time value
Start brake test DBX 71.0 = 1 TV_BTactiv
Close brake Bclosed = 1 TV_Bclose
Issue travel command DBX 64.6 Or DBX 64.7 TV_FeedCommand
Issue test travel command DBX62.5 = 1 TV_FXSreached
Wait for hold time DBX62.5 = 1 TV_FXShold
Deselect brake test/
open brake
DBX71.0 = 0 TV_BTactiv
Issue Test O.K.
Declaration of the function
FUNCTION_BLOCK FB 11
VAR_INPUT
Start : BOOL ; //Start of brake test
Ack : BOOL ; //Acknowledge error
Bclosed : BOOL ; //Brake closed input (single channel - PLC)
Axis : INT ; //Testing axis no.
TimerNo : TIMER ; //Timer from user
TV_BTactiv : S5TIME ; //TimeValue -> brake test active
TV_Bclose : S5TIME ; //TimeValue -> close brake
TV_FeedComman
d
: 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 ;