Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
167
The brake test is divided into the following steps:
Brake test sequence
Step
Expected feedback
Monitoring time value
Start brake test
DBX 71.0 = 1
TV_BTactiv
Close brake
Bclosed = 1
TV_Bclose
Output traversing command
DBX 64.6 Or DBX 64.7
TV_FeedCommand
Issue test travel command
DBX62.5 = 1
TV_FXSreached
Wait for the holding time
DBX62.5 = 1
TV_FXShold
Deselect brake test/
open brake
DBX71.0 = 0
TV_BTactiv
Output test ok
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
: S5TIM;
//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
Description of formal parameters
The following table lists all of the formal parameters of the brake test function
Formal parameters of brake test function
Signal
Type
Type
Remark
Start
I
BOOL
Starts the brake test
Ack
I
BOOL
Acknowledge fault
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...