Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-164 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
CALL FB 11, DB 211 (//Brake test block
Start :=M 111.0, //Start brake test
Ack :=E 3.7, //Acknowledge error with Reset key
Bclosed := I 54.0, //Checkback signal, brake close
controlled
Axis := 3, //Axis number of axis to be tested, Z
axis
TimerNo := T 110, //Timer number
TV_BTactiv := S5T#200MS, //Monitoring time value: Brake test
active DBX71.0
TV_Bclose := S5T#1S, //Monitoring time value: Brake closed
TV_FeedCommand := S5T#1S, //Monitoring time value: Travel command
issued
TV_FXSreache := S5T#1S, //Monitoring time value: Fixed stop
reached
TV_FXShold := S5T#2S, //Monitoring time value: Test time Brake
CloseBrake :=M 111.1, //Request to close brake
MoveAxis :=M 111.2, //Request to initiate travel movement
Done :=M 111.3, //Test successfully completed
Error :=M 111.4, //Error has occurred
State := MB 112); //Error status
OPEN "Axis3
";
//Brake test, Z axis
O M 111.3; //Test successfully completed
O M 111.4; //Error has occurred
FP M 110.3;
R DBX 28.7; //Request, PLC-monitored axis
UN DBX 63.1; //Checkback signal, axis monitored by PLC
V M 111.0; //Start brake test for FB
V M 110.7; //Brake test running
FP M 110.4;
R M 111.0; //Start brake test for FB
R M 110.7; //Brake test running
CALL "SpinCtrl" (//Traverse Z axis
Start :=M 111.2, //Start traversing motion
Stop := FALSE,
Funct := B#16#5, //Mode: Axis mode
Mode := B#16#1, //Procedure: Incremental
AxisNo := 3, //Axis number of axis to be traversed, Z
axis
Pos := -
5.000000e+000,
//Traversing distance: Minus 5 mm
FRate :=
1.000000e+003,
//Feedrate: 1000 mm/min