Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
169
Example of a call for FB 11:
AN
M (GND) 111.1; //Request to close brake, Z axis of FB
=
A 85.0; //Brake control, Z axis
OPN
Axis3"; //Brake test, Z axis
O
I 73.0; //Brake test trigger, Z axis
O
M (GND) 110.7; //Brake test running
FP
M (GND) 110.0;
AN
M (GND) 111.4; //Error has occurred
S
M (GND) 110.7; //Brake test running
S
M (GND) 110.6; //Next step
L
B#16#10
T
DBB 8; //Request neutral axis
U
DBX 68.6; //Checkback signal, axis is neutral
U
M (GND) 110.6;
FP
M (GND) 110.1;
R
M (GND) 110.6;
S
M (GND) 110.5; //Next step
R
DBX 8.4;
S
DBX 28.7; //Request PLC-monitored axis
U
DBX 63.1; //Checkback signal, axis monitored by PLC
U
M (GND) 110.5;
FP
M (GND) 110.2;
R
M (GND) 110.5;
S
M (GND) 111.0; //Start brake test for FB
CALL FB 11, DB 211 (//Brake test block
Start :=M 111.0, //Start brake test
Ack := I 3.7, //Acknowledge error with RESET key
Bclosed := I 54.0, //Checkback message Close brake
//activated
Axis := 3, //Axis number of axis to be tested
//axis 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:
//Traversing command output
TV_FXSreache := S5T#1S, //Monitoring time value:
//Fixed stop reached
TV_FXShold := S5T#2S, //Monitoring time value: Brake test time